/*
Theme Name: flourish-university-website (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&family=Special+Elite&display=swap');

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #0d1b2a;
  --gold: #c9a84c;
  --gold-lt: #e8c96a;
  --cream: #f5f0e8;
  --green: #2d5016;
  --red: #8b1a1a;
  --white: #ffffff;
  --gray: #6b7280;
  --dark: #111827;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
}

/* ─── SCROLL PROGRESS BAR ──────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── NAVIGATION ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-seal {
  display: flex;
  align-items: center;
}
.nav-logo-svg {
  height: 52px;
  width: auto;
}
.nav-wordmark {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-lt);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 22px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: var(--navy) !important;
}

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

/* Animated ivy/campus background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      165deg,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(13, 27, 42, 0.6) 50%,
      rgba(13, 27, 42, 0.85) 100%
    ),
    url('https://images.unsplash.com/photo-1562774053-701939374585?w=1800&q=80&fit=crop')
      center/cover no-repeat;
}
/* Particle / confetti layer */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float-up 6s infinite ease-in;
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-110vh) scale(0.3);
    opacity: 0;
  }
}

/* Ivy corner decorations */
.hero-ivy {
  position: absolute;
  z-index: 2;
  opacity: 0.25;
  pointer-events: none;
}
.hero-ivy.tl {
  top: 0;
  left: 0;
  width: 320px;
}
.hero-ivy.br {
  bottom: 0;
  right: 0;
  width: 280px;
  transform: rotate(180deg);
}

/* Ribbon banner (Old School style) */
.hero-ribbon {
  position: absolute;
  top: 120px;
  right: -60px;
  background: var(--red);
  color: var(--white);
  font-family: 'Special Elite', cursive;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 10px 90px;
  transform: rotate(35deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 960px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 100px;
  padding: 6px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fade-in-down 0.7s ease both;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--white);
  animation: fade-in-up 0.9s 0.2s ease both;
}
.hero-title .flourish-word {
  display: block;
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--gold-lt) 50%,
    var(--gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.5));
}
.hero-title .univ-word {
  display: block;
  color: var(--white);
  letter-spacing: 12px;
  font-size: clamp(20px, 3.5vw, 42px);
  font-weight: 400;
  margin-top: 6px;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px auto;
  animation: fade-in 1s 0.4s ease both;
  opacity: 0;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-divider-icon {
  color: var(--gold);
  font-size: 18px;
}

.hero-motto {
  font-family: 'Special Elite', cursive;
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(245, 240, 232, 0.85);
  letter-spacing: 2px;
  margin-bottom: 12px;
  animation: fade-in 1s 0.5s ease both;
  opacity: 0;
}
.hero-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(245, 240, 232, 0.55);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
  animation: fade-in 1s 0.6s ease both;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in-up 0.9s 0.7s ease both;
  opacity: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a8842c);
  color: var(--navy);
  padding: 15px 38px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201, 168, 76, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 15px 38px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-lt);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.7), transparent);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Stats bar at bottom of hero */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  justify-content: center;
  padding: 18px 40px;
  gap: 60px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* ─── SECTION BASE ─────────────────────────────────────────── */
section {
  padding: 96px 40px;
}
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.section-body {
  font-size: 16px;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.8;
  max-width: 600px;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 24px;
}

/* ─── ABOUT / OLD SCHOOL BAND ──────────────────────────────── */
#about {
  background: linear-gradient(135deg, #0a1520 0%, #0d1b2a 60%, #111827 100%);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '"WE\'RE GOING STREAKING!"';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Special Elite', cursive;
  font-size: 11px;
  letter-spacing: 6px;
  color: rgba(201, 168, 76, 0.08);
  white-space: nowrap;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-stack {
  position: relative;
  height: 440px;
}
.about-img {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img.main {
  top: 0;
  left: 0;
  width: 75%;
  height: 300px;
  border: 2px solid rgba(201, 168, 76, 0.2);
}
.about-img.secondary {
  bottom: 0;
  right: 0;
  width: 65%;
  height: 240px;
  border: 2px solid rgba(201, 168, 76, 0.2);
}
.about-badge {
  position: absolute;
  top: 180px;
  right: 24px;
  background: var(--gold);
  color: var(--navy);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
  border: 3px solid var(--navy);
  text-align: center;
}
.about-badge span:first-child {
  font-size: 26px;
  line-height: 1;
}
.about-badge span:last-child {
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}

.feature-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.feature-text strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}
.feature-text span {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.6;
}

/* ─── CAMPUS LIFE CARDS ────────────────────────────────────── */
#campus {
  background: #0a1118;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.campus-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  group: '';
}
.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.campus-card:hover img {
  transform: scale(1.06);
}
.campus-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.95) 0%,
    rgba(13, 27, 42, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.3s;
}
.campus-card:hover .campus-card-overlay {
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.98) 0%,
    rgba(13, 27, 42, 0.6) 60%,
    rgba(13, 27, 42, 0.2) 100%
  );
}
.card-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.campus-card:hover .card-desc {
  max-height: 80px;
}

