/* ============================================================
   Leo District 306 D5 — Premium Editorial Design System
   Cinematic Photography × Oswald Typography × Subtle Parallax × Glassmorphism
   ============================================================ */

:root {
  /* Leo Colors */
  --leo-red-dark: #5c0000;
  --leo-red: #7a0000;
  --leo-red-bright: #8b0000;
  --leo-black: #160000;
  --leo-dark-surface: #1d0505;
  --leo-white: #ffffff;
  --leo-warm-white: #faf8f5;
  --leo-warm-border: #e5dfd5;
  --leo-gold: #c6a15b;
  --leo-gold-muted: #b9975b;
  --leo-gold-light: #dfc288;
  --leo-text-primary: #1d0505;
  --leo-text-secondary: #52433d;
  --leo-text-muted: #7d6e66;
  --leo-text-light: #faf8f5;
  --leo-text-light-muted: #cfc5bc;

  /* Typography */
  --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-max: 1240px;
}

/* Base Editorial Resets */
h1, h2, h3, h4, h5, .editorial-heading {
  font-family: var(--font-display) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

body {
  font-family: var(--font-body);
  background-color: var(--leo-warm-white);
  color: var(--leo-text-primary);
  overflow-x: hidden;
}

/* Glassmorphism Refinements */
.glass-panel {
  background: rgba(22, 0, 0, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(198, 161, 91, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(198, 161, 91, 0.3);
  box-shadow: 0 12px 32px rgba(22, 0, 0, 0.06);
}

/* Navbar */
.editorial-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(22, 0, 0, 0.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(198, 161, 91, 0.2);
  transition: all 0.35s ease;
}

.editorial-navbar.scrolled {
  background: rgba(22, 0, 0, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.editorial-nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editorial-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.editorial-brand-logo {
  width: auto;
  height: 48px;
  max-width: 48px;
  object-fit: contain;
  border-radius: 4px;
  border: none;
}

.editorial-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--leo-warm-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.editorial-brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--leo-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
}

.editorial-nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.editorial-nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leo-text-light-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.editorial-nav-link:hover {
  color: var(--leo-warm-white);
}

.editorial-nav-link.active {
  color: var(--leo-gold-light);
  font-weight: 600;
}

.editorial-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--leo-gold);
}

.editorial-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--leo-gold);
  color: var(--leo-black);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.35rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.editorial-cta-btn:hover {
  background: var(--leo-gold-light);
  color: var(--leo-black);
  transform: translateY(-1px);
}

/* ============================================================
   Cinematic Hero Section
   ============================================================ */
.editorial-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--leo-black);
  color: var(--leo-warm-white);
  padding: 9rem 0 6rem;
  overflow: hidden;
}

.editorial-hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url('/images/editorial/hero-service.jpg');
  background-size: cover;
  background-position: center 25%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
}

.editorial-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 0, 0, 0.7) 0%,
    rgba(29, 5, 5, 0.6) 40%,
    rgba(22, 0, 0, 0.95) 100%
  );
  backdrop-filter: blur(2px);
}

.editorial-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leo-gold);
  margin-bottom: 1.5rem;
}

.editorial-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--leo-gold);
}

.editorial-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: var(--leo-warm-white);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.editorial-hero-headline em {
  font-style: normal;
  color: var(--leo-gold);
  display: block;
}

.editorial-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--leo-text-light-muted);
  max-width: 660px;
  margin-bottom: 3rem;
  font-weight: 300;
}

.editorial-hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.editorial-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--leo-red);
  color: var(--leo-warm-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(198, 161, 91, 0.3);
  transition: all 0.25s ease;
}

.editorial-primary-link:hover {
  background: var(--leo-red-bright);
  color: var(--leo-warm-white);
  transform: translateX(4px);
  border-color: var(--leo-gold);
}

.editorial-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--leo-warm-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(250, 248, 245, 0.3);
  transition: all 0.25s ease;
}

.editorial-secondary-link:hover {
  border-color: var(--leo-gold);
  color: var(--leo-gold);
}

.editorial-scroll-prompt {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leo-gold-muted);
}

/* ============================================================
   Sections & Layout
   ============================================================ */
.editorial-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background-color: var(--leo-warm-white);
  color: var(--leo-text-primary);
  position: relative;
}

.editorial-section-dark {
  background-color: var(--leo-black);
  color: var(--leo-warm-white);
}

