:root {
  --rm-deep: #07111d;
  --rm-navy: #142033;
  --rm-navy-soft: #22314a;
  --rm-gold: #f3ba25;
  --rm-gold-bright: #ffda64;
  --rm-cream: #f4efe6;
  --rm-paper: #fffdfa;
  --rm-ink: #172236;
  --rm-muted: #5c6a7d;
  --rm-line: #e4ddd1;
  --rm-shadow: 0 20px 55px rgba(7,17,29,.13);
  --rm-display: "Playfair Display", Georgia, serif;
  --rm-body: "DM Sans", Arial, sans-serif;
  --rm-max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--rm-cream); color: var(--rm-ink); font-family: var(--rm-body); font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility; }
body.rm-menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
h1, h2, h3, h4 { margin: 0 0 .45em; font-family: var(--rm-display); line-height: 1.04; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.2rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--rm-gold-bright); outline-offset: 4px; }
.rm-skip-link { position: fixed; top: -80px; left: 14px; z-index: 1000; padding: 10px 16px; background: var(--rm-paper); color: var(--rm-ink); font-weight: 800; }
.rm-skip-link:focus { top: 10px; }
.rm-shell { width: min(calc(100% - 40px), var(--rm-max)); margin-inline: auto; }
.rm-section { padding: 92px 0; }
.rm-section--paper { background: var(--rm-paper); }
.rm-section--cream { background: var(--rm-cream); }
.rm-section--deep { background: var(--rm-deep); color: var(--rm-paper); }
.rm-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #9a6a00; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rm-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.rm-section--deep .rm-eyebrow, .rm-home-hero .rm-eyebrow, .rm-login .rm-eyebrow, .rm-library-hero .rm-eyebrow { color: var(--rm-gold-bright); }
.rm-section-heading { max-width: 790px; margin-bottom: 44px; }
.rm-section-heading p { max-width: 680px; color: var(--rm-muted); font-size: 19px; }
.rm-section--deep .rm-section-heading p { color: rgba(255,253,250,.72); }
.rm-button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rm-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid var(--rm-gold); border-radius: 2px; background: var(--rm-gold); color: var(--rm-deep); font-size: 13px; font-weight: 800; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.rm-button:hover { background: var(--rm-gold-bright); border-color: var(--rm-gold-bright); }
.rm-button--outline-light { background: transparent; color: var(--rm-paper); }
.rm-button--full { width: 100%; }
.rm-header { position: sticky; top: 0; z-index: 90; min-height: 78px; border-bottom: 1px solid rgba(243,186,37,.28); background: rgba(7,17,29,.97); color: var(--rm-paper); backdrop-filter: blur(14px); }
.rm-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rm-brand { display: inline-flex; min-height: 48px; align-items: center; text-decoration: none; }
.rm-brand__logo { width: min(330px, 44vw); max-height: 58px; object-fit: contain; object-position: left center; }
.rm-nav { display: flex; align-items: center; gap: 26px; }
.rm-nav a, .rm-user-links a { color: rgba(255,253,250,.84); font-size: 14px; font-weight: 700; text-decoration: none; }
.rm-nav a:hover, .rm-user-links a:hover { color: var(--rm-gold-bright); }
.rm-user-links { display: flex; align-items: center; gap: 18px; }
.rm-account-link a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 14px; border: 1px solid rgba(243,186,37,.56); }
.rm-menu-toggle { display: none; width: 46px; height: 44px; border: 1px solid rgba(243,186,37,.55); background: transparent; cursor: pointer; }
.rm-menu-toggle span, .rm-menu-toggle::before, .rm-menu-toggle::after { content: ""; display: block; width: 21px; height: 2px; margin: 4px auto; background: var(--rm-gold); }
.rm-home-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--rm-deep); color: var(--rm-paper); }
.rm-home-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--rm-hero-image) center/cover no-repeat; opacity: .5; }
.rm-home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,17,29,.62); }
.rm-home-hero__grid { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding-block: 80px; }
.rm-home-hero__copy p { max-width: 650px; color: rgba(255,253,250,.8); font-size: 20px; }
.rm-community-board { position: relative; min-height: 500px; overflow: hidden; padding: 46px; border: 1px solid rgba(243,186,37,.5); background: rgba(7,17,29,.8); box-shadow: 20px 20px 0 rgba(243,186,37,.12); background-image: linear-gradient(rgba(243,186,37,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(243,186,37,.12) 1px, transparent 1px); background-size: 42px 42px; }
.rm-community-board__mark { width: 140px; margin-bottom: 34px; }
.rm-community-board > strong { display: block; color: var(--rm-gold-bright); font-family: var(--rm-display); font-size: clamp(3rem, 5vw, 4.4rem); line-height: .95; }
.rm-community-board > span { display: block; margin-top: 12px; color: rgba(255,253,250,.72); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rm-community-board__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 48px; background: rgba(243,186,37,.3); }
.rm-community-board__steps div { padding: 18px 12px; background: var(--rm-deep); font-size: 12px; font-weight: 700; }
.rm-community-board__steps small { display: block; color: var(--rm-gold); font-size: 9px; letter-spacing: .12em; }
.rm-path-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--rm-line); border-left: 1px solid var(--rm-line); }
.rm-path-card { min-height: 320px; padding: 34px; border-right: 1px solid var(--rm-line); border-bottom: 1px solid var(--rm-line); background: var(--rm-paper); text-decoration: none; }
.rm-path-card small { color: #9a6a00; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rm-path-card h3 { margin-top: 62px; }
.rm-path-card p { color: var(--rm-muted); font-size: 15px; }
.rm-path-card strong { display: inline-block; margin-top: 18px; border-bottom: 2px solid var(--rm-gold); font-size: 13px; }
.rm-path-card:hover { background: var(--rm-cream); }
.rm-senja-marquee { min-height: 420px; overflow: hidden; }
.rm-senja-marquee .senja-embed { display: block; min-height: 400px; }
.rm-senja-marquee noscript a { color: var(--rm-gold-bright); font-weight: 800; }
.rm-proof-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; border-block: 1px solid rgba(243,186,37,.24); background: rgba(243,186,37,.24); }
.rm-proof-strip div { padding: 32px 20px; background: var(--rm-deep); color: var(--rm-paper); text-align: center; }
.rm-proof-strip strong { display: block; color: var(--rm-gold-bright); font-family: var(--rm-display); font-size: 31px; }
.rm-proof-strip span { color: rgba(255,253,250,.6); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.rm-home-close { display: grid; grid-template-columns: minmax(280px,.8fr) 1.2fr; align-items: center; gap: 64px; }
.rm-home-close img { max-height: 560px; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(7,17,29,.18)); }
.rm-home-close p { max-width: 650px; color: var(--rm-muted); }
.rm-library-hero { padding: 64px 0 54px; background: var(--rm-navy); color: var(--rm-paper); }
.rm-library-hero__inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.rm-library-hero h1 { font-size: clamp(3rem,5vw,5rem); }
.rm-library-hero p { color: rgba(255,253,250,.7); }
.rm-member-avatar { width: 68px; height: 68px; border: 2px solid var(--rm-gold); border-radius: 50%; object-fit: cover; }
.rm-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.rm-library-heading span { color: var(--rm-muted); font-size: 13px; font-weight: 700; }
.rm-product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rm-product-card { min-width: 0; border: 1px solid var(--rm-line); background: var(--rm-paper); box-shadow: 0 10px 30px rgba(7,17,29,.08); }
.rm-product-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--rm-navy); }
.rm-product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.rm-product-card:hover .rm-product-card__image img { transform: scale(1.025); }
.rm-product-card__body { padding: 24px; }
.rm-product-card__body p { color: var(--rm-muted); font-size: 14px; }
.rm-product-card__action { display: inline-flex; min-height: 44px; align-items: center; margin-top: 10px; color: #845d00; font-size: 13px; font-weight: 800; }
.rm-empty-state { padding: 60px 30px; border: 1px solid var(--rm-line); background: var(--rm-paper); text-align: center; }
.rm-sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.rm-login { min-height: calc(100vh - 78px); min-height: calc(100svh - 78px); display: grid; grid-template-columns: 1.05fr .95fr; background: var(--rm-deep); }
.rm-login__visual { position: relative; min-height: min(760px, calc(100vh - 78px)); min-height: min(760px, calc(100svh - 78px)); overflow: hidden; display: flex; align-items: end; background: var(--rm-deep); color: var(--rm-paper); }
.rm-login__visual::before { content: ""; position: absolute; inset: 0; background-image: var(--rm-mark-image),linear-gradient(rgba(243,186,37,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(243,186,37,.09) 1px,transparent 1px); background-position: center 26%,0 0,0 0; background-size: min(46%,360px) auto,52px 52px,52px 52px; background-repeat: no-repeat,repeat,repeat; }
.rm-login__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(7,17,29,.98),rgba(7,17,29,.25) 55%,transparent 78%); }
.rm-login__copy { position: relative; z-index: 1; max-width: 600px; padding: 64px; }
.rm-login__copy h1 { font-size: clamp(3.4rem,6vw,6.2rem); }
.rm-login__copy p { color: rgba(255,253,250,.76); }
.rm-login__panel { min-height: min(760px, calc(100vh - 78px)); min-height: min(760px, calc(100svh - 78px)); display: grid; place-items: center; padding: 40px; background: var(--rm-cream); }
.rm-login-card { width: min(100%,480px); padding: 46px; border-top: 5px solid var(--rm-gold); background: var(--rm-paper); box-shadow: var(--rm-shadow); }
.rm-login-brand { display: block; width: min(100%,320px); margin-bottom: 34px; }
.rm-login-card > p { color: var(--rm-muted); font-size: 14px; }
.rm-field { margin-top: 20px; }
.rm-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.rm-field input { width: 100%; min-height: 52px; padding: 10px 13px; border: 1px solid #b9ad9e; background: #fff; color: var(--rm-ink); }
.rm-login__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 20px 0; font-size: 12px; }
.rm-check { display: flex; align-items: center; gap: 8px; }
.rm-check input { width: 18px; height: 18px; }
.rm-login__row a, .rm-login__help a { color: #765200; font-weight: 800; }
.rm-form-notice, .rm-form-error { margin: 16px 0; padding: 12px 14px; font-size: 14px; }
.rm-form-notice { background: #e6f3ec; color: #205e46; }
.rm-form-error { background: #fae8e6; color: #8b2f27; }
.rm-login__help { margin-top: 24px!important; padding-top: 20px; border-top: 1px solid var(--rm-line); text-align: center; }
.rm-auth-basic { min-height: calc(100vh - 78px); min-height: calc(100svh - 78px); display: grid; place-items: center; padding: 38px 20px; background: var(--rm-cream); }
.rm-auth-basic__card { width: min(100%, 520px); padding: 44px; border-top: 5px solid var(--rm-gold); background: var(--rm-paper); box-shadow: var(--rm-shadow); }
.rm-auth-basic__card h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
.rm-auth-basic__card > p { color: var(--rm-muted); }
.rm-auth-basic__card .rm-button { margin-top: 22px; }
.rm-auth-basic__back { margin: 24px 0 0!important; padding-top: 20px; border-top: 1px solid var(--rm-line); text-align: center; }
.rm-auth-basic__back a { color: #765200; font-weight: 800; }
.rm-page-shell { min-height: 62vh; padding: 84px 0; background: var(--rm-paper); }
.rm-prose { max-width: 860px; }
.rm-prose h1 { font-size: clamp(2.8rem,5vw,4.8rem); }
.rm-prose p, .rm-prose li { color: var(--rm-muted); }
.rm-prose img { height: auto; margin-block: 30px; }
.section { padding: 76px 0; }
.container { width: min(calc(100% - 40px),var(--rm-max)); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; margin: -12px; }
.align-middle { align-items: center; }
.text-right { text-align: right; }
.media { display: flex; gap: 18px; }
.media-body { flex: 1; }
.img-fluid { width: 100%; height: auto; }
[class^="col-"] { min-width: 0; padding: 12px; }
.col-1 { width: 8.333%; }.col-2 { width: 16.666%; }.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-5 { width: 41.666%; }.col-6 { width: 50%; }.col-7 { width: 58.333%; }
.col-8 { width: 66.666%; }.col-9 { width: 75%; }.col-10 { width: 83.333%; }
.col-11 { width: 91.666%; }.col-12 { width: 100%; }
.fluid-video iframe, .video__wrapper iframe { max-width: 100%; }
.section label { display: block; margin: 14px 0 7px; font-size: 13px; font-weight: 800; }
.section input[type="text"], .section input[type="email"], .section input[type="password"], .section input[type="search"], .section textarea, .section select { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #b9ad9e; background: #fff; color: var(--rm-ink); }
.btn, input[type="submit"] { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 2px solid var(--rm-gold); background: var(--rm-gold); color: var(--rm-deep); font-weight: 800; cursor: pointer; }
.rm-blog-search { padding: 28px 0; background: var(--rm-navy); }
.rm-blog-search form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.rm-blog-search input { min-height: 50px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.25); background: var(--rm-paper); }
.rm-blog-list { display: grid; gap: 30px; }
.rm-blog-card { overflow: hidden; display: grid; grid-template-columns: minmax(240px,.8fr) 1.2fr; border: 1px solid var(--rm-line); background: var(--rm-paper); box-shadow: 0 10px 30px rgba(7,17,29,.08); }
.rm-blog-card__image img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.rm-blog-card__body { padding: 36px; }
.rm-blog-card__body h2 a { text-decoration: none; }
.rm-blog-card__body p { color: var(--rm-muted); }
.rm-blog-card__date { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.rm-search-results { display: grid; gap: 22px; margin-top: 30px; }
.rm-search-results article { padding-bottom: 22px; border-bottom: 1px solid var(--rm-line); }
.rm-footer { background: var(--rm-deep); color: rgba(255,253,250,.72); }
.rm-footer__grid { padding: 62px 0 44px; display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; gap: 60px; }
.rm-footer__brand img { width: min(100%,330px); margin-bottom: 22px; }
.rm-footer__brand p { max-width: 480px; }
.rm-footer__nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; }
.rm-footer__nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.rm-footer__nav a:hover { color: var(--rm-gold-bright); }
.rm-footer__bottom { padding: 20px; border-top: 1px solid rgba(243,186,37,.2); text-align: center; font-size: 12px; }
.powered-by { padding: 12px 0; background: var(--rm-deep); color: rgba(255,253,250,.55); font-size: 11px; text-align: center; }
.pagination { margin-top: 40px; }
@media (max-width: 1020px) {
  .rm-home-hero__grid { grid-template-columns: 1fr .8fr; gap: 28px; }
  .rm-community-board { padding: 34px; }
  .rm-product-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .rm-header, .rm-header__inner { min-height: 70px; }
  .rm-menu-toggle { display: block; }
  .rm-nav { position: fixed; top: 70px; left: 0; right: 0; display: none; max-height: calc(100vh - 70px); overflow-y: auto; padding: 24px 28px 34px; background: var(--rm-deep); border-bottom: 1px solid rgba(243,186,37,.32); box-shadow: 0 20px 38px rgba(7,17,29,.3); }
  .rm-nav.is-open { display: grid; gap: 4px; }
  .rm-nav a, .rm-user-links a { min-height: 48px; display: flex; align-items: center; font-size: 16px; }
  .rm-user-links { display: grid; gap: 4px; border-top: 1px solid rgba(243,186,37,.2); padding-top: 12px; }
  .rm-home-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 70px; }
  .rm-community-board { min-height: 380px; }
  .rm-path-grid { grid-template-columns: 1fr; }
  .rm-proof-strip { grid-template-columns: repeat(2,1fr); }
  .rm-home-close { grid-template-columns: 1fr; gap: 36px; }
  .rm-home-close img { max-height: 420px; }
  .rm-blog-card { grid-template-columns: 1fr; }
  .rm-blog-card__image img { min-height: 240px; max-height: 360px; }
  .rm-login { grid-template-columns: 1fr; }
  .rm-login__visual { min-height: 250px; align-items: center; }
  .rm-login__visual::before { background-position: calc(100% - 28px) center,0 0,0 0; background-size: 150px auto,52px 52px,52px 52px; }
  .rm-login__visual::after { background: linear-gradient(90deg,rgba(7,17,29,.99),rgba(7,17,29,.9) 56%,rgba(7,17,29,.35)); }
  .rm-login__copy { width: 66%; padding: 34px 28px; }
  .rm-login__copy h1 { font-size: clamp(2.35rem,8vw,3.5rem); }
  .rm-login__copy p { margin-bottom: 0; font-size: 15px; line-height: 1.45; }
  .rm-login__panel { min-height: auto; place-items: start center; padding: 28px; }
  .rm-footer__grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 600px) {
  .rm-shell, .container { width: min(calc(100% - 28px),var(--rm-max)); }
  .rm-section { padding: 58px 0; }
  .rm-brand__logo { width: min(245px,65vw); }
  .rm-home-hero__grid { padding-block: 56px; }
  .rm-home-hero__copy h1 { font-size: clamp(3rem,14vw,4.7rem); }
  .rm-home-hero__copy p { font-size: 17px; }
  .rm-button-row { display: grid; }
  .rm-button { width: 100%; }
  .rm-community-board { min-height: 350px; padding: 26px 22px; box-shadow: 10px 10px 0 rgba(243,186,37,.12); }
  .rm-community-board__mark { width: 104px; }
  .rm-community-board__steps { grid-template-columns: 1fr; margin-top: 30px; }
  .rm-path-card { min-height: 250px; padding: 27px; }
  .rm-path-card h3 { margin-top: 42px; }
  .rm-senja-marquee, .rm-senja-marquee .senja-embed { min-height: 350px; }
  .rm-proof-strip div { padding: 24px 10px; }
  .rm-proof-strip strong { font-size: 24px; }
  .rm-library-hero { padding: 40px 0 34px; }
  .rm-library-hero__inner { align-items: start; }
  .rm-member-avatar { width: 54px; height: 54px; }
  .rm-library-heading { display: block; }
  .rm-product-grid { grid-template-columns: 1fr; }
  .rm-login__visual { min-height: 224px; }
  .rm-login__visual::before { background-position: calc(100% - 14px) center,0 0,0 0; background-size: 112px auto,42px 42px,42px 42px; }
  .rm-login__copy { width: 70%; padding: 24px 20px; }
  .rm-login__copy .rm-eyebrow { margin-bottom: 10px; font-size: 10px; }
  .rm-login__copy h1 { font-size: clamp(2.15rem,10vw,2.85rem); }
  .rm-login__copy p { font-size: 13px; }
  .rm-login__panel { padding: 22px 14px 32px; }
  .rm-login-card { padding: 28px 22px; }
  .rm-login-brand { margin-bottom: 24px; }
  .rm-auth-basic { padding: 20px 14px; place-items: start center; }
  .rm-auth-basic__card { padding: 30px 22px; }
  .rm-login__row { align-items: flex-start; }
  .rm-footer__nav { grid-template-columns: 1fr; }
  [class^="col-"] { width: 100%; }
  .rm-blog-search form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}


/* ===== Website Theme V2 additions ===== */

/* Senja progressive enhancement */
.rm-senja-shell { position: relative; min-height: 280px; }
.rm-senja-fallback {
  padding: 36px 28px;
  border: 1px solid rgba(243,186,37,.35);
  background: rgba(7,17,29,.55);
  max-width: 720px;
}
.rm-senja-fallback h3 {
  color: var(--rm-gold-bright);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .4em;
}
.rm-senja-fallback p { color: rgba(255,253,250,.78); margin: 0; max-width: 560px; }
.rm-senja-fallback--noscript a { color: var(--rm-gold-bright); font-weight: 800; }

/* Mobile Login masthead budget: <=240px and <=30vh */
@media (max-width: 820px) {
  .rm-login {
    min-height: auto;
    grid-template-columns: 1fr;
    align-content: start;
  }
  .rm-login__visual,
  .rm-login__visual[data-rm-login-masthead] {
    min-height: 0 !important;
    height: min(200px, 25vh) !important;
    max-height: min(200px, 25vh) !important;
    align-items: center;
    overflow: hidden;
  }
  .rm-login__copy {
    width: min(100%, 72%);
    padding: 16px 18px !important;
  }
  .rm-login__copy .rm-eyebrow { margin-bottom: 6px; font-size: 10px; }
  .rm-login__copy h1 {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important;
    margin-bottom: .25em;
    line-height: 1.1;
  }
  .rm-login__copy p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px !important;
    line-height: 1.35;
    margin: 0;
  }
  .rm-login__panel {
    min-height: 0 !important;
    place-items: start center;
    padding: 18px 14px 28px !important;
    background: var(--rm-cream);
  }
  .rm-login-card {
    width: min(100%, 480px);
    padding: 22px 18px !important;
  }
  .rm-login-brand {
    width: min(100%, 220px);
    margin-bottom: 14px !important;
  }
  .rm-login-card > h2 {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    margin-bottom: .25em;
  }
  .rm-login-card > p { font-size: 13px; margin-bottom: .5rem; }
  .rm-field { margin-top: 14px; }
  .rm-field input { min-height: 48px; }
}

/* Home hero first-viewport priority on mobile */
@media (max-width: 600px) {
  .rm-home-hero__grid {
    padding-block: 36px 28px !important;
    gap: 22px;
  }
  .rm-home-hero__copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem) !important;
  }
  .rm-home-hero__copy p {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .rm-button-row { margin-top: 18px; }
  .rm-community-board {
    min-height: 0;
    padding: 22px 18px;
  }
}

/* Ensure outline button readable on cream thank-you */
.rm-page-shell .rm-button--outline-light {
  color: var(--rm-deep);
  border-color: var(--rm-gold);
}

/* Desktop login retains weight */
@media (min-width: 821px) {
  .rm-login { min-height: calc(100vh - 78px); min-height: calc(100svh - 78px); grid-template-columns: 1.05fr .95fr; }
  .rm-login__visual { min-height: min(760px, calc(100vh - 78px)); min-height: min(760px, calc(100svh - 78px)); }
  .rm-login__panel { min-height: min(760px, calc(100vh - 78px)); min-height: min(760px, calc(100svh - 78px)); }
}

/* ===== Website Theme V2.1: native Kajabi contracts, RM tailoring ===== */
/* Native Encore footer stays editable and portable; the RM logo is bundled. */
.footer {
  border-top: 1px solid rgba(212,173,103,.34);
  background: var(--rm-deep) !important;
  color: #d8dee7;
}
.footer__content { width: 100%; }
.footer__container {
  min-height: 188px;
  padding-top: 46px;
  padding-bottom: 42px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 48px;
}
.footer__block { min-width: 0; }
.footer__block .logo__image { width: min(300px, 70vw) !important; max-height: 58px; object-fit: contain; }
.footer .link-list__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 28px; }
.footer .link-list__link { min-height: 44px; display: inline-flex; align-items: center; color: #d8dee7 !important; text-decoration: none; font-weight: 700; }
.footer .link-list__link:hover { color: var(--rm-gold-bright) !important; }
.footer .copyright { color: #aeb8c5; font-size: 12px; letter-spacing: .04em; }
.footer .powered-by { border-top: 1px solid rgba(212,173,103,.18); background: var(--rm-deep); }

/* Library: one restrained hero, then Kajabi's native resume/progress/product model. */
.products { background: var(--rm-cream) !important; }
.products__header { display: grid; gap: 28px; margin-bottom: 34px; }
.products__title { color: var(--rm-ink) !important; font-family: var(--rm-display); font-size: clamp(2rem, 4vw, 3.4rem); }
.products__list { align-items: stretch; }
.resume-course {
  width: 100%; max-width: none !important; padding: 0 !important; overflow: hidden;
  border: 1px solid rgba(212,173,103,.7) !important; background: var(--rm-navy) !important;
}
.resume-course__positioner, .resume-course__content { width: 100%; }
.resume-course__content { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.15fr); align-items: stretch; color: var(--rm-paper); text-decoration: none; }
.resume-course__text { padding: 38px !important; display: flex; flex-direction: column; justify-content: center; }
.resume-course__status { color: var(--rm-gold-bright) !important; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.resume-course__title { color: var(--rm-paper) !important; font-family: var(--rm-display); font-size: clamp(1.7rem,3vw,2.65rem); line-height: 1.08; }
.resume-course__image { order: -1; min-height: 285px; margin: 0 !important; background: var(--rm-deep); }
.resume-course__image img { width: 100%; height: 100%; object-fit: cover; }
.product { overflow: hidden; border: 1px solid var(--rm-line) !important; border-radius: 0 !important; background: var(--rm-paper) !important; box-shadow: none !important; }
.product__image { aspect-ratio: 16/9; overflow: hidden; background: var(--rm-navy); }
.product__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product:hover .product__image img { transform: scale(1.02); }
.product__content { padding: 26px; }
.product__title { color: var(--rm-ink) !important; font-family: var(--rm-display); }
.product__body { color: var(--rm-muted) !important; font-size: 14px; }
.products .progress__inner { background: #d4ad67 !important; }
.rm-library-empty .sizer { padding-block: 72px !important; }

/* Native store/offer cards keep real Kajabi offer data and checkout URLs. */
.card { overflow: hidden; height: 100%; border: 1px solid var(--rm-line); border-radius: 0 !important; background: var(--rm-paper); box-shadow: none !important; color: var(--rm-ink); text-decoration: none; }
.card__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--rm-navy); }
.card__body { padding: 28px !important; background: var(--rm-paper) !important; }
.card__title { color: var(--rm-ink); font-family: var(--rm-display); }
.card__text { color: var(--rm-muted); font-size: 14px; }
.card__price { color: #7b5a19; font-weight: 800; }

/* Offer-specific body remains authoritative; styling alone supplies the RM finish. */
.thank-you { min-height: 62vh; background: var(--rm-cream) !important; }
.thank-you .container { max-width: 860px !important; }
.thank-you__text { padding: 52px; border-top: 5px solid #d4ad67; background: var(--rm-paper); box-shadow: var(--rm-shadow); text-align: center; }
.thank-you__text h1 { color: var(--rm-ink); }
.thank-you .btn { margin-top: 24px; }

@media (max-width: 820px) {
  .footer__container { min-height: 0; padding-top: 38px; padding-bottom: 32px; justify-content: center; text-align: center; }
  .footer__block { width: 100%; display: flex; justify-content: center; }
  .footer .link-list__links { justify-content: center; }
  .resume-course__content { grid-template-columns: 1fr; }
  .resume-course__image { min-height: 210px; }
  .resume-course__text { padding: 26px !important; }
  .thank-you__text { padding: 34px 22px; }
}

/* ===== Website Theme V3.0: V1 soul, native Kajabi bones ===== */
/* Dark editorial surfaces always own their heading color, regardless of the
   global Encore heading control. This closes the V2 white-heading regression. */
.rm-home-hero h1 { color: var(--rm-paper) !important; }
.rm-library-hero h1 { color: var(--rm-paper) !important; }
.rm-store-hero h1 { color: var(--rm-paper) !important; }
.rm-login__visual h1 { color: var(--rm-paper) !important; }
.rm-home-testimonials .rm-section-heading h2 { color: var(--rm-paper) !important; }

/* Home: restore V1's asymmetry, blueprint texture, and gold editorial accent. */
.rm-home-hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(243,186,37,.13), transparent 31%),
    var(--rm-deep);
}
.rm-home-hero::before {
  background-image:
    linear-gradient(rgba(243,186,37,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,186,37,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .72;
}
.rm-home-hero::after {
  background: linear-gradient(110deg, rgba(7,17,29,.98) 0%, rgba(7,17,29,.9) 47%, rgba(7,17,29,.56) 100%);
}
.rm-home-hero__copy h1 {
  max-width: 780px;
  font-size: clamp(3.7rem, 6.7vw, 7rem);
  letter-spacing: -.05em;
}
.rm-home-hero__copy h1 em {
  display: block;
  color: var(--rm-gold-bright);
  font-style: italic;
  font-weight: 500;
}
.rm-community-board {
  transform: rotate(1.2deg);
  border-color: rgba(243,186,37,.64);
  background-color: rgba(12,27,44,.9);
  box-shadow: 22px 24px 0 rgba(243,186,37,.12), 0 30px 70px rgba(0,0,0,.28);
}
.rm-community-board::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: 54px;
  width: 140px;
  height: 2px;
  background: var(--rm-gold);
  transform: rotate(-13deg);
}

/* Senja: the platform mount stays visible from first paint; the local fallback
   remains beneath it until real light-DOM or shadow-DOM testimonial UI exists. */
.rm-senja-shell { display: grid; min-height: 390px; }
.rm-senja-shell > * { grid-area: 1 / 1; }
.rm-senja-marquee,
.rm-senja-marquee .senja-embed {
  display: block !important;
  min-height: 390px;
  opacity: 1;
  visibility: visible;
}
.rm-senja-fallback {
  align-self: center;
  position: relative;
  z-index: 0;
  max-width: 760px;
}
.rm-senja-marquee { position: relative; z-index: 1; }
.rm-senja-shell:not(.is-senja-ready) .rm-senja-marquee { pointer-events: none; }
.rm-senja-shell.is-senja-ready .rm-senja-marquee { pointer-events: auto; }
.rm-senja-shell.is-senja-ready .rm-senja-fallback { display: none !important; }

/* Store: one navy introduction, followed by practical matching controls. */
.rm-store { background: var(--rm-cream); }
.rm-store-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 62px;
  background:
    linear-gradient(rgba(243,186,37,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,186,37,.07) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(243,186,37,.17), transparent 28%),
    var(--rm-navy);
  background-size: 56px 56px, 56px 56px, auto, auto;
  color: var(--rm-paper);
}
.rm-store-hero::after {
  content: "STORE / MATCH / BUILD";
  position: absolute;
  right: -14px;
  bottom: -22px;
  color: rgba(255,253,250,.035);
  font-family: var(--rm-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.rm-store-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  align-items: end;
  gap: 80px;
}
.rm-store-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 5.4vw, 5.4rem);
}
.rm-store-hero p { max-width: 720px; color: rgba(255,253,250,.74); font-size: 19px; }
.rm-store-hero__aside {
  padding: 28px 0 4px 28px;
  border-left: 2px solid var(--rm-gold);
}
.rm-store-hero__aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rm-gold-bright);
  font-family: var(--rm-display);
  font-size: 28px;
}
.rm-store-hero__aside span { display: block; color: rgba(255,253,250,.7); font-size: 14px; line-height: 1.6; }
.rm-store-tools,
.rm-library-tools {
  border-bottom: 1px solid var(--rm-line);
  background: var(--rm-paper);
}
.rm-store-tools__inner,
.rm-library-tools__inner { padding-block: 30px; }
.rm-store-tools__top,
.rm-library-tools__top {
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.rm-search-box { position: relative; display: block; margin: 0 !important; }
.rm-search-box input {
  width: 100%;
  min-height: 54px;
  padding: 12px 48px 12px 16px;
  border: 1px solid #b9ad9e;
  border-radius: 0;
  background: #fff;
  color: var(--rm-ink);
}
.rm-search-box > span[aria-hidden] {
  position: absolute;
  right: 17px;
  top: 50%;
  color: #765200;
  font-size: 24px;
  transform: translateY(-50%);
}
.rm-results-copy { justify-self: end; margin: 0; color: var(--rm-muted); font-size: 13px; font-weight: 800; }
.rm-filter-group { display: grid; grid-template-columns: 66px 1fr; align-items: start; gap: 14px; margin-top: 14px; }
.rm-filter-group__label { padding-top: 9px; color: var(--rm-muted); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rm-filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-filter-button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #c7bbaa;
  background: transparent;
  color: var(--rm-ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.rm-filter-button:hover { border-color: var(--rm-gold); background: #fff9ed; }
.rm-filter-button.is-active,
.rm-filter-button[aria-pressed="true"] { border-color: var(--rm-navy); background: var(--rm-navy); color: var(--rm-paper); }
.rm-store-catalog { padding: 64px 0 96px; }
.rm-store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rm-offer-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  background: var(--rm-paper);
  box-shadow: 0 14px 34px rgba(7,17,29,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rm-offer-card:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(7,17,29,.13); }
.rm-offer-card[hidden],
.products__col[hidden],
.rm-store-empty[hidden] { display: none !important; }
.rm-offer-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--rm-navy); }
.rm-offer-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.rm-offer-card:hover .rm-offer-card__image img { transform: scale(1.025); }
.rm-offer-card__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: var(--rm-gold-bright);
  color: var(--rm-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rm-offer-card__body { padding: 25px; }
.rm-offer-card__kicker { margin-bottom: 12px; color: #765200; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.rm-offer-card h2 { color: var(--rm-ink); font-size: clamp(1.55rem, 2.2vw, 2rem); }
.rm-offer-card p { min-height: 4.8em; color: var(--rm-muted); font-size: 14px; }
.rm-offer-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rm-line); }
.rm-offer-card__meta strong { color: #765200; }
.rm-offer-card__meta a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  background: var(--rm-navy);
  color: var(--rm-paper);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.rm-offer-card__meta a:hover { background: var(--rm-deep); color: var(--rm-gold-bright); }
.rm-store-empty { padding: 72px 24px; border: 1px solid var(--rm-line); background: var(--rm-paper); text-align: center; }
.rm-editor-null { padding: 28px; border: 2px dashed var(--rm-gold); background: var(--rm-paper); }

/* Library: V1 utility returns without disrupting native Kajabi progress data. */
.rm-library-hero {
  background:
    linear-gradient(90deg, rgba(243,186,37,.06) 1px, transparent 1px),
    var(--rm-navy);
  background-size: 58px 58px, auto;
}
.rm-library-hero h1 { margin-bottom: 14px; }
.rm-library-tools .rm-filter-row { padding-left: 0; }
.rm-library-tools__scope { margin: 14px 0 0; color: var(--rm-muted); font-size: 12px; }
.products__header { margin-bottom: 38px; }
.products__title { margin-bottom: 0; }
.resume-course__content { min-height: 285px; }
.resume-course__text::after {
  content: "Continue learning  →";
  display: inline-block;
  margin-top: 20px;
  color: var(--rm-gold-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rm-resume-course__next { margin: 4px 0 16px; color: rgba(255,253,250,.72); font-size: 14px; }
.rm-resume-course__progress { width: 100%; height: 6px; overflow: hidden; margin-bottom: 7px; background: rgba(255,255,255,.16); }
.rm-resume-course__progress span { display: block; height: 100%; background: var(--rm-gold); }
.resume-course__text small { color: rgba(255,253,250,.62); font-size: 11px; }
.product__status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  background: #efe8dc;
  color: #65563f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product[data-rm-library-status="complete"] .product__status { background: #e1f2e8; color: #245b40; }
.product[data-rm-library-status="in-progress"] .product__status { background: #fff0c6; color: #725000; }

/* Founder image uses the bundled PNG fallback and stays portrait-safe. */
.rm-home-close img,
.rm-home-founder img { width: 100%; height: auto; object-fit: contain; object-position: center bottom; }

/* A useful footer rather than a Kajabi afterthought. Native blocks remain in
   the utility row, preserving editor support and powered-by behavior. */
.rm-footer-v3 { padding-top: 0; border-top: 0; background: var(--rm-deep) !important; }
.rm-footer-v3__top {
  display: grid;
  grid-template-columns: minmax(270px, 1.55fr) repeat(3, minmax(150px, .65fr));
  gap: 46px;
  padding-top: 70px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(212,173,103,.24);
}
.rm-footer-v3__brand img { width: min(100%, 330px); margin-bottom: 28px; }
.rm-footer-v3__brand h2 { max-width: 440px; color: var(--rm-paper); font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.rm-footer-v3__brand p { max-width: 500px; color: #aeb8c5; font-size: 14px; }
.rm-footer-v3__column h3 { margin-bottom: 18px; color: var(--rm-gold-bright); font-family: var(--rm-body); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.rm-footer-v3__column a { display: block; padding: 7px 0; color: #d8dee7; font-size: 13px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.rm-footer-v3__column a:hover { color: var(--rm-gold-bright); }
.rm-footer-v3__utility .footer__container { min-height: 0; padding-top: 24px; padding-bottom: 24px; }
.rm-footer-v3__utility .logo { display: none; }

@media (max-width: 1020px) {
  .rm-store-hero__grid { gap: 42px; }
  .rm-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-footer-v3__top { grid-template-columns: 1.25fr repeat(2, 1fr); }
  .rm-footer-v3__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .rm-community-board { transform: none; }
  .rm-store-hero { padding: 62px 0 54px; }
  .rm-store-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .rm-store-hero__aside { max-width: 580px; }
  .rm-store-tools__top,
  .rm-library-tools__top { grid-template-columns: 1fr; }
  .rm-results-copy { justify-self: start; }
  .rm-filter-group { grid-template-columns: 1fr; gap: 7px; }
  .rm-filter-group__label { padding-top: 0; }
  .rm-footer-v3__top { grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
}
@media (max-width: 600px) {
  .rm-home-hero__copy h1 { font-size: clamp(3rem, 14vw, 4.6rem) !important; }
  .rm-store-hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .rm-store-hero__aside { padding: 20px 0 0; border-top: 2px solid var(--rm-gold); border-left: 0; }
  .rm-menu-toggle { margin-right: 3px; }
  .rm-filter-row { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .rm-filter-button { flex: 0 0 auto; }
  .rm-store-grid { grid-template-columns: 1fr; }
  .rm-store-catalog { padding: 44px 0 68px; }
  .rm-offer-card p { min-height: 0; }
  .rm-library-hero__inner { display: grid; }
  .resume-course__content { min-height: 0; }
  .rm-footer-v3__top { grid-template-columns: 1fr; padding-top: 54px; }
  .rm-footer-v3__brand,
  .rm-footer-v3__column:last-child { grid-column: auto; }
}
