/* Portfolio standalone stylesheet (no BRCC references) */

:root {
	--bg: #000000;
	--text: #ffffff;
	--muted: #b0b0b0;
	--tile-radius: 16px;
	--max: 1200px;
	--accent: #dc2626; /* primary CTA red */
	--mint: #b91c1c; /* used as legacy var; map to BRCC red */
	
	/* Simple gradient control - just change this one number! */
	--gradient-opacity: 0.1;
}

/* Stronger theme override so inline :root does not win */
body.theme-brcc {
	--bg: #000000;
	--tile: #2a2a2a;
	--text: #ffffff;
	--muted: #b0b0b0;
	--cta: #dc2626;
	--gradient-opacity: 0.1;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

#portfolio-root { width: min(100%, var(--max)); margin: 0 auto; padding: 24px; }
.site-header { position: sticky; top: 0; background: rgba(10,10,10,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 1000; }
.nav-inner { width: min(100%, var(--max)); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-logo { height: 36px; width: auto; border-radius: 8px; }
.main-nav { display: flex; gap: 16px; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--text); }

/* Superside-like hero */
.ss-hero { background: var(--bg); }
.ss-container { width: min(100%, 1608px); margin: 0 auto; padding: 0 24px; }
.ss-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; min-height: 965px; padding: 225px 0 385px; }
.ss-copy { max-width: 804px; }
.ss-h1 { margin: 0 0 24px; line-height: 1.1; letter-spacing: 0.001em; }
.ss-h1-part { font: 400 72px/80px Inter, system-ui, sans-serif; color: var(--text); display: block; }
.ss-h1-em { font: italic 76px/80px 'Instrument Serif', serif; color: var(--text); display: inline; }
.ss-h1-tail { font: 400 65.25px/80px Inter, system-ui, sans-serif; color: var(--text); display: block; }
.ss-sub { color: var(--text); max-width: 532px; margin: 0 0 16px; font: 400 16.172px/26px Inter, system-ui, sans-serif; }
.ss-cta-row { padding-right: 350.44px; }
.ss-btn-cta { display: inline-block; background: var(--accent); color: #ffffff; font: 600 13.016px/20px Inter, system-ui, sans-serif; padding: 16px 24px; border-radius: 999px; text-decoration: none; }

.ss-mosaic { position: relative; right: -156px; height: 965px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ss-tile { overflow: hidden; border-radius: 10px; background: var(--bg); }
.ss-tile.tall { grid-row: span 2; }
.ss-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ss-mosaic-grid { background: var(--bg); padding: 24px 0 64px; }
.ss-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ss-card { position: relative; border-radius: 12px; overflow: hidden; background: #2a2a2a; }

/* Override brand strip colors set in inline style */
body.theme-brcc .brands-section {
  background: #111111 !important;
  color: #FFFFFF !important;
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ===== SECOND SECTION ONLY (scoped) ===== */
.work-types{ 
  background: transparent; 
  color: var(--text); 
  padding: 80px 0; 
}
.work-types .wt-inner{ 
  max-width: 90%; 
  margin: 0 auto; 
}
.work-types .eyebrow{ 
  letter-spacing: .18em; 
  font-size: .8rem; 
  margin: 0 0 10px; 
  color: var(--muted); 
  text-align: left; 
}
.work-types .wt-title{ 
  font-size: clamp(2rem, 4vw, 3rem); 
  line-height: 1.2; 
  margin: 0 0 30px; 
  font-weight: 750; 
  text-align: left; 
  max-width: 60vw; 
}
.work-types .wt-title .amp{ 
  font-style: italic; 
  font-weight: 600; 
}

/* Full-bleed marquee row (touches both viewport edges) */
.work-types .marquee-container{ 
  position: relative; 
  width: 100vw; 
  overflow: hidden; 
  left: 50%; 
  right: 50%; 
  margin-left: -50vw; 
  margin-right: -50vw; 
}

.work-types .marquee-track{ 
  display: flex; 
  gap: 20px; 
  animation: wt-marquee 28s linear infinite; 
  will-change: transform; 
}

.work-types .marquee-track:hover{ 
  animation-play-state: paused; 
}

/* Card sizing — 40% wider vs. earlier, 20% shorter than the extra-tall version */
.work-types .marquee-item{ 
  flex: 0 0 clamp(420px, 35vw, 500px); 
  height: clamp(518px, 43vw, 605px); 
  border-radius: 18px; 
  background: var(--tile); 
  color: var(--text); 
  display: grid; 
  place-items: center; 
  font-size: 1.1rem; 
  font-weight: 600; 
  box-shadow: 0 6px 22px rgba(0,0,0,.28); 
  overflow: hidden;
}

.work-types .marquee-item img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

/* Endless loop */
@keyframes wt-marquee{ 
  0%{transform: translateX(0)} 
  100%{transform: translateX(-50%)} 
}

/* Responsive tweaks */
@media (max-width: 900px){ 
  .work-types .wt-title{
    max-width: 100%;
    font-size: 2rem;
  } 
  .work-types .marquee-item{
    flex: 0 0 300px;
    height: 420px;
  } 
}

/* ===== SECTION 3: Team ===== */
.team-section{
  position:relative;
  min-height:75vh;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
  background:var(--bg) url('./images/team-portrait-bg.jpg') 60% center/cover no-repeat; /* background offset 60% from left */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.team-section::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.75) 0%, rgba(0,0,0,.68) 32%, rgba(0,0,0,.35) 58%, rgba(0,0,0,.06) 100%);
  z-index:0;
}
.team-section::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:28%;
  background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  z-index:0;
}
.team-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 1fr; gap:40px;
  max-width:1200px; margin:0 auto; padding:64px 20px; width:100%;
}
.team-copy{ max-width:560px; }
.team-copy h2{ font-size:clamp(2.4rem,4.6vw,3.8rem); line-height:1.05; margin:0 0 18px; font-weight:800; }
.team-copy p{ color:#d4ded8; font-size:1.05rem; margin:0 0 26px; max-width:46ch; }
.team-cta{ display:flex; gap:22px; align-items:center; margin-bottom:28px; }
.cta-button{ background:#c0ff65; color:#000; border:0; padding:12px 20px; border-radius:10px; font-weight:700; cursor:pointer; }
.cta-link{ color:#ffffff; font-weight:650; text-decoration:none; }
.cta-link:hover{ text-decoration:underline; }

/* bottom logo rail inside section */
.logo-marquee{
  position:absolute; bottom:10%; left:0; width:100%;
  overflow:hidden;
}
.logo-track{
  display:flex; gap:64px; align-items:center;
  opacity:.95; filter:grayscale(100%);
  animation:logo-scroll 40s linear infinite;
  will-change:transform; white-space:nowrap;
}
.logo{ font-weight:700; letter-spacing:.02em; opacity:.9; font-size:clamp(.9rem,1.2vw,1rem); }
@keyframes logo-scroll{ 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@media (max-width:980px){ 
  .team-inner{ 
    grid-template-columns:1fr; 
    gap:24px 
  } 
}

/* Mobile background image positioning */
@media (max-width: 768px) {
  .team-section {
    background-position: 80% center !important; /* Move background 60% to the left on mobile */
  }
}

/* ===== SECTION 4: Video Services Grid ===== */
/* Override any inherited opacity issues */
.video-services * {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.video-services{ 
  background: transparent; 
  color: var(--text); 
  padding:80px 0; 
  /* Force full opacity and visibility */
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}
.video-services__inner{ max-width:1400px; margin:0 auto; padding:0 20px; }
.video-grid{ 
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  /* Force full opacity and visibility */
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  /* Expanded grid for more content */
  max-width: 1400px;
  margin: 0 auto;
  /* Use fixed row heights to eliminate gaps */
  grid-auto-rows: 200px;
  align-items: stretch;
}
.vcard{
  position:relative; border-radius:16px; overflow:hidden;
  background:var(--tile); box-shadow:0 8px 24px rgba(0,0,0,.18);
  /* Cards now fit exactly within grid rows */
  width: 100%;
  height: 100%;
  /* Force full opacity and visibility */
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}
.vcard video,.vcard .poster{ 
  width: 100%; 
  height: 100%; 
  display: block; 
  object-fit: cover; 
  /* Force full opacity and visibility */
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}
 /* Cards now auto-size based on video content */
 .vcard video {
   width: 100%;
   height: 100%;
   display: block;
   object-fit: cover;
 }
 
 /* Smart card sizing based on video dimensions */
.vcard--wide {
  grid-column: span 2;
  grid-row: span 1; /* Keep it single height for better proportions */
}

.vcard--tall {
  grid-row: span 2; /* Reduce from 3 to 2 rows to minimize gaps */
}

.vcard--square {
  /* Default size - no special spanning */
}

/* Video sizing within cards - improved proportions */
.vcard--wide video {
  aspect-ratio: 16/9; /* Standard widescreen */
}

.vcard--tall video {
  aspect-ratio: 9/16; /* Portrait/vertical */
}

.vcard--square video {
  aspect-ratio: 1/1; /* Square */
}
 
 /* Loading placeholder */
.loading-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  grid-column: 1 / -1;
}

.loading-placeholder p {
  font-size: 1.1rem;
  margin: 0;
}

/* Video loading indicator */
.video-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--tile);
  color: var(--text);
  z-index: 10;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(220, 38, 38, 0.3);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.video-loading p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}
/* overlay text */
.vcard__overlay{
  position:absolute; inset:0;
  display:flex; flex-direction:column; justify-content:space-between;
  padding:24px; pointer-events:none;
}
.vcard__overlay::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,var(--gradient-opacity)) 80%, rgba(0,0,0,calc(var(--gradient-opacity) * 2)) 100%);
  z-index:0;
  transition: opacity 0.10s ease;
}

