/* ==========================================================
   Riverport Business Club - global styles
   Tokens, base type, buttons, top bar, header, mobile menu,
   member circles (global include), footer, section utilities.
   ========================================================== */

:root {
  /* Brand colours */
  --brand:       #fe68bf;  /* Riverport pink */
  --brand-dark:  #e8479f;  /* hover / active */
  --brand-deep:  #c9368a;  /* text-safe pink on white */
  --brand-tint:  #fff1f9;  /* pale pink wash */
  --btn:         #3d3d3d;  /* primary button - pink kept to accents only */
  --btn-dark:    #1f1f1f;

  /* Neutrals (brand greys) */
  --charcoal:    #555555;
  --charcoal-dk: #474747;
  --ink:         #3b3b3b;  /* body text */
  --muted:       #6b6b6b;  /* secondary text (AA on white) */
  --grey-brand:  #939393;  /* logo grey - decorative */
  --grey:        #f6f6f7;  /* soft section background */
  --grey-line:   #e6e6e8;
  --white:       #ffffff;

  /* Type */
  --font-head: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;  /* matches the logo wordmark */
  --fs-small: 0.875rem;
  --fs-body:  clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --fs-h3:    clamp(1.25rem, 1.1rem + 0.9vw, 1.6rem);
  --fs-h2:    clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem);
  --fs-h1:    clamp(2rem, 1.3rem + 3.2vw, 3.5rem);

  /* Rhythm & effects */
  --maxw: 1200px;          /* content */
  --maxw-wide: 1440px;     /* header + top bar */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --stack: clamp(2.5rem, 5vw, 3.75rem);   /* heading block > content */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgba(85, 85, 85, 0.07);
  --shadow-md: 0 14px 40px rgba(85, 85, 85, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 90px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;          /* safety net: nothing spills sideways on mobile */
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--charcoal); }
h1, h2, h3 { font-family: var(--font-head); color: #3a3a3a; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.6em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }

.rp-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.rp-wide { width: 100%; max-width: var(--maxw-wide); margin-inline: auto; padding-inline: var(--gutter); }

.rp-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; }

.rp-skip {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--charcoal); color: var(--white); padding: 0.6rem 1rem; border-radius: 6px;
}
.rp-skip:focus { top: 1rem; }

/* ---------- Sections (rotation: white > grey > dark > repeat) ---------- */
.rp-section { padding-block: var(--section-y); background: var(--white); }
.rp-section--grey { background: var(--grey); }

.rp-heading { font-size: var(--fs-h2); font-weight: 800; }

/* Pink underline beneath section headings */
.rp-rule { display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--brand); margin: 0 0 1.75rem; }
.rp-rule--centre { margin-inline: auto; }

