/*
Theme Name: WordPress Core
Theme URI: https://github.com/jefffabiny/wordpress-core
Author: rochester.dev
Author URI: https://rochester.dev
Description: Barebones theme scaffold for building new WordPress themes. Responsive mobile-first nav, minimal templates for pages, posts, and front page.
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wordpress-core
*/

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, pre,
ul, ol, dl, dd,
fieldset, legend {
  margin: 0;
}

ul, ol {
  padding-left: 1.5em;
}

body {
  padding: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Accessibility */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #171717;
  clip: auto !important;
  clip-path: none;
  color: #171717;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 0.5rem;
  line-height: normal;
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 0.5rem;
  width: auto;
  z-index: 100000;
}

.skip-link:focus {
  outline: 2px solid #171717;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Brand tokens — Rochester Makerspace (guidelines: #26326A / #F26522) */
:root {
  --rm-blue: #26326a;
  --rm-blue-mid: #4069b2;
  --rm-blue-light: #688dc1;
  --rm-orange: #f26522;
  --rm-orange-deep: #e42f22;
  --rm-orange-light: #f7915e;
  --rm-ink: #1a2248;
  --rm-muted: #4a5680;
  --rm-wash: #eef2f8;
  --rm-wash-warm: #fff4ed;
  /* site-header: vertical padding + logo + orange border */
  --rm-header-height: calc(1rem + 2.5rem + 3px);
}

/* Base / layout */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* When logged in, admin bar reduces viewport; don't push footer past fold */
body.admin-bar {
  min-height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
  }
}

.site-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  padding: 0.5rem 1.25rem;
  border-bottom: 3px solid var(--rm-orange);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  border-radius: 0.35rem;
  transition: opacity 0.15s ease;
}

.site-brand img {
  display: block;
  height: 2.5rem;
  width: auto;
}

.site-brand:hover {
  opacity: 0.9;
  text-decoration: none;
}

.site-brand:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

/* Hamburger toggle: visible only on small screens */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rm-blue);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  color: var(--rm-orange);
}

.nav-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav menu — horizontal row on desktop */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
  position: relative;
}

.nav-menu a,
.nav-menu .nav-submenu-toggle {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rm-blue);
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.nav-menu a:hover,
.nav-menu .nav-submenu-toggle:hover {
  color: var(--rm-orange);
  background-color: var(--rm-wash);
}

.nav-menu a:focus-visible,
.nav-menu .nav-submenu-toggle:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current-menu-item > .nav-submenu-toggle::after,
.nav-menu .current-menu-ancestor > a::after,
.nav-menu .current-menu-ancestor > .nav-submenu-toggle::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.2rem;
  height: 2px;
  background-color: rgba(242, 101, 34, 0.55);
  border-radius: 0;
  pointer-events: none;
}

.nav-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 12.5rem;
  background: #fff;
  border: 1px solid rgba(38, 50, 106, 0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(38, 50, 106, 0.12);
}

.nav-menu .sub-menu li {
  display: block;
}

.nav-menu .sub-menu a {
  display: block;
  width: 100%;
  border-radius: 0;
  white-space: nowrap;
}

.nav-menu .sub-menu .current-menu-item > a::after {
  left: 0.65rem;
  right: auto;
  width: calc(100% - 1.3rem);
  bottom: 0.25rem;
}

/* Join CTA — no current underline (filled button is enough) */
.nav-menu > .nav-cta.current-menu-item > a::after,
.nav-menu > .nav-cta.current-menu-ancestor > a::after {
  content: none;
}

/* Join CTA */
.nav-menu > .nav-cta > a {
  margin-left: 0.15rem;
  padding: 0.45rem 0.95rem;
  color: #fff;
  font-weight: 600;
  background-color: var(--rm-orange);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
}

.nav-menu > .nav-cta > a:hover {
  color: #fff;
  background-color: var(--rm-orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.35);
}

.nav-menu > .nav-cta > a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.nav-menu > .nav-cta.current-menu-item > a {
  color: #fff;
  background-color: var(--rm-orange-deep);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
}

/* Desktop: hover / focus-within / JS .is-open flyout */
@media (min-width: 769px) {
  .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.35rem);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  }

  .nav-menu > .menu-item-has-children:hover > .sub-menu,
  .nav-menu > .menu-item-has-children:focus-within > .sub-menu,
  .nav-menu > .menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* Mobile: hamburger + slide-down menu */
@media (max-width: 768px) {
  :root {
    /* site-header: vertical padding + 44px toggle + orange border */
    --rm-header-height: calc(1rem + 44px + 3px);
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 3px solid var(--rm-orange);
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav-menu > li {
    display: block;
  }

  .nav-menu a,
  .nav-menu .nav-submenu-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.7rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--rm-wash);
    border-radius: 0;
  }

  .nav-menu > li:last-child > a,
  .nav-menu > li:last-child > .nav-submenu-toggle {
    border-bottom: 0;
  }

  .nav-menu .sub-menu {
    display: none;
    padding: 0 0 0.35rem 0.75rem;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-menu .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .nav-menu .sub-menu a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--rm-muted);
  }

  .nav-menu > .nav-cta {
    margin-top: 0.5rem;
  }

  .nav-menu > .nav-cta > a {
    margin-left: 0;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    border-bottom: 0;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-brand,
  .nav-toggle-bar,
  .nav-menu a,
  .nav-menu .nav-submenu-toggle,
  .nav-menu .sub-menu,
  .site-nav {
    transition: none;
  }

  .nav-menu > .nav-cta > a:hover {
    transform: none;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1),
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transition: none;
  }

  @media (min-width: 769px) {
    .nav-menu .sub-menu {
      transform: none;
    }
  }
}

