/* ==========================================================================
   ASSOCIATION COLLÈGE ROYAL ET MILITAIRE DE THIRON-GARDAIS
   Official Institutional Stylesheet
   Statutory Non-Profit Cultural Organization (Association Loi 1901)
   RNA: W284000933 | SIREN: 907920342
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&display=swap');

:root {
  --primary-purple: #4F2683;
  --dark-navy: #3A1B63;
  --text-charcoal: #1E1E24;
  --body-grey: #475569;
  --off-white: #F4F5F7;
  --card-white: #FFFFFF;
  --border-line: #E2E8F0;
  --accent-gold: #D4AF37;
  --success-green: #2E7D32;
  --focus-ring: rgba(79, 38, 131, 0.25);
  --header-height: 80px;
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
}

/* Reset and Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--body-grey);
  background-color: var(--card-white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-charcoal);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.15rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: var(--body-grey);
}

p.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-charcoal);
  font-weight: 400;
}

a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--dark-navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessible Tap Targets */
button, 
.btn, 
input, 
select, 
textarea,
.nav-link {
  min-height: 44px;
  font-family: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 880px;
}

/* Statutory Non-Profit Header Notice */
.statutory-topbar {
  background-color: var(--dark-navy);
  color: #FFFFFF;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.statutory-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.statutory-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.statutory-badge span.dot {
  width: 8px;
  height: 8px;
  background-color: #A78BFA;
  border-radius: 50%;
  display: inline-block;
}

.statutory-ids {
  color: #E2E8F0;
  font-size: 0.8rem;
}

/* Sticky Header */
.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--card-white);
  border-bottom: 1px solid var(--border-line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Zone */
.logo-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-shield {
  width: 46px;
  height: 46px;
  background-color: var(--primary-purple);
  color: #FFFFFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(79, 38, 131, 0.25);
}

.logo-shield svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-purple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.15;
}

/* Navigation Matrix */
.nav-matrix {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-charcoal);
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary-purple);
  border-bottom-color: var(--primary-purple);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--card-white);
  border: 1px solid var(--border-line);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1010;
}

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

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-charcoal);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
  background-color: var(--off-white);
  color: var(--primary-purple);
}

/* Header Action Tools */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-search {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-line);
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-charcoal);
  transition: all 0.2s ease;
}

.btn-search:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.btn-search svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-line);
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-charcoal);
  transition: all 0.25s ease;
}

/* Buttons (Strict 2-Button Rule) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 11px 24px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-purple);
  color: #FFFFFF;
  border-color: var(--primary-purple);
}

.btn-primary:hover {
  background-color: var(--dark-navy);
  border-color: var(--dark-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(79, 38, 131, 0.25);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.btn-secondary:hover {
  background-color: rgba(79, 38, 131, 0.05);
  color: var(--dark-navy);
  border-color: var(--dark-navy);
}

.btn-outline-white {
  background-color: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--primary-purple);
}

/* Button Row - Strictly Max 2 Buttons */
.cta-dual-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 540px;
  background-color: #2D144B;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(58, 27, 99, 0.85) 0%, rgba(26, 12, 46, 0.75) 100%);
  z-index: 1;
}

.hero-wrapper .container {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: var(--card-white);
  padding: 44px;
  max-width: 680px;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-line);
}

.category-pill {
  display: inline-block;
  background-color: rgba(79, 38, 131, 0.08);
  color: var(--primary-purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.category-pill.white {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.hero-card h1 {
  font-size: 2.25rem;
  color: var(--text-charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-summary-2sentences {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--body-grey);
  margin-bottom: 20px;
}

/* Mandatory Fee Reinvestment Notice Box */
.reinvestment-banner {
  background-color: var(--off-white);
  border-left: 4px solid var(--primary-purple);
  padding: 14px 20px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}

.reinvestment-banner p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

/* Statistics Matrix (3-Column Grid) */
.stats-section {
  background-color: var(--card-white);
  padding: 70px 0;
  border-bottom: 1px solid var(--border-line);
}

.stats-mission-wrapper {
  max-width: 960px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.section-title-center {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.mission-paragraph-120 {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-charcoal);
  background-color: var(--off-white);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-line);
  text-align: left;
}

.stats-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
  padding: 40px 0;
}

.stat-item {
  padding: 0 32px;
  text-align: center;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-line);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-purple);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-grey);
  line-height: 1.4;
}

/* Campaign Section ("All in.") */
.campaign-section {
  background-color: var(--primary-purple);
  color: #FFFFFF;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.campaign-grid-2col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.campaign-title-giant {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 900;
}

.campaign-subtitle {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #E2E8F0;
}

.campaign-overview {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 30px;
}

.focus-areas-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}

