@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* Renewed Mind Leaders: component layer. Reads tokens.css variables only. */
:root {
  --rml-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --rml-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --rml-dur-press: 140ms;
  --rml-dur-ui: 220ms;
  --rml-dur-reveal: 600ms;
}

.rml-root, .rml-root * { box-sizing: border-box; }
.rml-root { font-family: var(--font-sans); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---------- Theme-aware images ---------- */
.rml-only-dark { display: none !important; }
[data-theme="dark"] .rml-only-dark { display: block !important; }
[data-theme="dark"] .rml-only-light { display: none !important; }

/* ---------- Focus ---------- */
.rml-focusable:focus-visible,
.rml-btn:focus-visible,
.rml-nav a:focus-visible,
.rml-input:focus-visible,
.rml-card-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.rml-on-band .rml-btn:focus-visible,
.rml-on-band a:focus-visible { outline-color: var(--gold-500); }

/* ---------- Button ---------- */
.rml-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 20px; letter-spacing: 0.005em;
  padding: 14px 24px; min-height: 48px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--rml-dur-press) var(--rml-ease-out), background-color var(--rml-dur-ui) ease, border-color var(--rml-dur-ui) ease, color var(--rml-dur-ui) ease, box-shadow var(--rml-dur-ui) ease;
  -webkit-tap-highlight-color: transparent;
}
.rml-btn:active { transform: scale(0.97); }
.rml-btn-sm { padding: 8px 14px; min-height: 36px; font-size: 14px; border-radius: var(--radius-sm); }
.rml-btn-lg { padding: 18px 32px; min-height: 56px; font-size: 16px; }
.rml-btn-primary { background: var(--primary); color: var(--on-primary); }
.rml-btn-gold { background: var(--accent); color: var(--on-accent); }
.rml-btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.rml-btn-ghost { background: transparent; color: var(--link); padding-left: 4px; padding-right: 4px; }
.rml-btn-onband { background: transparent; color: var(--ink-on-band); border-color: rgba(255,255,255,0.55); }
.rml-btn .rml-arrow { transition: transform var(--rml-dur-ui) var(--rml-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .rml-btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .rml-btn-gold:hover { background: var(--gold-300); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .rml-btn-secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
  .rml-btn-onband:hover { border-color: var(--gold-500); color: var(--gold-500); transform: translateY(-2px); }
  .rml-btn:hover .rml-arrow { transform: translateX(3px); }
  .rml-btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
  .rml-btn-primary:active, .rml-btn-gold:active, .rml-btn-secondary:active, .rml-btn-onband:active { transform: scale(0.97); box-shadow: none; }
}
.rml-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
@media (prefers-reduced-motion: reduce) { .rml-btn:hover { transform: none !important; } }

/* ---------- Eyebrow ---------- */
.rml-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-text); margin: 0;
}
.rml-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); flex: none; }
.rml-on-band .rml-eyebrow { color: var(--gold-500); }
.rml-eyebrow-plain::before { display: none; }

/* ---------- Section header ---------- */
.rml-sh { display: grid; gap: var(--space-4); max-width: 760px; }
.rml-sh-center { margin-inline: auto; text-align: center; justify-items: center; }
.rml-sh-title { margin: 0; font-family: var(--font-sans); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.rml-sh-title em { font-family: var(--font-serif); font-style: italic; font-weight: 600; letter-spacing: -0.01em; color: var(--gold-text); }
.rml-on-band .rml-sh-title { color: var(--ink-on-band); }
.rml-on-band .rml-sh-title em { color: var(--gold-500); }
.rml-sh-lede { margin: 0; font-size: 18px; line-height: 29px; color: var(--ink-muted); max-width: 640px; text-wrap: pretty; }
.rml-on-band .rml-sh-lede { color: var(--ink-on-band-muted); }

/* ---------- Tag ---------- */
.rml-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px;
  border-radius: var(--radius-pill); font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--indigo-100); color: var(--indigo-900);
}
.rml-tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; }
.rml-tag-lead { background: var(--indigo-900); color: #ffffff; }
.rml-tag-learn { background: var(--gold-100); color: var(--gold-800); }
.rml-tag-build { background: var(--indigo-100); color: var(--indigo-700); }
.rml-tag-serve { background: var(--crimson-100); color: var(--crimson-700); }
.rml-tag-lead i { background: var(--gold-500); }

/* ---------- Ascent cut ---------- */
.rml-cut-sm { clip-path: polygon(0 0, calc(100% - var(--cut-sm)) 0, 100% var(--cut-sm), 100% 100%, 0 100%); }
.rml-cut-md { clip-path: polygon(0 0, calc(100% - var(--cut-md)) 0, 100% var(--cut-md), 100% 100%, 0 100%); }
.rml-cut-lg { clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, 0 100%); }