/* Front page + facility pages — display type */
body.home,
body.facility-fonts {
  --front-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --front-ui: "Source Sans 3", system-ui, sans-serif;
  scroll-padding-top: 4.75rem;
}

body.home .site-main--front {
  padding: 0;
  max-width: none;
}

.front-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: calc(100vh - var(--rm-header-height));
  min-height: calc(100svh - var(--rm-header-height));
  padding: 5.5rem max(1.25rem, env(safe-area-inset-right)) 3rem max(1.25rem, env(safe-area-inset-left));
  overflow: hidden;
  color: #fff;
}

.front-hero__media,
.front-hero__overlay {
  position: absolute;
  inset: 0;
}

.front-hero__media {
  overflow: hidden;
}

.front-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  will-change: transform;
}

.front-hero.is-ready .front-hero__img {
  animation: front-kenburns 18s ease-out both;
}

.front-hero__overlay {
  background:
    linear-gradient(105deg, rgba(26, 34, 72, 0.88) 0%, rgba(38, 50, 106, 0.55) 48%, rgba(26, 34, 72, 0.25) 100%),
    linear-gradient(180deg, rgba(26, 34, 72, 0.35) 0%, transparent 35%, rgba(26, 34, 72, 0.55) 100%);
}

.front-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  width: 100%;
}

.front-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--front-display);
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.front-hero__lead {
  margin: 0 0 1.75rem;
  font-family: var(--front-ui);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.front-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.front-hero__facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.front-hero__facilities a {
  font-family: var(--front-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.front-hero__facilities a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.front-hero__facilities a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 0.15rem;
}

.front-hero__title,
.front-hero__lead,
.front-hero__ctas {
  opacity: 0;
  transform: translateY(1.1rem);
}

.front-hero.is-ready .front-hero__title,
.front-hero.is-ready .front-hero__lead,
.front-hero.is-ready .front-hero__ctas {
  animation: front-fade-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.front-hero.is-ready .front-hero__lead {
  animation-delay: 0.12s;
}

.front-hero.is-ready .front-hero__ctas {
  animation-delay: 0.24s;
}

.front-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  font-family: var(--front-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.front-btn:hover {
  text-decoration: none;
}

.front-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.front-btn--primary {
  color: #fff;
  background-color: var(--rm-orange);
  border-color: var(--rm-orange);
}

.front-btn--primary:hover {
  color: #fff;
  background-color: var(--rm-orange-deep);
  border-color: var(--rm-orange-deep);
}

.front-btn--ghost {
  color: #fff;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.75);
}

.front-btn--ghost:hover {
  color: var(--rm-ink);
  background-color: #fff;
  border-color: #fff;
}

.front-visit .front-btn--primary:focus-visible {
  outline-color: var(--rm-blue);
}

.front-about {
  padding: 3.25rem 1.25rem 3.5rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background:
    linear-gradient(165deg, #fff 0%, var(--rm-wash) 55%, var(--rm-wash-warm) 100%);
  border-bottom: 4px solid var(--rm-orange);
}

.front-about__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.front-about__title {
  margin: 0 0 0.85rem;
  font-family: var(--front-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--rm-blue);
}

.front-about__lead {
  margin: 0 0 2.25rem;
  max-width: 40rem;
  font-family: var(--front-ui);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--rm-muted);
}

.front-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem 2rem;
}

@media (min-width: 768px) {
  .front-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }
}

.front-benefits__item {
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--rm-orange);
  padding-top: 1rem;
}

.front-benefits__title {
  margin: 0 0 0.45rem;
  font-family: var(--front-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--rm-ink);
}

.front-benefits__text {
  margin: 0;
  font-family: var(--front-ui);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--rm-muted);
}

.front-reel {
  display: block;
  background: var(--rm-ink);
  scroll-snap-type: y proximity;
}

.front-band {
  position: relative;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.front-band--major {
  min-height: 100svh;
  min-height: 100vh;
}

.front-band--short {
  min-height: clamp(22rem, 62vh, 38rem);
}

.front-band__media {
  position: absolute;
  inset: -8%;
  overflow: hidden;
}

.front-band__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Narrow the crop a little so more of the person stays in frame */
.front-band--makers .front-band__media {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rm-ink);
}

.front-band--makers .front-band__img {
  width: 88%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 40% 22%;
}

.front-band__caption {
  position: absolute;
  left: max(1.25rem, env(safe-area-inset-left));
  bottom: 1.5rem;
  z-index: 1;
  margin: 0;
  padding: 0;
  max-width: min(18rem, calc(100% - 2.5rem));
  pointer-events: none;
}

.front-band__caption-text {
  display: inline-block;
  font-family: var(--front-display);
  font-size: clamp(1.45rem, 3.6vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.front-band.is-inview .front-band__caption-text {
  opacity: 1;
  transform: translateY(0);
}

.front-band:nth-child(even) .front-band__caption {
  left: auto;
  right: max(1.25rem, env(safe-area-inset-right));
  text-align: right;
  margin-left: auto;
}

.front-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 34, 72, 0.55) 100%);
  pointer-events: none;
}

.front-visit {
  padding: 3.5rem 1.25rem 4rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-top: 4px solid var(--rm-orange);
  scroll-snap-align: start;
}

.front-visit__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.front-visit__title {
  margin: 0 0 0.65rem;
  font-family: var(--front-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--rm-blue);
}

.front-visit__times {
  margin: 0 0 0.85rem;
  font-family: var(--front-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rm-orange-deep);
}

.front-visit__text {
  margin: 0 0 1.5rem;
  font-family: var(--front-ui);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rm-muted);
}

