/*
 Theme Name:   Rose Street Advisors
 Theme URI:    https://rosestreetadvisors.com
 Description:  Genesis child theme for Rose Street Advisors
 Author:       Lawton Marketing Group
 Author URI:   https://lawtonmg.com
 Template:     genesis
 Version:      1.0.0
 License:      GPL-2.0-or-later
 Text Domain:  rose-street-advisors
*/
/* ============================================================
   Rose Street Advisors
   Brand: RSA Red #98002e | Bebas Neue + Open Sans
   Built 2026
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --color-red: #98002e;
  --color-red-dark: #7a0025;
  --color-red-medium: #b04a5a;
  --color-red-light: #e5e1e6;
  --color-dark: #1a1a1a;
  --color-dark-gray: #4e4b48;
  --color-medium-gray: #6b6b6b;
  --color-light-gray: #c8c9c7;
  --color-cream: #f9f7f5;
  --color-white: #ffffff;
  --color-gold: #b88400;
  --color-medium-gold: #c4b584;
  --color-light-gold: #e9dbc2;
  --color-green: #1b806d;
  --color-blue: #1d428a;

  --font-heading: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-height: 90px;
  --container-width: 1280px;
  --container-narrow: 900px;
  --section-pad: clamp(70px, 9vw, 130px);
  --section-pad-sm: clamp(40px, 5vw, 70px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }
body.loading { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-base); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection {
  background: var(--color-red);
  color: var(--color-white);
}

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 320px;
  height: auto;
  animation: loaderPulse 1.6s ease-in-out infinite;
}

.loader-bar-track {
  width: 160px;
  height: 3px;
  background: var(--color-light-gray);
  border-radius: 3px;
  margin-top: 30px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--color-red);
  border-radius: 3px;
  transition: width 0.3s ease;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.97); }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h5 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

p { margin-bottom: 1em; color: var(--color-dark-gray); }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 12px;
  display: block;
}

.section-headline {
  margin-bottom: 20px;
}

.section-body {
  font-size: 1.05rem;
  max-width: 780px;
}

.text-center { text-align: center; }
.text-center .section-body { margin-inline: auto; }

.text-red { color: var(--color-red); }
.text-white { color: var(--color-white); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: 1440px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-sm {
  padding: var(--section-pad-sm) 0;
}

/* Section color variants */
.section-white { background: var(--color-white); }
.section-cream { background: var(--color-cream); }

.section-dark {
  background: var(--color-dark);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-dark p, .section-dark .section-label, .section-dark li {
  color: var(--color-white);
}
.section-dark .section-label { color: var(--color-light-gray); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-red {
  background: var(--color-red);
}
.section-red h1, .section-red h2, .section-red h3, .section-red h4,
.section-red p, .section-red .section-label, .section-red li {
  color: var(--color-white);
}
.section-red .section-label { color: rgba(255,255,255,0.7); }
.section-red p { color: rgba(255,255,255,0.85); }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 clamp(20px, 4vw, 40px);
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: height 0.3s var(--ease-out);
}

.header.scrolled {
  --header-height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header.scrolled .header-logo img {
  height: 40px;
}

/* Swap logos on scroll */
.header-logo .logo-light { display: block; }
.header-logo .logo-dark { display: none; }
.header.scrolled .header-logo .logo-light { display: none; }
.header.scrolled .header-logo .logo-dark { display: block; }

/* On interior pages, start scrolled */
.header.header-interior {
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header.header-interior .header-logo .logo-light { display: none; }
.header.header-interior .header-logo .logo-dark { display: block; }
.header.header-interior .nav-link { color: var(--color-dark); }
.header.header-interior .nav-link:hover { color: var(--color-red); }
.header.header-interior .hamburger span { background: var(--color-dark); }

/* --- Navigation --- */
.nav-main {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-white);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.header.scrolled .nav-link {
  color: var(--color-dark);
}

.nav-link:hover {
  color: var(--color-gold);
}

.header.scrolled .nav-link:hover,
.header.header-interior .nav-link:hover {
  color: var(--color-red);
}

.nav-link .nav-arrow {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-base);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-link .nav-arrow path {
  stroke: currentColor;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease-out);
  border: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  transition: all var(--transition-base);
}

.nav-dropdown a:hover {
  color: var(--color-red);
  background: var(--color-cream);
  padding-left: 26px;
}

/* CTA button in nav */
.nav-cta {
  margin-left: 12px;
}

.nav-cta a {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
}

.nav-cta a:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}

.header.scrolled .hamburger span {
  background: var(--color-dark);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--color-dark) !important;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color-dark) !important;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--color-white);
  padding: calc(var(--header-height) + 20px) 30px 30px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.mobile-nav-link .mobile-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-out);
}

