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

body, html {
  background: url(assets/gallery/image000000\ 17.JPG);
  height: 100%;
  font-family: 'Main';
  scroll-behavior: smooth;
}

@font-face {
  font-family:"Title" ;
  src: url(assets/fonts/GOVER.otf) format(opentype);
}
@font-face {
  font-family:"Main" ;
  src: url(assets/fonts/Badd-Mono-Regular.otf) format(opentype);
}
/* Offset targets so sticky nav doesn't cover headings */
#social-cards,
#video-showcase,
#about,
#gallery {
  scroll-margin-top: 80px;  /* match your sticky nav height */
}


/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  background: url('assets/gallery/CMFlag.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
}

/* Cinematic vignette + overlay (darker edges, not cheesy) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 55%, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%),
    rgba(0,0,0,0.5); /* tweak this alpha for lighter/darker */
  z-index: 1; /* sits above ::after, below text */
}

/* Ken Burns slow zoom/pan on the background */
.hero::after {
  content: '';
  position: absolute;
  inset: -5%;
  background: inherit;         /* reuse hero bg */
  background-size: cover;
  background-position: center;
  transform: scale(1);
  animation: heroKenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 0; /* under the vignette */
}

@keyframes heroKenBurns {
  0%   { transform: scale(1) translate3d(0,0,0); }
  100% { transform: scale(1.08) translate3d(0,-1.5%,0); }
}

/* Optional animated grain overlay (add <div class="grain"></div> inside .hero) */
.hero .grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2; /* above vignette, below text */
  background: url('assets/textures/grain.png') repeat;
  opacity: .08;
  mix-blend-mode: soft-light;
  animation: grainShift 6s steps(2, end) infinite;
}
@keyframes grainShift {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(2%,-2%,0); }
  100% { transform: translate3d(0,0,0); }
}

/* Text/buttons above overlays */
.hero-title,
.floating-buttons {
  z-index: 3;
  position: relative;
}

/* Headline: clean clipped reveal on load */
.hero-title {
  font-family: "Title";
  font-size: 10vw;
  color: rgb(241, 239, 239);
  clip-path: inset(100% 0 0 0);
  animation: titleReveal .9s cubic-bezier(.17,.67,.26,1) forwards .3s;
  letter-spacing: .02em;
  text-transform: uppercase;
  will-change: clip-path, transform, opacity;
}
@keyframes titleReveal {
  0%   { clip-path: inset(100% 0 0 0); transform: translateY(8px); opacity: .4; }
  100% { clip-path: inset(0 0 0 0);    transform: translateY(0);    opacity: 1;  }
}

.floating-buttons {
  position: absolute;
  bottom: 2rem;
  display: flex;
  gap: 1rem;
}

/* Buttons: tactile "hard press" micro-motion */
.hero-btn,
.nav-btn,
.card-btn,
.feature-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  border-radius: 30px;
  background: transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .3s ease, color .3s ease, border-color .3s ease;
  transform: translateZ(0);
}
.hero-btn:hover,
.nav-btn:hover,
.card-btn:hover,
.feature-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px) scale(1.01) skewY(-.3deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.hero-btn:active,
.nav-btn:active,
.card-btn:active,
.feature-btn:active {
  transform: translateY(0) scale(.995);
  box-shadow: none;
}
/* ===== Mobile + Tablet tweaks for HERO (face visible + better layout) ===== */
@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 80vh;
    padding: 2rem 1rem;

    /* shift crop so the bottom-left of the image is visible */
    background-position: 20% 80%;   /* x=left-ish, y=lower */
    background-size: cover;
  }

  /* match ::after (Ken Burns layer) to the new focal point */
  .hero::after {
    background-position: 20% 80%;
    animation-duration: 16s; /* slightly quicker for smaller screens */
  }

  /* lighten vignette for better face visibility */
  .hero::before {
    background:
      radial-gradient(80% 60% at 50% 55%, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%),
      rgba(0,0,0,0.45);
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 5rem);
    line-height: 1.05;
    padding: 0 .5rem;
    max-width: 95%;
  }

  .floating-buttons {
    bottom: 1.2rem;
    flex-direction: column;
    gap: .8rem;
    width: 100%;
    align-items: center;
  }

  .hero-btn {
    width: 80%;
    font-size: .95rem;
  }
}

