@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Default Light Theme variables (Neutral Tailwind-style colors) */
  --bg-color: #fafafa;             /* Tailwind neutral-50 */
  --bg-secondary: #f5f5f5;         /* Tailwind neutral-100 */
  --bg-card: #ffffff;
  --border-color: #e5e5e5;         /* Tailwind neutral-200 */
  --text-primary: #171717;         /* Tailwind neutral-900 */
  --text-secondary: #737373;       /* Tailwind neutral-500 */
  --text-muted: #a3a3a3;           /* Tailwind neutral-400 */
  --nav-bg: rgba(250, 250, 250, 0.8);
  
  --primary-color: #171717;        /* Clean solid neutral-900 */
  --primary-glow: rgba(23, 23, 23, 0.05);
  --secondary-color: #007E3C;     /* Official PHPA Logo Green */
  --accent-color: #20A2D5;        /* Official PHPA Logo Sky Blue */
  --sky-color: #20A2D5;
  --sunset-color: #ff6b35;
  --gold-color: #f4b942;
  --forest-deep: #064e3b;
  --cinematic-navy: #061724;
  
  --font-title: 'Exo 2', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
}

:root.dark {
  /* Dark Theme variables (Tailwind neutral dark mode style) */
  --bg-color: #171717;             /* Tailwind neutral-900 */
  --bg-secondary: #262626;         /* Tailwind neutral-800 */
  --bg-card: #171717;
  --border-color: #404040;         /* Tailwind neutral-700 */
  --text-primary: #ffffff;         /* Tailwind neutral-50 / white */
  --text-secondary: #a3a3a3;       /* Tailwind neutral-400 */
  --text-muted: #737373;           /* Tailwind neutral-500 */
  --nav-bg: rgba(23, 23, 23, 0.8);
  
  --primary-color: #ffffff;        /* Clean solid white */
  --primary-glow: rgba(255, 255, 255, 0.05);
  --secondary-color: #10b981;     /* Vibrant Green for dark mode legibility */
  --accent-color: #20A2D5;        /* PHPA Logo Sky Blue */
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light dark;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Clean Panel Utilities */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
:root.dark .glass-panel {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.glass-nav {
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Solid text replace for old gradients */
.gradient-text {
  color: var(--text-primary);
}

.gradient-btn {
  background: var(--text-primary);
  color: var(--bg-color) !important;
  border: 1px solid var(--border-color);
  font-weight: 600;
  transition: var(--transition-smooth);
}
.gradient-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  height: 70px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

/* Capsule style navigation tabs matching 21st.dev */
.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Overriding parent relative underlines */
.nav-link::after {
  display: none !important;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
}

/* Theme Toggle styles */
.theme-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.theme-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh; /* Slightly shorter hero */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: var(--slide-image);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(5, 18, 29, 0.92), rgba(5, 18, 29, 0.35) 65%, rgba(5, 18, 29, 0.1));
  z-index: 2;
}
:root.dark .hero-overlay {
  background: linear-gradient(0deg, rgba(5, 18, 29, 0.95), rgba(5, 18, 29, 0.4) 65%, rgba(5, 18, 29, 0.15));
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 80px;
  padding-top: 240px;
}

.hero-title.gradient-text {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero-content .hero-desc { color: #eef3f7; }

.home-about-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border: 1px solid var(--border-color);
}

.hero-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 30px;
  font-family: var(--font-title);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-family: var(--font-title);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

/* Info Banner Cards */
.info-banner {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  padding: 28px;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-secondary);
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 20px;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 13.5px;
}

/* Grid Sections */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-tag {
  color: var(--secondary-color);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Features/Services Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary-color);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.feature-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-link:hover {
  gap: 10px;
}

/* Statistics Counter Section */
.stats-section {
  background: var(--bg-secondary);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Blog/News Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--text-primary);
}

.blog-card:hover .blog-title {
  color: var(--secondary-color);
}

.event-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.event-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--text-primary);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--text-primary);
  color: var(--bg-color);
  padding: 2px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-title);
}

.blog-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-title a:hover {
  color: var(--secondary-color);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Interactive Gallery styling */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-color);
  box-shadow: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 260px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #09090b;
  opacity: 0;
  transition: var(--transition-smooth);
}
:root.dark .gallery-caption {
  background: rgba(9, 9, 11, 0.95);
  color: #fafafa;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.lightbox-close:hover {
  color: var(--secondary-color);
}

/* Forms & Membership Step Wizard */
.form-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px;
}

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

.form-label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: none;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
  z-index: 1;
}

.step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.step-node.active {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--bg-color);
  box-shadow: none;
}

.step-node.completed {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #fff;
}

/* Grid layout for columns */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Footer styling */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
}