.mobile-nav-item.expanded .mobile-arrow {
  transform: rotate(180deg);
}

.mobile-subnav {
  display: none;
  padding-bottom: 12px;
}

.mobile-nav-item.expanded .mobile-subnav {
  display: block;
}

.mobile-subnav a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  font-weight: 500;
  transition: color var(--transition-base);
}

.mobile-subnav a:hover {
  color: var(--color-red);
}

.mobile-menu-cta {
  margin-top: 30px;
}

/* --- Hero (Homepage) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(152, 0, 46, 0.82), rgba(26, 26, 26, 0.7)),
    url('../assets/images/headers/RoseStreetEdits-120.jpg') center center / cover no-repeat;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(152, 0, 46, 0.82), rgba(26, 26, 26, 0.7));
}

.hero-slide.active {
  opacity: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.2) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.hero-tagline.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.hero-subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--ease-out) 0.4s;
}

.hero-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  50.01% { top: -100%; }
  100% { top: 100%; }
}

/* --- Interior Hero --- */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--color-cream);
  position: relative;
}

.page-hero-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-medium-gray);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: var(--color-red);
  font-weight: 600;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero .breadcrumb .sep {
  color: var(--color-light-gray);
}

.page-hero h1 {
  color: var(--color-dark);
}

/* Page hero with background image */
.page-hero-bg {
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center center;
  padding: calc(var(--header-height) + 120px) 0 120px;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg .page-hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(152, 0, 46, 0.82), rgba(26, 26, 26, 0.7));
  z-index: 1;
}

.page-hero-bg h1,
.page-hero-bg p {
  color: var(--color-white);
}

.page-hero-bg .breadcrumb {
  color: rgba(255,255,255,0.7);
}

.page-hero-bg .breadcrumb a {
  color: var(--color-white);
}

.page-hero-bg .breadcrumb .sep {
  color: rgba(255,255,255,0.4);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(152,0,46,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}

.btn-outline:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-red);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-red);
  font-weight: 600;
  font-size: 0.9rem;
  gap: 6px;
}

.btn-text:hover {
  gap: 10px;
}

.btn-text .btn-arrow {
  transition: transform var(--transition-base);
}

.btn-text:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* --- Service Cards (Homepage) --- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  flex: 0 1 calc(33.333% - 16px);
  background: var(--color-white);
  padding: 36px 28px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-red);
  transition: color var(--transition-base);
}

.service-card:hover .service-card-icon {
  background: var(--color-red);
}

.service-card:hover .service-card-icon svg {
  color: var(--color-white);
}

.service-card h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-medium-gray);
  margin-bottom: 20px;
  flex: 1;
}

.service-card .btn {
  margin-top: auto;
  font-size: 0.82rem;
  padding: 10px 24px;
}

/* --- Split Layout (image + text) --- */
.tier-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.tier-split.reverse { direction: rtl; }
.tier-split.reverse > * { direction: ltr; }

.tier-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.tier-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tier-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tier-video .video-embed {
  box-shadow: none;
  border-radius: 0;
}

.tier-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-medium-gray);
  font-size: 0.85rem;
}

.tier-content h2 { margin-bottom: 20px; }
.tier-content p { margin-bottom: 16px; }

/* --- Values / Core Values --- */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.value-card {
  flex: 1 1 280px;
  max-width: 380px;
  padding: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-red .value-card { border-color: rgba(255,255,255,0.15); }
.section-dark .value-card { border-color: rgba(255,255,255,0.1); }

.value-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.value-card { text-align: center; }
.value-card h4 { margin-bottom: 8px; }

/* --- Team Cards (Circular Headshot) --- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  flex: 0 1 220px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card:hover .team-card-photo {
  box-shadow: 0 8px 24px rgba(152, 0, 46, 0.18);
}

.team-card-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-cream), var(--color-light-gray));
  transition: box-shadow var(--transition-base);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-info {
  padding: 0;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.team-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red);
}

/* --- Logo Grid (Community Support) --- */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
}