/* Gradient toggle classes */
.vcard.gradient-hidden .vcard__overlay::before {
  opacity: 0;
}

.vcard.gradient-visible .vcard__overlay::before {
  opacity: 1;
}
.vcard__title{ 
  display: none; /* Hide title text */
}
.vcard__desc{ 
  display: none; /* Hide description text */
}
/* subtle stroke */
.vcard::after{ content:""; position:absolute; inset:0; border:1px solid rgba(255,255,255,.06); border-radius:16px; pointer-events:none; }

/* ===== SECTION 5: Showcase Section ===== */
@keyframes marquee {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes marquee-reverse {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

/* Showcase section container - ensure proper height and overflow control */
#showcase {
  position: relative;
  min-height: 130vh; /* Increased by 30% from 100vh to 130vh */
  max-height: 130vh; /* Increased by 30% from 100vh to 130vh */
  overflow: hidden;
  /*background: #17152f;*/
  z-index: 1;
  width: 100%; /* Ensure full width */
  max-width: 100vw; /* Prevent horizontal overflow */
}

/* Columns wrapper - contain everything within section */
#columnsWrapper {
  position: relative;
  z-index: 10;
  height: 130vh; /* Increased by 30% from 100vh to 130vh */
  /* 
    To make the wrapper truly full-viewport width, use the "full-bleed" trick:
    1. Set width: 100vw;
    2. Move the element to the left by half the viewport width, then right by half, so it stretches edge-to-edge regardless of parent constraints.
  */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Grid container for columns */
#columnsWrapper .grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual columns - now properly contained */
.column {
  position: relative;
  height: 130vh; /* Increased by 30% from 100vh to 130vh */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Track container for scrolling content */
.track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* Column 1 - slower speed */
.column[data-speed="40"] .track {
  animation: marquee 40s linear infinite;
}

/* Column 2 - reverse direction, medium speed */
.column[data-speed="45"] .track {
  animation: marquee-reverse 45s linear infinite;
}

/* Column 3 - faster speed */
.column[data-speed="35"] .track {
  animation: marquee 35s linear infinite;
}

/* Video lists within tracks */
.column ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
}

/* Video items */
.column li {
  background: var(--tile);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.column li:hover {
  transform: scale(1.02);
}

.column video,
.column img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Video links and placeholders */
.video-link {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 37, 0.10);
  text-decoration: none;
  color: inherit;
}

.video-placeholder {
  width: 100%;
  height: 200px;
  background: var(--tile);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 500;
}

/* Pause animations on hover */
.column:hover .track {
  animation-play-state: paused;
}

/* Pause animations when class is applied */
.paused .track {
  animation-play-state: paused !important;
}

/* Accessibility - respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .track {
    animation: none !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #columnsWrapper .grid {
    grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
    gap: 0.75rem; /* Slightly smaller gap */
  }
  
  .column {
    height: 70vh; /* Scale down height */
  }
}