/* ---------- Nav bar ---------- */
.rml-nav {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  height: 76px; padding: 0 var(--space-6);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.rml-nav-brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink); flex: none; }
.rml-nav-brand img { height: 44px; width: auto; display: block; }
.rml-nav-name { display: grid; line-height: 1; }
.rml-nav-name b { font-size: 15px; font-weight: 800; letter-spacing: 0.02em; }
.rml-nav-name b span { font-weight: 400; }
.rml-nav-name small { font-family: var(--font-serif); font-size: 11px; font-weight: 600; letter-spacing: 0.5em; color: var(--gold-text); margin-top: 4px; }
.rml-nav-links { display: flex; gap: var(--space-5); margin: 0 auto; padding: 0; list-style: none; }
.rml-nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 2px; position: relative; }
.rml-nav-links a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--rml-dur-ui) var(--rml-ease-out); }
.rml-nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .rml-nav-links a:hover::after { transform: scaleX(1); } }
.rml-nav-actions { display: flex; gap: var(--space-3); align-items: center; }
.rml-nav-lang { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-muted); background: none; border: 0; cursor: pointer; padding: 8px; }
.rml-nav-lang b { color: var(--ink); }
@media (max-width: 900px) { .rml-nav-links, .rml-nav-lang, .rml-nav-actions > .rml-btn { display: none; } .rml-nav { height: 64px; padding: 0 var(--space-4); } .rml-nav-brand img { height: 36px; } }
@media (max-width: 380px) { .rml-nav-name small { display: none; } }

/* ---------- Star arc ---------- */
.rml-stars { display: block; pointer-events: none; }
.rml-stars path { fill: var(--gold-500); }

/* ---------- Hero ---------- */
.rml-hero { position: relative; background: var(--band); color: var(--ink-on-band); overflow: hidden; isolation: isolate; }
.rml-hero-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: var(--space-9) var(--space-6); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: center; }
.rml-hero-copy { display: grid; gap: var(--space-5); }
.rml-hero h1 { margin: 0; font-weight: 800; font-size: clamp(44px, 6.6vw, 88px); line-height: 0.96; letter-spacing: -0.035em; text-wrap: balance; }
.rml-hero h1 em { font-family: var(--font-serif); font-weight: 600; font-style: italic; letter-spacing: -0.015em; color: var(--gold-500); }
.rml-hero p { margin: 0; font-size: 19px; line-height: 30px; color: var(--ink-on-band-muted); max-width: 520px; }
.rml-hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-2); }
.rml-hero-media-wrap { position: relative; }
.rml-hero-media { position: relative; z-index: 2; aspect-ratio: 4 / 5; }
/* Selector deliberately matches specificity 0,2,1 (two classes + element) — Elementor's
   own frontend.min.css ships a blanket ".elementor img { height: auto }" at 0,1,1 that
   loads after this stylesheet, so a single-class selector here would lose the cascade
   and collapse the image to its intrinsic aspect ratio instead of filling the box. */