@keyframes front-fade-rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes front-kenburns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .front-hero__img {
    transform: none;
    animation: none !important;
  }

  .front-band__media {
    inset: 0;
  }

  .front-reel {
    scroll-snap-type: y proximity;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-hero__img,
  .front-hero.is-ready .front-hero__img {
    transform: none;
    animation: none;
  }

  .front-hero__title,
  .front-hero__lead,
  .front-hero__ctas,
  .front-hero.is-ready .front-hero__title,
  .front-hero.is-ready .front-hero__lead,
  .front-hero.is-ready .front-hero__ctas {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .front-band__caption-text,
  .front-band.is-inview .front-band__caption-text {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .front-reel {
    scroll-snap-type: none;
  }
}

/* Facility pages (Facilities hub + reusable area shell) */
body.facility-fonts .site-main--facility {
  padding: 0;
  max-width: none;
}

.facility-page {
  margin: 0;
}

.facility-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: calc(100vh - var(--rm-header-height));
  min-height: calc(100svh - var(--rm-header-height));
  padding: 5.5rem max(1.25rem, env(safe-area-inset-right)) 3rem max(1.25rem, env(safe-area-inset-left));
  overflow: hidden;
  color: #fff;
}

.facility-hero__media,
.facility-hero__overlay {
  position: absolute;
  inset: 0;
}

.facility-hero__media {
  overflow: hidden;
}

.facility-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  will-change: transform;
}

.facility-hero.is-ready .facility-hero__img {
  animation: front-kenburns 18s ease-out both;
}

.facility-hero__overlay {
  background:
    linear-gradient(105deg, rgba(26, 34, 72, 0.88) 0%, rgba(38, 50, 106, 0.55) 48%, rgba(26, 34, 72, 0.25) 100%),
    linear-gradient(180deg, rgba(26, 34, 72, 0.35) 0%, transparent 35%, rgba(26, 34, 72, 0.55) 100%);
}

.facility-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  width: 100%;
}

.facility-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--front-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.facility-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--front-display);
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.facility-hero__lead {
  margin: 0 0 1.75rem;
  font-family: var(--front-ui);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.facility-hero__jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.facility-hero__jumps a {
  font-family: var(--front-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.facility-hero__jumps a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.facility-hero__jumps a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 0.15rem;
}

.facility-hero__eyebrow,
.facility-hero__title,
.facility-hero__lead,
.facility-hero__jumps {
  opacity: 0;
  transform: translateY(1.1rem);
}

.facility-hero.is-ready .facility-hero__eyebrow,
.facility-hero.is-ready .facility-hero__title,
.facility-hero.is-ready .facility-hero__lead,
.facility-hero.is-ready .facility-hero__jumps {
  animation: front-fade-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.facility-hero.is-ready .facility-hero__title {
  animation-delay: 0.08s;
}

.facility-hero.is-ready .facility-hero__lead {
  animation-delay: 0.16s;
}

.facility-hero.is-ready .facility-hero__jumps {
  animation-delay: 0.28s;
}

.facility-tool {
  background: var(--rm-ink);
}

.facility-scene {
  position: relative;
  margin: 0;
  min-height: clamp(24rem, 78vh, 48rem);
  overflow: hidden;
}

.facility-scene__media {
  position: absolute;
  inset: -8%;
  overflow: hidden;
}

.facility-scene__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.facility-scene__caption {
  position: absolute;
  left: max(1.25rem, env(safe-area-inset-left));
  bottom: 1.5rem;
  z-index: 1;
  margin: 0;
  padding: 0;
  max-width: min(22rem, calc(100% - 2.5rem));
  pointer-events: none;
}

.facility-scene__caption-text {
  margin: 0;
  display: inline-block;
  font-family: var(--front-display);
  font-size: clamp(1.45rem, 3.6vw, 2.45rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.facility-scene.is-inview .facility-scene__caption-text {
  opacity: 1;
  transform: translateY(0);
}

.facility-tool:nth-child(even) .facility-scene__caption {
  left: auto;
  right: max(1.25rem, env(safe-area-inset-right));
  text-align: right;
  margin-left: auto;
}

.facility-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 34, 72, 0.55) 100%);
  pointer-events: none;
}

.facility-copy {
  padding: 2.75rem 1.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background:
    linear-gradient(180deg, #fff 0%, var(--rm-wash) 100%);
}

.facility-copy__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.facility-copy__inner p {
  margin: 0 0 1rem;
  font-family: var(--front-ui);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--rm-muted);
}

.facility-copy__inner p:last-child {
  margin-bottom: 0;
}

.facility-copy__link {
  margin-top: 0.35rem !important;
}

.facility-copy__link a {
  font-family: var(--front-ui);
  font-weight: 600;
  color: var(--rm-blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.facility-copy__link a:hover {
  color: var(--rm-orange-deep);
}

.facility-copy__link a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 3px;
  border-radius: 0.15rem;
}

.facility-support {
  position: relative;
  margin: 0;
  min-height: clamp(18rem, 55vh, 34rem);
  overflow: hidden;
  background: var(--rm-ink);
}

.facility-support__media {
  position: absolute;
  inset: -8%;
  overflow: hidden;
}

.facility-support__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.facility-siblings {
  padding: 2.5rem 1.25rem 2.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background: #fff;
  border-top: 1px solid rgba(38, 50, 106, 0.1);
}

.facility-siblings__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.facility-siblings__title {
  margin: 0 0 0.85rem;
  font-family: var(--front-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rm-blue);
}

.facility-siblings__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.facility-siblings__nav a {
  font-family: var(--front-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rm-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.facility-siblings__nav a:hover {
  color: var(--rm-blue);
  border-bottom-color: rgba(38, 50, 106, 0.35);
  text-decoration: none;
}

.facility-siblings__nav a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 3px;
  border-radius: 0.15rem;
}

.facility-visit {
  padding: 3.5rem 1.25rem 4rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-top: 4px solid var(--rm-orange);
}

.facility-visit__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.facility-visit__title {
  margin: 0 0 0.65rem;
  font-family: var(--front-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--rm-blue);
}

.facility-visit__times {
  margin: 0 0 0.85rem;
  font-family: var(--front-ui);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rm-orange-deep);
}

.facility-visit__text {
  margin: 0 0 1.5rem;
  font-family: var(--front-ui);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rm-muted);
}

.facility-visit .front-btn--primary:focus-visible {
  outline-color: var(--rm-blue);
}

/* Facilities hub — flat photo launch grid */
.facility-hub {
  margin: 0;
  padding: 0;
  background: #0f1428;
}

.facility-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-hub__item {
  margin: 0;
  opacity: 0;
  transform: translateY(0.85rem);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.facility-hub__link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.facility-hub__link:hover,
.facility-hub__link:focus-visible {
  text-decoration: none;
  color: #fff;
}

.facility-hub__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -3px;
  z-index: 1;
}

.facility-hub__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.facility-hub__link:hover .facility-hub__img,
.facility-hub__link:focus-visible .facility-hub__img {
  transform: scale(1.1);
}

.facility-hub__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(15, 20, 40, 0.05) 0%,
      rgba(15, 20, 40, 0.35) 45%,
      rgba(15, 20, 40, 0.82) 100%
    );
  pointer-events: none;
}

