/* ==========================================================================
   Hillsdale College Capital Campaign - Main Stylesheet
   Teaching Freedom for Generations
   ========================================================================== */

/* Import Design Tokens */
@import url('variables.css');

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--hc-white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--hc-navy);
  color: var(--hc-white);
  padding: 0.5rem 1rem;
  z-index: var(--z-tooltip);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--hc-crimson);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--hc-gold);
  outline-offset: 2px;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

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

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--hc-gold);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background-color: var(--hc-crimson-dark);
  border-color: var(--hc-crimson-dark);
  color: var(--hc-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--hc-white);
  color: var(--hc-white);
}

.btn-outline-light:hover {
  background-color: var(--hc-white);
  color: var(--hc-navy);
}

.btn-gold {
  background-color: var(--hc-gold);
  border-color: var(--hc-gold);
  color: var(--hc-navy);
}

.btn-gold:hover {
  background-color: var(--hc-gold-light);
  border-color: var(--hc-gold-light);
  color: var(--hc-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: transparent;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background-color: var(--hc-navy);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--hc-white);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar-brand:hover {
  color: var(--hc-gold);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

/* Hide brand text initially, show when scrolled */
.navbar-brand-text {
  opacity: 0;
  transition: opacity var(--transition-base);
}

.site-header.scrolled .navbar-brand-text {
  opacity: 1;
}

.navbar-nav .nav-link {
  color: var(--hc-white);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--hc-gold);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Hero Section - Uses pre-designed brochure image
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--hc-navy);
  overflow: hidden;
}

/* Background image - pre-designed brochure graphic */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../hero.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Gradient overlay only at bottom for CTA readability */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to top, rgba(26, 42, 74, 0.95) 0%, rgba(26, 42, 74, 0.7) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Bottom content area */
.hero-bottom {
  position: relative;
  width: 100%;
  padding: 2rem 3rem 2.5rem;
  z-index: 6;
}

.hero-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-campaign-info {
  text-align: left;
}

.hero-campaign-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-campaign-text {
  display: flex;
  flex-direction: column;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hc-gold);
  margin: 0;
  line-height: 1.4;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hc-white);
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--hc-cream);
  margin: 0;
  line-height: 1.4;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--hc-gold) 0%, transparent 100%);
  margin: 0.5rem 0;
}

.hero-college {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--hc-gold);
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}

.hero-campaign-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 1rem 0 0 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Campaign Medallion */
.hero-medallion {
  width: 85px;
  height: 85px;
  background: linear-gradient(145deg, var(--hc-gold) 0%, #b8922a 40%, var(--hc-gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.hero-medallion img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 50%;
}

.hero-medallion-placeholder {
  width: 60px;
  height: 60px;
  background: var(--hc-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-medallion-placeholder svg {
  width: 40px;
  height: 40px;
  fill: var(--hc-gold);
}

/* Video play button */
.hero-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--hc-white);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  padding: 0.5rem;
}

.hero-video-btn:hover {
  color: var(--hc-gold);
}

.hero-video-btn .play-icon {
  width: 50px;
  height: 50px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.hero-video-btn:hover .play-icon {
  background-color: var(--hc-gold);
  border-color: var(--hc-gold);
  color: var(--hc-navy);
}

.hero-video-btn .play-icon svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

/* Medallion - smaller, positioned */
.hero-medallion {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--hc-gold) 0%, #b8922a 50%, var(--hc-gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.hero-medallion img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.hero-medallion-placeholder {
  width: 70px;
  height: 70px;
  background: var(--hc-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-medallion-placeholder svg {
  width: 45px;
  height: 45px;
  fill: var(--hc-gold);
}

/* ==========================================================================
   Freedom Narrative Section
   ========================================================================== */

.freedom-section {
  background-color: var(--hc-cream);
  position: relative;
}

.freedom-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.freedom-shield {
  width: 80px;
  height: auto;
  margin: 0 auto 2rem;
}

.freedom-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  color: var(--hc-navy);
  margin-bottom: 2rem;
}

.freedom-text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.freedom-text p {
  margin-bottom: 1.5rem;
}

.freedom-text .emphasis {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--hc-crimson);
  margin: 2rem 0;
}

.freedom-text .cta-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--hc-navy);
  margin-top: 2rem;
}

/* ==========================================================================
   Reagan Quote Section
   ========================================================================== */

.quote-section {
  position: relative;
  padding: var(--section-padding) 0;
  background-color: var(--hc-navy);
  overflow: hidden;
}

.quote-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/campus-tower.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 42, 74, 0.9) 0%, rgba(15, 26, 46, 0.95) 100%);
}

.quote-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--hc-white);
  margin-bottom: 2rem;
}

.quote-text::before {
  content: '"';
  display: block;
  font-size: 4rem;
  color: var(--hc-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.quote-attribution {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hc-gold);
}

/* ==========================================================================
   Letter from President Section
   ========================================================================== */

.letter-section {
  background-color: var(--hc-navy);
  position: relative;
}

.letter-image-col {
  position: relative;
}

.letter-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border: 4px solid var(--hc-gold);
}

.letter-image-placeholder {
  width: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, var(--hc-navy-dark) 0%, var(--hc-navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--hc-gold);
  color: var(--hc-cream);
}

.letter-content {
  padding: 3rem;
  color: var(--hc-cream);
}

.letter-content h2 {
  color: var(--hc-gold);
  margin-bottom: 2rem;
}

.letter-text {
  font-size: 1.0625rem;
  line-height: 1.9;
}

.letter-text p {
  margin-bottom: 1.5rem;
}

.letter-signature {
  margin-top: 2rem;
}