.footer-col p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.social-icon:hover {
  background: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* Category card selectors inside step 2 */
.glider-category-label {
  flex: 1;
  cursor: pointer;
  padding: 20px 12px;
  display: block;
  text-align: center;
  min-height: 90px;
}
.glider-category-label i {
  transition: transform 0.2s ease;
}
.glider-category-label:hover i {
  transform: translateY(-2px);
}
.active-wing {
  border-color: var(--text-primary) !important;
  background: var(--bg-secondary) !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    display: block;
    min-height: 0;
    padding-top: 56px;
    background: #071725;
  }
  .hero-slider {
    position: relative;
    aspect-ratio: 1672 / 941;
  }
  .hero-slide { background-image: var(--slide-mobile); }
  .hero-section .hero-overlay { display: none; }
  .hero-content { padding-top: 28px; padding-bottom: 70px; }
  .hero-title {
    font-size: 36px;
  }
  .site-header {
    height: 56px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .info-grid {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }
  .form-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* FAQ Section Styling */
.faq-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
}
.faq-trigger i {
  transition: transform 0.2s ease;
  color: var(--text-secondary);
}
.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Testimonials Section Styling */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-color);
  border-top: 1px solid var(--border-color);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-primary);
}
.testimonial-info h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.testimonial-info p {
  font-size: 12px;
  color: var(--secondary-color);
  font-weight: 600;
}

/* ============================================================
   PHPA cinematic homepage
   ============================================================ */
:is(.home-page, .inner-page) {
  --home-gradient: linear-gradient(120deg, var(--secondary-color), var(--sky-color) 48%, var(--sunset-color));
  background:
    radial-gradient(circle at 8% 18%, rgba(32, 162, 213, .08), transparent 26%),
    radial-gradient(circle at 92% 58%, rgba(255, 107, 53, .07), transparent 30%),
    var(--bg-color);
}

/* AOS stays available to inner pages; GSAP owns homepage visibility/motion. */
.home-page [data-aos] {
  opacity: 1;
  transform: none;
  transition-property: none;
}

.home-page .site-header {
  border-bottom-color: transparent;
  transition: height .45s cubic-bezier(.22, 1, .36, 1), background-color .45s ease,
    border-color .45s ease, box-shadow .45s ease;
}

.home-page .site-header.is-scrolled {
  height: 66px;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  border-color: color-mix(in srgb, var(--sky-color) 18%, var(--border-color));
  box-shadow: 0 12px 35px rgba(4, 35, 55, .1);
}

:is(.home-page, .inner-page) .nav-link::after {
  background: var(--home-gradient);
  height: 3px;
  border-radius: 999px;
}

:is(.home-page, .inner-page) .nav-cta,
:is(.home-page, .inner-page) .gradient-btn {
  border: 0;
  color: #fff !important;
  background: var(--home-gradient) !important;
  box-shadow: 0 12px 30px rgba(0, 126, 60, .2);
  isolation: isolate;
  overflow: hidden;
}

:is(.home-page, .inner-page) .nav-cta::before,
:is(.home-page, .inner-page) .gradient-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .32), transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
  z-index: -1;
}

:is(.home-page, .inner-page) .nav-cta:hover::before,
:is(.home-page, .inner-page) .gradient-btn:hover::before { transform: translateX(120%); }

.home-page .gradient-text:not(.hero-title) {
  color: transparent;
  background: linear-gradient(110deg, var(--forest-deep), var(--secondary-color) 35%, var(--sky-color) 68%, var(--sunset-color));
  -webkit-background-clip: text;
  background-clip: text;
}

:root.dark .home-page .gradient-text:not(.hero-title) {
  background-image: linear-gradient(110deg, #d8fff0, #34d399 32%, #38bdf8 67%, #fb923c);
}

.cinematic-hero {
  --pointer-x: 72%;
  --pointer-y: 26%;
  min-height: 100svh;
  isolation: isolate;
  background: var(--cinematic-navy);
}

/* Static slides are readable even without the animation library. */
.hero-section.cinematic-hero { display: block; padding-top: 0; }
.hero-frame { position: relative; isolation: isolate; min-height: 100svh; }
.hero-scroll-story { height: var(--hero-height, 100svh); }
.hero-scroll-story .hero-frame { position: absolute; inset: 0; min-height: 0; display: flex; align-items: center; }
.hero-scroll-story .hero-content { padding-block: 120px 100px; }
.hero-scroll-story .hero-title { margin-bottom: 24px; }
.hero-scroll-story .hero-scroll-cue { display: flex; }
.cinematic-hero:not(.hero-scroll-story) > .hero-scroll-cue { display: none; }

.cinematic-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 23, 36, .84));
}

.cinematic-hero .hero-slider { overflow: hidden; }

.cinematic-hero .hero-slide {
  transform: scale(1.035);
  will-change: transform, opacity;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .75;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(32, 162, 213, .35), transparent 26%),
    linear-gradient(120deg, rgba(0, 126, 60, .24), transparent 42%, rgba(255, 107, 53, .2));
  mix-blend-mode: screen;
  will-change: opacity;
}

.hero-flight-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(32, 162, 213, .4));
}

.hero-flight-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, .48);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 14;
}

.hero-flight-lines path:nth-child(2) { stroke: rgba(244, 185, 66, .55); }
.hero-flight-lines path:nth-child(3) { stroke: rgba(52, 211, 153, .52); }
.hero-flight-lines circle { fill: var(--gold-color); opacity: .9; }

