/* ==========================================================================
   RVKS — rvx-training
   Page styles for /training-the-professional.html ("RVKS' Notes" essay).
   Namespaced `.rvxt-`.

   Loads LAST, after bootstrap.css + every yit-*.css + rvk-premium-chrome.css
   + rvx-header.css. Everything below is scoped to body.rvxt-page or a .rvxt-*
   class, so nothing leaks back out into the theme (the footer still needs the
   theme's own rules to look right).

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

   Layout idea: a single editorial column of ~72ch with a narrow left gutter
   carrying the decorative section number. Every ornament block (stage rail,
   dimension grid, thinker row, figures) is capped at the same total width
   (--rvxt-span) so its left edge lines up with the gutter, and its right edge
   with the last character of the measure.
   ========================================================================== */

body.rvxt-page {
  /* --- brand tokens (same values as rvx-header.css) --- */
  --rvxt-navy: #0a0f18;
  --rvxt-navy-2: #121a28;
  --rvxt-navy-3: #162238;
  --rvxt-ink: #101827;
  --rvxt-ink-body: #2b3547;
  --rvxt-ink-soft: #52607a;
  --rvxt-ink-faint: #7d8899;
  --rvxt-gold: #c4a035;
  --rvxt-gold-bright: #dfc465;
  /* the brand gold is a 2.4:1 pairing with the light surfaces, so small gold
     text on white uses this deeper cast instead (4.5:1 against #f6f8fc). The
     bright golds stay on navy, on rules and on marks, where they are safe. */
  --rvxt-gold-deep: #8a6d1c;
  --rvxt-blue: #12325b;
  --rvxt-white: #ffffff;
  --rvxt-surface: #f6f8fc;
  --rvxt-surface-2: #eef2f8;
  --rvxt-hairline: rgba(16, 24, 39, 0.10);
  --rvxt-hairline-soft: rgba(16, 24, 39, 0.06);

  /* on-navy text ramp */
  --rvxt-on-navy: rgba(234, 240, 247, 0.78);
  --rvxt-on-navy-soft: rgba(234, 240, 247, 0.62);

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

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

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

  --rvxt-shadow-card: 0 18px 50px rgba(10, 15, 24, 0.10),
    0 2px 6px rgba(10, 15, 24, 0.04);
  --rvxt-shadow-tile: 0 10px 28px rgba(10, 15, 24, 0.07);
  --rvxt-shadow-media: 0 30px 70px rgba(10, 15, 24, 0.20),
    0 6px 18px rgba(10, 15, 24, 0.10);

  /* the editorial grid */
  --rvxt-gutter: 92px;   /* section-number column      */
  --rvxt-gap: 36px;      /* gutter -> measure          */
  --rvxt-measure: 684px; /* the reading column, ~72ch  */
  --rvxt-span: 812px;    /* gutter + gap + measure     */

  background: var(--rvxt-surface);
}

/* ==========================================================================
   0. Theme-leak defence
   Same technique as rvx-careers.css: every reset is wrapped in :where() so it
   carries only element-selector specificity — strong enough to beat the
   theme's bare-element rules (this file loads last), weak enough that the
   .rvxt-* component rules below always win.
   ========================================================================== */

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

:where(.rvxt-main) p,
:where(.rvxt-main) h1,
:where(.rvxt-main) h2,
:where(.rvxt-main) h3,
:where(.rvxt-main) h4,
:where(.rvxt-main) h5,
:where(.rvxt-main) h6,
:where(.rvxt-main) figure,
:where(.rvxt-main) figcaption {
  /* yit-style.css: `p { padding-top:5px; padding-bottom:5px }` */
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  color: inherit;
  text-transform: none;
}

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

/* yit-style.css ships `ul li { display:inline-block; line-height:1.8 }`
   (plus a 767px override). Match its specificity — we load last. */
:where(.rvxt-main) ul li,
:where(.rvxt-main) ol li {
  display: block;
  line-height: inherit;
}

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

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

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

:where(.rvxt-main) img,
:where(.rvxt-main) svg {
  border: 0;
  vertical-align: middle;
}