.rml-hero-media-wrap .rml-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rml-hero-media .rml-hero-caption { position: absolute; left: 0; bottom: 0; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
/* Anchored to the image's own box, as a share of its size — this self-scales at every
   breakpoint instead of needing hand-tuned pixel offsets per screen width. */
.rml-hero-media-wrap .rml-stars { position: absolute; z-index: 1; top: -16%; right: -18%; width: 58%; opacity: 0.9; }
/* width:100% required alongside left/right:0 — see .page-hero-peak in site.css
   for why an SVG with no width attribute needs it. */
.rml-hero-peak { position: absolute; z-index: 1; left: 0; right: 0; width: 100%; bottom: -1px; height: 90px; }
.rml-hero-peak path { fill: var(--paper); }
@media (max-width: 900px) {
  .rml-hero-inner { grid-template-columns: 1fr; padding: var(--space-8) var(--space-4) var(--space-9); gap: var(--space-6); }
  .rml-hero-media { aspect-ratio: 16 / 10; --cut-lg: 36px; }
  .rml-hero-media-wrap .rml-stars { opacity: 0.65; }
}
@media (max-width: 420px) { .rml-hero-ctas .rml-btn { flex: 1 1 100%; } }

/* ---------- Impact stats ---------- */
.rml-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); }
.rml-on-band.rml-stats, .rml-on-band .rml-stats { background: rgba(255,255,255,0.12); }
.rml-stat { background: var(--surface); padding: var(--space-6) var(--space-5); display: grid; gap: var(--space-2); align-content: start; container-type: inline-size; }
.rml-on-band .rml-stat { background: var(--band); }
.rml-stat-value { font-weight: 800; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink); }
/* Long formatted numbers (7+ digits with separators) don't fit the shared card width at every
   column count; size from the card's own measured width instead of the shared vw-based scale. */
.rml-stat-value-fit { font-size: clamp(22px, 18cqw, 38px); }
.rml-stat-value sup { font-size: 0.5em; color: var(--gold-text); vertical-align: 0.7em; margin-left: 2px; }
.rml-on-band .rml-stat-value { color: var(--ink-on-band); }
.rml-on-band .rml-stat-value sup { color: var(--gold-500); }
.rml-stat-label { font-size: 15px; line-height: 22px; color: var(--ink-muted); max-width: 22ch; }
.rml-on-band .rml-stat-label { color: var(--ink-on-band-muted); }
.rml-stat-rule { width: 32px; height: 3px; background: var(--accent); margin-bottom: var(--space-3); }

/* ---------- Programme card ---------- */
.rml-pcard { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform var(--rml-dur-ui) var(--rml-ease-out); }
.rml-pcard-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo-100); }
/* .rml-pcard .rml-pcard-media img (not the bare class) to outrank Elementor's
   ".elementor img { height: auto }" — see the hero-media comment above. */
.rml-pcard .rml-pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--rml-ease-out); }
.rml-pcard-body { padding: var(--space-5) var(--space-5) var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.rml-pcard h3 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.rml-pcard p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.rml-pcard-meta { display: flex; gap: var(--space-4); font-size: 13px; font-weight: 600; color: var(--ink-muted); padding-top: var(--space-3); border-top: 1px solid var(--line); margin-top: var(--space-2); }
.rml-pcard-meta b { color: var(--ink); font-weight: 800; }
.rml-pcard-link { position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .rml-pcard:hover { transform: translateY(-4px); }
  .rml-pcard:hover .rml-pcard-media img { transform: scale(1.04); }
}

/* ---------- Testimony ---------- */
.rml-testimony { position: relative; display: grid; gap: var(--space-5); padding: var(--space-7) var(--space-6) var(--space-6); background: var(--surface); }
.rml-testimony-mark { position: absolute; top: var(--space-4); left: var(--space-5); font-family: var(--font-serif); font-size: 96px; line-height: 1; color: var(--accent); }
.rml-testimony blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 26px; line-height: 34px; color: var(--ink); text-wrap: pretty; position: relative; }
.rml-testimony figcaption { display: flex; align-items: center; gap: var(--space-3); }
.rml-testimony figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.rml-testimony-initials { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-900); color: var(--gold-500); font-weight: 800; font-size: 16px; }
.rml-testimony-name { font-weight: 700; font-size: 15px; line-height: 20px; }
.rml-testimony-role { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.rml-on-band .rml-testimony { background: var(--indigo-800); }
.rml-on-band .rml-testimony blockquote, .rml-on-band .rml-testimony-name { color: var(--ink-on-band); }
.rml-on-band .rml-testimony-role { color: var(--ink-on-band-muted); }

/* ---------- Partner tier ---------- */
.rml-tier { position: relative; display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); align-content: start; }
/* Below ~360px the "Become a Platinum partner" CTA no longer fits on one line at its own
   card padding; let it wrap instead of pushing the card past the viewport. */