.letter-signature-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--hc-gold);
  margin-bottom: 0.25rem;
}

.letter-signature-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hc-cream);
  opacity: 0.8;
}

.letter-shield {
  width: 60px;
  height: auto;
  margin-top: 1.5rem;
  opacity: 0.8;
}

/* ==========================================================================
   Campaign Goals Section
   ========================================================================== */

.goals-section {
  background-color: var(--hc-navy);
  position: relative;
}

.goals-header {
  text-align: center;
  margin-bottom: 4rem;
}

.goals-overline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hc-gold);
  margin-bottom: 1rem;
}

.goals-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  color: var(--hc-white);
  margin-bottom: 0.5rem;
}

.goals-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--hc-gold);
  margin-bottom: 0.5rem;
}

.goals-deadline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--hc-cream);
  letter-spacing: 0.1em;
}

/* Thermometer */
.thermometer-enabled .thermometer-wrapper {
  display: block;
}

.thermometer-wrapper {
  display: none;
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.thermometer {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  height: 40px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--hc-gold);
}

.thermometer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hc-crimson) 0%, var(--hc-gold) 100%);
  border-radius: 50px;
  width: 0;
  transition: width 1.5s ease-out;
}

.thermometer-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: var(--hc-cream);
  font-size: 0.875rem;
}

.thermometer-current {
  font-weight: 700;
  color: var(--hc-gold);
}

/* Goal Cards */
.goal-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition-base);
}

.goal-card:hover {
  transform: translateY(-5px);
  border-color: var(--hc-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.goal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--hc-crimson);
}

.goal-card-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hc-white);
  margin: 0;
}

.goal-card-amount {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hc-gold);
}

.goal-card-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--hc-cream);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.goal-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hc-gold);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.goal-card-link:hover {
  color: var(--hc-gold-light);
}

.goal-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.goal-card-link:hover svg {
  transform: translateX(4px);
}

/* Visual breakdown bar */
.goals-visual {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.goals-bar {
  display: flex;
  height: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.goals-bar-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-white);
  font-size: 0.75rem;
  font-weight: 600;
}

.goals-bar-segment.scholarships {
  background-color: var(--hc-crimson);
  width: 35.4%;
}
.goals-bar-segment.capital {
  background-color: var(--hc-gold);
  color: var(--hc-navy);
  width: 22.8%;
}
.goals-bar-segment.operations {
  background-color: #4a7c59;
  width: 20.3%;
}
.goals-bar-segment.endowments {
  background-color: #6b5b95;
  width: 19.7%;
}

.goals-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.goals-bar-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hc-cream);
  font-size: 0.875rem;
}

.goals-bar-legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

/* ==========================================================================
   Email Signup Section
   ========================================================================== */

.signup-section {
  background-color: var(--hc-crimson);
  padding: var(--section-padding) 0;
}

.signup-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.signup-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--hc-white);
  margin-bottom: 1.5rem;
}

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.signup-form .form-control {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background-color: var(--hc-white);
}

.signup-form .form-control:focus {
  outline: none;
  border-color: var(--hc-gold);
}

.signup-form .btn {
  white-space: nowrap;
}

.signup-privacy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.cta-section {
  position: relative;
  padding: calc(var(--section-padding) * 1.5) 0;
  background-color: var(--hc-navy);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/washington-statue.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 21, 56, 0.8) 0%, rgba(26, 42, 74, 0.9) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  color: var(--hc-white);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cta-secondary {
  color: var(--hc-cream);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-secondary:hover {
  color: var(--hc-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--hc-navy-dark);
  padding: 3rem 0 2rem;
  color: var(--hc-cream);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--hc-white);
}

.footer-contact {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--hc-gold);
}

.footer-contact a:hover {
  color: var(--hc-gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--hc-cream);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--hc-gold);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--hc-gold);
}

/* ==========================================================================
   Video Modal
   ========================================================================== */

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--hc-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.video-modal-close:hover {
  color: var(--hc-gold);
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 991px) {
  .letter-content {
    padding: 2rem;
  }

  .letter-image-placeholder {
    min-height: 350px;
  }
}

@media (max-width: 991px) {
  .hero-since {
    right: 3%;
  }

  .hero-bottom {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-freedom-text {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.75);
    text-stroke: 1.5px rgba(255, 255, 255, 0.75);
  }

  .hero-since {
    position: absolute;
    right: auto;
    left: 50%;
    top: auto;
    bottom: 45%;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-bottom {
    padding: 1.5rem;
  }

  .hero-bottom-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-campaign-info {
    text-align: center;
  }

  .hero-campaign-badge {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-campaign-text {
    align-items: center;
  }

  .hero-divider {
    background: linear-gradient(90deg, transparent 0%, var(--hc-gold) 50%, transparent 100%);
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-medallion {
    width: 70px;
    height: 70px;
  }

  .hero-medallion img {
    width: 60px;
    height: 60px;
  }

  .hero-medallion-placeholder {
    width: 50px;
    height: 50px;
  }

  .hero-medallion-placeholder svg {
    width: 32px;
    height: 32px;
  }

  .goals-bar-segment {
    font-size: 0;
  }

  .goal-card {
    padding: 1.5rem;
  }

  .goal-card-amount {
    font-size: 1.5rem;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form .form-control {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-gold { color: var(--hc-gold); }
.text-crimson { color: var(--hc-crimson); }
.text-navy { color: var(--hc-navy); }
.text-white { color: var(--hc-white); }
.text-cream { color: var(--hc-cream); }

.bg-navy { background-color: var(--hc-navy); }
.bg-crimson { background-color: var(--hc-crimson); }
.bg-cream { background-color: var(--hc-cream); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