/* yit-responsive.css centres every bare heading and paragraph below 991px
   (`h1, h2, h3, h4, h5, h6 { text-align:center }` and `p { text-align:center;
   padding-top:3px; padding-bottom:3px }`). Those are element selectors, so a
   class-qualified rule here outranks them at every width. Not wrapped in
   :where() on purpose — this one has to win outright. */
.rvxt-main h1,
.rvxt-main h2,
.rvxt-main h3,
.rvxt-main h4,
.rvxt-main h5,
.rvxt-main h6,
.rvxt-main p,
.rvxt-main ul,
.rvxt-main ol,
.rvxt-main li,
.rvxt-main figure,
.rvxt-main span {
  text-align: left;
}

.rvxt-main .rvxt-stage,
.rvxt-main .rvxt-stage span {
  text-align: center;
}

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

/* ==========================================================================
   1. Shell
   ========================================================================== */

.rvxt-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: 0 0 6px 6px;
  font-family: var(--rvxt-font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rvxt-navy);
  background: linear-gradient(180deg, var(--rvxt-gold-bright) 0%, var(--rvxt-gold) 100%);
  transition: top var(--rvxt-dur) var(--rvxt-ease);
}

.rvxt-skip:focus {
  top: 0;
  color: var(--rvxt-navy);
}

.rvxt-main {
  display: block;
  font-family: var(--rvxt-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--rvxt-ink-body);
  text-align: left;
  background: var(--rvxt-surface);
}

.rvxt-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 15px;
}

.rvxt-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--rvxt-font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rvxt-gold-bright);
}

.rvxt-kicker::before {
  content: "";
  flex: none;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rvxt-gold), rgba(196, 160, 53, 0.15));
}

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

/* ==========================================================================
   2. Hero
   ========================================================================== */

.rvxt-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 132px;
  background:
    radial-gradient(120% 150% at 10% -10%, rgba(196, 160, 53, 0.16) 0%, rgba(196, 160, 53, 0) 46%),
    radial-gradient(90% 120% at 96% 8%, rgba(18, 50, 91, 0.55) 0%, rgba(18, 50, 91, 0) 60%),
    linear-gradient(140deg, var(--rvxt-navy) 0%, var(--rvxt-navy-2) 48%, var(--rvxt-navy-3) 100%);
  color: var(--rvxt-on-navy);
}

/* fine diagonal hatch — texture at ~3% alpha, never legible as a pattern */
.rvxt-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    122deg,
    rgba(255, 255, 255, 0.032) 0px,
    rgba(255, 255, 255, 0.032) 1px,
    rgba(255, 255, 255, 0) 1px,
    rgba(255, 255, 255, 0) 7px
  );
}

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

.rvxt-hero__inner {
  position: relative;
  z-index: 1;
}

.rvxt-hero__title {
  max-width: 16ch;
  margin-top: 30px;
  font-family: var(--rvxt-font-display);
  font-size: clamp(34px, 6.1vw, 74px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: #ffffff;
  text-wrap: balance;
}

.rvxt-hero__title + .rvxt-rule {
  margin-top: 34px;
}

.rvxt-hero__sub {
  max-width: 46ch;
  margin-top: 26px;
  font-family: var(--rvxt-font-display);
  font-size: clamp(16.5px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.012em;
  color: var(--rvxt-on-navy-soft);
}

/* ==========================================================================
   3. Figures
   The image files are delivered separately. Each figure keeps its own aspect
   box and a navy gradient fill, so the page still reads as designed if a file
   has not landed yet.
   ========================================================================== */

.rvxt-figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--rvxt-radius-lg);
  background:
    radial-gradient(90% 130% at 18% 0%, rgba(196, 160, 53, 0.18) 0%, rgba(196, 160, 53, 0) 55%),
    linear-gradient(140deg, var(--rvxt-navy) 0%, var(--rvxt-navy-2) 52%, var(--rvxt-navy-3) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    var(--rvxt-shadow-media);
}

.rvxt-figure::before {
  content: "";
  display: block;
  padding-top: var(--rvxt-ar, 56.25%);
}

.rvxt-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
  /* an 18px navy mat around the plate: it frames the image, and if the file is
     missing it is also what lets the alt text read on the gradient fill */
  padding: 18px;
  font-family: var(--rvxt-font-display);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(234, 240, 247, 0.5);
}