@media (max-width: 480px) {
  #columnsWrapper .grid {
    grid-template-columns: repeat(3, 1fr); /* Keep 3 columns */
    gap: 0.1rem; /* Small gap between columns */
    padding: 0 0.5rem; /* Add horizontal padding to prevent overflow */
    width: 100%; /* Ensure grid fits viewport */
    max-width: 100vw; /* Prevent horizontal overflow */
  }
  
  .column {
    height: 60vh; /* Larger height for bigger cards */
    margin: 0; /* No margin */
    width: 100%; /* Ensure columns fit within grid */
    overflow: hidden; /* Prevent content overflow */
  }
  
  /* Make video items larger on mobile */
  .column li {
    min-height: 120px; /* Larger minimum height for cards */
  }
  
  .column video,
  .column img {
    min-height: 120px; /* Ensure videos/images are larger */
  }
}

.student-work_gradient-overlay {
  z-index: 100;
  pointer-events: none;
  position: absolute;
  inset: 0%;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.85) 36%, /* Moved down from 28% to 36% (30% more down) */
    rgba(0,0,0,0.6) 48%, /* Moved down from 37% to 48% */
    rgba(0,0,0,0.0) 78%, /* Moved down from 60% to 78% */
    rgba(0,0,0,0.0) 87%, /* Moved down from 67% to 87% */
    rgba(10,10,18,0.85) 95%, /* Moved to visible area - 100% up from 80% */
    rgb(0, 0, 0) 100% /* Moved to visible area - 100% up from 93% */
  );
}