.logo-grid-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  width: calc((100% - 90px) / 4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.logo-grid-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .logo-grid-item { padding: 14px; }
}

/* --- Team Bio Modal --- */
.team-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.team-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.team-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px 40px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.team-modal-overlay.active .team-modal {
  transform: translateY(0) scale(1);
}

.team-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-dark-gray);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  line-height: 1;
}

.team-modal-close:hover {
  background: var(--color-cream);
}

.team-modal-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
}

.team-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-modal-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 4px;
}

.team-modal-title {
  text-align: center;
  color: var(--color-red);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.team-modal-bio {
  line-height: 1.8;
  color: var(--color-dark-gray);
  font-size: 0.95rem;
  text-align: center;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 50px 40px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  line-height: 1;
  color: var(--color-red);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-medium-gray);
}

.testimonial-disclosure {
  font-size: 0.75rem;
  color: var(--color-medium-gray);
  margin-top: 24px;
  font-style: italic;
  line-height: 1.5;
}

/* --- Video Embed --- */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-dark);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Video Playlist (vpl) --- */
.vpl {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vpl-player {
  flex: 2;
  min-width: 0;
}
.vpl-player .video-embed {
  border-radius: 0;
  box-shadow: none;
}
.vpl-sidebar {
  flex: 1;
  min-width: 260px;
  max-width: 380px;
  max-height: 400px;
  overflow-y: auto;
  border-left: 1px solid var(--color-light-gray);
  background: var(--color-cream);
}
.vpl-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--color-light-gray);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vpl-sidebar-header span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(0,0,0,0.55);
}
.vpl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.15s;
}
.vpl-item:hover {
  background: rgba(0,0,0,0.04);
}
.vpl-item.active {
  background: #e8e9eb;
}
.vpl-item-thumb {
  width: 80px;
  min-width: 80px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.vpl-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vpl-item-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
}
.vpl-item-title {
  font-size: 0.85rem;
  line-height: 1.3;
  color: #556068;
}
@media (max-width: 768px) {
  .vpl {
    flex-direction: column;
  }
  .vpl-sidebar {
    max-width: 100%;
    max-height: 300px;
    border-left: 0;
    border-top: 1px solid var(--color-light-gray);
  }
}

/* --- Bulletpoint Lists --- */
.feature-list {
  columns: 2;
  column-gap: 40px;
}

.feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  break-inside: avoid;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
}

.section-red .feature-list li { color: rgba(255,255,255,0.9); }
.section-red .feature-list li::before { background: var(--color-white); }
.section-dark .feature-list li { color: rgba(255,255,255,0.75); }
.section-dark .feature-list li::before { background: var(--color-white); }

/* --- Stats / Numbers --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 8px;
}

.section-red .stat-number { color: var(--color-white); }

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-medium-gray);
}

.section-red .stat-label { color: rgba(255,255,255,0.7); }

/* --- CTA Band --- */
.cta-band {
  padding: 80px 0;
  background: var(--color-red);
  text-align: center;
}

.cta-band h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }

/* --- Form --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(152,0,46,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- Location Cards --- */
.location-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.location-card:hover {
  border-color: var(--color-red);
  background: rgba(0, 0, 0, 0.04);
}

.location-card.active {
  border-color: var(--color-red);
  background: rgba(163, 31, 52, 0.06);
}

.location-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-card-arrow {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.location-card:hover .location-card-arrow,
.location-card.active .location-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.location-card h5 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-red);
  margin-bottom: 8px;
}

.location-card p {
  color: var(--color-dark-gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Map Section --- */
.map-section {
  height: 400px;
  position: relative;
  background: var(--color-dark);
}

.map-section iframe {
  transition: opacity 0.4s ease;
}

.map-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.map-overlay svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.map-overlay span {
  color: var(--color-white);
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
}

/* Footer top: brand left, socials right */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-top img {
  height: 48px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-red);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.7);
}