/* Featured wide card */
.campus-card.wide {
  grid-column: span 2;
}

/* ─── OLD SCHOOL QUOTE BAND ────────────────────────────────── */
#quote-band {
  background: var(--gold);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#quote-band::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
#quote-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
}
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  line-height: 0.6;
  color: rgba(13, 27, 42, 0.15);
  display: block;
  margin-bottom: 16px;
}
.quote-text {
  font-family: 'Special Elite', cursive;
  font-size: clamp(22px, 4vw, 38px);
  color: var(--navy);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
.quote-attr {
  font-size: 13px;
  color: rgba(13, 27, 42, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── EPISODES SECTION ──────────────────────────────────────── */
#sports {
  background: linear-gradient(180deg, #0a1118 0%, var(--navy) 100%);
  position: relative;
}
.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sport-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 28px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
  cursor: pointer;
}
.sport-card:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-6px);
}
/* Episode logo container */
.episode-logo-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid rgba(26, 133, 200, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s;
}
.sport-card:hover .episode-logo-wrap {
  border-color: rgba(26, 133, 200, 0.55);
  background: rgba(13, 27, 42, 0.9);
}
.episode-logo-wrap svg {
  width: 80%;
  height: auto;
}
.sport-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.sport-detail {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── FRATERNITY / CLUBS BAND ──────────────────────────────── */
#frats {
  background: #070e16;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.frats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.frat-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.frat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  padding: 18px 22px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.frat-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}
.frat-crest {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), #7a5e1a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.frat-info strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}
.frat-info span {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.5);
}