/* Desktop gradient override - bring bottom gradient down to 100% */
@media (min-width: 769px) {
  .student-work_gradient-overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.95) 0%,
      rgba(0,0,0,0.85) 36%, /* Moved down from 28% to 36% (30% more down) */
      rgba(0,0,0,0.6) 48%, /* Moved down from 37% to 48% */
      rgba(0,0,0,0.0) 78%, /* Moved down from 60% to 78% */
      rgba(0,0,0,0.0) 87%, /* Moved down from 67% to 87% */
      rgba(10,10,18,0.85) 95%, /* Moved to visible area - 100% up from 80% */
      rgb(0, 0, 0) 100% /* Moved to visible area - 100% up from 93% */
    );
  }
}

/* responsive */
@media (max-width:1100px){ 
  .video-grid{ 
    grid-template-columns: repeat(3,1fr);
    grid-auto-rows: 180px;
  } 
  .vcard--wide{ grid-column:span 2 } 
  .vcard--tall{ grid-row:span 2 } /* Tall cards span 2 rows on medium screens */
}

/* Mobile showcase section adjustments */
@media (max-width: 768px) {
  #showcase {
    min-height: 80vh; /* Reduced from 130vh to 80vh on mobile */
    max-height: 80vh;
  }
  
  #columnsWrapper {
    height: 80vh; /* Reduced from 130vh to 80vh on mobile */
  }
  
  .column {
    height: 80vh; /* Reduced from 130vh to 80vh on mobile */
  }
  
  /* Adjust gradient for mobile - ensure bottom gradient is visible */
  .student-work_gradient-overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.95) 0%,
      rgba(0,0,0,0.85) 25%, /* Slightly adjusted for mobile */
      rgba(0,0,0,0.6) 35%, /* Slightly adjusted for mobile */
      rgba(0,0,0,0.0) 60%, /* Slightly adjusted for mobile */
      rgba(0,0,0,0.0) 75%, /* Slightly adjusted for mobile */
      rgba(10,10,18,0.85) 90%, /* Ensure bottom gradient is visible on mobile */
      rgb(0, 0, 0) 100% /* Ensure bottom gradient is visible on mobile */
    );
  }
}
@media (max-width:800px){ 
  .video-grid{ 
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 160px;
  } 
  .vcard--wide{ grid-column:span 2 } 
  .vcard--tall{ grid-row:span 2 }
}
@media (max-width:680px){ 
  .video-grid{ 
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(140px, auto);
  } 
  .vcard--wide{ grid-column:span 1 } 
  .vcard--tall{ grid-row:span 1 } /* All cards become single height on mobile */
}
.ss-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ss-card.labeled figcaption { position: absolute; left: 16px; top: 16px; color: #fff; font: 700 28px/1 Inter, system-ui, sans-serif; text-shadow: 0 2px 6px rgba(0,0,0,.6); letter-spacing: .01em; }

@media (max-width: 960px) {
  .ss-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ss-grid-3 { grid-template-columns: 1fr; }
}
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}