.cinematic-hero .hero-overlay {
  z-index: 4;
  background:
    linear-gradient(90deg, rgba(2, 18, 28, .88), rgba(2, 18, 28, .34) 58%, rgba(2, 18, 28, .16)),
    linear-gradient(0deg, rgba(2, 18, 28, .74), transparent 55%);
}

:root.dark .cinematic-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(1, 10, 17, .9), rgba(1, 10, 17, .42) 60%, rgba(1, 10, 17, .2)),
    linear-gradient(0deg, rgba(1, 10, 17, .8), transparent 55%);
}

.cinematic-hero .hero-content {
  z-index: 5;
  max-width: 1200px;
  width: 100%;
  text-align: left;
  margin: 0 auto;
  padding-top: 190px;
  padding-bottom: 155px;
}

.cinematic-hero .hero-content > * { max-width: 760px; }

.cinematic-hero .hero-tag {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .3);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.cinematic-hero .hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  background: var(--gold-color);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--gold-color);
}

.cinematic-hero .hero-title {
  font-size: clamp(48px, 6.3vw, 92px);
  max-width: 10.8ch;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .34);
}

.cinematic-hero .hero-desc {
  max-width: 66ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

.cinematic-hero .hero-buttons { justify-content: flex-start; }

.cinematic-hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08) !important;
  backdrop-filter: blur(10px);
}

.hero-scroll-cue {
  position: absolute;
  left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  bottom: 35px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
}

.hero-scroll-cue i {
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-color), transparent);
  transform-origin: left;
}

.home-info-section { position: relative; z-index: 8; }

.home-page .info-grid { margin-top: -72px; }

.home-page .info-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(32, 162, 213, .18);
  box-shadow: 0 22px 60px rgba(4, 35, 55, .14);
}

.home-page .info-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--home-gradient);
}

.home-page .info-card:nth-child(2)::before { background: linear-gradient(90deg, var(--sky-color), var(--gold-color)); }
.home-page .info-card:nth-child(3)::before { background: linear-gradient(90deg, var(--gold-color), var(--sunset-color)); }

.home-page .info-card:hover,
.home-page .feature-card:hover,
.home-page .testimonial-card:hover,
.home-page .committee-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--sky-color) 45%, var(--border-color));
  box-shadow: 0 24px 55px rgba(4, 35, 55, .14);
}

.home-page .info-icon {
  background: linear-gradient(135deg, rgba(0, 126, 60, .13), rgba(32, 162, 213, .16));
  color: var(--secondary-color);
  box-shadow: 0 0 0 8px rgba(32, 162, 213, .045);
}

.home-about-section,
.home-committee-section,
.home-features-section { overflow: clip; }

.home-about-section::before,
.home-features-section::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 162, 213, .12), transparent 68%);
  pointer-events: none;
}

.home-about-section::before { right: -150px; top: 8%; }
.home-features-section::before { left: -180px; bottom: -100px; background: radial-gradient(circle, rgba(255, 107, 53, .1), transparent 68%); }

.home-about-visual { clip-path: inset(0 0 0 0 round var(--border-radius-md)); }
.home-about-image { min-height: 560px; object-fit: cover; will-change: transform; }

.home-about-badge {
  border: 1px solid rgba(244, 185, 66, .45) !important;
  box-shadow: 0 18px 44px rgba(4, 35, 55, .16) !important;
}

.home-events-section {
  overflow: clip;
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 126, 60, .06), rgba(32, 162, 213, .09) 52%, rgba(255, 107, 53, .07)),
    var(--bg-secondary);
  border-block: 1px solid var(--border-color);
}

.home-events-section::after {
  content: '';
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -32vw;
  top: -32vw;
  border: 1px solid rgba(32, 162, 213, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(244, 185, 66, .04), 0 0 0 140px rgba(0, 126, 60, .035);
}

.home-events-grid { position: relative; z-index: 1; }
.home-page .event-card-link { border: 0; box-shadow: 0 24px 55px rgba(4, 35, 55, .13); }
.home-page .event-card-link img { transition: transform 1s cubic-bezier(.22, 1, .36, 1), filter .7s ease; }
.home-page .event-card-link:hover img { transform: scale(1.07); filter: saturate(1.15); }

.home-committee-section .committee-card { position: relative; overflow: hidden; }
.home-committee-section .committee-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -65%;
  height: 80%;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(0, 126, 60, .12), rgba(32, 162, 213, .12), rgba(255, 107, 53, .12));
  z-index: -1;
}
.home-committee-section .committee-card img { box-shadow: 0 0 0 5px rgba(32, 162, 213, .13), 0 12px 30px rgba(4, 35, 55, .12) !important; }

.home-page .stats-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(112deg, #064e3b, #086a58 34%, #075985 72%, #0c4a6e);
  border: 0 !important;
}

.home-page .stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 25%, rgba(244, 185, 66, .24), transparent 28%),
    repeating-radial-gradient(circle at 0 120%, transparent 0 90px, rgba(255, 255, 255, .07) 91px 92px);
}

