:root {
  --rjm-purple: #6429a3;
  --rjm-purple-dark: #170821;
  --rjm-orange: #ff6b2c;
  --rjm-text: #1b1026;
  --rjm-muted: #6e6676;
  --rjm-bg: #ffffff;
  --rjm-surface: #f8f5fb;
  --rjm-border: rgba(84,45,111,.12);
  --rjm-radius: 1rem;
  --rjm-container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--rjm-text); background: var(--rjm-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.site-container { width: min(calc(100% - 3rem), var(--rjm-container)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(84,45,111,.09); background: rgba(255,255,255,.94); box-shadow: 0 10px 35px rgba(29,12,45,.035); backdrop-filter: blur(18px) saturate(150%); }
.site-header--logo-contrast { border-bottom-color: rgba(255,255,255,.08); background: linear-gradient(90deg, #12071d 0%, #1c0a2a 58%, #29102c 100%); box-shadow: 0 12px 40px rgba(18,7,29,.18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 2rem; }
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; color: #1b1026; text-decoration: none; }
.site-logo__image { width: clamp(160px, 14vw, 205px); max-height: 58px; object-fit: contain; object-position: left center; }
.site-logo--prominent .site-logo__image { width: clamp(220px, 19vw, 270px); max-height: 70px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.18)); }
.site-logo__mark { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: .35rem; color: #fff; background: linear-gradient(135deg, var(--rjm-purple), var(--rjm-orange)); border-radius: 50%; box-shadow: 0 10px 24px rgba(100,41,163,.22); font-size: .68rem; letter-spacing: .04em; }
.site-logo__text { font-size: .95rem; font-weight: 900; }
.primary-navigation { display: flex; align-items: center; gap: 1.6rem; }
.primary-navigation ul { display: flex; align-items: center; gap: 1.35rem; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { position: relative; color: #30243a; text-decoration: none; font-size: .9rem; font-weight: 720; }
.site-header--logo-contrast .primary-navigation a { color: rgba(255,255,255,.9); }
.primary-navigation ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--rjm-purple), var(--rjm-orange)); transition: right .18s ease; }
.site-header--logo-contrast .primary-navigation ul a::after { background: linear-gradient(90deg, #ff9a6d, var(--rjm-orange)); }
.primary-navigation ul a:hover::after, .primary-navigation ul a:focus-visible::after { right: 0; }
.nav-toggle { display: none; }
.header-cta { white-space: nowrap; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .82rem 1.35rem; border: 1px solid transparent; border-radius: .8rem; font-weight: 850; letter-spacing: -.01em; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: linear-gradient(135deg, #ff783d, var(--rjm-orange)); box-shadow: 0 14px 34px rgba(255,107,44,.25); }
.button--primary:hover { box-shadow: 0 18px 42px rgba(255,107,44,.32); }
.button--secondary, .button--outline { color: var(--rjm-purple); background: #fff; border-color: rgba(100,41,163,.2); box-shadow: 0 9px 24px rgba(29,12,45,.04); }
.button--secondary:hover, .button--outline:hover { border-color: rgba(100,41,163,.34); box-shadow: 0 14px 34px rgba(29,12,45,.08); }
.button--ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.button--ghost:hover { background: rgba(255,255,255,.12); }

.page-content { padding: 4rem 0; }
.page-content, .site-footer { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
:focus-visible { outline: 3px solid var(--rjm-orange); outline-offset: 3px; }

.site-footer { position: relative; overflow: hidden; margin: 0; padding: 5.5rem 0 1.6rem; color: #fff; background: radial-gradient(circle at 88% 10%, rgba(255,107,44,.14), transparent 25%), radial-gradient(circle at 8% 90%, rgba(100,41,163,.22), transparent 30%), #110619; }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.site-footer__grid, .site-footer__bottom { position: relative; z-index: 1; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .7fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.site-footer__logo { display: inline-block; color: #fff; font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.site-footer__brand p { max-width: 470px; margin: 1rem 0 0; color: rgba(255,255,255,.62); line-height: 1.75; }
.site-footer__nav ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { color: rgba(255,255,255,.74); text-decoration: none; font-weight: 650; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__eyebrow { margin: 0 0 1rem; color: rgba(255,255,255,.68); font-size: .88rem; font-weight: 750; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.46); font-size: .82rem; }
.site-footer__bottom p { margin: 0; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 1rem; left: 1rem; z-index: 9999; width: auto; height: auto; padding: .75rem 1rem; margin: 0; overflow: visible; clip: auto; border-radius: .7rem; background: #fff; color: #000; box-shadow: 0 14px 38px rgba(0,0,0,.18); }

@media (max-width: 960px) {
  .site-header__inner { min-height: 78px; }
  .site-logo__image { width: 170px; max-height: 52px; }
  .site-logo--prominent .site-logo__image { width: 200px; max-height: 58px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.16); border-radius: .8rem; color: #fff; background: rgba(255,255,255,.08); box-shadow: 0 8px 20px rgba(0,0,0,.12); cursor: pointer; }
  .primary-navigation { position: absolute; top: calc(100% + .6rem); right: 1rem; left: 1rem; display: none; padding: 1.35rem; border: 1px solid var(--rjm-border); border-radius: 1.15rem; background: rgba(255,255,255,.98); box-shadow: 0 26px 65px rgba(29,12,45,.16); }
  .primary-navigation.is-open { display: grid; gap: 1rem; }
  .primary-navigation ul { display: grid; align-items: stretch; gap: .25rem; }
  .primary-navigation ul a { display: block; padding: .72rem .2rem; }
  .site-header--logo-contrast .primary-navigation a { color: #30243a; }
  .primary-navigation ul a::after { display: none; }
  .header-cta { width: 100%; margin-top: .35rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__cta { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-container { width: min(calc(100% - 1.4rem), var(--rjm-container)); }
  .site-header__inner { min-height: 72px; }
  .site-logo__image { width: 150px; max-height: 46px; }
  .site-logo--prominent .site-logo__image { width: 180px; max-height: 52px; }
  .site-footer { padding-top: 4.3rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .site-footer__cta { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Native cookie consent */
.site-footer__bottom { align-items: center; flex-wrap: wrap; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1rem; }
.site-footer__legal a,
.site-footer__cookie-button { color: rgba(255,255,255,.62); font-size: .8rem; text-decoration: none; }
.site-footer__legal a:hover,
.site-footer__cookie-button:hover { color: #fff; }
.site-footer__cookie-button { padding: 0; border: 0; background: none; cursor: pointer; }

.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 1180px;
  margin-inline: auto;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1.2rem;
  color: #fff;
  background: rgba(20,7,31,.97);
  box-shadow: 0 24px 70px rgba(9,3,14,.36);
  backdrop-filter: blur(18px);
}
.cookie-consent__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-consent__copy { max-width: 680px; }
.cookie-consent__copy strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.cookie-consent__copy p { margin: 0; color: rgba(255,255,255,.74); font-size: .86rem; line-height: 1.55; }
.cookie-consent__copy a { display: inline-block; margin-top: .35rem; color: #ff9a6d; font-size: .8rem; font-weight: 750; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.cookie-consent__actions .button { min-height: 42px; padding: .62rem .9rem; font-size: .78rem; }
.cookie-consent__actions .button--outline,
.cookie-consent__actions .button--secondary { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }

.cookie-preferences {
  width: min(calc(100% - 2rem), 620px);
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.4rem;
  color: var(--rjm-text);
  background: #fff;
  box-shadow: 0 34px 100px rgba(14,5,22,.38);
}
.cookie-preferences::backdrop { background: rgba(15,6,22,.68); backdrop-filter: blur(5px); }
.cookie-preferences__panel { padding: clamp(1.25rem, 4vw, 2rem); }
.cookie-preferences__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cookie-preferences__eyebrow { margin: 0 0 .15rem; color: var(--rjm-orange); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.cookie-preferences h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.15; }
.cookie-preferences__close { width: 40px; height: 40px; border: 1px solid var(--rjm-border); border-radius: 50%; background: #fff; color: var(--rjm-text); cursor: pointer; font-size: 1.45rem; line-height: 1; }
.cookie-preferences__panel > p { color: var(--rjm-muted); }
.cookie-preferences__option { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; padding: 1rem; border: 1px solid var(--rjm-border); border-radius: .9rem; background: var(--rjm-surface); }
.cookie-preferences__option span,
.cookie-preferences__option > div { display: grid; gap: .12rem; }
.cookie-preferences__option small { color: var(--rjm-muted); line-height: 1.4; }
.cookie-preferences__option input { width: 22px; height: 22px; accent-color: var(--rjm-purple); }
.cookie-preferences__footer { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.3rem; }
.cookie-preferences__footer a { color: var(--rjm-purple); font-size: .8rem; font-weight: 750; }
.cookie-preferences__footer .button { margin-left: auto; }

@media (max-width: 760px) {
  .cookie-consent { left: .65rem; right: .65rem; bottom: .65rem; }
  .cookie-consent__inner { align-items: stretch; flex-direction: column; }
  .cookie-consent__actions { display: grid; grid-template-columns: 1fr; }
  .cookie-consent__actions .button { width: 100%; }
  .site-footer__legal { justify-content: flex-start; }
  .cookie-preferences__footer .button { width: 100%; margin-left: 0; }
}
