html, body{
  width: 100%;
  scroll-behavior: smooth;
}

body {
  padding-top: 6rem;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background:

    radial-gradient(900px 1080px at 50% -1.8%,
      rgba(52, 148, 78, 0.20),
      #1b78ff00 62%
    );

    background-repeat: no-repeat;
}

@media (min-width: 652px) {
    body {
        background:

        radial-gradient(2500px 1080px at 50% -1%, rgba(52, 148, 78, 0.20),#1b78ff00 62%
    );
    }
}


H1, H2, H3, H4, H5, H6{
    font-family: "DM Sans", sans-serif;
    font-weight: normal;
}


/* ===== GLOBAL VARS ===== */
:root{
  --nav-h: 56px;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);

  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);

  /* Button colors (from your Figma list) */
  --btn-primary: #6F8F7D; /* <-- replace with your exact Figma “Primary” if different */
  --btn-white: #FFFFFF;
  --btn-tint:  #F6F5F8;

  /* Hero colors */
  --hero-accent: #18c9ff;
  --hero-text: rgba(255,255,255,0.92);
  --hero-muted: rgba(255,255,255,0.68);
}

*{ box-sizing:border-box; }
a{ color:inherit; text-decoration:none; }


/* ===== NAV ===== */
.site-header{
  padding: 34px 18px;
  display:flex;
  justify-content:center;

  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99999;
}



.nav{
  width: min(1100px, 100%);
  height: var(--nav-h);
  padding: 35px 22px;
  display:flex;
  align-items:center;
  gap: 12px;

  /* glass */
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.279);
  border-radius: 999px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* subtle separation */
  box-shadow:
    0 14px 30px rgba(0,0,0,0.45),
    0 1px 0 rgba(255,255,255,0.01) inset;

  position: relative;
  z-index: 9999;
}


/* Brand */
.brand{
  display:flex;
  flex-direction:column;
  line-height:1;
  padding: 4px 10px;
  border-radius: 12px;
  white-space:nowrap;
}

/* ✅ Responsive logo sizing */
.brand img{
  display:block;
  height: clamp(125px, 2.2vw, 200px); /* scales with screen */
  width: auto;                      /* keeps SVG proportions */
  max-width: 140px;                 /* prevents it from getting huge */
  object-fit: contain;
}

/* Links (desktop) */
.nav__links{
  margin-inline: auto;
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 0 10px;
}

.nav__link{
  font-size: 15px;
  color: black;
  padding: 10px 6px;
  position: relative;
  transition: color 160ms ease, transform 160ms ease;
}
.nav__link:hover{
  color: black;
  transform: translateY(-1px);
}


.nav__link.is-active{
  color: black;
  font-weight: bold;
}


.nav__link.is-active::after{
  content:"";
  position:absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 99px;
}




/* CTA button (right) */
.nav__cta{
  position: relative;
  overflow: hidden;
  background-color: #6F8F7D;

  display:inline-flex;
  align-items:center;
  gap: 8px;

  padding: 10px 14px;
  height: calc(var(--nav-h) - 16px);
  border-radius: 999px;

  color: var(--btn-white);
  font-size: 13px;
  white-space:nowrap;

  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 10px 18px rgba(0,0,0,0.20);
  transition: transform 180ms ease, filter 180ms ease;
}
.nav__cta::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.20) 0%,
    rgba(246,245,248,0.07) 55%,
    rgba(255,255,255,0.00) 100%
  );
  pointer-events:none;
}
.nav__cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.nav__cta:active{
  transform: translateY(0px);
  filter: brightness(0.98);
}

.nav__cta-icon{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;

  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(246,245,248,0.07);
}
.nav__cta-icon svg{
  width: 14px;
  height: 14px;
  color: var(--btn-white);
}



/* Toggle (mobile) */
.nav__toggle{
  display:none;
  margin-left:auto;
  width: 42px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
    background: rgb(111, 143, 125);
  cursor:pointer;
}
.hamburger{
  width: 18px;
  height: 12px;
  display:grid;
  gap: 3px;
  margin: 0 auto;
}
.hamburger span{
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,0.85);
}

/* Focus styles */
.nav__link:focus-visible,
.nav__cta:focus-visible,
.nav__toggle:focus-visible,
.brand:focus-visible{
  outline: 2px solid rgba(255,255,255,0.75);
  outline-offset: 3px;
  border-radius: 999px;
}