.home-page .stats-grid { position: relative; z-index: 1; }
.home-page .stat-item { padding: 24px 12px; border-right: 1px solid rgba(255, 255, 255, .16); }
.home-page .stat-item:last-child { border-right: 0; }
.home-page .stat-number { color: #fff; font-size: clamp(42px, 5vw, 68px); letter-spacing: -.04em; }
.home-page .stat-label { color: rgba(255, 255, 255, .72); text-transform: uppercase; letter-spacing: .14em; }

.home-page .testimonials-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-color), color-mix(in srgb, var(--sky-color) 5%, var(--bg-color)));
}

.home-page .testimonial-card { position: relative; overflow: hidden; border-top: 3px solid transparent; }
.home-page .testimonial-card:nth-child(1) { border-top-color: var(--secondary-color); }
.home-page .testimonial-card:nth-child(2) { border-top-color: var(--sky-color); }
.home-page .testimonial-card:nth-child(3) { border-top-color: var(--sunset-color); }
.home-page .testimonial-quote::before { content: '“'; display: block; color: var(--gold-color); font: 700 54px/32px var(--font-title); }

.home-page .faq-section {
  background: linear-gradient(135deg, color-mix(in srgb, var(--secondary-color) 7%, var(--bg-secondary)), color-mix(in srgb, var(--sky-color) 8%, var(--bg-secondary)));
}
.home-page .faq-item { box-shadow: 0 8px 25px rgba(4, 35, 55, .06); }
.home-page .faq-item:hover { border-color: rgba(32, 162, 213, .46); }
.home-page .faq-trigger i { color: var(--sky-color); }

.home-page .features-grid { position: relative; }
.feature-flight-path {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 49px;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--sky-color), var(--sunset-color));
  transform-origin: left;
  opacity: .35;
}
.feature-flight-path i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-color);
  box-shadow: 0 0 18px var(--gold-color);
  transform: translate(-50%, -50%);
}
.home-page .feature-card { position: relative; z-index: 1; background: color-mix(in srgb, var(--bg-card) 94%, transparent); }
.home-page .feature-icon { color: var(--sky-color); filter: drop-shadow(0 8px 18px rgba(32, 162, 213, .24)); }
.home-page .feature-card:nth-of-type(3) .feature-icon { color: var(--sunset-color); }

:is(.home-page, .inner-page) .site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--forest-deep) 9%, var(--bg-secondary)), color-mix(in srgb, var(--sky-color) 7%, var(--bg-secondary)));
}
:is(.home-page, .inner-page) .site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--home-gradient);
}
:is(.home-page, .inner-page) .footer-col h4::after { background: var(--home-gradient); width: 42px; }

@media (max-width: 992px) {
  .cinematic-hero .hero-content { padding-inline: 6vw; }
  .home-about-image { min-height: 0; max-height: 720px; }
  .home-about-badge { left: 20px !important; }
}

@media (max-width: 768px) {
  .home-page .site-header.is-scrolled { height: 56px; }
  .cinematic-hero { padding-top: 56px; min-height: auto; }
  .cinematic-hero .hero-slider { aspect-ratio: 16 / 10; }
  .cinematic-hero .hero-overlay { display: block; top: 56px; height: auto; bottom: auto; aspect-ratio: 16 / 10; background: linear-gradient(0deg, rgba(2, 18, 28, .52), transparent 68%); }
  .hero-aurora, .hero-flight-lines { top: 56px; height: auto; aspect-ratio: 16 / 10; }
  .cinematic-hero::after { display: none; }
  .cinematic-hero .hero-content { padding: 36px 24px 82px; background: var(--cinematic-navy); }
  .cinematic-hero .hero-title { font-size: clamp(38px, 11vw, 54px); }
  .cinematic-hero .hero-desc { font-size: 15px; }
  .hero-scroll-cue { display: none; }
  .home-page .info-grid { margin-top: -34px; }
  .home-page .info-card { box-shadow: 0 14px 38px rgba(4, 35, 55, .12); }
  .feature-flight-path { display: none; }
  .home-events-grid { grid-template-columns: 1fr !important; }
  .home-page .stat-item:nth-child(2) { border-right: 0; }
  .home-page .stat-item { border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .home-page .stat-item:nth-child(n+3) { border-bottom: 0; }
}

@media (max-width: 480px) {
  .cinematic-hero .hero-slider { aspect-ratio: 4 / 3; }
  .cinematic-hero .hero-overlay, .hero-aurora, .hero-flight-lines { aspect-ratio: 4 / 3; }
  .cinematic-hero .hero-buttons { gap: 10px; }
  .home-page .stat-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16) !important; }
  .home-page .stat-item:last-child { border-bottom: 0 !important; }
  .home-about-badge { position: relative !important; inset: auto !important; margin: -22px 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cinematic-hero .hero-slide { transform: none !important; }
  .hero-flight-lines { display: none; }
}