/* Even tighter focal tweak on very small phones */
@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-position: 18% 85%; /* push further to keep face visible */
  }

  .hero::after {
    background-position: 18% 85%;
  }

  @media (max-width: 480px) {
    .nav-btn {
      font-size: 0.45rem;   /* make text smaller */
      padding: 0.15rem;     /* tighten button spacing */
    }
  
    .nav-buttons {
      gap: 0.25rem;         /* small gap so they don’t collide */
    }
  }
  
}


/* ===== STICKY NAV (base) ===== */
.sticky-nav {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  background: #242424;
  color: rgb(245, 243, 243);
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* fluid padding with safe-area support */
  padding: clamp(.5rem, 1.8vw, 1rem) clamp(1rem, 3vw, 2rem);
  padding-left: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-right));
  transition: top 0.3s ease, padding .2s ease;
  z-index: 999;
  gap: clamp(.5rem, 1.5vw, 1rem);
}

/* Optional: shrink padding slightly when you add .is-compact on scroll */
.sticky-nav.is-compact { padding-block: clamp(.35rem, 1vw, .6rem); }

.nav-logo {
  font-family: 'Title';
  /* fluid logo size + ellipsis to avoid collisions */
  font-size: clamp(1rem, 3.4vw, 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* cap max width so buttons have room on small screens (desktop behavior) */
  max-width: 42vw;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.2vw, 1rem);
  /* allow overflow scrolling on narrow screens without wrapping the style */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 56vw; /* plays with .nav-logo max-width */
}
.nav-buttons::-webkit-scrollbar { display: none; }

/* Keep your nav-btn style; make size fluid and touch-friendly */
.nav-btn {
  border: 1px solid rgb(243,242,242);
  color: rgb(243,242,242);
  background: transparent;
  font-size: clamp(.62rem, 2.2vw, .9rem);
  line-height: 1;
  padding: clamp(.35rem, 1.2vw, .55rem) clamp(.55rem, 2vw, .9rem);
  border-radius: 999px;               /* keeps your non-rectangle feel */
  white-space: nowrap;
  /* prevents huge growth on long words */
  max-width: 100%;
}
.nav-btn:hover { background: #000; color: #fff; }

/* ===== Breakpoints ===== */

/* Center nav + text on all mobile & tablet screens */
@media (max-width: 1024px) {
  .sticky-nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* centers logo text */
  }

  .nav-logo {
    order: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: .6rem;
  }

  .nav-buttons {
    order: 1;
    width: 100%;
    max-width: 100%;
    justify-content: center;   /* centered nav links */
    flex-wrap: wrap;
    gap: clamp(.5rem, 2vw, .75rem);
    overflow-x: auto;          /* still scrollable if too many links */
  }

  .nav-btn { margin: 0 auto; }
}

/* Tablets and big phones (portrait) */
@media (max-width: 820px) {
  .sticky-nav { gap: .5rem; }
}

/* Common phones */
@media (max-width: 600px) {
  /* Allow two-line stack with clean spacing */
  .sticky-nav { flex-wrap: wrap; row-gap: .4rem; }
  .nav-logo { margin-bottom: .5rem; }
  .nav-buttons { justify-content: center; } /* keep centered on phones */
}

/* Small phones (390–480px) */
@media (max-width: 480px) {
  .sticky-nav { padding-inline: max(.75rem, env(safe-area-inset-left)); }
  .nav-btn {
    font-size: clamp(.58rem, 3.2vw, .72rem);
    padding: .35rem .6rem;
  }
  .nav-buttons { gap: .5rem; }
}

/* Very small phones (≤360px) + landscape crunch */
@media (max-width: 360px), (max-height: 420px) and (orientation: landscape) {
  .nav-btn {
    font-size: .55rem;
    padding: .3rem .5rem;
  }
  .sticky-nav { padding-block: .4rem; }
}