.frats-visual {
  position: relative;
}
.frats-big-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(201, 168, 76, 0.15);
}
.frats-big-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.frats-stamp {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 6px;
  font-family: 'Special Elite', cursive;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ─── ADMISSIONS CTA ───────────────────────────────────────── */
#admissions {
  background:
    linear-gradient(
      135deg,
      rgba(13, 27, 42, 0.95) 0%,
      rgba(45, 80, 22, 0.4) 100%
    ),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80&fit=crop')
      center/cover no-repeat;
  text-align: center;
}
.admissions-inner {
  max-width: 720px;
  margin: 0 auto;
}
.admissions-inner .section-title {
  margin-bottom: 16px;
}
.admissions-inner .section-body {
  max-width: 100%;
  margin: 0 auto 44px;
  text-align: center;
}
.admissions-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #050c14;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 64px 40px 32px;
}
.footer-top {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
}
.footer-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer-logo-svg {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(185deg);
}
.footer-brand-name {
  display: none;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-studio {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  text-decoration: none;
  color: rgba(245, 240, 232, 0.5);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--gold-lt);
}
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .frats-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campus-card.wide {
    grid-column: span 1;
  }
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }
  nav {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 560px) {
  section {
    padding: 64px 20px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-ribbon {
    display: none;
  }
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}
:root {
  --navy: #0d1b2a;
  --gold: #c9a84c;
  --gold-lt: #e8c96a;
  --cream: #f5f0e8;
  --green: #2d5016;
  --red: #8b1a1a;
  --white: #ffffff;
  --gray: #6b7280;
  --dark: #111827;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
}
#progress-bar {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}
nav {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1000;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-seal {
  display: flex;
  align-items: center;
}
.nav-logo-svg {
  height: 52px;
  width: auto;
}
.nav-wordmark {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-lt);
}
.nav-cta {
  background: var(--gold);
  border-radius: 4px;
  color: var(--navy) !important;
  padding: 9px 22px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: var(--navy) !important;
}
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0px;
  z-index: 0;
  background:
    linear-gradient(
      165deg,
      rgba(13, 27, 42, 0.92) 0%,
      rgba(13, 27, 42, 0.6) 50%,
      rgba(13, 27, 42, 0.85) 100%
    ),
    url('https://images.unsplash.com/photo-1562774053-701939374585?w=1800&q=80&fit=crop')
      center center / cover no-repeat;
}
.hero-particles {
  position: absolute;
  inset: 0px;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: 6s ease-in 0s infinite normal none running float-up;
}
@keyframes float-up {
  0% {
    transform: translateY(0px) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-110vh) scale(0.3);
    opacity: 0;
  }
}
.hero-ivy {
  position: absolute;
  z-index: 2;
  opacity: 0.25;
  pointer-events: none;
}
.hero-ivy.tl {
  top: 0px;
  left: 0px;
  width: 320px;
}
.hero-ivy.br {
  bottom: 0px;
  right: 0px;
  width: 280px;
  transform: rotate(180deg);
}
.hero-ribbon {
  position: absolute;
  top: 120px;
  right: -60px;
  background: var(--red);
  color: var(--white);
  font-family: 'Special Elite', cursive;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 10px 90px;
  transform: rotate(35deg);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 16px;
  z-index: 10;
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0px 24px;
  max-width: 960px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 100px;
  padding: 6px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold-lt);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: 0.7s ease 0s 1 normal both running fade-in-down;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 9vw, 110px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--white);
  animation: 0.9s ease 0.2s 1 normal both running fade-in-up;
}
.hero-title .flourish-word {
  display: block;
  background-image:;
  background-position-x:;
  background-position-y:;
  background-size:;
  background-repeat:;
  background-attachment:;
  background-origin:;
  background-color:;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(rgba(201, 168, 76, 0.5) 0px 0px 40px);
}
.hero-title .univ-word {
  display: block;
  color: var(--white);
  letter-spacing: 12px;
  font-size: clamp(20px, 3.5vw, 42px);
  font-weight: 400;
  margin-top: 6px;
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px auto;
  animation: 1s ease 0.4s 1 normal both running fade-in;
  opacity: 0;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1 1 0%;
  max-width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-divider-icon {
  color: var(--gold);
  font-size: 18px;
}
.hero-motto {
  font-family: 'Special Elite', cursive;
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(245, 240, 232, 0.85);
  letter-spacing: 2px;
  margin-bottom: 12px;
  animation: 1s ease 0.5s 1 normal both running fade-in;
  opacity: 0;
}
.hero-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(245, 240, 232, 0.55);
  max-width: 520px;
  margin: 0px auto 44px;
  line-height: 1.7;
  animation: 1s ease 0.6s 1 normal both running fade-in;
  opacity: 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: 0.9s ease 0.7s 1 normal both running fade-in-up;
  opacity: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a8842c);
  color: var(--navy);
  padding: 15px 38px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: rgba(201, 168, 76, 0.35) 0px 8px 32px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: rgba(201, 168, 76, 0.5) 0px 14px 40px;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 15px 38px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-lt);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: 2s ease 0s infinite normal none running bounce;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(rgba(201, 168, 76, 0.7), transparent);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
.hero-stats {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  z-index: 5;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  justify-content: center;
  padding: 18px 40px;
  gap: 60px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}
section {
  padding: 96px 40px;
}
.section-inner {
  max-width: 1160px;
  margin: 0px auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.section-body {
  font-size: 16px;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.8;
  max-width: 600px;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 24px;
}
#about {
  background: linear-gradient(
    135deg,
    rgb(10, 21, 32) 0%,
    rgb(13, 27, 42) 60%,
    rgb(17, 24, 39) 100%
  );
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '"WE\'RE GOING STREAKING!"';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Special Elite', cursive;
  font-size: 11px;
  letter-spacing: 6px;
  color: rgba(201, 168, 76, 0.08);
  white-space: nowrap;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-stack {
  position: relative;
  height: 440px;
}
.about-img {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 20px 60px;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img.main {
  top: 0px;
  left: 0px;
  width: 75%;
  height: 300px;
  border: 2px solid rgba(201, 168, 76, 0.2);
}
.about-img.secondary {
  bottom: 0px;
  right: 0px;
  width: 65%;
  height: 240px;
  border: 2px solid rgba(201, 168, 76, 0.2);
}
.about-badge {
  position: absolute;
  top: 180px;
  right: 24px;
  background: var(--gold);
  color: var(--navy);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  z-index: 10;
  box-shadow: rgba(201, 168, 76, 0.4) 0px 8px 32px;
  border: 3px solid var(--navy);
  text-align: center;
}
.about-badge span:first-child {
  font-size: 26px;
  line-height: 1;
}
.about-badge span:last-child {
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}
.feature-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.feature-text strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}
.feature-text span {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.6;
}
#campus {
  background: rgb(10, 17, 24);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.campus-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}