@media (max-width: 360px) { .rml-tier .rml-btn { white-space: normal; text-align: center; } }
.rml-tier-featured { background: var(--indigo-900); color: #ffffff; border-color: var(--indigo-900); }
.rml-tier-name { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); }
.rml-tier-featured .rml-tier-name { color: var(--gold-500); }
.rml-tier-title { margin: 0; font-family: var(--font-serif); font-size: 32px; line-height: 36px; font-weight: 600; font-style: italic; }
.rml-tier-amount { font-weight: 800; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rml-tier-amount small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); }
.rml-tier-featured .rml-tier-amount small { color: var(--indigo-300); }
.rml-tier ul { margin: 0; padding: var(--space-4) 0 0; list-style: none; display: grid; gap: var(--space-3); border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.rml-tier-featured ul { border-top-color: rgba(255,255,255,0.16); }
.rml-tier li { display: grid; grid-template-columns: 16px 1fr; gap: var(--space-3); }
.rml-tier li svg { margin-top: 3px; }
.rml-tier li svg path { fill: var(--accent); }
.rml-tier-featured .rml-btn-primary { background: var(--gold-500); color: var(--indigo-900); }

/* ---------- Event card ---------- */
.rml-event { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--space-5); align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rml-event-date { display: grid; justify-items: center; align-content: center; height: 84px; background: var(--indigo-900); color: #ffffff; }
.rml-event-date b { font-size: 30px; line-height: 32px; font-weight: 800; letter-spacing: -0.03em; }
.rml-event-date span { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold-500); text-transform: uppercase; }
.rml-event h3 { margin: 0 0 4px; font-size: 19px; line-height: 26px; font-weight: 700; }
.rml-event-meta { font-size: 14px; line-height: 20px; color: var(--ink-muted); display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (max-width: 640px) { .rml-event { grid-template-columns: 64px 1fr; } .rml-event > .rml-btn { grid-column: 2; justify-self: start; } }

/* ---------- Field ---------- */
.rml-field { display: grid; gap: 6px; }
.rml-field label { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--ink); }
.rml-input { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/22px var(--font-sans); color: var(--ink); background: var(--surface); border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); transition: border-color var(--rml-dur-ui) ease; }
.rml-input::placeholder { color: var(--ink-muted); opacity: 0.8; }
.rml-input:focus-visible { border-color: var(--focus); outline-offset: 1px; }
.rml-field-hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.rml-field-error { font-size: 13px; line-height: 18px; color: var(--danger); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.rml-field[data-invalid="true"] .rml-input { border-color: var(--danger); }
.rml-required-mark { color: var(--danger); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Footer ---------- */
.rml-footer { background: var(--band); color: var(--ink-on-band); }
.rml-footer-inner { max-width: var(--container); margin: 0 auto; padding: var(--space-8) var(--space-6) var(--space-6); display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: var(--space-7); }
.rml-footer img { height: 96px; width: auto; }
.rml-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: 15px; }
.rml-footer a { color: var(--ink-on-band); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .rml-footer a:hover { color: var(--gold-500); } }
.rml-footer-motto { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 30px; color: var(--ink-on-band); margin: var(--space-4) 0 0; }
.rml-footer-social { display: flex; gap: 10px; margin-top: var(--space-5); }
.rml-footer-social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
}
/* Not yet configured (Appearance → RML Theme → Contact & Social): muted, non-interactive placeholder. */
span.rml-footer-social-icon {
  border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.45); opacity: 0.7;
}
/* A real link once a URL is set in theme settings: matches the rest of the footer's interactive affordances. */
a.rml-footer-social-icon {
  border: 1px solid rgba(255,255,255,0.25); color: #fff; transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}
a.rml-footer-social-icon:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  a.rml-footer-social-icon:hover { border-color: var(--gold-500); background: rgba(255,255,255,0.08); color: var(--gold-500); }
}
.rml-footer-legal { max-width: var(--container); margin: 0 auto; padding: var(--space-5) var(--space-6); border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: 13px; color: var(--ink-on-band-muted); }
.rml-footer-legal-links { display: flex; gap: var(--space-4); }
.rml-footer-legal a { color: var(--ink-on-band-muted); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .rml-footer-legal a:hover { color: var(--gold-500); } }
.footer-newsletter { margin-top: var(--space-7); max-width: 340px; }
.footer-newsletter h2 { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500); }
.footer-newsletter p { margin: 0 0 var(--space-4); font-size: 14px; line-height: 20px; color: var(--ink-on-band-muted); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: var(--ink-on-band); font-size: 14px; }
.newsletter-input::placeholder { color: var(--ink-on-band-muted); }
.newsletter-input:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.newsletter-input[data-invalid="true"] { border-color: var(--danger); }
.newsletter-form.is-sent { display: none; }
.newsletter-success { display: none; font-size: 14px; font-weight: 700; color: var(--gold-500); margin: 0; }
.newsletter-success.is-visible { display: block; }
.newsletter-error { display: none; font-size: 13px; font-weight: 600; color: var(--danger); margin: 6px 0 0; }
.newsletter-error.is-visible { display: block; }
@media (max-width: 900px) { .rml-footer-inner { grid-template-columns: 1fr 1fr; padding: var(--space-7) var(--space-4); } .rml-footer-inner > :first-child { grid-column: 1 / -1; } .rml-footer-legal { padding: var(--space-5) var(--space-4); } }