/* Responsive nav */
@media (max-width: 820px){
  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav__links{
    position:absolute;
    left: 50%;
    top: calc(100% + 6px);
    width: calc(100% - 18px);

    transform: translateX(-50%) translateY(-10px);

    display:flex;
    flex-direction:column;
    gap: 10px;
    padding: 16px;

    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.10);
    background: white;
    backdrop-filter: blur(12px);

    box-shadow:
      0 18px 36px rgba(0,0,0,0.50),
      0 2px 0 rgba(255,255,255,0.04) inset;

    z-index: 50;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;

    transition:
      max-height 520ms cubic-bezier(.16, 1, .3, 1),
      opacity 340ms ease,
      transform 520ms cubic-bezier(.16, 1, .3, 1);
  }

  .nav__link{
    width: 100%;
    padding: 14px 14px;
    border-radius: 16px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);

    transition: background 180ms ease, transform 180ms ease, color 180ms ease;
  }

  .nav__link:hover{
    background: rgba(255,255,255,0.07);
    transform: translateY(-1px);
    color: #272928;
  }

  .nav__link.is-active::after{ display:none; }

  .nav.is-open .nav__links{
    max-height: 520px;
    opacity: 1;
    transform: translateX(-50%) translateY(0px);
    pointer-events: auto;
  }
}

@media (max-width: 420px){
  .site-header{ padding: 12px; }
  .nav{ padding: 10px; }
  .brand__name{ font-size: 15px; }
  .nav__cta{ padding: 10px 12px; }

  .nav__links{
    top: calc(100% + 4px);
    width: calc(100% - 14px);
    padding: 14px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce){
  .nav__links{ transition: none; }
  .nav__link{ transition: none; }
  .nav__cta{ transition: none; }
}



/* =========================
=======HERO SECTION========= */
.hero-section {
    padding-top: 3rem;
    position: relative;
}


.hero-content {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    text-align: center;
    padding: 1.2rem;
}

.hero-title {
    position: relative;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500;
    display: inline-block; /*makes the width match the title*/
}


.volume-img {
    position: absolute;
    bottom: 100%;                 /* sits ABOVE the H1 */
    left: 50%;
    transform: translateX(-50%);

    width: 10em;                  /* <-- THIS makes it scale with H1 font size */
    height: auto;
    margin-bottom: 0.5em;         /* spacing also scales with font */
}


.squiggle-img {
    position: absolute;
    left: 0;
    bottom: -0.3em;
    width: 100%;
}




.span-green {
    color: #6F8F7D;
}

.warm {
    color: #4A4C56;
}

/* SQUIGGLE SVG POSITION CODE */
.name {
    position: relative;
    display: inline-block; /* makes the width match the text */
}


.hero-img {
    position: relative;
    width: 100%;
    height: clamp(300px, 45vw, 420px);
    border-radius: 30px;
    background: url("images/backgrounds/headphones.png") center/cover no-repeat;
    margin-top: 2.5rem;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}


.hero-img-des {
    z-index: 2;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.5rem;
    max-width: 650px;
    letter-spacing: 1.2px;
}

.star-left,
.star-right {
    position: absolute;
    width: clamp(40px, 8vw, 80px);
    opacity: 01;
    z-index: 5;
}

.star-left {
    top: 10%;      /* sits ABOVE the hero image */
    left: 12%;
}

.star-right {
    top: 10%;
    right: 12%;
}





@media (min-width: 430px) {
    .hero-section {
        margin: 3rem;
    }
}

@media (min-width: 700px) {
    
    .hero-img {
        
        height: 500px;
    }
    
    .hero-img-des {
        text-align: left;
    }
}

@media (min-width: 1000px) {
    .hero-img {
        width: 100%;
        height: 500px;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        margin-top: 7rem;
    }

    .hero-img {
        width: 90%;
        height: 620px;
    }    
}

@media (max-width: 700px) {
    
    .hero-section {
        margin-top: 2rem;
    }
    .star-left {
    display: none;
    }

    .star-right {
    display: none;
    }
}


/* SHOWCASE CONTENT */

.showcase-title {
    display: flex;
    letter-spacing: 2px;
    font-size: clamp(12px, 8vw, 1.7rem);
    padding: 2rem 0rem 0rem 2rem;
    color: #2F3C35;
}

.showcase-title h1 {
    font-family: "DM Sans", sans-serif;
    font-weight: 500; /* Example of using a specific weight */
}

.name-2 {
    position: relative;
    display: inline-block; /* makes the width match the text */
}



.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    color: black;
}