.tile img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--tile-radius);
}

@media (max-width: 960px) {
	.ss-hero-inner { grid-template-columns: 1fr; padding-right: 0; }
	.ss-mosaic { right: 0; height: auto; }
	.grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.grid-3 { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.brand-logo {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--cta);
}

.main-nav a[aria-current="page"] {
  color: var(--cta);
  font-weight: 600;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive navigation */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    flex-direction: column;
    justify-content: center;
    padding: 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 2px 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }
  
  .main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent
    );
  }
  
  .main-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3)
    );
  }
  
  .main-nav::before {
    content: 'BRCC Athletics';
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
  }
  
  .main-nav > a:first-of-type {
    margin-top: 0;
  }
  
  .main-nav.active {
    transform: translateX(0);
  }
  
  .main-nav a {
    font-size: 1.2rem;
    padding: 24px 40px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 8px 20px;
    color: rgba(0, 0, 0, 0.9);
    font-weight: 600;
    letter-spacing: 0.03em;
    position: relative;
    display: block;
    width: calc(100% - 40px);
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(0, 0, 0, 1);
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  
  .main-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 1);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }
  
  .main-nav a[aria-current="page"]::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: var(--cta);
    border-radius: 2px;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 16px;
  }
  
  .brand span {
    font-size: 0.9rem;
  }
  
  .main-nav a {
    font-size: 1.1rem;
    padding: 12px;
  }
}

/* ===== FRAMER DROPDOWN GLASSMORPHISM ===== */
.framer-14zxlsh {
  background: rgba(255, 255, 255, 0) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  position: fixed !important;
  z-index: 9999 !important;
}

/* Hide background images and icons for true glassmorphism */
.framer-14zxlsh img,
.framer-14zxlsh [data-framer-background-image-wrapper] {
  display: none !important;
}

/* Ensure text remains visible */
.framer-14zxlsh .framer-text {
  color: white !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Top section styling */
.framer-1w9yry3 {
  padding: 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  position: relative !important;
  z-index: 10000 !important;
}

/* Logo container */
.framer-ym8muc {
  margin-bottom: 16px !important;
}

/* Close button - simple X icon */
.framer-jdqcG {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.framer-jdqcG:hover {
  background: none !important;
  border: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Hide the original close button content */
.framer-jdqcG .framer-12uaycc,
.framer-jdqcG .framer-13f27x3 {
  display: none !important;
}

/* Add custom X icon */
.framer-jdqcG::before {
  content: '✕' !important;
  font-size: 24px !important;
  color: white !important;
  font-weight: bold !important;
  line-height: 1 !important;
}

/* Menubar section */
.framer-1h7t8aa {
  background: transparent !important;
  padding: 24px !important;
}

/* Navigation links */
.framer-1xbj8eb {
  display: block !important;
  padding: 16px 20px !important;
  margin: 8px 0 !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: white !important;
  font-weight: 600 !important;
  position: relative !important;
  z-index: 10000 !important;
}

.framer-1xbj8eb:hover {
  background: none !important;
  border: none !important;
  transform: translateX(8px) !important;
  box-shadow: none !important;
  color: white !important;
}

/* Bottom section */
.framer-1418wlb {
  padding: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Contact info styling */
.framer-1eq1npx,
.framer-17mz3ub {
  margin-bottom: 20px !important;
}

.framer-1eq1npx p,
.framer-17mz3ub p {
  color: rgba(0, 0, 0, 0.8) !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

/* Email and social links */
.framer-qNaW5 {
  display: inline-block !important;
  padding: 8px 16px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  color: rgba(0, 0, 0, 0.9) !important;
  font-weight: 600 !important;
}

.framer-qNaW5:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
  color: rgba(0, 0, 0, 1) !important;
}

/* Social links container */
.framer-qnj83w {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .framer-14zxlsh {
    margin: 16px !important;
    border-radius: 16px !important;
  }
  
  .framer-1xbj8eb {
    padding: 14px 16px !important;
    font-size: 1.1rem !important;
  }
  
  .framer-qNaW5 {
    padding: 6px 12px !important;
    font-size: 0.9rem !important;
  }
  
  /* Make athletics caption text smaller on mobile */
  .logo-marquee p {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    max-width: 90% !important;
  }
}