.facility-hub__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1.1rem 1rem 1rem;
  font-family: var(--front-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.facility-hub__item.is-inview {
  opacity: 1;
  transform: none;
}

.facility-hub__item:nth-child(1).is-inview { transition-delay: 0.02s; }
.facility-hub__item:nth-child(2).is-inview { transition-delay: 0.06s; }
.facility-hub__item:nth-child(3).is-inview { transition-delay: 0.1s; }
.facility-hub__item:nth-child(4).is-inview { transition-delay: 0.14s; }

@media (min-width: 768px) {
  .facility-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .facility-hub__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .facility-hub__img,
  .facility-hub__link:hover .facility-hub__img,
  .facility-hub__link:focus-visible .facility-hub__img {
    transform: none;
    transition: none;
  }

  .facility-hub__item,
  .facility-hub__item.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1023px) {
  .facility-hero {
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .facility-hero__img {
    transform: none;
    animation: none !important;
  }

  .facility-scene__media,
  .facility-support__media {
    inset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .facility-hero__img,
  .facility-hero.is-ready .facility-hero__img {
    transform: none;
    animation: none;
  }

  .facility-hero__eyebrow,
  .facility-hero__title,
  .facility-hero__lead,
  .facility-hero__jumps,
  .facility-hero.is-ready .facility-hero__eyebrow,
  .facility-hero.is-ready .facility-hero__title,
  .facility-hero.is-ready .facility-hero__lead,
  .facility-hero.is-ready .facility-hero__jumps {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .facility-scene__caption-text,
  .facility-scene.is-inview .facility-scene__caption-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.25rem 1.25rem;
  color: var(--rm-ink);
  background:
    linear-gradient(180deg, var(--rm-wash) 0%, #ffffff 42%, var(--rm-wash-warm) 100%);
  border-top: 4px solid var(--rm-orange);
  box-shadow: inset 0 1px 0 rgba(38, 50, 106, 0.08);
}

.site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer-brand {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(38, 50, 106, 0.12);
}

.site-footer-logo {
  display: inline-block;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  padding: 0.35rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(38, 50, 106, 0.08),
    0 6px 16px rgba(38, 50, 106, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-logo:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(242, 101, 34, 0.35),
    0 10px 22px rgba(38, 50, 106, 0.12);
}

.site-footer-logo img {
  width: 3.25rem;
  height: auto;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.site-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  background: var(--rm-blue);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-social a:hover {
  background: var(--rm-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(242, 101, 34, 0.35);
  text-decoration: none;
}

.site-footer-social a:focus-visible {
  outline: 2px solid var(--rm-orange);
  outline-offset: 3px;
}

.site-footer-social svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.site-footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.5rem;
  margin-bottom: 2rem;
}

.site-footer-visit {
  grid-column: 1 / -1;
  padding: 1.25rem 1.35rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(38, 50, 106, 0.06) 0%, rgba(242, 101, 34, 0.08) 100%);
  border: 1px solid rgba(38, 50, 106, 0.1);
}

.site-footer-heading {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-heading::after {
  content: "";
  display: block;
  width: 1.75rem;
  height: 3px;
  margin-top: 0.45rem;
  background: linear-gradient(90deg, var(--rm-orange), var(--rm-orange-light));
  border-radius: 999px;
}

.site-footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-nav li + li,
.site-footer-visit p + p {
  margin-top: 0.45rem;
}

.site-footer-nav a,
.site-footer-visit a {
  color: var(--rm-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer-nav a:hover,
.site-footer-visit a:hover {
  color: var(--rm-orange);
  text-decoration: none;
}

a.is-external::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.35em;
  vertical-align: -0.05em;
  background-color: currentColor;
  opacity: 0.75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-footer-visit p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rm-ink);
}

.site-footer-hours {
  font-weight: 600;
  color: var(--rm-blue);
}

.site-footer-bar {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(38, 50, 106, 0.12);
  font-size: 0.875rem;
  color: var(--rm-muted);
}

.site-footer-bar p {
  margin: 0;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 2rem 1.5rem;
  }

  .site-footer-logo img {
    width: 4rem;
  }

  .site-footer-social {
    gap: 0.65rem;
  }

  .site-footer-social a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-footer-columns {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.75rem;
    align-items: start;
  }

  .site-footer-visit {
    grid-column: auto;
  }
}

.site-main {
  flex: 1;
  padding: 1rem 2rem;
  max-width: 72ch;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Reservations unlocked content */

.site-main--reservations {
  max-width: 42rem;
}

.reservations-rules {
  margin: 0 0 2rem;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-left: 4px solid var(--rm-orange);
  background:
    linear-gradient(135deg, var(--rm-wash) 0%, #fff 48%, var(--rm-wash-warm) 100%);
  animation: reservations-gate-in 0.45s ease both;
}

.reservations-rules__title {
  margin: 0 0 1rem;
  color: var(--rm-blue);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.reservations-rules__list {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  color: var(--rm-ink);
  font-size: 0.975rem;
  line-height: 1.55;
}

.reservations-rules__list li {
  position: relative;
  margin: 0;
  padding-left: 1.15rem;
}

.reservations-rules__list li + li {
  margin-top: 0.55rem;
}

.reservations-rules__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--rm-orange);
}

.reservations-rules__note,
.reservations-rules__prompt {
  margin: 0 0 0.85rem;
  color: var(--rm-muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

.reservations-rules__note {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(38, 50, 106, 0.12);
}

.reservations-rules__prompt {
  margin-bottom: 0;
  color: var(--rm-ink);
  font-weight: 700;
}

.reservations-rules__note a {
  color: var(--rm-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.reservations-rules__note a:hover {
  color: var(--rm-orange-deep);
}

.reservations-tools {
  margin: 0 0 2rem;
}

.reservations-tools__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reservations-tools__item {
  display: flex;
}

.reservations-tools__button,
.reservations-tools__button[data-koalendar-widget],
.reservations-tools__button.koa-button {
  display: flex !important;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.75rem 1.1rem !important;
  border: none;
  border-radius: 4px;
  background-color: var(--rm-orange) !important;
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  color: #fff !important;
  font-family: inherit !important;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  white-space: normal !important;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.reservations-tools__button:hover,
.reservations-tools__button[data-koalendar-widget]:hover,
.reservations-tools__button.koa-button:hover {
  background-color: var(--rm-orange-deep) !important;
  color: #fff !important;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.35);
}

.reservations-tools__button:focus-visible,
.reservations-tools__button[data-koalendar-widget]:focus-visible,
.reservations-tools__button.koa-button:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .reservations-rules {
    animation: none;
  }

  .reservations-tools__button,
  .reservations-tools__button[data-koalendar-widget] {
    transition: none;
  }

  .reservations-tools__button:hover,
  .reservations-tools__button[data-koalendar-widget]:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  }
}

/* Reservations password gate */

@keyframes reservations-gate-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-reservations.post-password-required .entry-title {
  color: var(--rm-blue);
  letter-spacing: -0.02em;
}

.reservations-password-form {
  position: relative;
  margin-top: 1rem;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-left: 4px solid var(--rm-orange);
  background:
    linear-gradient(135deg, var(--rm-wash) 0%, #fff 48%, var(--rm-wash-warm) 100%);
  animation: reservations-gate-in 0.45s ease both;
}

.reservations-password-form__helper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(38, 50, 106, 0.12);
  color: var(--rm-ink);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.reservations-password-form__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rm-orange);
}

.reservations-password-form .post-password-form {
  margin: 0;
}

.reservations-password-form__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 0.85rem;
  margin: 0;
}

.reservations-password-form__fields label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 1 14rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rm-blue);
}

.reservations-password-form__fields input[type="password"] {
  display: block;
  width: 100%;
  max-width: 22rem;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(38, 50, 106, 0.28);
  border-radius: 4px;
  background-color: #fff;
  color: var(--rm-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.reservations-password-form__fields input[type="password"]:hover {
  border-color: var(--rm-blue-light);
}

.reservations-password-form__fields input[type="password"]:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
  border-color: var(--rm-blue);
  box-shadow: 0 0 0 3px rgba(64, 105, 178, 0.2);
}

.reservations-password-form__fields input[type="submit"] {
  appearance: none;
  border: none;
  border-radius: 4px;
  padding: 0.65rem 1.35rem;
  background-color: var(--rm-orange);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.reservations-password-form__fields input[type="submit"]:hover {
  background-color: var(--rm-orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 47, 34, 0.28);
}

.reservations-password-form__fields input[type="submit"]:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.reservations-password-form__error {
  margin: 0.95rem 0 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.9375rem;
  color: var(--rm-orange-deep);
  line-height: 1.45;
  background-color: var(--rm-wash-warm);
  border-left: 3px solid var(--rm-orange-deep);
  animation: reservations-gate-in 0.3s ease both;
}

.reservations-password-form__join {
  margin: 1.35rem 0 0;
  font-size: 0.9375rem;
  color: var(--rm-muted);
}

.reservations-password-form__join a {
  color: var(--rm-blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--rm-orange);
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}

.reservations-password-form__join a:hover {
  color: var(--rm-orange);
}

@media (prefers-reduced-motion: reduce) {
  .reservations-password-form,
  .reservations-password-form__error {
    animation: none;
  }

  .reservations-password-form__fields input[type="password"],
  .reservations-password-form__fields input[type="submit"],
  .reservations-password-form__join a {
    transition: none;
  }

  .reservations-password-form__fields input[type="submit"]:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Mission & Vision page */

@keyframes mv-fade-rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mv-band {
  width: 100%;
  padding: 2.25rem 1.25rem 2.5rem;
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-bottom: 1px solid rgba(38, 50, 106, 0.08);
  animation: mv-fade-rise 0.5s ease both;
}

.mv-band__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.mv-band__title {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mv-band__lead {
  margin: 0;
  color: var(--rm-muted);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  max-width: 40rem;
}

.site-main--mission-vision {
  max-width: 42rem;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.mv-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mv-statement {
  margin: 0;
  padding: 0;
  animation: mv-fade-rise 0.55s ease both;
}

.mv-statement--mission {
  animation-delay: 0.08s;
}

.mv-statement--vision {
  animation-delay: 0.16s;
}

.mv-statement__label {
  display: block;
  margin: 0 0 0.65rem;
  color: var(--rm-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mv-statement__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.mv-statement__quote p {
  margin: 0;
  color: var(--rm-ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.mv-statement--mission .mv-statement__quote p {
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  color: var(--rm-blue);
}

.mv-statement--vision .mv-statement__quote p {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 500;
  color: var(--rm-ink);
}

.mv-attribution {
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--rm-blue-light);
  color: var(--rm-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  animation: mv-fade-rise 0.55s ease both;
  animation-delay: 0.24s;
}

.mv-attribution p {
  margin: 0 0 0.85rem;
}

.mv-attribution__name {
  margin: 0;
  color: var(--rm-blue);
  font-style: italic;
  font-weight: 600;
}

.mv-join {
  margin: 0.25rem 0 0;
  animation: mv-fade-rise 0.55s ease both;
  animation-delay: 0.3s;
}

.mv-join__button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  background-color: var(--rm-orange);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.mv-join__button:hover {
  background-color: var(--rm-orange-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.35);
}

.mv-join__button:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .mv-join__button {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mv-band,
  .mv-statement,
  .mv-attribution,
  .mv-join {
    animation: none;
  }

  .mv-join__button {
    transition: none;
  }

  .mv-join__button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  }
}

/* Leadership page */

.lead-band {
  width: 100%;
  padding: 2.25rem 1.25rem 2.5rem;
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-bottom: 1px solid rgba(38, 50, 106, 0.08);
  animation: mv-fade-rise 0.5s ease both;
}

.lead-band__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.lead-band__title {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lead-band__lead {
  margin: 0;
  color: var(--rm-muted);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  max-width: 40rem;
}

.site-main--leadership {
  max-width: 64rem;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.lead-page {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.lead-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem 1.75rem;
}

@media (min-width: 560px) {
  .lead-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .lead-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lead-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  text-align: center;
  animation: mv-fade-rise 0.55s ease both;
  animation-delay: var(--lead-delay, 0s);
}

.lead-person__media {
  width: 7.5rem;
  height: 7.5rem;
  flex-shrink: 0;
}

.lead-person__photo,
.lead-person__monogram {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.lead-person__photo {
  object-fit: cover;
  object-position: center;
  background-color: var(--rm-wash);
}

.lead-person__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--rm-wash);
  color: var(--rm-blue);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lead-person__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.lead-person__name {
  margin: 0;
  color: var(--rm-blue);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lead-person__role {
  margin: 0;
  color: var(--rm-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .lead-band,
  .lead-person {
    animation: none;
  }
}

/* 404 page */

.error404-hero {
  width: 100%;
}

.error404-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(28rem, 72vh, 44rem);
  overflow: hidden;
  background: linear-gradient(160deg, #2a3148 0%, #1a2248 55%, #12182e 100%);
}

.error404-band__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.error404-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.error404-band__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  color: #fff;
}

.error404-band__brand {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  animation: mv-fade-rise 0.5s ease both;
}

.error404-band__title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  animation: mv-fade-rise 0.55s ease both;
  animation-delay: 0.06s;
}

.error404-band__lead {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  max-width: 32rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  animation: mv-fade-rise 0.55s ease both;
  animation-delay: 0.12s;
}

.error404-band__cta {
  margin: 0;
  animation: mv-fade-rise 0.55s ease both;
  animation-delay: 0.18s;
}

.error404-band__button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  background-color: var(--rm-orange);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.error404-band__button:hover {
  background-color: var(--rm-orange-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.35);
}

.error404-band__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.site-main--404 {
  max-width: 56rem;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.error404-recovery__title {
  margin: 0 0 1.15rem;
  color: var(--rm-blue);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.error404-recovery__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
}

.site-main--404 .search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.site-main--404 .search-form label {
  display: flex;
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
}

.site-main--404 .search-form .search-field {
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(38, 50, 106, 0.22);
  border-radius: 4px;
  color: var(--rm-ink);
  font-size: 1rem;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
}

.site-main--404 .search-form .search-field:focus {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
  border-color: var(--rm-blue-mid);
}

.site-main--404 .search-form .search-submit {
  flex: 0 0 auto;
  padding: 0.65rem 1.15rem;
  border: none;
  border-radius: 4px;
  background-color: var(--rm-blue);
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.site-main--404 .search-form .search-submit:hover {
  background-color: var(--rm-blue-mid);
}

.site-main--404 .search-form .search-submit:focus-visible {
  outline: 2px solid var(--rm-orange);
  outline-offset: 2px;
}

.error404-recovery__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  align-items: flex-start;
}

.error404-recovery__links a {
  color: var(--rm-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.error404-recovery__links a:hover {
  color: var(--rm-orange-deep);
  border-bottom-color: rgba(228, 47, 34, 0.35);
  text-decoration: none;
}

.error404-recovery__links a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .error404-band {
    min-height: clamp(32rem, 78vh, 48rem);
  }

  .error404-band__content {
    padding: 4.5rem 1.5rem 3rem;
  }

  .error404-recovery__row {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
  }

  .error404-recovery__links {
    flex-direction: row;
    flex: 0 1 auto;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .error404-band__button {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .site-main--404 .search-form .search-submit {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error404-band__brand,
  .error404-band__title,
  .error404-band__lead,
  .error404-band__cta {
    animation: none;
  }

  .error404-band__button {
    transition: none;
  }

  .error404-band__button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.28);
  }
}

/* FAQ page */

.faq-band {
  width: 100%;
  padding: 2.25rem 1.25rem 2.5rem;
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-bottom: 1px solid rgba(38, 50, 106, 0.08);
  animation: mv-fade-rise 0.5s ease both;
}

.faq-band__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-band__title {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.faq-band__lead {
  margin: 0;
  color: var(--rm-muted);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  max-width: 40rem;
}

.site-main--faq {
  max-width: 42rem;
  padding-top: 2.25rem;
  padding-bottom: 3rem;
}

.faq-page {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.faq-section__title {
  margin: 0 0 0.75rem;
  color: var(--rm-blue);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.faq-item {
  border-bottom: 1px solid rgba(38, 50, 106, 0.12);
}

.faq-item__question {
  position: relative;
  display: block;
  padding: 1rem 1.75rem 1rem 0;
  color: var(--rm-blue);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--rm-orange);
  border-bottom: 2px solid var(--rm-orange);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] > .faq-item__question::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-item__question:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.faq-item__answer {
  padding: 0 0 1.15rem;
  color: var(--rm-ink);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item__answer p {
  margin: 0 0 0.85rem;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul,
.faq-item__answer ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.faq-item__answer li {
  margin: 0 0 0.35rem;
}

.faq-item__answer li:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: var(--rm-blue-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.faq-item__answer a:hover {
  color: var(--rm-orange-deep);
}

.faq-item__answer a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-band {
    animation: none;
  }

  .faq-item__question::after {
    transition: none;
  }
}

/* Become a Member / Join page */

.join-band {
  width: 100%;
  padding: 2.25rem 1.25rem 2.5rem;
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-bottom: 1px solid rgba(38, 50, 106, 0.08);
  animation: mv-fade-rise 0.5s ease both;
}

.join-band__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.join-band__title {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.join-band__lead {
  margin: 0;
  color: var(--rm-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.join-band__faq {
  margin: 0.85rem 0 0;
  color: var(--rm-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.join-band__faq a {
  color: var(--rm-blue-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.join-band__faq a:hover {
  color: var(--rm-orange-deep);
}

.join-band__faq a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.site-main--join {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.join-page > * + * {
  margin-top: 2.25rem;
}

.join-section__title {
  margin: 0 0 0.75rem;
  color: var(--rm-blue);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.join-section__text {
  margin: 0 0 1rem;
  color: var(--rm-ink);
  line-height: 1.65;
}

.join-section__text a {
  color: var(--rm-blue-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.join-section__text a:hover {
  color: var(--rm-orange-deep);
}

.join-section__text a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.join-open-house__times {
  margin: 0 0 0.85rem;
  color: var(--rm-orange-deep);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.join-steps {
  margin: 1.15rem 0 0;
  padding-left: 1.25em;
  color: var(--rm-ink);
  line-height: 1.55;
}

.join-steps li + li {
  margin-top: 0.45rem;
}

.join-warning {
  padding: 1.15rem 1.2rem 1.25rem;
  border-left: 4px solid var(--rm-orange);
  background:
    linear-gradient(135deg, var(--rm-wash) 0%, #fff 48%, var(--rm-wash-warm) 100%);
  animation: reservations-gate-in 0.45s ease both;
}

.join-warning__title {
  margin: 0 0 0.45rem;
  color: var(--rm-blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.join-warning__text {
  margin: 0;
  color: var(--rm-ink);
  line-height: 1.55;
}

.join-terms__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 1rem;
}

.join-terms__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(38, 50, 106, 0.18);
  border-radius: 4px;
  background: #fff;
  color: var(--rm-blue);
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.join-terms__tab:hover {
  border-color: var(--rm-blue-light);
  background: var(--rm-wash);
}

.join-terms__tab:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.join-terms__tab.is-active,
.join-terms__tab[aria-selected="true"] {
  border-color: var(--rm-orange);
  background: var(--rm-orange);
  color: #fff;
}

.join-terms__badge {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.join-terms__tab:not(.is-active) .join-terms__badge,
.join-terms__tab[aria-selected="false"] .join-terms__badge {
  background: var(--rm-wash-warm);
  color: var(--rm-orange-deep);
}

.join-terms:not(.is-enhanced) .join-terms__panel + .join-terms__panel {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(38, 50, 106, 0.1);
}

.join-terms__panel-title {
  margin: 0 0 0.65rem;
  color: var(--rm-blue);
  font-size: 1.15rem;
  font-weight: 700;
}

.join-terms__panel-badge {
  margin: -0.25rem 0 0.85rem;
  color: var(--rm-orange-deep);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.join-terms__footnote {
  margin: 0.85rem 0 0;
  color: var(--rm-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.join-plans {
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-plans__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(38, 50, 106, 0.1);
}

.join-plans__item:first-child {
  border-top: 1px solid rgba(38, 50, 106, 0.1);
}

.join-plans__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: min(100%, 12rem);
  flex: 1 1 auto;
}

.join-plans__name {
  color: var(--rm-ink);
  font-weight: 600;
  line-height: 1.35;
}

.join-plans__price {
  color: var(--rm-blue);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.join-plans__period {
  color: var(--rm-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.join-paypal {
  margin: 0;
  flex: 0 0 auto;
}

.join-paypal__button {
  display: inline-block;
  padding: 0.6rem 1.05rem;
  border: 0;
  border-radius: 4px;
  background-color: var(--rm-orange);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.22);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.join-paypal__button:hover {
  background-color: var(--rm-orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.32);
}

.join-paypal__button:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.join-shelves {
  padding-top: 0.25rem;
}

@media (max-width: 480px) {
  .join-paypal__button {
    display: block;
    width: 100%;
  }

  .join-plans__item {
    align-items: stretch;
  }

  .join-terms__tab {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-band,
  .join-warning {
    animation: none;
  }

  .join-paypal__button,
  .join-terms__tab {
    transition: none;
  }

  .join-paypal__button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.22);
  }
}

/* Support Us / Donations page */

.donate-band {
  width: 100%;
  padding: 2.25rem 1.25rem 2.5rem;
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-bottom: 1px solid rgba(38, 50, 106, 0.08);
  animation: mv-fade-rise 0.5s ease both;
}

.donate-band__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.donate-band__title {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.donate-band__lead {
  margin: 0;
  color: var(--rm-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.site-main--donate {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.donate-page > * + * {
  margin-top: 2.25rem;
}

.donate-note {
  padding: 1.15rem 1.2rem 1.25rem;
  border-left: 4px solid var(--rm-orange);
  background:
    linear-gradient(135deg, var(--rm-wash) 0%, #fff 48%, var(--rm-wash-warm) 100%);
  animation: reservations-gate-in 0.45s ease both;
}

.donate-note__title {
  margin: 0 0 0.45rem;
  color: var(--rm-blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.donate-note__text {
  margin: 0;
  color: var(--rm-ink);
  line-height: 1.55;
}

.donate-section__title {
  margin: 0 0 0.75rem;
  color: var(--rm-blue);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.donate-section__text {
  margin: 0 0 1rem;
  color: var(--rm-ink);
  line-height: 1.65;
}

.donate-section__text:last-child {
  margin-bottom: 0;
}

.donate-section__text--muted {
  color: var(--rm-muted);
  font-size: 0.95rem;
}

.donate-section__text a {
  color: var(--rm-blue-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.donate-section__text a:hover {
  color: var(--rm-orange-deep);
}

.donate-section__text a:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.donate-section--funds .donate-paypal {
  margin-top: 0.35rem;
}

.donate-paypal {
  margin: 0;
}

.donate-paypal__button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 4px;
  background-color: var(--rm-orange);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.22);
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.donate-paypal__button:hover {
  background-color: var(--rm-orange-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.32);
}

.donate-paypal__button:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .donate-paypal__button {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-band,
  .donate-note {
    animation: none;
  }

  .donate-paypal__button {
    transition: none;
  }

  .donate-paypal__button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.22);
  }
}

/* Contacting Us page */

.contact-band {
  width: 100%;
  padding: 2.25rem 1.25rem 2.5rem;
  background:
    linear-gradient(145deg, var(--rm-wash) 0%, #fff 42%, var(--rm-wash-warm) 100%);
  border-bottom: 1px solid rgba(38, 50, 106, 0.08);
  animation: mv-fade-rise 0.5s ease both;
}

.contact-band__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.contact-band__title {
  margin: 0 0 0.85rem;
  color: var(--rm-blue);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.contact-band__lead {
  margin: 0;
  color: var(--rm-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.site-main--contact {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.contact-page > * + * {
  margin-top: 2.25rem;
}

.contact-note {
  padding: 1.15rem 1.2rem 1.25rem;
  border-left: 4px solid var(--rm-orange);
  background:
    linear-gradient(135deg, var(--rm-wash) 0%, #fff 48%, var(--rm-wash-warm) 100%);
  animation: reservations-gate-in 0.45s ease both;
}

.contact-note__title {
  margin: 0 0 0.45rem;
  color: var(--rm-blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-note__text {
  margin: 0;
  color: var(--rm-ink);
  line-height: 1.55;
}

.contact-section__title {
  margin: 0 0 0.75rem;
  color: var(--rm-blue);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.contact-section__intro,
.contact-section__text {
  margin: 0 0 1rem;
  color: var(--rm-ink);
  line-height: 1.65;
}

.contact-section__action {
  margin: 0 0 1.25rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list__item {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(38, 50, 106, 0.1);
}

.contact-list__item:last-child {
  border-bottom: 1px solid rgba(38, 50, 106, 0.1);
}

.contact-list__role {
  margin: 0 0 0.3rem;
  color: var(--rm-blue);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.contact-list__blurb {
  margin: 0 0 0.45rem;
  color: var(--rm-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact-list__email {
  margin: 0;
}

.contact-list__email a,
.contact-visit__address a,
.contact-visit__text a,
.contact-social a {
  color: var(--rm-blue-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-list__email a:hover,
.contact-visit__address a:hover,
.contact-visit__text a:hover,
.contact-social a:hover {
  color: var(--rm-orange-deep);
}

.contact-list__email a:focus-visible,
.contact-visit__address a:focus-visible,
.contact-visit__text a:focus-visible,
.contact-social a:focus-visible,
.contact-discord__button:focus-visible {
  outline: 2px solid var(--rm-blue);
  outline-offset: 2px;
}

.contact-discord__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 0;
  border-radius: 4px;
  background-color: var(--rm-orange);
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.22);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-discord__button:hover {
  background-color: var(--rm-orange-deep);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.28);
}

.contact-social-label {
  margin: 0 0 0.4rem;
  color: var(--rm-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-visit__address {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.contact-visit__text {
  margin: 0 0 0.55rem;
  color: var(--rm-ink);
  line-height: 1.55;
}

.contact-visit__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .contact-discord__button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-band,
  .contact-note {
    animation: none;
  }

  .contact-discord__button {
    transition: none;
  }

  .contact-discord__button:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(242, 101, 34, 0.22);
  }
}