.card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    margin: 1.2rem 2rem 2rem 2rem;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-author {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);


    width: 60px;       /* circle size */
    height: 60px;
    background: rgba(111, 143, 125, 0.473);
    border-radius: 50%;   /* <-- perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(111, 143, 125, 0.733), transparent);
}

.card-title {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    font-weight: 500;
}


@media (min-width: 700px) {
    
    .showcase-section {
        margin: 4rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 1000px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-section {
      margin: 0 auto;
    }
}

@media (min-width: 1400px) {
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .showcase-section {
      margin: 5rem;
    }

}    





/* -------------------------
   SECTION BASE LAYOUT
------------------------- */
.audio-reels {
    padding: 7rem 1.5rem;
    background-color: #F1F4F2;
    margin-bottom: 5rem;
}

.audio-header {
    text-align: center;
    font-size: 2.5rem;
    color: #2F3C35;
    font-weight: 600;
    margin-bottom: 3rem;
    position: relative;
}

.audio-squiggle {
    position: absolute;
    left: 0;
    bottom: -0.3em;
    width: 100%;
    height: 7px;
}




/* -------------------------
   TOGGLE BUTTONS
------------------------- */
.audio-toggle {
    background: #e7e8ea;
    width: fit-content;
    margin: 0 auto 2rem;
    padding: 0.3rem;
    border-radius: 50px;
    display: flex;
    gap: 0.25rem;
}

.toggle-btn {
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-size: 1rem;
    color: #2f2f2f;
}

.toggle-btn.active {
    background: #6f8f7d;
    color: white;
}

/* -------------------------
   AUDIO CARDS BASE
------------------------- */
.audio-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audio-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: white;
}

/* Narration card highlighted */
.narration-card.active {
    background: #aabfb3;
}

/* -------------------------
   CARD HEADER
------------------------- */
.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.card-header .left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-header h3 {
    font-size: 1.1rem;
    color: #2f463d;
}

.card-header .narriation-h3 {
  color: white;
}

.white {
  color: white;
}

.mic-icon {
    width: 20px;
}

.time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #4a4c56;
    font-size: 0.9rem;
}

.time img {
    width: 18px;
}

/* -------------------------
   AUDIO CONTROLS — FIXES EVERYTHING
------------------------- */
.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-play-btn img {
    width: 50px;
    height: 50px;
}

.waveform {
    flex: 1;          /* Fills all remaining space */
    max-width: 100%;
    height: auto;
}

.audio-download-btn img {
    width: 26px;
}

.audio-play-btn {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    cursor: grab;
}

.audio-play-btn img {
    display: block;   /* removes inline spacing */
}


@media (min-width: 950px) {
  .audio-cards {
    flex-direction: row;
    justify-content: center;
  }
}


.audio-card {
    overflow: hidden;        /* Prevents pushing layout */
    border-radius: 12px;     /* Matches your design */
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 1rem;
}

.waveform {
    flex: 1;                 /* expands naturally between play + download buttons */
    min-width: 67%;         /* prevents overflow */
    height: auto;
}



/* submit button */
.contact__btn{
  justify-self: end;
  margin-top: 6px;

  display: inline-block;
  align-items: center;
  gap: 10px;

  padding: 12px 16px 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);

  background: #6F8F7D;
  color: #fff;

  font-size: 14px;
  text-decoration: none;

  cursor: pointer;

  transition: transform 180ms ease, filter 180ms ease;
}

.contact__btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.contact__btn:active{
  transform: translateY(0px);
  filter: brightness(0.98);
}

.contact__btn-icon{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.92);
  color: rgba(11,60,255,0.95);
}





/* CALL TO ACTION SECTION */
.cta-section {
    max-width: 1200px;
    margin: 1.5rem;
  }