/* ---------- Footer columns as a mobile accordion (desktop: static, always open) ---------- */
.footer-col summary {
  list-style: none; cursor: default; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); margin: 0 0 var(--space-4); font-size: 12px; font-weight: 800; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-500);
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary .plus { display: none; flex: none; width: 18px; height: 18px; position: relative; }
.footer-col summary .plus::before, .footer-col summary .plus::after {
  content: ""; position: absolute; background: var(--gold-500); border-radius: 2px; transition: transform 300ms var(--rml-ease-out), opacity 300ms var(--rml-ease-out);
}
.footer-col summary .plus::before { left: 1px; right: 1px; top: 8px; height: 2px; }
.footer-col summary .plus::after { top: 1px; bottom: 1px; left: 8px; width: 2px; }
.footer-col[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
@media (max-width: 640px) {
  .rml-footer-inner { grid-template-columns: 1fr; }
  .footer-col { border-top: 1px solid rgba(255,255,255,0.14); padding-top: var(--space-4); }
  .footer-col summary { cursor: pointer; margin-bottom: 0; padding: var(--space-2) 0; -webkit-tap-highlight-color: transparent; }
  .footer-col summary .plus { display: block; }
  .footer-col ul { padding-top: var(--space-3); padding-bottom: var(--space-4); animation: footerAccordionIn 320ms var(--rml-ease-out); }
  @keyframes footerAccordionIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .footer-col summary .plus::before, .footer-col summary .plus::after { transition: none; } .footer-col ul { animation: none !important; } }

/* ---------- Reveal ---------- */
.rml-reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--rml-dur-reveal) var(--rml-ease-out), transform var(--rml-dur-reveal) var(--rml-ease-out); }
.rml-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rml-btn, .rml-pcard, .rml-pcard-media img, .rml-nav-links a::after, .rml-btn .rml-arrow { transition: none !important; }
  .rml-btn:active, .rml-pcard:hover { transform: none !important; }
  .rml-pcard:hover .rml-pcard-media img { transform: none !important; }
  .rml-reveal { transform: none; transition: opacity 200ms ease; }
}
@media (prefers-reduced-transparency: reduce) { .rml-nav { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Dark theme adjustments ---------- */
[data-theme="dark"] .rml-tag-lead { background: var(--gold-500); color: var(--indigo-900); }
[data-theme="dark"] .rml-tag-lead i { background: var(--indigo-900); }
[data-theme="dark"] .rml-event-date,
[data-theme="dark"] .rml-testimony-initials { background: var(--indigo-800); }
[data-theme="dark"] .rml-tier-featured { background: var(--indigo-800); border-color: var(--gold-500); }