.rvxt-figure--21x9 { --rvxt-ar: 42.857%; }
.rvxt-figure--16x9 { --rvxt-ar: 56.25%; }
.rvxt-figure--4x3  { --rvxt-ar: 75%; }

/* hero media — lifted so it bridges the navy band and the article */
.rvxt-figure--hero {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}

/* ==========================================================================
   4. Article body — the editorial grid
   ========================================================================== */

.rvxt-body {
  padding: 12px 0 0;
}

.rvxt-section {
  padding: 54px 0;
}

.rvxt-section--lede {
  padding-top: 64px;
}

.rvxt-section__inner {
  display: grid;
  grid-template-columns: var(--rvxt-gutter) minmax(0, var(--rvxt-measure));
  column-gap: var(--rvxt-gap);
  justify-content: center;
}

/* hairline between consecutive sections, exactly the width of the span */
.rvxt-section + .rvxt-section .rvxt-section__inner {
  position: relative;
  padding-top: 54px;
}

.rvxt-section + .rvxt-section .rvxt-section__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  max-width: var(--rvxt-span);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    rgba(16, 24, 39, 0.16),
    rgba(16, 24, 39, 0.16) 62%,
    rgba(16, 24, 39, 0.03)
  );
}

/* --- the decorative number --------------------------------------------- */

.rvxt-main .rvxt-num {
  grid-column: 1;
  position: relative;
  padding-top: 9px;
  font-family: var(--rvxt-font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  text-align: right;
  color: var(--rvxt-gold-deep);
}

.rvxt-num::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 5px;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(196, 160, 53, 0.55), rgba(196, 160, 53, 0));
}

.rvxt-section__body {
  grid-column: 2;
}

/* --- headings + copy ---------------------------------------------------- */

.rvxt-h2 {
  font-family: var(--rvxt-font-display);
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.008em;
  color: var(--rvxt-ink);
  text-wrap: balance;
}

.rvxt-h2 + .rvxt-p {
  margin-top: 22px;
}

.rvxt-p {
  font-family: var(--rvxt-font-body);
  font-size: 18.5px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.001em;
  color: var(--rvxt-ink-body);
  hyphens: none;
}

.rvxt-p--opening {
  font-size: 19.5px;
  line-height: 1.76;
  color: #212c3f;
}

/* editorial drop cap — purely presentational, the text is untouched */
.rvxt-p--opening::first-letter {
  float: left;
  margin: 10px 14px 0 0;
  font-family: var(--rvxt-font-display);
  font-size: 66px;
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.02em;
  color: var(--rvxt-navy);
}

/* ==========================================================================
   5. Ornament — the six stages
   Additive to the paragraph above it; the paragraph itself is untouched.
   ========================================================================== */

.rvxt-stages {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: var(--rvxt-span);
  margin: 44px auto 0;
}

/* the rail runs behind the tiles; only the gaps let it show */
.rvxt-stages::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(196, 160, 53, 0),
    rgba(196, 160, 53, 0.7) 18%,
    rgba(196, 160, 53, 0.7) 82%,
    rgba(196, 160, 53, 0)
  );
}

.rvxt-stage {
  position: relative;
  z-index: 1;
  padding: 20px 10px 18px;
  border: 1px solid var(--rvxt-hairline);
  border-radius: var(--rvxt-radius);
  text-align: center;
  background: var(--rvxt-white);
  box-shadow: var(--rvxt-shadow-tile);
}

.rvxt-stage__num {
  display: block;
  font-family: var(--rvxt-font-display);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--rvxt-gold-deep);
}

.rvxt-stage__word {
  display: block;
  margin-top: 10px;
  font-family: var(--rvxt-font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rvxt-ink);
}

.rvxt-stages + .rvxt-figure {
  margin-top: 40px;
}