.cta-content {
    position: relative;
    width: 100%;
    background: linear-gradient(60deg, rgb(159, 180, 168), rgba(196, 217, 205, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 2rem;
    border-radius: 1rem;
    margin-top: 0;
    padding-bottom: 5rem;
}

.cta-eq-2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    
}


.cta-text h1 {
    font-size: clamp(1.2rem, 3vw, 2.rem);
    max-width: 600px;
    text-align: center;
    line-height: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 1px;
    font-weight: 500;
}

.cta-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers the button + text */
    text-align: center;
}


.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: white;
    color: black;
    border-radius: 999px;
    font-size: 15px;
    
    margin: 2rem;
}

.cta-img {
    /* width: 100%; */
    display: flex;
    justify-content: center;
  }

.cta-img img {
    /* width: 100%; */
    max-width: 250px;
    border-radius: 1.5rem;
}



@media (min-width: 800px){
    .cta-section {
      margin: 2rem;
  }  
  
  .cta-eq-2{
        width: 60%;
    }

    .cta-content {
      flex-direction: row;
      padding-bottom: 7rem;
    }

    .cta-text {
      align-items: flex-start;
    }

    .cta-text h1 {
        text-align: left;
        /* padding-left: 2rem; */
    }
    
}

@media (min-width: 890px) {

  .cta-section {
      margin: 2rem;
  }  
  
    .cta-content{
        flex-direction: row;
        justify-content: space-between;
        padding: 3rem 4rem;
    }

    .cta-text {
        align-items: flex-start;
    }

    .cta-text h1 {
        text-align: left;
    }

    .cta-button {
        margin-left: 0;
    }

    .cta-eq-2{
        width: 50%;
    }
}


@media (min-width: 1000px) {
  .cta-content {
    padding-bottom: 7rem;
  }
  .cta-section {
      margin: 2rem;
  }
}

@media (min-width: 1200px) {

    .cta-eq-2{
        width: 70%;
        height: 25%;
    }

.cta-img img {
    /* width: 100%; */
    max-width: 300px;
    border-radius: 1.5rem;
}

.cta-section {
  margin: 2rem auto;
}

}


/* ===================== */
/* ====== FOOTER ======= */
/* ===================== */
.footer{
  padding: clamp(56px, 6vw, 90px) 18px 26px;
  background: url(images/backgrounds/footer-bg.png);
  background-size: cover;
  background-position: center;
  min-width: 40%;
  height: auto;
  margin: 1.2rem;
  border-radius: 1.5rem;
}

.footer__container{
  width: min(1200px, 100%);
  margin: 0 auto;
  position: relative;
}

/* TOP ROW */
.footer__top{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.footer__brand{
  max-width: 420px;
}

.footer__logo{
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.footer__logo img {
  width: clamp(22rem, 14vh, 12rem);  
  height: auto;                    /* keeps SVG proportions */
  max-width: 140px;  
  object-fit: contain;
 
}


.footer__logo-name{
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.889);
  letter-spacing: 0.2px;
}

.footer__logo-tag{
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.889);
}


.footer-h1 {
  margin: 18px 0 18px;
  color: rgba(255, 255, 255, 0.889);
  line-height: 1.25;
  max-width: 360px;
}

.footer__blurb{
  margin: 18px 0 18px;
  color: rgb(255, 255, 255);
  line-height: 1.65;
  font-size: 14px;
  max-width: 360px;
}


.span-underline {
    text-decoration: underline;
    color: white;
}

/* Socials */
.footer__social{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__social-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow: 0 16px 28px rgba(0,0,0,0.35);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.footer__social-btn svg{
  width: 18px;
  height: 18px;
}

.footer__social-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(24,201,255,0.35);
}

.footer__social-btn:focus-visible{
  outline: 2px solid rgba(255,255,255,0.75);
  outline-offset: 3px;
}

/* Right columns */
.footer__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 60px);
  justify-content: end;
}

.footer__heading{
  margin: 0 0 16px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: rgb(255, 255, 255);
}