.focus-area-item {
  padding-top: 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.focus-area-item:hover {
  border-top-color: #FFFFFF;
  transform: translateX(-6px);
}

.focus-area-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.focus-area-desc {
  font-size: 0.9rem;
  color: #E2E8F0;
}

/* Activity & Initiative Cards Grid */
.activities-section {
  padding: 80px 0;
  background-color: var(--off-white);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
}

.activity-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.activity-card-horizontal {
  display: flex;
  background-color: var(--card-white);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card-horizontal:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.activity-card-img {
  width: 40%;
  flex-shrink: 0;
  background-color: #E2E8F0;
  position: relative;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.activity-card-horizontal:hover .activity-card-img img {
  transform: scale(1.05);
}

.activity-card-content {
  width: 60%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.activity-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-charcoal);
  line-height: 1.3;
}

.activity-summary-100words {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--body-grey);
  margin-bottom: 18px;
}

/* Content Pages Structural Blueprint */
.page-header {
  background-color: var(--dark-navy);
  color: #FFFFFF;
  padding: 60px 0 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.page-header p.lead {
  color: #E2E8F0;
  font-size: 1.15rem;
  max-width: 820px;
}

.content-section {
  padding: 60px 0;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 1.9rem;
  border-bottom: 2px solid var(--border-line);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.content-block h3 {
  font-size: 1.35rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--primary-purple);
}

/* Institutional Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-line);
  border-radius: 6px;
}

.institutional-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.institutional-table th {
  background-color: var(--off-white);
  color: var(--text-charcoal);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-line);
}

.institutional-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-line);
  color: var(--body-grey);
}

.institutional-table tr:hover td {
  background-color: #FAFAFB;
}

/* Card Grids for Governance / Programs */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.info-card {
  background: var(--card-white);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.info-card h4 {
  color: var(--primary-purple);
  margin-bottom: 8px;
}

.info-card .role-title {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--body-grey);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* Forms (Contact & Volunteer) */
.form-card {
  background: var(--card-white);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--border-line);
  border-radius: 4px;
  color: var(--text-charcoal);
  background-color: var(--card-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

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

.form-help {
  font-size: 0.82rem;
  color: var(--body-grey);
  margin-top: 4px;
}

/* Pre-Footer Utility Bar */
.pre-footer-bar {
  background-color: var(--off-white);
  border-top: 1px solid var(--border-line);
  padding: 20px 0;
  font-size: 0.92rem;
}

.pre-footer-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-charcoal);
}

.utility-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-purple);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Main Institutional Footer */
.main-footer {
  background-color: var(--dark-navy);
  color: #FFFFFF;
  padding: 70px 0 40px 0;
  border-top: 3px solid var(--primary-purple);
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: #A78BFA;
}

.footer-mandatory-disclosure {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #CBD5E1;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 4px;
  border-left: 3px solid #A78BFA;
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-list a {
  color: #E2E8F0;
  font-size: 0.92rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.footer-contact-info p {
  color: #CBD5E1;
  margin-bottom: 10px;
}

/* Sub-Footer & Copyright */
.sub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 30px;
  text-align: center;
}

.sub-footer-logo {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.sub-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sub-footer-links a {
  color: #CBD5E1;
  font-size: 0.85rem;
  text-decoration: underline;
}

.sub-footer-links a:hover {
  color: #FFFFFF;
}

.copyright-text {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Thank You Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

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

.modal-box {
  background: var(--card-white);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  padding: 36px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-icon-success {
  width: 60px;
  height: 60px;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.modal-icon-success svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.modal-box h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-charcoal);
}

.modal-box p {
  color: var(--body-grey);
  margin-bottom: 24px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet Breakpoint: 992px */
@media (max-width: 992px) {
  .campaign-grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .focus-areas-list {
    text-align: left;
  }

  .footer-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .activity-grid-2col {
    grid-template-columns: 1fr;
  }
}

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-card {
    padding: 24px;
  }

  .hero-card h1 {
    font-size: 1.7rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-matrix {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--card-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--border-line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-matrix.mobile-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-line);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background: var(--off-white);
    margin-bottom: 8px;
  }

  .header-actions .btn {
    display: none;
  }

  .stats-grid-3col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-line);
    padding-bottom: 24px;
  }

  .activity-card-horizontal {
    flex-direction: column;
  }

  .activity-card-img {
    width: 100%;
    height: 200px;
  }

  .activity-card-content {
    width: 100%;
    padding: 20px;
  }

  .campaign-title-giant {
    font-size: 3.8rem;
  }

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

  .pre-footer-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-dual-row {
    flex-direction: column;
    width: 100%;
  }

  .cta-dual-row .btn {
    width: 100%;
  }
}