.footer-social a:hover svg { color: var(--color-white); }

/* Footer middle: tagline + 4-col link grid + contact col */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 50px 0;
}

.footer-tagline p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-contact-col h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer-contact-col p,
.footer-contact-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  transition: color var(--transition-base);
}

.footer-contact-col a:hover {
  color: var(--color-white);
}

.footer-contact-col .footer-address + .footer-address {
  margin-top: 14px;
}

.footer-contact-col .footer-phone {
  margin-top: 14px;
  display: inline-block;
  padding: 8px 0;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* Footer bottom: single row with copyright + disclosure toggle */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0 30px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-disclosure-toggle {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-base);
}

.footer-disclosure-toggle:hover {
  color: rgba(255,255,255,0.7);
}

.footer-disclosure {
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.footer-disclosure.open {
  max-height: 400px;
}

.footer-disclosure-inner {
  padding-top: 16px;
}

.footer-disclosure a {
  display: inline;
  padding: 0;
  text-decoration: underline;
  color: rgba(255,255,255,0.45);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Flipbook Embed --- */
.flipbook-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 77.2727%;
  padding-bottom: 0;
  box-shadow: 0 2px 8px 0 rgba(63,69,81,0.16);
  margin-top: 1.6em;
  margin-bottom: 0.9em;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.flipbook-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
  padding: 0;
  margin: 0;
}

/* --- FAQ / Accordion --- */
.accordion-item {
  border-bottom: 1px solid var(--color-light-gray);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--color-dark);
  text-align: left;
  letter-spacing: 0.02em;
}

.accordion-trigger .accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  color: var(--color-red);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.accordion-inner {
  padding-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
}

/* --- Video Grid --- */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.video-item {
  flex: 1 1 300px;
  max-width: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}

.video-item .video-embed {
  border-radius: 0;
  box-shadow: none;
}

.video-item-info {
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.video-item-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* --- Module Sections (Fiduciary Fitness) --- */
.module-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.module-section:last-child { border-bottom: none; }

.module-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.module-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-red);
  background: var(--color-cream);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-tagline { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
}

/* Drop the nav row beneath the logo (right-aligned) when there isn't
   enough horizontal room for a single-row layout — keeps the full
   desktop nav visible instead of falling back to the hamburger menu.
   Uses Grid so nav-main + nav-cta wrap together as a unit. */
@media (max-width: 1568px) and (min-width: 1025px) {
  :root { --header-height: 134px; }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 12px;
  }
  .header-logo { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .nav-main    { grid-column: 2;     grid-row: 2; }
  .nav-cta     { grid-column: 3;     grid-row: 2; }
  .header.scrolled { --header-height: 114px; }
  .header.scrolled .header-logo img { height: 36px; }
}