.rvxt-section .rvxt-figure {
  width: 100%;
  max-width: var(--rvxt-span);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   6. Ornament — the four dimensions
   Every label is a phrase that already appears, word for word, in the
   paragraph beside it.
   ========================================================================== */

.rvxt-dims {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: var(--rvxt-span);
  margin: 44px auto 0;
  overflow: hidden;
  border: 1px solid var(--rvxt-hairline);
  border-radius: var(--rvxt-radius-lg);
  background: var(--rvxt-hairline);
  box-shadow: var(--rvxt-shadow-tile);
}

.rvxt-dim {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 32px;
  background: var(--rvxt-white);
}

.rvxt-dim::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rvxt-gold-bright), var(--rvxt-gold));
  opacity: 0;
  transition: opacity var(--rvxt-dur) var(--rvxt-ease);
}

.rvxt-dim:hover::before {
  opacity: 1;
}

.rvxt-dim__num {
  font-family: var(--rvxt-font-display);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.22em;
  color: var(--rvxt-gold-deep);
}

.rvxt-dim__label {
  font-family: var(--rvxt-font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0.004em;
  color: var(--rvxt-ink);
}

/* ==========================================================================
   7. Ornament — the three thinkers
   ========================================================================== */

.rvxt-thinkers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: var(--rvxt-span);
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--rvxt-hairline);
}

.rvxt-thinker__mark {
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 13px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rvxt-gold), var(--rvxt-gold-bright));
}

.rvxt-thinker__name {
  display: block;
  font-family: var(--rvxt-font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--rvxt-ink);
}

/* ==========================================================================
   8. Closing band — echoes the hero
   ========================================================================== */

.rvxt-close {
  position: relative;
  overflow: hidden;
  margin-top: 76px;
  padding: 92px 0 96px;
  background:
    radial-gradient(110% 150% at 88% 0%, rgba(196, 160, 53, 0.14) 0%, rgba(196, 160, 53, 0) 48%),
    linear-gradient(140deg, var(--rvxt-navy) 0%, var(--rvxt-navy-2) 52%, var(--rvxt-navy-3) 100%);
  color: var(--rvxt-on-navy);
}

.rvxt-close::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 160, 53, 0.45) 20%,
    rgba(196, 160, 53, 0.45) 80%,
    transparent
  );
}

.rvxt-close__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  column-gap: 60px;
}

.rvxt-close__text {
  max-width: 60ch;
}

.rvxt-main .rvxt-num--light {
  grid-column: auto;
  padding-top: 0;
  text-align: left;
  color: var(--rvxt-gold-bright);
}

.rvxt-num--light::after {
  content: none;
}

.rvxt-h2--light {
  margin-top: 18px;
  color: #ffffff;
}

.rvxt-p--light {
  margin-top: 22px;
  color: rgba(234, 240, 247, 0.74);
}

.rvxt-p--light + .rvxt-rule {
  margin-top: 34px;
}

.rvxt-figure--close {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 30px 70px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   9. Back-to-top
   The theme's #toTop is normally faded in/out by js/yit-custom.js, which needs
   jQuery. This page ships no jQuery, so the button is simply always available
   and styled to stay quiet.
   ========================================================================== */

.rvxt-page .back-top #toTop {
  display: block;
  border-radius: 50%;
  color: #ffffff;
  background: #132038 !important;
  box-shadow: 0 8px 24px rgba(16, 24, 39, 0.28);
  opacity: 0.85;
  transition: opacity var(--rvxt-dur) ease-out, background-color var(--rvxt-dur) ease-out,
    transform var(--rvxt-dur) ease-out;
}

.rvxt-page .back-top #toTop:hover,
.rvxt-page .back-top #toTop:focus {
  opacity: 1;
  color: var(--rvxt-navy);
  background: linear-gradient(180deg, #dfc465 0%, #c4a035 100%) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1199.98px) {
  body.rvxt-page {
    --rvxt-gutter: 76px;
    --rvxt-gap: 30px;
    --rvxt-measure: 660px;
    --rvxt-span: 766px;
  }
}