/* ===== POSTER SHOWCASE (Original + Extras) ===== */
.poster-showcase {
  background: #1a1a1a;
  color: #eaeaea;
  font-family: 'Main';
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  border: 10px solid #000;
  overflow: hidden;
}

/* Texture overlay for grain/paper effect (original) */
.poster-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('assets/textures/grain.png') repeat;
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

/* --- EXTRA: optional animated grain layer (add <div class="grain"></div> inside .poster-showcase) --- */
.poster-showcase .grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;                /* above ::before texture, below content */
  background: url('assets/textures/grain.png') repeat;
  opacity: .08;
  mix-blend-mode: soft-light;
  animation: grainShift 6s steps(2, end) infinite;
}

/* ===== Poster Links (Desktop + Mobile Unified) ===== */
.poster-link {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #c9c9c9;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  margin: 0.25rem;
  position: relative;
  display: inline-flex;             /* aligns text + icon nicely */
  align-items: center;
  gap: 0.4rem;                      /* spacing between text and icon */
  border: 1px solid #6c4dff;
  border-radius: 4px;
  background: rgba(108,77,255,0.06);
  transition: all 0.3s ease;
}

/* Decorative underline (desktop flavor) */
.poster-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 2px;
  background: #6c4dff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* Add visual icon to all links */
.poster-link::before {
  content: '↗';                     /* universal interactive icon */
  font-size: 0.9em;
  color: #6c4dff;
  transition: color 0.3s ease;
}

/* Hover / focus styles */
.poster-link:hover,
.poster-link:focus {
  background: #6c4dff;
  color: #fff;
  border-color: #6c4dff;
}
.poster-link:hover::after { 
  transform: scaleX(1);
  transform-origin: left;
}
.poster-link:hover::before,
.poster-link:focus::before {
  color: #fff;
}

/* ===== Tablet & Mobile Enhancements ===== */
@media (max-width: 1024px) {
  .poster-link {
    font-size: 1.05rem;
    padding: 0.45rem 0.85rem;
    background: rgba(108,77,255,0.12); /* slightly stronger bg */
  }
  .poster-link::after { content: none; } /* cleaner on small screens */
}

@media (max-width: 480px) {
  .poster-link {
    font-size: 1.15rem;
    padding: 0.55rem 1rem;
    width: 100%;                     /* full-width buttons */
    text-align: center;
    justify-content: center;          /* center text + icon */
    margin: 0.4rem 0;
  }
}


/* ===== IMAGE SPACER ===== */
.image-spacer {
  width: 100%;
  overflow: hidden;
  margin: 3rem 0; /* spacing above/below */
}

.image-spacer img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  max-height: 60vh;   /* cap height so it doesn’t swallow the page */
  filter: grayscale(20%) contrast(1.1) brightness(0.9);
}


/* ===== SOCIAL CARDS ===== */
.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: #0f0f0f;
}
.card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.8);
}
.card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(40%) contrast(1.2);
  transition: filter .35s ease, transform .35s ease, box-shadow .35s ease; /* photocopy edge hover */
}
.card:hover .card-header img {
  transform: scale(1.015);
  filter: grayscale(100%) contrast(1.35) brightness(.9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 8px 28px rgba(0,0,0,.65);
}
.card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: #f5f5f5;
  margin: 0.5rem 0;
  letter-spacing: 1px;
}
.card p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
}
.card-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: #f5f5f5;
  border: 1px solid #f5f5f5;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

