/* ==========================================================================
   1. FAU BRAND TOKENS & TYPOGRAPHY STACKS
   ========================================================================== */
:root {
  /* Brand Colors */
  --fau-blue: #003366;
  --fau-red: #CC0000;
  --fau-darkblue: #002142;
  --fau-bg: #FFFFFF;
  --fau-text-color: #212529;

  /* Font Stacks with Fallbacks */
  --fau-font-body: 'Inter', Arial, Helvetica, sans-serif;
  --fau-font-heading: 'Unbounded', Arial, Helvetica, sans-serif;

  /* Baseline Spacing & Size Tokens */
  --fau-font-size-base: 1rem;      /* 16px */
  --fau-font-size-lg: 1.25rem;    /* 20px */
  --fau-font-size-sm: 0.875rem;   /* 14px */
  --fau-font-size-xs: 0.75rem;    /* 12px */
  --fau-font-size-xxs: 0.625rem;  /* 10px */
}

/* ==========================================================================
   2. GLOBAL BASE & LAYOUT RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--fau-bg);
  font-family: var(--fau-font-body);
  font-size: var(--fau-font-size-base);
  line-height: 1.5;
  color: var(--fau-text-color);
  -webkit-font-smoothing: antialiased;
}

/* Main content wrapper to keep footer at bottom */
.fau-main-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ==========================================================================
   3. HEADER & NAVIGATION STYLES
   ========================================================================== */
.fau-header {
  width: 100%;
  flex-shrink: 0;
}

.fau-red-stripe {
  height: 15px;
  background-color: var(--fau-red);
  width: 100%;
  border-bottom: 1px solid #FFFFFF;
}

.fau-header-bar {
  background-color: var(--fau-blue);
  padding: 1.25rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.fau-logo-link {
  display: inline-block;
  text-decoration: none;
}

.fau-logo-header {
  height: auto;
  max-height: 35px;
  width: auto;
  max-width: 100%;
  display: block;
}

.fau-header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Base Pill Buttons */
.fau-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  border-radius: 50px;
  font-family: var(--fau-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.fau-btn-light {
  background-color: #FFFFFF;
  color: #000000;
}
.fau-btn-light:hover, .fau-btn-light:focus-visible {
  background-color: #E2E8F0;
}

.fau-btn-red {
  background-color: var(--fau-red);
  color: #FFFFFF;
}
.fau-btn-red:hover, .fau-btn-red:focus-visible {
  background-color: #A30000;
}

.fau-btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.fau-btn-outline:hover, .fau-btn-outline:focus-visible {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   4. BASE TYPOGRAPHY & FLUID HEADINGS
   ========================================================================== */
/* Body Typography Utilities */
p, .body-md {
  font-size: var(--fau-font-size-base);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lead, .body-lg {
  font-size: var(--fau-font-size-lg);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.body-sm {
  font-size: var(--fau-font-size-sm);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.body-xs {
  font-size: var(--fau-font-size-xs);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Heading Base Configuration */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--fau-font-heading);
  color: var(--fau-blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1, .h1 { font-weight: 700; font-size: clamp(2.125rem, 4vw, 2.5rem); }  /* 34px - 40px */
h2, .h2 { font-weight: 600; font-size: clamp(1.75rem, 3.5vw, 2.25rem); } /* 28px - 36px */
h3, .h3 { font-weight: 500; font-size: clamp(1.5rem, 3vw, 1.875rem); }   /* 24px - 30px */
h4, .h4 { font-weight: 400; font-size: clamp(1.25rem, 2.5vw, 1.5rem); } /* 20px - 24px */
h5, .h5 { font-weight: 400; font-size: 1.25rem; }                       /* 20px */
h6, .h6 { font-weight: 400; font-size: 1.1rem; }                        /* 18px */

/* Font Family Helper Classes */
.font-inter { font-family: var(--fau-font-body); }
.font-unbounded { font-family: var(--fau-font-heading); }

/* Responsive Media Helper */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   5. FOOTER STYLES
   ========================================================================== */
.fau-footer {
  background-color: var(--fau-darkblue);
  padding: 1.25rem 1rem;
  flex-shrink: 0;
  width: 100%;
}

.fau-footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.fau-footer-text {
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.fau-logo-footer {
  height: auto;
  max-height: 65px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   6. RESPONSIVE MOBILE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .fau-red-stripe {
    height: 8px;
  }

  .fau-header-bar {
    padding: 0.75rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .fau-logo-header {
    max-height: 24px;
  }

  .fau-header-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .fau-btn {
    height: 2.125rem;
    padding: 0 0.65rem;
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
    flex-shrink: 0;
  }

  .fau-footer {
    padding: 1rem;
  }

  .fau-footer-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .fau-logo-header {
    max-height: 20px;
  }

  .fau-btn {
    padding: 0 0.5rem;
    font-size: 0.625rem;
  }
}