@media (max-width: 991.98px) {
  .rvxt-hero {
    padding: 68px 0 104px;
  }

  .rvxt-figure--hero {
    margin-top: -60px;
  }

  .rvxt-close__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }

  .rvxt-close__text {
    max-width: none;
  }

  .rvxt-figure--close {
    max-width: 560px;
  }

  .rvxt-stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rvxt-stages::before {
    content: none;
  }
}

/* the gutter folds above the heading */
@media (max-width: 899.98px) {
  .rvxt-section__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    max-width: var(--rvxt-measure);
    margin: 0 auto;
  }

  .rvxt-main .rvxt-num {
    grid-column: 1;
    margin-bottom: 16px;
    padding-top: 0;
    padding-bottom: 14px;
    text-align: left;
  }

  .rvxt-num::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--rvxt-gold), rgba(196, 160, 53, 0));
  }

  .rvxt-section__body {
    grid-column: 1;
  }
}

@media (max-width: 719.98px) {
  .rvxt-hero {
    padding: 52px 0 88px;
  }

  .rvxt-hero__title {
    max-width: none;
    margin-top: 24px;
    letter-spacing: -0.01em;
  }

  .rvxt-hero__sub {
    max-width: none;
    margin-top: 20px;
  }

  .rvxt-figure--hero {
    margin-top: -46px;
    border-radius: 12px;
  }

  .rvxt-section {
    padding: 40px 0;
  }

  .rvxt-section--lede {
    padding-top: 46px;
  }

  .rvxt-section + .rvxt-section .rvxt-section__inner {
    padding-top: 40px;
  }

  .rvxt-p {
    font-size: 17.5px;
    line-height: 1.75;
  }

  .rvxt-p--opening {
    font-size: 18px;
  }

  .rvxt-p--opening::first-letter {
    margin: 8px 11px 0 0;
    font-size: 54px;
  }

  .rvxt-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
  }

  .rvxt-dims {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
    border-radius: 12px;
  }

  .rvxt-dim {
    padding: 24px 20px 26px;
  }

  .rvxt-thinkers {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 34px;
  }

  .rvxt-stages + .rvxt-figure {
    margin-top: 30px;
  }

  .rvxt-close {
    margin-top: 56px;
    padding: 62px 0 66px;
  }

  .rvxt-page .back-top #toTop {
    right: 18px;
    bottom: 24px;
  }
}

@media (max-width: 419.98px) {
  .rvxt-container {
    padding: 0 14px;
  }

  .rvxt-kicker {
    gap: 10px;
    letter-spacing: 0.26em;
  }

  .rvxt-kicker::before {
    width: 30px;
  }

  .rvxt-figure img {
    padding: 12px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .rvxt-main,
  .rvxt-main *,
  .rvxt-main *::before,
  .rvxt-main *::after,
  .rvxt-skip,
  .rvxt-page .back-top #toTop {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body.rvxt-page {
    background: #ffffff;
  }

  .rvxt-main {
    background: #ffffff;
    color: #000000;
  }

  .rvxt-hero,
  .rvxt-close {
    padding: 0 0 18px;
    margin-top: 24px;
    color: #000000;
    background: none;
  }

  .rvxt-hero__grain,
  .rvxt-skip,
  .rvxt-page .back-top,
  .rvxt-figure {
    display: none !important;
  }

  .rvxt-hero__title,
  .rvxt-h2--light {
    color: #000000;
  }

  .rvxt-hero__sub,
  .rvxt-p--light {
    color: #333333;
  }

  .rvxt-section {
    padding: 18px 0;
    break-inside: avoid;
  }

  .rvxt-section__inner {
    display: block;
    max-width: none;
  }

  .rvxt-main .rvxt-num {
    text-align: left;
    padding-top: 0;
    margin-bottom: 8px;
  }

  .rvxt-num::after {
    content: none;
  }

  .rvxt-stage,
  .rvxt-dim,
  .rvxt-dims,
  .rvxt-stages {
    box-shadow: none;
  }

  .rvxt-close__inner {
    display: block;
  }
}