/* ===== SCROLL REVEAL UTILS ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; will-change: opacity, transform; }
.reveal.is-inview { opacity: 1; transform: none; }

/* ===== MEDIA QUERIES ===== */
/* Tablet adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(3rem, 14vw, 8rem);
    line-height: 1.1;
    padding: 0 1rem;
    word-break: break-word;
  }
  .floating-buttons { bottom: 1.5rem; }
  .hero-btn { font-size: 0.9rem; padding: 0.7rem 1.2rem; }
  .nav-logo { font-size: 1.2rem; }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 80vh;
    background-size: cover;
    background-position: 20% center;
    padding: 2rem 1rem;
  }
  .hero-title {
    font-size: clamp(2rem, 12vw, 5rem);
    line-height: 1.05;
    text-align: center;
    max-width: 95%;
  }
  .floating-buttons {
    flex-direction: column;
    bottom: 1rem;
    gap: 0.8rem;
    width: 100%;
    align-items: center;
  }
  .hero-btn { width: 80%; font-size: 0.95rem; }
  .sticky-nav { padding: 0.7rem 1rem; }
  .nav-buttons { gap: 0.5rem; }
  .nav-btn { font-size: 0.85rem; padding: 0.4rem 1rem; }

  /* Poster section adjustments */
  .poster-title {
    font-family: "Title" !important;
    font-size: clamp(2rem, 10vw, 4rem);
    max-width: 90%;
    margin: 1rem auto;
    line-height: 1.1;
  }
  .poster-image { max-width: 100%; height: auto; }
  .poster-image img { width: 100%; height: auto; max-height: 60vh; object-fit: cover; }
  .poster-caption { font-size: 0.8rem; line-height: 1.3; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero {
    min-height: 70vh;
    background-position: 10% center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 3rem);
    padding: 0 0.3rem;
    line-height: 1.1;
  }
  .hero-btn { width: 90%; font-size: 0.9rem; }
  .nav-logo { font-size: 1rem; }
  .nav-btn { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
  .poster-title { font-size: clamp(1.5rem, 12vw, 3rem); line-height: 1.05; margin-bottom: 1rem; }
  .poster-image img { max-height: 50vh; }
  .poster-caption { font-size: 0.75rem; padding: 0.5rem; }
}

/* ===== PREFERS-REDUCED-MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero .grain,
  .hero-title,
  .reveal { animation: none !important; }
  .hero-title { clip-path: none; transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== VIDEO SHOWCASE (mobile-first, fluid) ===== */
.video-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 3vw, 2rem);
  background: #1a1a1a;
  color: #f2f2f2;
  font-family: 'main';
}

/* Use fluid widths; stack by default for small screens */
.video-left,
.video-right {
  width: 100%;
  max-width: none;
}