@media (max-width: 1024px) {
  .nav-main { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .tier-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tier-split.reverse { direction: ltr; }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width { grid-column: auto; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .service-card {
    flex: 0 1 calc(50% - 12px);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .feature-list {
    columns: 1;
  }

  .team-card,
  .value-card,
  .video-item {
    max-width: 100%;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  .page-hero-bg {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    min-height: 320px;
  }

  .team-modal {
    padding: 36px 24px;
  }

  .team-modal-photo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .service-card {
    flex: 0 1 100%;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-group .btn { width: 100%; justify-content: center; }

  .hero-tagline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* --- Parking Map Lightbox --- */
.parking-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.parking-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.parking-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.parking-lightbox-container {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.parking-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-dark);
  color: var(--color-white);
}

.parking-lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.parking-lightbox-controls {
  display: flex;
  gap: 6px;
}

.parking-lightbox-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.parking-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.parking-lightbox-btn svg {
  width: 18px;
  height: 18px;
}

.parking-lightbox-close {
  background: var(--color-red);
  border-color: var(--color-red);
}

.parking-lightbox-close:hover {
  background: var(--color-red-dark);
}

.parking-lightbox-viewport {
  overflow: hidden;
  cursor: grab;
  position: relative;
  max-height: calc(90vh - 60px);
}

.parking-lightbox-viewport:active {
  cursor: grabbing;
}

.parking-lightbox-viewport img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 0 0;
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}

/* --- Blog Template Styles --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-cream);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--color-medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-base);
}

.blog-card-link:hover {
  color: var(--color-red-dark);
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Blog List — Editorial Row Layout
   ============================================================ */
.rsa-blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rsa-blog-row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  align-items: stretch;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.rsa-blog-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.rsa-blog-row-image {
  background: var(--color-light-gray);
  min-height: 230px;
  overflow: hidden;
  display: block;
}
.rsa-blog-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.rsa-blog-row:hover .rsa-blog-row-image img { transform: scale(1.04); }
.rsa-blog-row-body {
  padding: 36px 40px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rsa-blog-meta {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.rsa-blog-meta-cat {
  color: var(--color-red);
  font-weight: 600;
  text-transform: uppercase;
}
.rsa-blog-meta-date {
  color: var(--color-medium-gray);
}
.rsa-blog-row-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 14px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.rsa-blog-row-title a {
  color: inherit;
  transition: color var(--transition-base);
}
.rsa-blog-row-title a:hover {
  color: var(--color-red);
}
.rsa-blog-row-excerpt {
  color: var(--color-dark-gray);
  margin-bottom: 18px;
  max-width: 640px;
}
.rsa-blog-row-link {
  font-family: var(--font-heading);
  color: var(--color-red);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: color var(--transition-base);
}
.rsa-blog-row-link:hover { color: var(--color-red-dark); }

.blog-pagination {
  text-align: center;
  margin-top: 50px;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
.blog-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 4px;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  transition: all var(--transition-base);
}
.blog-pagination .page-numbers:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.blog-pagination .page-numbers.current {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

@media (max-width: 980px) {
  .rsa-blog-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rsa-blog-row:hover { transform: none; }
  .rsa-blog-row-image {
    min-height: 220px;
    aspect-ratio: 16/9;
  }
  .rsa-blog-row-body {
    padding: 28px;
  }
  .rsa-blog-row-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .rsa-blog-list { gap: 24px; }
  .rsa-blog-row-body { padding: 22px; }
  .rsa-blog-meta { flex-direction: column; gap: 4px; }
}

/* ============================================================
   Single Post — Author Bio + CTA Card
   ============================================================ */
.rsa-author-bio {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
  padding: 50px 0 40px;
  margin-top: 50px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.rsa-author-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-cream);
  flex-shrink: 0;
}
.rsa-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rsa-author-body {
  min-width: 0;
}
.rsa-author-name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.rsa-author-role {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 18px;
}
.rsa-author-text p {
  font-size: 0.96rem;
  color: var(--color-dark-gray);
  margin-bottom: 14px;
  line-height: 1.7;
}
.rsa-author-text p:last-child { margin-bottom: 0; }
.rsa-author-text p em {
  font-size: 0.85rem;
  color: var(--color-medium-gray);
}

.rsa-cta-card {
  position: relative;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: clamp(40px, 6vw, 70px) clamp(28px, 5vw, 60px);
  margin-top: 50px;
  overflow: hidden;
  isolation: isolate;
}
.rsa-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255,255,255,0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  z-index: -1;
}
.rsa-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.rsa-cta-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.rsa-cta-heading {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.rsa-cta-text {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.65;
}
.rsa-cta-card .btn-primary {
  background: var(--color-white);
  color: var(--color-red);
  border: 2px solid var(--color-white);
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  display: inline-block;
  transition: all var(--transition-base);
}
.rsa-cta-card .btn-primary:hover {
  background: transparent;
  color: var(--color-white);
}

@media (max-width: 740px) {
  .rsa-author-bio {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .rsa-author-photo {
    margin: 0 auto;
    width: 130px;
    height: 130px;
  }
  .rsa-author-role { letter-spacing: 0.08em; }
  .rsa-author-text { text-align: left; }
}

/* Mobile menu close button */
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
  z-index: 2;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: var(--color-red);
  color: var(--color-white);
  outline: none;
}
.mobile-menu-close:active { transform: scale(0.94); }
.mobile-menu-close svg {
  width: 28px;
  height: 28px;
  display: block;
}