.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.campus-card:hover img {
  transform: scale(1.06);
}
.campus-card-overlay {
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.95) 0%,
    rgba(13, 27, 42, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: background 0.3s;
}
.campus-card:hover .campus-card-overlay {
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.98) 0%,
    rgba(13, 27, 42, 0.6) 60%,
    rgba(13, 27, 42, 0.2) 100%
  );
}
.card-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.4s;
}
.campus-card:hover .card-desc {
  max-height: 80px;
}
.campus-card.wide {
  grid-column: span 2;
}
#quote-band {
  background: var(--gold);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#quote-band::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
#quote-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
}
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  line-height: 0.6;
  color: rgba(13, 27, 42, 0.15);
  display: block;
  margin-bottom: 16px;
}
.quote-text {
  font-family: 'Special Elite', cursive;
  font-size: clamp(22px, 4vw, 38px);
  color: var(--navy);
  max-width: 800px;
  margin: 0px auto 20px;
  line-height: 1.4;
}
.quote-attr {
  font-size: 13px;
  color: rgba(13, 27, 42, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
#sports {
  background: linear-gradient(180deg, #0a1118 0%, var(--navy) 100%);
  position: relative;
}
.sports-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sport-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 12px;
  padding: 28px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
  cursor: pointer;
}
.sport-card:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-6px);
}
.episode-logo-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid rgba(26, 133, 200, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s;
}
.sport-card:hover .episode-logo-wrap {
  border-color: rgba(26, 133, 200, 0.55);
  background: rgba(13, 27, 42, 0.9);
}
.episode-logo-wrap svg {
  width: 80%;
  height: auto;
}
.sport-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.sport-detail {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
#frats {
  background: rgb(7, 14, 22);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.frats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.frat-card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.frat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  padding: 18px 22px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.frat-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}