/* Headings scale smoothly */
.video-heading {
  font-size: clamp(1.3rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.video-subheading {
  font-size: clamp(.9rem, 1.7vw, 1rem);
  font-weight: 400;
  letter-spacing: .04em;
  color: #aaa;
  margin-bottom: clamp(1rem, 2.2vw, 2rem);
}

/* Keep semantic <ol>, but style with counters so numbering is visible everywhere */
.video-list {
  counter-reset: vidItem;
  list-style: none;             /* we’ll render our own numbers */
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: clamp(.5rem, 1.2vw, 1rem);
}

.video-list li {
  counter-increment: vidItem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: .75rem;
}

/* Number badge (leading zero) */
.video-list li::before {
  content: counter(vidItem, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  display: inline-grid;
  place-items: center;
  min-width: 2.1em;
  height: 2.1em;
  padding: 0 .25em;
  border-radius: .6em;
  background: rgba(108,77,255,0.15);
  color: #cdbaff;
  border: 1px solid #6c4dff;
  font-size: .9rem;
  line-height: 1;
  margin-top: .1rem; /* aligns better if link wraps */
}

/* Video links: fluid size + better tap targets */
.video-list a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: clamp(.95rem, 1.7vw, 1rem);
  line-height: 1.3;
  transition: color 0.25s ease, opacity .25s ease;
  outline: none;
}

.video-list a:hover { color: #6c4dff; }
.video-list a:focus-visible {
  outline: 2px solid #6c4dff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Channel links (YouTube/TikTok/etc.) */
.channel-link {
  display: inline-block;
  margin: .5rem 1rem .5rem 0;
  padding: .45rem .85rem;
  font-size: clamp(.9rem, 1.6vw, .95rem);
  font-weight: 500;
  color: #6c4dff;
  text-decoration: none;
  border: 1px solid #6c4dff;
  border-radius: 6px;
  background: rgba(108,77,255,0.06);
  transition: all .25s ease;
}
.channel-link:hover {
  background: #6c4dff;
  color: #fff;
  border-color: #6c4dff;
}

/* Responsive player maintains aspect ratio */
.video-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== BREAKPOINTS ===== */

/* ≥769px: side-by-side layout */
@media (min-width: 769px) {
  .video-showcase {
    flex-direction: row;
    align-items: flex-start;
  }
  .video-left  { flex: 1; max-width: 420px; }
  .video-right { flex: 2; max-width: 860px; }
}

/* Tablets & small laptops */
@media (max-width: 1024px) {
  .video-showcase { gap: 2rem; }
}

/* Phones & portrait tablets: center content */
@media (max-width: 768px) {
  .video-showcase {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .video-left,
  .video-right { max-width: 100%; }

  /* Center list but keep numbers visible */
  .video-list {
    justify-items: center;
  }
  .video-list li {
    /* make each row width-constrained for nice wrapping */
    width: min(700px, 100%);
    grid-template-columns: auto 1fr;
    text-align: left; /* keep link text readable while block is centered */
  }

  /* Channel links stack neatly */
  .channel-link {
    display: inline-block;
    margin: .5rem .4rem 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .video-showcase {
    padding: 1.5rem .8rem;
    gap: 1.25rem;
  }
  .video-frame { padding-bottom: 60%; } /* a bit taller on tiny screens */

  /* Slightly smaller number badge so rows don’t feel cramped */
  .video-list li::before {
    min-width: 1.9em;
    height: 1.9em;
    font-size: .85rem;
  }
}


.feature-section {
  display: flex;
  flex-wrap: wrap;
  background: #111;
  color: #f2f2f2;
  padding: 4rem 2rem;
  align-items: center;
  justify-content: center;
}

.feature-image {
  flex: 1;
  position: relative;
  min-width: 280px;
  max-width: 600px;
  margin-bottom: 2rem;
}

.feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.2) brightness(0.85);
  border: 4px solid #000;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.7);
}

.feature-year {
  font-family: "Title";
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px #6c4dff;
  opacity: 0.8;
}

.feature-content {
  flex: 1;
  max-width: 600px;
  padding: 1rem 2rem;
}

.feature-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  color: #fff;
}

.feature-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #6c4dff;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 2rem;
}

.feature-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid #6c4dff;
  color: #6c4dff;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.feature-btn:hover {
  background: #6c4dff;
  color: #111;
  box-shadow: 0 0 18px rgba(108,77,255,0.8);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .feature-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 1.2rem; /* adds space between children (like your buttons) */
  }

  .feature-year {
    font-size: 3rem;
  }

  .feature-title {
    font-size: 2.2rem;
  }

  .feature-btn {
    margin: 0.5rem 0;   /* extra vertical space if you want */
    width: 100%;        /* make them full-width on mobile */
    max-width: 320px;   /* but don’t let them get too wide */
    margin-inline: auto;/* keep them centered */
  }
}

/* ===== SOCIAL CARDS (grid + square thumbnails) ===== */
.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 3vw, 2rem);
  background: #0f0f0f;
}

.card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.8);
}

/* ===== Square Thumbnails ===== */
.card-header {
  width: 100%;
  aspect-ratio: 1 / 1;       /* force square shape */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.card-header img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;        /* show full image without cropping */
  object-position: center;    /* keep image centered */
  filter: grayscale(30%) contrast(1.15);
  transition: transform 0.35s ease;
}

.card-header img:hover {
  transform: scale(1.05);     /* subtle zoom for appeal */
}

/* ===== Card Content ===== */
.card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.4rem);
  color: #f5f5f5;
  margin: 0.5rem 0;
  letter-spacing: 1px;
}