.editorial-section-red {
  background-color: var(--leo-red);
  color: var(--leo-warm-white);
}

.editorial-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Editorial 2-Column Intro */
.editorial-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .editorial-two-col {
    grid-template-columns: 360px 1fr;
    gap: 6rem;
  }
}

.editorial-col-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leo-gold);
  margin-bottom: 0.75rem;
}

.editorial-col-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--leo-text-primary);
  letter-spacing: 0.01em;
}

.editorial-section-dark .editorial-col-title,
.editorial-section-red .editorial-col-title {
  color: var(--leo-warm-white);
}

.editorial-prose {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--leo-text-secondary);
  font-weight: 400;
}

.editorial-section-dark .editorial-prose {
  color: var(--leo-text-light-muted);
}

.editorial-section-red .editorial-prose {
  color: #f7dede;
}

/* Horizontal Dividers */
.editorial-divider-gold {
  width: 100%;
  height: 1px;
  background: rgba(198, 161, 91, 0.35);
  margin: 2.5rem 0;
}

/* ============================================================
   Full-Width Image Story Break (60–80vh)
   ============================================================ */
.editorial-image-break {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-color: var(--leo-black);
}

.editorial-image-break-bg {
  position: absolute;
  inset: -15%;
  background-image: url('/images/editorial/service-action.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.editorial-image-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 0, 0, 0.85) 0%,
    rgba(22, 0, 0, 0.45) 50%,
    rgba(22, 0, 0, 0.75) 100%
  );
}

.editorial-image-break-card {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 3rem;
  border-radius: 3px;
}

.editorial-image-break-quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--leo-warm-white);
  margin-bottom: 1rem;
}

.editorial-image-break-caption {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--leo-text-light-muted);
}

/* ============================================================
   Leo Values (Editorial Numbered Rows)
   ============================================================ */
.editorial-row-list {
  display: flex;
  flex-direction: column;
}

.editorial-numbered-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(198, 161, 91, 0.3);
  transition: all 0.25s ease;
}

@media (min-width: 800px) {
  .editorial-numbered-row {
    grid-template-columns: 120px 280px 1fr;
    gap: 3.5rem;
    align-items: baseline;
  }
}

.editorial-row-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--leo-gold);
}

.editorial-row-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--leo-text-primary);
  letter-spacing: 0.02em;
}

.editorial-section-dark .editorial-row-heading {
  color: var(--leo-warm-white);
}

.editorial-row-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--leo-text-secondary);
}

.editorial-section-dark .editorial-row-desc {
  color: var(--leo-text-light-muted);
}

/* ============================================================
   Impact Section (Editorial Asymmetric Layout)
   ============================================================ */
.editorial-impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .editorial-impact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

.editorial-impact-photo {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.editorial-impact-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-impact-photo:hover img {
  transform: scale(1.03);
}

/* ============================================================
   District at a Glance (Dark Red & Typography)
   ============================================================ */
.editorial-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 2rem;
  padding: 3rem 0 1rem;
}

@media (min-width: 960px) {
  .editorial-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.editorial-metric-block {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--leo-gold);
  padding-left: 1.5rem;
}

.editorial-metric-number {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--leo-warm-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.editorial-metric-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leo-gold);
}

/* ============================================================
   Asymmetrical Photo Montage / Collage
   ============================================================ */
.editorial-collage-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.collage-item-1 {
  grid-column: span 7;
  height: 420px;
  overflow: hidden;
}

.collage-item-2 {
  grid-column: span 5;
  height: 340px;
  overflow: hidden;
}

.collage-item-3 {
  grid-column: span 5;
  height: 360px;
  overflow: hidden;
}

.collage-item-4 {
  grid-column: span 7;
  height: 440px;
  overflow: hidden;
}

@media (max-width: 800px) {
  .collage-item-1, .collage-item-2, .collage-item-3, .collage-item-4 {
    grid-column: span 12;
    height: 280px;
  }
}

.editorial-collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-collage-img:hover {
  transform: scale(1.04);
}

/* ============================================================
   Discover the District (Editorial Link Table with BG Images)
   ============================================================ */
.editorial-nav-directory {
  display: flex;
  flex-direction: column;
}