.frat-crest {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), #7a5e1a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.frat-info strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}
.frat-info span {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.5);
}
.frats-visual {
  position: relative;
}
.frats-big-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.7) 0px 30px 80px;
  border: 2px solid rgba(201, 168, 76, 0.15);
}
.frats-big-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.frats-stamp {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 6px;
  font-family: 'Special Elite', cursive;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 8px 32px;
}
#admissions {
  background:
    linear-gradient(
      135deg,
      rgba(13, 27, 42, 0.95) 0%,
      rgba(45, 80, 22, 0.4) 100%
    ),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80&fit=crop')
      center center / cover no-repeat;
  text-align: center;
}
.admissions-inner {
  max-width: 720px;
  margin: 0px auto;
}
.admissions-inner .section-title {
  margin-bottom: 16px;
}
.admissions-inner .section-body {
  max-width: 100%;
  margin: 0px auto 44px;
  text-align: center;
}
.admissions-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
footer {
  background: rgb(5, 12, 20);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 64px 40px 32px;
}
.footer-top {
  max-width: 1160px;
  margin: 0px auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand {
}
.footer-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.footer-logo-svg {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(185deg);
}
.footer-brand-name {
  display: none;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-studio {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  text-decoration: none;
  color: rgba(245, 240, 232, 0.5);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--gold-lt);
}
.footer-bottom {
  max-width: 1160px;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0px);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
@media (max-width: 900px) {
  .about-grid,
  .frats-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campus-card.wide {
    grid-column: span 1;
  }
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }
  nav {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 560px) {
  section {
    padding: 64px 20px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-ribbon {
    display: none;
  }
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
section,
.section {
  max-width: none !important;
}

.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
/* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
/* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses. */
header ul#wpconvert-primary-ul,
#wpconvert-primary-ul,
#wpconvert-primary-ul.menu,
ul#wpconvert-primary-ul.menu,
ul.menu:not(.submenu):not(.sub-menu) {
  display: flex !important;
  flex-direction: row !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
/* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
header nav.main-nav ul#wpconvert-primary-ul,
header .main-nav ul#wpconvert-primary-ul,
nav.main-nav ul#wpconvert-primary-ul,
.main-nav #wpconvert-primary-ul,
.main-nav ul#wpconvert-primary-ul {
  /* Inherit the original .main-nav ul styles */
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* Preserve original .main-nav link styling */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
/* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
header ul#wpconvert-primary-ul > li,
#wpconvert-primary-ul > li,
#wpconvert-primary-ul > li.menu-item,
#wpconvert-primary-ul > li.menu-item-type-post_type,
#wpconvert-primary-ul > li.menu-item-type-custom,
#wpconvert-primary-ul > li.menu-item-object-page,
#wpconvert-primary-ul > li.menu-item-object-custom,
#wpconvert-primary-ul > li.menu-item-has-children,
#wpconvert-primary-ul > li.current-menu-item,
#wpconvert-primary-ul > li.current_page_item,
#wpconvert-primary-ul > li.current-menu-ancestor,
#wpconvert-primary-ul.menu > li,
ul.menu:not(.submenu):not(.sub-menu) > li,
body #wpconvert-primary-ul > li {
  display: inline-block !important;
  position: relative !important;
  flex-shrink: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  vertical-align: middle !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: white !important;
  min-width: 200px !important;
  max-width: 500px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  z-index: 9999 !important; /* Higher than content */
  padding: 0.5rem 0 !important;
  list-style: none !important;
  margin: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.375rem !important;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
[role='dialog'][class*='fixed'],
[data-radix-dialog-content][class*='fixed'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black'],
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop'] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
header:not([class*='sticky']):not([class*='fixed']),
.site-header:not([class*='sticky']):not([class*='fixed']),
nav:not([class*='sticky']):not([class*='fixed']):not(#wpconvert-mobile-nav),
[role='banner']:not([class*='sticky']):not([class*='fixed']),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    #wpconvert-mobile-nav
  ) {
  position: relative !important;
  z-index: 1000 !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
nav.sticky,
nav[class*='sticky']:not([style*='position']),
header nav.sticky,
header nav[class*='sticky']:not([style*='position']),
header.sticky,
header[class*='sticky']:not([style*='position']) {
  position: sticky !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
nav.fixed,
nav[class*='fixed']:not([style*='position']),
header nav.fixed,
header nav[class*='fixed']:not([style*='position']),
header.fixed,
header[class*='fixed']:not([style*='position']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
  min-height: 60vh;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up). */
.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type {
  margin-top: 0;
}

/* EC-NAV-086: Fixed nav + full-viewport hero (Tailwind min-h-screen) — React/Vite SPAs
 * stack the hero at document top with fixed nav overlaid; body/main background shows through
 * any empty band under the bar. Pull the first min-h-screen hero up by the header bar height
 * (--wpconvert-header-bar-height from header.php EC-NAV-100; fallback 4rem) so background layers
 * align with the original SPA.
 * Only on front-page template (body.front-page); skip sections with explicit pt-* / mt-* utilities.
 * :first-of-type required: newline/whitespace between #primary and hero <section> breaks :first-child. */
body.front-page
  .site-main
  #primary
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']) {
  /* Logged out: --wp-admin--admin-bar--height is unset → 0px. Logged in: WP sets 32px / 46px (782px). */
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  );
}

/* EC-NAV-089: Admin bar is fixed at top:0; in-flow content gets html { margin-top } but fixed nav does not,
 * so the site navbar sits under #wpadminbar. Offset primary fixed nav; exclude full-screen mobile drawer. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav) {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-NAV-087: Merged / blog / legacy CSS often sets body { padding-top: 5rem+ } as “clearance”
 * for fixed headers. With a fixed overlay nav, that padding does NOT move the bar — it only
 * pushes <main> down while body background shows through → white/cream band (~nav height) under
 * the bar. Stay Boost ships this in bundled style.css; EC-NAV-086 margin alone cannot cancel it. */
body.front-page {
  padding-top: 0 !important;
}

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */

body {
  line-height: 1.6;
}
body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-BTN-104: :where() = 0 specificity so Tailwind text-* utilities always win over these resets.
   Plain "a:hover { color: inherit }" can outrank .text-white on links (0,2,0 vs 0,1,0) and wash out hero CTAs. */
:where(a) {
  color: inherit;
  text-decoration: none;
}
:where(a:hover) {
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