.footer__col{
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer__link{
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.footer__link:hover{
  color: rgba(255,255,255,0.90);
  transform: translateX(2px);
}

.footer__link:focus-visible{
  outline: 2px solid rgba(24,201,255,0.65);
  outline-offset: 4px;
  border-radius: 8px;
}

/* GIANT WORD + BUBBLE */
.footer__hero{
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(30px, 4vw, 46px) 0;
}

.footer__giant{
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-align: center;

  /* huge but still responsive */
  font-size: clamp(24px, 10vw, 62px);
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

.footer__bubble{
  position: absolute;
  inset: auto;
  display: grid;
  place-items: center;

  width: clamp(150px, 18vw, 230px);
  height: clamp(150px, 18vw, 230px);
  border-radius: 999px;
  text-decoration: none;

  background: linear-gradient(90deg, rgba(24,201,255,0.95), rgba(11,60,255,0.95));
  box-shadow:
    0 30px 70px rgba(0,0,0,0.55),
    0 0 70px rgba(24,201,255,0.22);

  border: 1px solid rgba(255,255,255,0.22);
  transform: translateY(-50px);
  transition: transform 180ms ease, filter 180ms ease;
}

.footer__bubble span{
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95);
  font-size: clamp(14px, 1.55vw, 20px);
}

.footer__bubble:hover{
  transform: translateY(-10px) scale(1.01);
  filter: brightness(1.03);
}

.footer__bubble:active{
  transform: translateY(-6px) scale(0.99);
}

/* Bottom */
.footer__bottom{
  margin-top: clamp(26px, 3vw, 40px);
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 14px;
}

/* ===================== */
/* ===== Responsive ===== */
/* ===================== */
@media (max-width: 800px){
  .footer__top{
    grid-template-columns: 2fr;
  }

  .footer__brand{
    max-width: 520px;
  }

  .footer__cols{
    justify-content: start;
  }

  .footer__giant{
    white-space: normal; /* allow wrap on smaller screens */
    line-height: 0.98;
  }

  .footer__bubble{
    position: static;
    margin-top: 18px;
    transform: none;
  }
}

@media (max-width: 520px){
  .footer__cols{
    gap: 26px;
  }

  .footer__hero{
    padding: 26px 0 10px;
  }
}

/* FOOTER ICONS */

.footer__link .phone,.email, .location{
  width: 20px;
  height: 20px;
  /* padding-right: 5px; */
  filter: brightness(0) invert(1);
}

.footer__link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.footer__link .phone, .email, .location{
  display: block;
  height: 1em;
  width: auto;
  flex: 0 0 auto;

  filter: brightness(0) invert(1);
}











/* POP IN ON SCROLL (safe: nothing hides unless JS adds body.reveal) */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Base state: hidden until it enters view */
.fade-on-load{
  opacity: 0;
}

/* Animate only when JS adds .in-view */
.fade-on-load.in-view{
  animation: fadeIn .5s ease-in-out forwards;
}

/* Optional: fade + slide up looks nicer */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* If you want the slide effect instead, swap fadeIn for fadeUp below */
.fade-on-load.in-view{
  animation: fadeUp .6s ease-in-out forwards;
}

@media (prefers-reduced-motion: reduce){
  .fade-on-load{
    opacity: 1;
    transform: none;
    animation: none;
  }
}







/* AUDIO SECTION */


/* 🔹 BACKDROP */
.audio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 🔹 MODAL BOX */
.audio-modal-content {
    background: #aabfb3;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

/* 🔹 CLOSE BUTTON */
.close-modal {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.now-playing-title {
  font-weight: bold;
}



/* VIDEO WRAPPER */

.video-wrapper{
  position: relative;
  width: 100%;
  height: 500px;
  padding-top: 56.25%;
  margin-top: 1rem;
  overflow: hidden;
}

/* iframe fills the wrapper */
.video-wrapper iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* bottom overlay that fades up */
.video-wrapper::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 45%;
  background: linear-gradient(
    to top,
    rgba(23, 74, 58, 0.75),
    rgba(23, 74, 58, 0.35),
    rgba(23, 74, 58, 0)
  );

  pointer-events: none;
}



/* ----------------------------- */
/* FIX BLOCKING ELEMENTS         */
/* ----------------------------- */

/* Gradient overlay should NEVER block clicks */
.card-gradient {
    pointer-events: none;
    z-index: 1;
}

/* Author + Title appear ABOVE video but DO NOT overlap video area */
.card-author,
.card-title {
    position: relative;
    z-index: 10;
    pointer-events: none; /* ensures clicks pass through */
}

/* Play button should stay clickable */
.play-btn {
    position: relative;
    z-index: 20;
    pointer-events: auto; /* restore click behavior for button */
}

/* Ensure card itself does not create stacking conflicts */
.card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