.editorial-directory-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem 2rem;
  border-bottom: 1px solid rgba(28, 2, 2, 0.12);
  text-decoration: none;
  transition: all 0.35s ease;
  overflow: hidden;
  background: #ffffff;
  border-left: 3px solid transparent;
}

.editorial-directory-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  transform: scale(1.04);
  z-index: 1;
}

.editorial-directory-item:hover .editorial-directory-item-bg {
  opacity: 0.22;
  transform: scale(1.0);
}

.editorial-directory-item:hover {
  border-left-color: var(--leo-gold);
  padding-left: 2.5rem;
  padding-right: 1.5rem;
  background: #fdfcf9;
}

.editorial-directory-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--leo-text-primary);
  transition: color 0.3s ease;
}

.editorial-directory-item:hover .editorial-directory-title {
  color: var(--leo-red);
}

.editorial-directory-arrow {
  position: relative;
  z-index: 2;
  color: var(--leo-gold);
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.editorial-directory-item:hover .editorial-directory-arrow {
  transform: translateX(8px);
}

/* ============================================================
   Final Statement CTA (Near-Black Burgundy)
   ============================================================ */
.editorial-final-cta {
  background-color: var(--leo-black);
  color: var(--leo-warm-white);
  padding: clamp(7rem, 12vw, 11rem) 0;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(198, 161, 91, 0.2);
}

.editorial-final-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: var(--leo-warm-white);
}

.editorial-final-cta-desc {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--leo-text-light-muted);
  max-width: 620px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.editorial-final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ============================================================
   Editorial Clubs Directory (List Format)
   ============================================================ */
.editorial-club-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--leo-warm-border);
  background: #fff;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.editorial-club-row:hover {
  background: #fdfaf5;
  border-left-color: var(--leo-gold);
  padding-left: 2rem;
}

.editorial-club-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--leo-text-primary);
  margin-bottom: 0.25rem;
}

.editorial-club-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leo-red);
}

.editorial-club-meta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--leo-text-muted);
}

/* Inner Page Header with Background Image */
.editorial-page-header {
  position: relative;
  background-color: var(--leo-black);
  color: var(--leo-warm-white);
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(198, 161, 91, 0.25);
  overflow: hidden;
}

.editorial-page-header-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
  filter: brightness(0.85);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-page-header:hover .editorial-page-header-bg {
  transform: scale(1.05);
}

.editorial-page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 0, 0, 0.72) 0%,
    rgba(29, 5, 5, 0.8) 50%,
    rgba(22, 0, 0, 0.96) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.editorial-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.editorial-page-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--leo-text-light-muted);
  max-width: 720px;
  line-height: 1.7;
  font-weight: 300;
}

/* Nav Toggle */
#navToggle {
  display: none;
}

/* Mobile Nav */
@media (max-width: 980px) {
  #navToggle {
    display: flex;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
  }

  #navToggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--leo-warm-white);
    transition: all 0.25s ease;
  }

  .editorial-nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--leo-black);
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(198, 161, 91, 0.25);
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  .editorial-nav-links.open {
    display: flex;
  }

  .editorial-nav-link {
    font-size: 1.25rem;
    width: 100%;
    border-bottom: 1px solid rgba(198, 161, 91, 0.1);
    padding-bottom: 0.75rem;
  }
}

/* ============================================================
   EDITORIAL CLUB DETAIL MODAL POPUP
   ============================================================ */
.modal-backdrop,
.club-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 2, 2, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.modal-backdrop.active,
.club-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box,
.club-modal-dialog {
  background: rgba(26, 4, 4, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(198, 161, 91, 0.35);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(198, 161, 91, 0.15);
  border-radius: 8px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.75rem 2.25rem 2.25rem;
  color: var(--leo-warm-white);
  transform: scale(0.93) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box,
.club-modal-overlay.active .club-modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: rgba(247, 243, 235, 0.6);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--leo-gold);
  transform: scale(1.12);
}

.modal-cause-pill {
  padding: 0.3rem 0.75rem;
  background: rgba(198, 161, 91, 0.12);
  border: 1px solid rgba(198, 161, 91, 0.25);
  color: var(--leo-gold-light);
  font-size: 0.75rem;
  font-family: var(--font-body);
  border-radius: 3px;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .modal-box,
  .club-modal-dialog {
    padding: 2rem 1.25rem 1.5rem;
    max-height: 92vh;
  }
  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
  }
}