/* ---------- Buttons ---------- */
.rp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 0.95em 1.65em; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rp-btn i { font-size: 0.95em; }
.rp-btn:hover { transform: translateY(-2px); }
.rp-btn--primary, a.rp-btn--primary { background: var(--btn); color: var(--white); }
.rp-btn--primary:hover { background: var(--btn-dark); color: var(--white); box-shadow: var(--shadow-md); }
.rp-btn--grey, a.rp-btn--grey { background: var(--charcoal); color: var(--white); }
.rp-btn--grey:hover { background: #333333; color: var(--white); box-shadow: var(--shadow-md); }
.rp-btn--light, a.rp-btn--light { background: var(--white); color: #3a3a3a; }
.rp-btn--light:hover { background: #ececec; color: #2b2b2b; }
.rp-btn--lg { font-size: 1.05rem; padding: 1.05em 1.9em; }
.rp-btn--block { display: flex; width: 100%; }
/* Secondary action on dark/photo backgrounds */
.rp-btn--glass, a.rp-btn--glass { background: rgba(30, 30, 30, 0.4); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rp-btn--glass:hover { background: rgba(30, 30, 30, 0.6); color: var(--white); }

/* ---------- Promo top bar ---------- */
.rp-topbar { display: block; background: #3a3a3a; color: var(--white); text-decoration: none; font-size: 0.9375rem; transition: background-color 0.2s var(--ease); }
.rp-topbar:hover { background: #2e2e2e; }
.rp-topbar__text i { color: var(--brand); }
.rp-topbar__inner { display: flex; align-items: center; justify-content: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; min-height: 46px; padding-block: 0.45rem; text-align: center; }
.rp-topbar__text { font-weight: 600; }
.rp-topbar__text i { margin-right: 0.4rem; }
.rp-topbar__cta { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 800; background: rgba(255, 255, 255, 0.2); padding: 0.3em 1em; border-radius: 999px; }
.rp-topbar:hover .rp-topbar__cta i { transform: scale(1.12); }
.rp-topbar__cta i { transition: transform 0.2s var(--ease); }

/* ---------- Header ---------- */
.rp-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--grey-line);
}
.rp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.rp-header .rp-wide { max-width: 1760px; }   /* wider than the page so the logo and Join tab sit further out */

.rp-logo { display: inline-flex; align-items: center; gap: 0.75rem; flex-shrink: 0; text-decoration: none; color: var(--charcoal); }
.rp-logo__mark { width: auto; height: 54px; flex-shrink: 0; }
.rp-logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-logo); }
.rp-logo__name { font-size: 1.7rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: #262626; }
.rp-logo__sub { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: #3a3a3a; margin-top: 0.4rem; text-align: center; }
.rp-logo__club { font-family: var(--font-logo); font-size: 1rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; color: #262626; margin-left: 1.1rem; }

.rp-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }   /* links centred in the space between logo and Join */
.rp-nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 1.6vw, 2.4rem); }
.rp-nav__link {
  position: relative; display: block; padding-block: 0.55rem;
  font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: #2b2b2b; text-decoration: none; transition: color 0.2s var(--ease);
}
.rp-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.rp-nav__link:hover, .rp-nav__link.is-active { color: #000; }
.rp-nav__link:hover::after, .rp-nav__link.is-active::after { transform: scaleX(1); }

/* Dropdown (About) - opens on hover, keyboard focus or the chevron button */
.rp-nav__item--sub { position: relative; display: flex; align-items: center; gap: 0.2rem; }
.rp-nav__subtoggle {
  display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: #2b2b2b; font-size: 0.65rem; cursor: pointer;
  transition: transform 0.25s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.rp-nav__subtoggle:hover { background: var(--grey); }
.rp-nav__sub {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; z-index: 310; min-width: 270px;
  padding: 0.5rem; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-md); border: 1px solid var(--grey-line); border-top: 3px solid var(--brand);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.rp-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }   /* hover bridge */
.rp-nav__item--sub:hover .rp-nav__sub,
.rp-nav__item--sub:focus-within .rp-nav__sub,
.rp-nav__item--sub.is-open .rp-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.rp-nav__item--sub:hover .rp-nav__subtoggle,
.rp-nav__item--sub.is-open .rp-nav__subtoggle { transform: rotate(180deg); color: var(--brand-deep); }
.rp-nav__sublink {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; color: #2b2b2b; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.rp-nav__sublink::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.6rem; color: var(--brand); }
.rp-nav__sublink:hover, .rp-nav__sublink.is-active { background: var(--brand-tint); color: #000; }

/* Join - pink tab hanging from the top bar (desktop) */
.rp-join {
  align-self: flex-start; flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.35rem 1rem; border-radius: 0 0 18px 18px;
  background: var(--brand); color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-size: 0.875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
  box-shadow: 0 8px 20px rgba(254, 104, 191, 0.28);
  transition: background-color 0.2s var(--ease), padding 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.rp-join:hover, .rp-join.is-active { background: var(--brand-dark); color: var(--white); padding-bottom: 1.15rem; box-shadow: 0 10px 24px rgba(254, 104, 191, 0.38); }
.rp-join:focus-visible { outline-offset: -4px; outline-color: var(--white); }
.rp-join__short { display: none; }

.rp-mnav-toggle {
  display: none; width: 48px; height: 48px; padding: 14px 12px; border: 0; border-radius: 12px;
  background: var(--grey); cursor: pointer; flex-direction: column; justify-content: space-between; flex-shrink: 0;
}
.rp-mnav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--charcoal); }
.rp-mnav-toggle span:nth-child(2) { width: 70%; }

/* ---------- Standalone mobile menu ---------- */
.rp-mnav { position: fixed; inset: 0; z-index: 500; background: rgba(40, 40, 40, 0.45); display: flex; justify-content: flex-end; opacity: 0; transition: opacity 0.25s var(--ease); }
.rp-mnav[hidden] { display: none; }
.rp-mnav.is-open { opacity: 1; }
.rp-mnav__panel {
  width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; background: var(--white);
  padding: 0.75rem var(--gutter) 2.5rem; display: flex; flex-direction: column; gap: 1.75rem;
  transform: translateX(24px); transition: transform 0.3s var(--ease);
}
.rp-mnav.is-open .rp-mnav__panel { transform: none; }
.rp-mnav__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.rp-logo--mnav .rp-logo__mark { height: 44px; }
.rp-logo--mnav .rp-logo__name { font-size: 1.3rem; }
.rp-mnav__close { width: 48px; height: 48px; flex-shrink: 0; border: 0; border-radius: 12px; background: var(--grey); color: var(--charcoal); font-size: 1.4rem; cursor: pointer; }
.rp-mnav__list { border-top: 1px solid var(--grey-line); }
.rp-mnav__list li { border-bottom: 1px solid var(--grey-line); }
.rp-mnav .rp-mnav__link { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0.25rem; font-size: 1.15rem; font-weight: 700; color: #2b2b2b; text-decoration: none; }
.rp-mnav .rp-mnav__link::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.8rem; color: var(--grey-brand); }
.rp-mnav .rp-mnav__link.is-active { color: #000; }
.rp-mnav .rp-mnav__link.is-active::after { color: var(--brand); }
/* Expandable section (About) */
.rp-mnav__row { display: flex; align-items: center; gap: 0.5rem; }
.rp-mnav__row .rp-mnav__link { flex: 1; min-width: 0; }
.rp-mnav .rp-mnav__row .rp-mnav__link::after { content: none; }
.rp-mnav__subtoggle {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 0; border-radius: 10px; background: var(--grey); color: var(--charcoal); font-size: 0.85rem; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.rp-mnav__subtoggle i { transition: transform 0.25s var(--ease); }
.rp-mnav__subtoggle[aria-expanded="true"] i { transform: rotate(180deg); color: var(--brand-deep); }
.rp-mnav__sub { padding: 0 0 0.75rem 0.75rem; }
.rp-mnav__sub[hidden] { display: none; }
.rp-mnav__list .rp-mnav__sub li { border-bottom: 0; }
.rp-mnav__sublink {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.5rem;
  font-size: 1.02rem; font-weight: 600; color: #3a3a3a; text-decoration: none;
}
.rp-mnav__sublink::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.65rem; color: var(--brand); }
.rp-mnav__sublink.is-active { color: #000; font-weight: 700; }
.rp-mnav__join, .rp-mnav a.rp-mnav__join { background: var(--brand); color: var(--white); }
.rp-mnav a.rp-mnav__join:hover { background: var(--brand-dark); color: var(--white); }
.rp-mnav__promo { background: var(--grey); border-radius: var(--radius); padding: 1.25rem; }
.rp-mnav__promo p { display: flex; gap: 0.7rem; margin: 0 0 1rem; font-weight: 600; color: #3a3a3a; line-height: 1.5; }
.rp-mnav__promo p i { color: var(--brand); margin-top: 0.2em; flex-shrink: 0; }
.rp-mnav .rp-mnav__promo a.rp-btn { color: var(--white); }
.rp-mnav__label { margin: 0 0 0.6rem; font-size: var(--fs-small); font-weight: 700; color: var(--muted); }
/* Lock the page behind the open menu; the menu scrolls on its own without dragging the page */
html.menu-open, body.menu-open { overflow: hidden; }
.rp-mnav, .rp-mnav__panel { overscroll-behavior: contain; }

/* ---------- Click-to-reveal email ---------- */
.rp-email { display: block; max-width: 100%; }
.rp-email a {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.rp-email i { width: 1.1rem; flex-shrink: 0; text-align: center; }
.rp-email__fallback { cursor: pointer; }
/* Revealed address: one line where it fits, otherwise breaks cleanly before the @ */
.rp-email { min-width: 0; }
.rp-email a.rp-email__link { max-width: 100%; }
.rp-email__link span { min-width: 0; }
@media (max-width: 640px) {
  .rp-email a.rp-email__link { white-space: normal; align-items: baseline; }
  .rp-email__link span { overflow-wrap: normal; word-break: normal; }
}
.rp-mnav .rp-email a { color: #3a3a3a; }
.rp-mnav .rp-email i { color: var(--brand); }
.rp-mnav .rp-email__fallback span { text-decoration: underline; text-decoration-color: rgba(59, 59, 59, 0.35); text-underline-offset: 4px; }

/* ---------- Social icons ---------- */
.rp-social { display: flex; align-items: center; gap: 0.65rem; }
.rp-social li { margin: 0; }
.rp-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: var(--white); text-decoration: none; font-size: 1rem;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.rp-social a:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); }
.rp-social--mnav a { background: var(--grey); color: var(--charcoal); width: 48px; height: 48px; }
.rp-social--mnav a:hover { color: var(--white); }

/* ---------- Member circles (global include) ---------- */
.rp-members__head { text-align: center; margin-bottom: var(--stack); }
.rp-members__head .rp-rule { margin-bottom: 1.25rem; }
.rp-members__intro { color: var(--muted); margin: 0; }
.rp-members__carousel { --gap: 2rem; --per: 5; position: relative; }
.rp-members__carousel.has-nav { padding-inline: 3.75rem; }
.rp-members__track {
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-block: 0.5rem;
}
/* Safe centring when everything fits (justify-content:center would clip the start of an overflowing row) */
.rp-members__item:first-child { margin-left: auto; }
.rp-members__item:last-child { margin-right: auto; }
.rp-members__track::-webkit-scrollbar { display: none; }
.rp-members__item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; }
.rp-members__link { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; text-decoration: none; color: var(--ink); }
.rp-members__link img {
  width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--grey-line);
  transition: box-shadow 0.25s var(--ease);
}
.rp-members__link:hover img, .rp-members__link:focus-visible img { box-shadow: 0 0 0 3px var(--charcoal); }
.rp-members__name { font-weight: 600; font-size: 0.975rem; line-height: 1.4; overflow-wrap: break-word; max-width: 100%; }
.rp-members__link:hover .rp-members__name { color: #000; }
.rp-members__nav {
  position: absolute; top: 88px; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--charcoal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s var(--ease);
}
.rp-members__nav[hidden] { display: none; }
.rp-members__nav:hover { background: var(--btn-dark); }
.rp-members__nav:disabled { opacity: 0.3; cursor: default; background: var(--charcoal); }
.rp-members__nav--prev { left: 0; }
.rp-members__nav--next { right: 0; }
.rp-members__cta { text-align: center; margin-top: var(--stack); }

/* ---------- Inner page hero (all internal pages, §6x) ---------- */
.rp-phero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(250px, 34vh, 360px);
  padding-block: clamp(2.75rem, 6vw, 4rem);
  color: var(--white);
}
.rp-phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.rp-phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(35, 35, 35, 0.78) 0%, rgba(35, 35, 35, 0.5) 55%, rgba(35, 35, 35, 0.2) 100%);
}
.rp-phero__inner { position: relative; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); }
.rp-phero__title { font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.85rem); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; margin: 0 0 0.9rem; }
.rp-phero__sub { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.6; color: #f1f1f1; max-width: 58ch; margin: 0; }

/* Breadcrumb - doubles as the hero eyebrow */
.rp-crumbs { margin: 0 0 1rem; }
.rp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; font-weight: 600; }
.rp-crumbs li { display: inline-flex; align-items: center; gap: 0.6rem; }
.rp-crumbs li + li::before { content: "/"; color: var(--brand); }
.rp-crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.rp-crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.rp-crumbs [aria-current="page"] { color: var(--brand); }

/* Phones: a long trail wraps awkwardly under a centred hero, so show a single
   "back" link to the parent page instead (the page name is already the H1) */
@media (max-width: 640px) {
  .rp-crumbs { display: flex; justify-content: center; margin-bottom: 0.85rem; }
  .rp-crumbs ol { flex-wrap: nowrap; }
  .rp-crumbs li { display: none; }
  .rp-crumbs li:nth-last-child(2) { display: inline-flex; }
  .rp-crumbs li + li::before { content: none; }
  .rp-crumbs li:nth-last-child(2) a {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.9rem; border-radius: 999px;
    background: rgba(0, 0, 0, 0.28); color: var(--white);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .rp-crumbs li:nth-last-child(2) a::before {
    content: "\f053"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.75em; color: var(--brand);
  }
}

/* ---------- Content helpers ---------- */
.rp-prose p { max-width: 68ch; }
.rp-prose p:last-child { margin-bottom: 0; }
.rp-subheading { font-size: var(--fs-h3); font-weight: 800; margin: 0 0 0.75rem; }
.rp-textlink {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem;
  font-weight: 700; color: var(--charcoal); text-decoration: none;
  border-bottom: 2px solid var(--brand); padding-bottom: 2px;
}
.rp-textlink i { color: var(--brand); font-size: 0.85em; transition: transform 0.2s var(--ease); }
.rp-textlink:hover i { transform: translateX(3px); }

/* ---------- Agenda table ---------- */
.rp-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--grey-line); box-shadow: var(--shadow-sm); background: var(--white); }
.rp-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.rp-table thead th {
  background: var(--charcoal); color: var(--white); text-align: left; font-weight: 700;
  padding: 0.95rem 1.25rem; box-shadow: inset 0 -3px 0 var(--brand);
}
.rp-table tbody td { padding: 0.85rem 1.25rem; border-top: 1px solid var(--grey-line); vertical-align: top; }
.rp-table tbody tr:nth-child(even) { background: #fafafa; }
.rp-table tbody tr:hover { background: var(--brand-tint); }
.rp-table__time { width: 1%; white-space: nowrap; font-weight: 700; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.rp-heading__note { font-size: 0.6em; font-weight: 500; color: var(--muted); white-space: nowrap; }
.rp-table__note { display: flex; align-items: center; gap: 0.5rem; margin: 0.85rem 0 0; font-size: var(--fs-small); color: var(--muted); }
.rp-table__note i { color: var(--brand); }

/* ---------- Dark call-to-action band ---------- */
.rp-band { background: var(--charcoal); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.rp-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; flex-wrap: wrap; }
.rp-band__title { color: var(--white); font-size: var(--fs-h2); font-weight: 800; margin: 0 0 0.5rem; }
.rp-band__text { color: #dedede; margin: 0; max-width: 56ch; }
.rp-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

@media (max-width: 900px) {
  .rp-phero { text-align: center; }
  .rp-phero::before { background: rgba(35, 35, 35, 0.6); }
  .rp-phero__inner { display: flex; flex-direction: column; align-items: center; }
  .rp-crumbs ol { justify-content: center; }
  .rp-phero__title, .rp-phero__sub { margin-inline: auto; }
}
@media (max-width: 640px) {
  .rp-table thead th, .rp-table tbody td { padding: 0.75rem 0.9rem; }
  .rp-band__actions { width: 100%; flex-direction: column; }
  .rp-band__actions .rp-btn { width: 100%; }
}

/* ---------- Footer ---------- */
.rp-footer { background: var(--charcoal); color: #ececec; font-size: 1rem; line-height: 1.6; }

/* CTA panel */
.rp-footer__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap;
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.4rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}
.rp-footer__cta-text { display: flex; align-items: center; gap: 1.1rem; min-width: 0; }
.rp-footer__cta-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--brand); font-size: 1.15rem; }
.rp-footer__cta-title { margin: 0; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-weight: 800; color: var(--white); line-height: 1.3; }
.rp-footer__cta-sub { margin: 0.2rem 0 0; color: #d6d6d6; }

/* Main grid - one shared top line for every column */
.rp-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 3rem clamp(2rem, 4vw, 4.5rem);
  align-items: start;
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.25rem, 4.5vw, 3.25rem);
}
.rp-footer__col, .rp-footer__brand { min-width: 0; }