.card p {
  font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  color: #aaa;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.card-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: #f5f5f5;
  border: 1px solid #f5f5f5;
  text-decoration: none;
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.25s ease;
}
.card-btn:hover {
  background: #f5f5f5;
  color: #111;
  box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

/* ===== Responsive Breakpoints ===== */

/* Tablets */
@media (max-width: 1024px) {
  .social-cards {
    gap: 1.25rem;
    padding: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .social-cards {
    grid-template-columns: 1fr 1fr; /* two columns */
    gap: 1rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .social-cards {
    grid-template-columns: 1fr; /* single column */
    gap: 0.8rem;
    padding: 1rem;
  }
}



/* ========== Responsive Gallery (polished) ========== */

/* Center text block at top of gallery */
.orbit-gallery .center-content {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
}

.orbit-gallery .center-content h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff; /* adjust based on your background */
  text-shadow: 0 2px 6px rgba(0,0,0,0.4); /* ensures readability */
  margin-bottom: 0.5rem;
}

.orbit-gallery .center-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ddd; /* lighter subtext */
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin: 0 auto;
  max-width: 600px;
}

/* --- Grid --- */
.orbit-images {
  /* QoL variables so sizing tweaks are easy */
  --gap: 16px;
  --min: 180px;              /* base min column width */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--min), 1fr));
  gap: var(--gap);
  padding: 12px;
}

/* Desktop / large screens: bigger tiles + smarter fill to avoid gaps */
@media (min-width: 901px) {
  .orbit-images {
    /* Use auto-fit on desktop so empty tracks collapse (reduces stray gaps) */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    --gap: 18px;
    padding: 16px;
  }
}

.orbit-images img {
  width: 100%;
  aspect-ratio: 4 / 5;             /* consistent card shape */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  opacity: .98;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
  /* a11y: show focus when keyboard navigating */
  outline: none;
}
.orbit-images img:focus-visible {
  outline: 2px solid #6c4dff;
  outline-offset: 2px;
  border-radius: 12px;
}

/* Gentle lift on hover (ignored on touch) */
@media (hover: hover) and (pointer: fine) {
  .orbit-images img:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
  }
}

/* Tablet tweaks (LEAVE MOBILE/TABLET BEHAVIOR) */
@media (max-width: 900px) {
  .orbit-images {
    --gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Mobile tweaks (unchanged layout, just small polish) */
@media (max-width: 600px) {
  .orbit-images {
    --gap: 10px;
    padding: 10px;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .orbit-images img { border-radius: 8px; }
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  inset: 0;
  display: none;                    /* toggled to flex in JS */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(1px);
  padding: clamp(12px, 3vw, 24px);
}

.modal.open { display: flex; }

.modal-content {
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;              /* no blur, preserve resolution */
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: zoom .25s ease;
  cursor: zoom-out;
}

@keyframes zoom {
  from { transform: scale(.9); opacity: .6; }
  to   { transform: scale(1);  opacity: 1; }
}

/* Close button */
.close {
  position: absolute;
  top: clamp(10px, 3vw, 18px);
  right: clamp(10px, 3vw, 18px);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .close:hover { transform: scale(1.08); opacity: .9; }
}

/* Caption */
.caption {
  margin-top: 10px;
  text-align: center;
  color: #cfcfcf;
  font-size: clamp(14px, 2.5vw, 16px);
  max-width: min(92vw, 800px);
}

/* Disable background scroll when modal open */
body.modal-open { overflow: hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .orbit-images img,
  .modal-content { transition: none; animation: none; }
}

/* ========== Reveal (as before, minor tidy) ========== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.995);
  transition:
    opacity .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    filter .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
  filter: saturate(0.9) blur(.3px);
  transform-origin: 50% 60%;
}
.reveal.is-inview {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Direction variants */
.reveal--up     { transform: translate3d(0, 20px, 0) scale(0.995); }
.reveal--down   { transform: translate3d(0,-20px, 0) scale(0.995); }
.reveal--left   { transform: translate3d(-24px,0, 0) scale(0.995); }
.reveal--right  { transform: translate3d(24px, 0, 0) scale(0.995); }
.reveal--scale  { transform: scale(0.96); }

/* Post-anim cleanup to reduce GPU work */
.reveal.is-done { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-inview {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}