/* Reference motion scenes: word-light, colour wedge, doors, studio and route. */
.flight-progress { position: fixed; inset: 90px auto 0 0; width: 5px; background: rgba(32,162,213,.15); z-index: 90; pointer-events: none; }
.flight-progress i { display: block; height: 100%; background: linear-gradient(#f4b942, #ff6b35, #20a2d5, #007e3c); transform-origin: top; }
.home-page .scroll-words.gradient-text { background: none; color: var(--text-primary); -webkit-text-fill-color: currentColor; }
.reveal-word { display: inline-block; }
.home-about-copy .scroll-words { font-size: clamp(34px, 4vw, 60px); line-height: 1.12; letter-spacing: -.04em; }
.home-about-section { padding-block: 140px; }
.home-about-section > .container, .home-committee-section > .container, .site-footer > .container { position: relative; z-index: 1; }
.scene-rings { position: absolute; width: min(1000px, 110vw); height: auto; right: -35%; top: -15%; pointer-events: none; opacity: .48; }
.scene-rings circle { fill: none; stroke: #20a2d5; stroke-width: 1; }
.scene-rings circle:nth-child(2n) { stroke: #ca9233; }
.home-about-visual { isolation: isolate; overflow: visible; clip-path: none; border-radius: 20px; }
.home-about-visual .home-about-image { height: auto; min-height: 0; transform: none; border-radius: 20px; }
.photo-spotlight { display: none; }
.scene-motion .home-about-visual > .home-about-image { filter: brightness(.28) saturate(.55); }
.scene-motion .photo-spotlight { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 20px;
  background: url('images/enhanced/Z1-hd.webp') center / 100% 100%;
  mask-image: radial-gradient(circle at var(--spot-x,50%) 48%, #000 0%, #000 var(--spot-size,150%), transparent calc(var(--spot-size,150%) + 18%));
  -webkit-mask-image: radial-gradient(circle at var(--spot-x,50%) 48%, #000 0%, #000 var(--spot-size,150%), transparent calc(var(--spot-size,150%) + 18%)); }
.home-about-badge { z-index: 2; }
.flight-transition { position: relative; overflow: hidden; min-height: 640px; background: #eff7f2; color: #0a302d; isolation: isolate; }
.flight-transition-intro { padding-block: 120px; }
.flight-transition h2 { font-size: clamp(48px, 7.3vw, 108px); line-height: 1.02; letter-spacing: -.06em; margin-bottom: 32px; }
.flight-transition h2 span { color: #007e3c; }
.flight-transition-intro p { max-width: 480px; color: #44615c; font-size: 18px; }
.flight-wedge { position: absolute; inset: 0; display: flex; background: #07556a; z-index: 2; pointer-events: none; }
.flight-wedge i { position: absolute; inset: 0 auto 0 0; transform-origin: left; background: #f4b942; width: 28%; z-index: 3; }
.flight-wedge i:nth-child(2) { background: #008d70; width: 64%; z-index: 2; }
.flight-wedge i:nth-child(3) { background: linear-gradient(115deg,#07556a,#102b53); width: 100%; z-index: 1; }
.flight-transition-end { position: relative; color: #fff; padding-block: 90px; z-index: 3; background: #102b53; }
.flight-transition-end > span { color: #f4cf80; font-size: 12px; letter-spacing: .25em; }
.flight-transition-end p { font-size: clamp(36px,5.3vw,76px); line-height: 1.08; font-weight: 700; letter-spacing: -.035em; margin: 22px 0 32px; }
.flight-scene-link { color: #fff; display: inline-flex; align-items: center; gap: 35px; padding-bottom: 12px; border-bottom: 1px solid #f4b942; }
.flight-wedge { display: none; }
.scene-motion .flight-wedge { display: flex; }
.scene-motion .flight-transition { height: calc(100svh - 66px); min-height: 590px; }
.scene-motion .flight-transition-intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-block: 65px; }
.scene-motion .flight-transition-end { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: none; }
.home-events-section { scroll-margin-top: 80px; background: #102b53; --bg-card: #143650; --text-primary: #fff; --text-secondary: #c8dce6; --secondary-color: #75e1b3; --border-color: #335469; }
.home-page .home-events-section .gradient-text { background-image: linear-gradient(100deg,#fff,#7be4db,#ffd48a); }
.home-events-grid { padding-block: 26px; gap: 48px !important; }
.event-seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #f4b942; transform-origin: top; z-index: 2; box-shadow: 0 0 20px #f4b94255; }
.home-page .home-events-section .event-card-link { border-radius: 2px; background: linear-gradient(145deg,#17483f,#173e51); }
.home-page .home-events-section .event-card-link:focus-visible { clip-path: none !important; outline: 3px solid #f4b942; outline-offset: 5px; }
.home-page .home-events-section .event-card-link:nth-of-type(2) { background: linear-gradient(145deg,#203753,#392e49); }
.home-page .home-events-section .event-card-link img { height: 320px !important; }
.home-committee-section { padding-block: 130px; position: relative; }
.home-page .home-committee-section .committee-card { isolation: isolate; }
.home-page .testimonials-section { padding-block: 130px; }
.home-page .home-features-section .features-grid { display: flex; flex-direction: column; gap: 60px; padding-block: 40px; }
.home-page .home-features-section .feature-card { width: 65%; padding: 44px 44px 44px 95px; min-height: 230px; border: 1px solid var(--border-color); transition: background .4s, box-shadow .4s, border-color .4s; }
.home-page .home-features-section .feature-card:nth-of-type(2) { align-self: flex-end; }
.home-page .home-features-section .feature-card.route-active { border-color: #20a2d5; box-shadow: 0 15px 60px #20a2d520; background: color-mix(in srgb,var(--bg-card) 92%,#20a2d5); }
.route-stop { position: absolute; left: 25px; top: 36px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #20a2d5; color: var(--text-primary); background: var(--bg-card); font-weight: 700; z-index: 3; }
.route-active .route-stop { background: #f4b942; color: #112b38; border-color: #f4b942; }
.home-page .feature-flight-path { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; background: none; z-index: 2; overflow: visible; pointer-events: none; }
.route-base, .route-draw { fill: none; stroke: #20a2d5; stroke-width: 2; }
.route-base { opacity: .18; }
.route-draw { stroke: #d09c39; }
.route-traveller { fill: #ff6b35; stroke: var(--bg-card); stroke-width: 2; }
.footer-flight-mark { position: relative; padding-bottom: 50px; overflow: hidden; }
.footer-flight-mark > span { display: block; font-family: var(--font-title); font-size: clamp(100px,22vw,300px); font-weight: 800; line-height: .95; letter-spacing: -.065em; color: var(--secondary-color); }
.footer-flight-mark small { display: block; letter-spacing: .34em; margin-top: 18px; color: var(--text-secondary); }
@media (max-width: 999px) {
  .scene-motion .flight-transition { height: 700px; min-height: 0; }
  .home-page .home-events-grid { grid-template-columns: 1fr !important; }
  .event-seam { left: 0; }
  .home-events-grid { padding-left: 20px; }
  .home-about-section, .home-committee-section { padding-block: 90px; }
  .home-page .home-features-section .feature-card { width: 100%; padding: 30px 22px 30px 76px; }
  .route-stop { left: 14px; top: 28px; }
  .home-page .home-features-section .features-grid { gap: 36px; }
}
@media (max-width: 480px) {
  .flight-progress { width: 3px; top: 56px; }
  .flight-transition h2 { font-size: 48px; }
  .home-page .home-events-section .event-card-link img { height: 240px !important; }
  .home-about-badge { position: absolute !important; left: 12px !important; right: 12px !important; bottom: 12px !important; top: auto !important; margin: 0; padding: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .flight-wedge, .photo-spotlight, .flight-progress, .route-traveller { display: none !important; }
  .home-page .home-about-image { filter: none !important; }
}

/* Mobile app shell, inspired by the MAK slide-in navigation. */
.app-dock, .app-drawer:not([open]) { display: none; }
.app-menu-open, .app-menu-open body { overflow: hidden; }
.app-drawer {
  position: fixed; inset: 0 auto 0 0; margin: 0;
  width: min(88vw, 370px); max-width: none; height: 100dvh; max-height: 100dvh;
  padding: 0; border: 0; border-radius: 0 28px 28px 0;
  background: linear-gradient(155deg, #064e3b, #082b3b 65%, #061724);
  color: #fff; overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 20px 0 70px #0005; font-family: var(--font-body);
}
.app-drawer[open] { animation: app-drawer-in .28s cubic-bezier(.22,1,.36,1); }
.app-drawer::backdrop { background: rgba(2,15,23,.6); backdrop-filter: blur(5px); }
@keyframes app-drawer-in { from { transform: translateX(-100%); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
.drawer-brand { position: relative; background: #f5faf8; padding: 32px 62px 28px 22px; }
.drawer-brand img { width: 100%; max-width: 230px; display: block; }
.app-icon-button { width: 44px; height: 44px; border: 0; border-radius: 14px; background: #e1efea; color: #064e3b; font-size: 20px; cursor: pointer; }
.drawer-brand .app-icon-button { position: absolute; right: 12px; top: 22px; }
.drawer-content { padding: 24px 20px max(24px, env(safe-area-inset-bottom)); }
.drawer-eyebrow { color: #f4cd78; font-size: 10px; letter-spacing: .19em; }
.drawer-content h2 { font-size: 28px; margin: 8px 0; }
.drawer-content > p { color: #bdd7d9; font-size: 13px; }
.drawer-links { display: grid; gap: 5px; margin: 23px 0; }
.drawer-links a { display: flex; align-items: center; gap: 14px; padding: 13px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; min-height: 48px; }
.drawer-links a > i:first-child { width: 20px; color: #7dd3fc; font-size: 18px; text-align: center; }
.drawer-links a > i:last-child { margin-left: auto; font-size: 10px; color: #8eb6bc; }
.drawer-links a[aria-current], .drawer-links a:hover { background: #ffffff12; border-color: #ffffff26; }
.drawer-links a[aria-current] > i:first-child { color: #f4cd78; }
.drawer-join { display: flex; align-items: center; justify-content: center; gap: 10px; background: #f4b942; color: #092b35; padding: 15px 8px; font-size: 13px; font-weight: 600; border-radius: 14px; }
.drawer-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.drawer-tools a { background: #ffffff0c; border: 1px solid #ffffff24; border-radius: 12px; padding: 13px 5px; font-size: 12px; text-align: center; }
.drawer-tools i { margin-right: 6px; color: #7dd3fc; }
.drawer-theme { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; background: transparent; border: 0; border-top: 1px solid #ffffff24; color: #d8e9ec; font: inherit; font-size: 13px; cursor: pointer; }
.drawer-theme span { margin-left: auto; color: #f4cd78; }
.app-drawer :focus-visible { outline: 2px solid #f4cd78; outline-offset: 3px; }
@media (max-width: 768px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 100px; }
  .mobile-shell-ready .nav-menu { display: none; }
  .site-header .header-container { padding-inline: 18px; }
  .site-header .header-logo { max-width: 205px; max-height: 40px; object-fit: contain; }
  .mobile-menu-toggle { width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--secondary-color) 10%, var(--bg-card)); color: var(--secondary-color); }
  .app-dock { position: fixed; z-index: 1001; inset: auto 10px max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); min-height: 66px; padding: 6px; border: 1px solid var(--border-color); border-radius: 22px; background: color-mix(in srgb, var(--bg-card) 96%, transparent); box-shadow: 0 8px 35px #06172430; backdrop-filter: blur(18px); }
  .app-dock a, .app-dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 52px; border: 0; border-radius: 15px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
  .app-dock i { font-size: 18px; }
  .app-dock [aria-current] { color: var(--secondary-color); background: color-mix(in srgb, var(--secondary-color) 10%, var(--bg-card)); }
  .app-dock .dock-join i { padding: 10px; margin-top: -20px; border-radius: 15px; background: linear-gradient(130deg, #007e3c, #087b9e); color: white; box-shadow: 0 5px 14px #007e3c35; }
  .app-dock :focus-visible { outline: 2px solid var(--sky-color); outline-offset: 1px; }
  .section, .home-page .faq-section, .home-page .testimonials-section { padding-block: 56px; }
  .section-header { margin-bottom: 28px; }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
  .info-card, .feature-card, .testimonial-card { border-radius: 22px; }
  .home-page .hero-scroll-story .hero-content { padding-bottom: 175px; }
  .home-page .hero-scroll-story .hero-scroll-cue { bottom: calc(95px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 100px; }
  body:not(.mobile-shell-ready) .nav-menu { position: static; transform: none; display: flex; flex-direction: row; flex-wrap: wrap; padding: 12px; gap: 12px; }
  body:not(.mobile-shell-ready) .site-header { position: relative; height: auto; }
  body:not(.mobile-shell-ready) .header-container { flex-wrap: wrap; }
  body:not(.mobile-shell-ready) [data-menu-open] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .app-drawer[open] { animation: none; } }

/* Shared inner-page identity: flight banners, tinted surfaces and clear controls. */
.inner-page {
  --text-secondary: #4b616b;
  --text-muted: #5d707a;
  --border-color: #d6e6e7;
  --bg-color: #f8fbfb;
  --bg-secondary: #eef6f5;
  --page-accent: #007e3c;
  color-scheme: light;
}
:root.dark .inner-page {
  --bg-color: #071923;
  --bg-secondary: #0e2530;
  --bg-card: #102b36;
  --border-color: #2a4852;
  --text-secondary: #bdd0d7;
  --text-muted: #a6bec8;
  --page-accent: #34d399;
  color-scheme: dark;
}
.inner-page .page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 165px 0 90px; text-align: center;
  background: radial-gradient(ellipse at 85% 20%, #14617b 0%, transparent 52%),
    linear-gradient(120deg, #064e3b, #061724 65%, #273b45);
  border-bottom: 5px solid transparent;
  border-image: linear-gradient(90deg, #007e3c, #20a2d5, #ff6b35, #f4b942) 1;
}
.inner-page .page-banner::before,
.inner-page .page-banner::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 65%; height: 150%; right: -12%; top: -35%;
  border: 1px solid rgba(244,185,66,.35); border-radius: 50%; transform: rotate(-24deg);
}
.inner-page .page-banner::after { right: -6%; top: -22%; border-color: rgba(56,189,248,.35); }
.inner-page .page-banner h1 {
  font-size: clamp(34px, 4.5vw, 62px) !important;
  color: #fff; text-wrap: balance; letter-spacing: -.035em;
}
.inner-page .page-banner p,
.inner-page .page-banner-article .container > div { color: #d4e6eb !important; }
.inner-page .page-banner .section-tag {
  color: #ffe0a0;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 7px 0;
}
.inner-page .page-banner-article { text-align: left; }
.inner-page .page-banner-article .container > div { flex-wrap: wrap; }
.inner-page > .section:not(.page-banner) {
  overflow-x: clip;
  background: radial-gradient(ellipse at 0% 0%, rgba(32,162,213,.07), transparent 55%), var(--bg-color) !important;
}
.inner-page > .section:nth-of-type(odd):not(.page-banner) {
  background: linear-gradient(125deg, color-mix(in srgb, var(--secondary-color) 7%, var(--bg-secondary)), color-mix(in srgb, var(--gold-color) 6%, var(--bg-secondary))) !important;
}
.inner-page .gradient-text:not(h1) {
  color: var(--page-accent);
  background: linear-gradient(110deg, var(--page-accent), #087b9e 75%, #b14c27);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
:root.dark .inner-page .gradient-text:not(h1) { background-image: linear-gradient(110deg, #a7f3d0, #7dd3fc 75%, #fdba74); }
.inner-page .section-tag { color: var(--page-accent); letter-spacing: .12em; }
.inner-page .glass-panel {
  border-radius: 20px;
  border-top: 3px solid var(--page-accent);
  box-shadow: 0 16px 45px rgba(4,35,55,.07);
}
.inner-page .glass-panel:nth-child(3n + 2) { border-top-color: var(--sky-color); }
.inner-page .glass-panel:nth-child(3n) { border-top-color: var(--sunset-color); }
.inner-page .blog-card:hover { border-color: var(--sky-color); box-shadow: 0 20px 50px rgba(32,162,213,.17); }
.inner-page .blog-tag { background: #065f46; color: white; border-radius: 999px; }
.inner-page .feature-link, .inner-page .blog-meta i { color: var(--page-accent); }
.inner-page .gallery-caption { background: linear-gradient(transparent, rgba(6,23,36,.96)); color: #fff; }
.inner-page .filter-btn { border-radius: 999px; border-color: var(--border-color); color: var(--text-primary); padding: 10px 20px; }
.inner-page .filter-btn.active { background: #065f46; border-color: #065f46; color: #fff; box-shadow: 0 7px 20px rgba(0,126,60,.18); }
.inner-page .filter-btn:hover:not(.active) { background: var(--bg-secondary); border-color: var(--sky-color); color: var(--text-primary); }
.inner-page .form-control { border-radius: 10px; padding: 13px 16px; background: var(--bg-color); }
.inner-page .form-control:focus { border-color: var(--sky-color); box-shadow: 0 0 0 3px rgba(32,162,213,.18); }
.inner-page .form-control::placeholder { color: var(--text-muted); opacity: 1; }
.inner-page .step-node.active { background: #087b9e; border-color: #087b9e; color: #fff; box-shadow: 0 0 0 5px rgba(32,162,213,.14); }
.inner-page .step-node.completed { background: #007e3c; color: #fff; }
.inner-page .step-indicator::before { background: linear-gradient(90deg, #007e3c, #20a2d5, #f4b942); height: 2px; }
.inner-page .btn-secondary { border-color: var(--page-accent); color: var(--page-accent); }
.inner-page .btn-secondary:hover { background: var(--bg-secondary); border-color: var(--sky-color); }
.inner-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--sky-color); outline-offset: 4px; }
.inner-page .article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.inner-page .article-layout article > div:last-child { flex-wrap: wrap; }
.inner-page .blog-highlight { background: color-mix(in srgb, var(--sky-color) 8%, var(--bg-card)); border-left-color: var(--gold-color); }
.inner-page .split-layout > *, .inner-page .article-layout > * { min-width: 0; }
@media (max-width: 992px) { .inner-page .article-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 768px) {
  .inner-page .page-banner { padding: 112px 0 58px; }
  .inner-page .page-banner h1 { font-size: clamp(30px, 8vw, 44px) !important; }
  .inner-page .page-banner p { font-size: 15px; }
  .inner-page .glass-panel:not(.gallery-item):not(.blog-card) { padding: 24px !important; }
  .inner-page .gallery-filters { gap: 8px; }
  .inner-page .filter-btn { font-size: 12px; padding: 9px 14px; }
  .inner-page .form-control { font-size: 16px; }
}
/* Keep content readable if AOS is unavailable or reduced motion is requested. */
.inner-page:not(.aos-enabled) [data-aos] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .inner-page [data-aos] { opacity: 1 !important; transform: none !important; }
  .inner-page *, .inner-page *::before, .inner-page *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* A compact full-screen composition keeps the scroll story readable on phones. */
.cinematic-hero.hero-scroll-story .hero-content { padding-block: 120px 100px; }
@media (max-width: 768px) {
  .hero-scroll-story .hero-slider { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-scroll-story .hero-slide { background-position: 58% center; }
  .hero-scroll-story .hero-overlay,
  :root.dark .hero-scroll-story .hero-overlay {
    display: block; inset: 0; height: 100%; aspect-ratio: auto;
    background: linear-gradient(0deg, rgba(2, 18, 28, .97), rgba(2, 18, 28, .78) 55%, rgba(2, 18, 28, .3));
  }
  .cinematic-hero.hero-scroll-story .hero-content { padding: 105px 24px 100px; background: transparent; }
  .hero-scroll-story .hero-title { font-size: clamp(32px, 9vw, 48px); margin-bottom: 18px; }
  .hero-scroll-story .hero-desc { font-size: 14px; line-height: 1.65; }
  .hero-scroll-story .hero-tag { font-size: 10px; margin-bottom: 20px; }
  .hero-scroll-story .hero-buttons { flex-wrap: wrap; gap: 10px; }
  .hero-scroll-story .hero-buttons .btn { padding: 12px 16px; font-size: 12px; }
  .hero-scroll-story .hero-scroll-cue { bottom: 28px; }
}