.rp-footer__wordmark { font-family: var(--font-logo); display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; margin-bottom: 1.4rem; }
.rp-footer__name { font-size: 1.6rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); line-height: 1; }
.rp-footer__sub { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--brand); margin-top: 0.55rem; }
.rp-footer__blurb { color: #d6d6d6; max-width: 36ch; margin: 0 0 1.4rem; }
.rp-footer__meets {
  display: inline-flex; align-items: center; gap: 0.65rem; margin: 0;
  padding: 0.6rem 1rem; border-radius: 12px;
  background: rgba(255, 255, 255, 0.07); color: var(--white); font-weight: 600; font-size: 0.9rem; line-height: 1.35;
}
.rp-footer__meets i { color: var(--brand); flex-shrink: 0; }

/* Headings share the wordmark's cap height so the top line reads straight */
.rp-footer__heading {
  font-size: 1rem; font-weight: 800; color: var(--white); line-height: 1.2;
  margin: 0.2rem 0 1.25rem;
}
.rp-footer__heading--spaced { margin-top: 2.25rem; }

.rp-footer__links { display: grid; gap: 0.75rem; }
.rp-footer__links a {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: #ececec; text-decoration: none; line-height: 1.35;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.rp-footer__links a::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.6rem; color: var(--brand); width: 0.6rem; flex-shrink: 0; }
.rp-footer__links a:hover { color: var(--brand); transform: translateX(3px); }

.rp-footer .rp-email a { color: #ececec; line-height: 1.35; }
.rp-footer .rp-email i { color: var(--brand); width: 1rem; }
.rp-footer .rp-email__fallback span { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.rp-footer .rp-email__link { font-size: 0.95rem; }
.rp-footer .rp-email a:hover { color: var(--brand); }

.rp-microfooter { background: var(--charcoal-dk); font-size: var(--fs-small); color: #d0d0d0; }
.rp-microfooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; }
.rp-microfooter p { margin: 0; }
.rp-microfooter__sep { color: #8a8a8a; margin-inline: 0.5rem; }
.rp-microfooter__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.rp-microfooter__links a { color: #d0d0d0; text-decoration: none; }
.rp-microfooter__links a:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .rp-logo__club { display: none; }

  /* Footer: brand row on top, link columns side by side, contact as its own row */
  .rp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem clamp(2rem, 5vw, 5rem); }
  .rp-footer__brand {
    grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 2.5rem;
    padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .rp-footer__wordmark, .rp-footer__blurb { margin: 0; }
  .rp-footer__contact {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem);
    padding-top: 2.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .rp-footer__contact > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .rp-footer__contact > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .rp-footer__contact > :nth-child(3) { grid-column: 2; grid-row: 1; margin-top: 0.2rem; }
  .rp-footer__contact > :nth-child(4) { grid-column: 2; grid-row: 2; }
}

/* Header: make room for the Join tab as the screen narrows */
@media (max-width: 1460px) {
  .rp-logo__club { display: none; }
}
@media (max-width: 1280px) {
  .rp-nav__list { gap: 1.1rem; }
  .rp-nav__link { font-size: 0.8125rem; }
}
@media (max-width: 1180px) {
  .rp-header__inner { gap: 1.5rem; }
  .rp-join__long { display: none; }
  .rp-join__short { display: inline; }
}
/* Tablets: main links move into the menu, Join becomes a pill button */
@media (max-width: 1080px) {
  .rp-nav { display: none; }
  .rp-mnav-toggle { display: flex; }
  .rp-header__inner { gap: 0.75rem; }
  .rp-header .rp-join { display: none; }   /* Join moves into the menu */
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .rp-topbar { display: none; }
  .rp-nav { display: none; }
  .rp-mnav-toggle { display: flex; }
  .rp-logo__mark { height: 46px; }
  .rp-logo__name { font-size: 1.35rem; }
  .rp-members__carousel { --per: 3; --gap: 1.5rem; }
  .rp-footer__brand { grid-template-columns: auto minmax(0, 1fr); }
  .rp-footer__meets { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .rp-footer__brand { display: block; }
  .rp-footer__wordmark { margin-bottom: 1.2rem; }
  .rp-footer__blurb { margin-bottom: 1.2rem; }
}

@media (max-width: 640px) {
  .rp-members__carousel { --per: 2; --gap: 1rem; }
  .rp-members__carousel.has-nav { padding-inline: 0; }
  .rp-members__nav { display: none; }       /* swipe on phones */
  .rp-footer__cta { flex-direction: column; align-items: flex-start; }
  .rp-footer__cta .rp-btn { width: 100%; }
  .rp-microfooter__inner { flex-direction: column; align-items: flex-start; }
  /* contact row stacks: email, then socials */
  .rp-footer__contact { display: block; }
  .rp-footer__contact > .rp-footer__heading--spaced { margin-top: 2rem; }
}

@media (max-width: 480px) {
  .rp-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .rp-microfooter__sep { display: none; }
  .rp-microfooter__place { display: block; margin-top: 0.25rem; }
}

@media (max-width: 360px) {
  .rp-footer .rp-email__link, .rp-mnav .rp-email__link { font-size: 0.8125rem; gap: 0.5rem; }
  .rp-logo__name { font-size: 1.15rem; letter-spacing: 0.08em; }
  .rp-logo__sub { letter-spacing: 0.2em; }
}

@media (min-width: 1081px) {
  .rp-mnav { display: none !important; }
}

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