* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins";
}
:root {
  --bg-color: #080808;
  --second-bg-color: #101010;
  --text-color: white;
  --text-color-heading:#db1010;
  --main-color: #b90d0d;
  --main-color-bright: #db1010
}
html {
  font-size: 60%;
  overflow-x: hidden;
}

body{
  background: var(--bg-color);
  color: var(--text-color);
}

.header{
  position: fixed; /*sticks the header class to the top of screen while scrolling*/
  width: 100%; /* space made inside header */
  top: 0;
  left: 0;
  padding: 4rem 15%;
  background: rgba(0,0,0,0.3); /* makes the header background see through black */
  backdrop-filter: blur(5px); /* creates a blurring effect */
  display:flex; /* makes every element show in a row*/
  justify-content: space-between; /* makes space betwen each element */
  align-items: center; /* centers elements vertically */
  z-index: 1000; /* precation to make sure it stays above other sections*/
}

#menu-icon{
  font-size: 3.5rem;
  color: var(--main-color);
  display: none; /* will show on mobile */
}

.logo{
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer; /* indicates element is clickable */
  transition: 0.3s ease-in-out; /* creates a smooth hover effect */
}

.logo:hover{
  transform: scale(1.1); /* creates a gentle zoom on hover */
}

span{                 /* Creates gradient text red to orange blend*/
  background: linear-gradient(
     270deg,
    #e04a0b 10%,
    #db1010 100%
  );
  background-clip: text;
  color:transparent
}

.navbar a{ /* styling each navbar link */
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem; /*  space between links*/
  font-weight: 500;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent; /* makes an underline appear on hover*/
}

.navbar a:hover{
  color: var(--main-color);
  border-bottom: 3px solid var(--main-color); /* a red underline appears won hover*/
}

.gradient-btn{
  font-size: 1.8rem;
  padding: 1rem 2rem;
  border-radius: 3rem; /* gives it the pill shape*/
  background: linear-gradient(
     270deg,
    #e04a0b 10%,
    #db1010 100%
  );
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.32 ease-in-out;
  color:white;
  border:none;
  text-wrap:nowrap; /* for responsive purposes, keeps text in one line */

}

.gradient-btn:hover{
  transform: scale(1.05)
}

/* positioning the hero video as the hero video*/

.home{
  position: relative;
  width: 100%;
  height: 100vh;       
  min-height: 100svh;       /* uses the “small viewport” on mobile to avoid URL bar jump */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /*padding: clamp(12px, 3vw, 32px);*/ /* breathable edges on small screens */
}

.background-video{
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;        /* keep aspect ratio, fill the box */
  object-position: center;
  filter: brightness(0.65); /* darken for readability */
  z-index: -1;              /* sit behind text */
  transform: translateZ(0); /* helps mobile GPUs render smoothly */
  will-change: transform;
}

/* ensures the video adapts on small screens */
@media (max-width: 768px){
  .home {
    height: 80vh;            /* shorter hero on small screens */
  }
}
@media (max-width: 768px){
  .home-content{
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12vh); /* lift it */
    padding-inline: 16px;                                  /* prevent wrap issues */
  }
  .home .gradient-btn{
    display: inline-block;  /* ensure margins work */
    margin-top: 1.2rem;
  }
  .home-content p{ font-size: 1.6rem; } /* shrink a touch */
}

.home-content{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;               /* above video + gradient */
  max-width: 65ch;          /* scales with font size, great for readability */
  padding: clamp(12px, 2.5vw, 32px);
  text-align: center; 
  bottom: 0;
  
} 
/*
.home-content p {
  margin-bottom: 2.5rem;}*/  

.home .gradient-btn{
  
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  padding: .9rem 1.6rem;
   
} 
.home-content h1{
  font-size: clamp(4rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: .6rem;
}

.home-content h3{
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: .6rem;
}

.home-content p{
  font-size: 1.8rem;
  line-height: 1.5;
  color: #e8e8e8;
  margin: 0 auto 1.6rem;
}

/*About Section*/

.about{
  min-height: 100vh;
  padding: 10rem 15%;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15rem;
}

.about-content{
  display: flex;
  flex-direction: column;
  text-align: center;
}
.about-content h1{
  font-size: 5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
}

.about-content h3{
  font-size: 2rem;
  margin: 1rem 0;
}

.about-content p{
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
}

.social-icons a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 0.5rem;
  transition: 0.3s ease-in-out;
}

.social-icons a:hover{
  color: var(--text-color);
  background-color: var(--main-color);
  transform: scale(1.2)translate(-5px);
}

.btn-group{
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn{
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: #080808;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.btn:hover{
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2){
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px transparent;
  
}

.btn-group a:nth-of-type(2):hover{
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: #080808;
}

/* scrollbar*/

::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb{
  background-color: var(--main-color);
}

::-webkit-scrollbar-track{
  background-color: var(--bg-color);
}

/*stories and multimedia heading*/

.heading{
  text-align: center;
  font-size: 7rem;
  margin: 5rem 0;
}

/*styling stories section*/

.stories{
  min-height: 100vh;
  padding: 10rem 15%;
  gap: 1rem;


  background-color: var(--second-bg-color);
}

.stories-box{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  place-items: stretch;
  gap: 3rem;
  row-gap: 5rem;
}

.stories-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 3rem;
  gap: 2rem;
  padding: 5rem 2rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 5px var(--main-color);
}

.stories-card:hover{
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);
  transform: scale(1.02);
}

.stories-card img{
  max-width: 300px;
  border-radius: 2em;
  object-fit: cover;
}

.stories-card h3{
  font-size: 3rem;
}

.stories-card h4{
  font-size: 1.6rem;
}

.stories-card p{
  font-size: 1.6rem;
}

/* Multimedia section wrapper */
.multimedia{
  min-height: 100vh;
  padding: 10rem 8%;
  gap: 1rem;
  background-color: var(--second-bg-color);
}

@media (max-width: 768px){
  .stories,
  .multimedia{
    padding: 6rem 4%;   /* less side padding on tablets/phones */
  }
}



/* Make embeds and audio look good  */
.media-card{
  gap: 1.6rem;
  padding: 3rem 2rem; /* a bit tighter than stories */
}

/* Responsive video embed (16:9) */
.embed{
  width: 100%;
  max-width: 900px;        
  aspect-ratio: 16 / 9;    
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,0,0,.35);
}
.embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Audio player box */
.audio-box{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 1.6rem;
  padding: 1.6rem;
  box-shadow: 0 0 8px var(--main-color, #b90d0d);
}
.audio-box h3{
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.audio-box audio{
  width: 100%;
  height: 40px; /* keeps audio compact player UI */
  outline: none;
  display: block;
  margin-bottom: 1rem;
}

/*maybe*/
.multimedia .stories-card img{
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
  margin: 0 auto;
}

/*Style Team Section*/
.team{
  min-height: 100vh;
  padding: 10rem 15%;
  gap: 1rem;
  background-color: var(--second-bg-color);
}
.container{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.card-list .card-item{
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.2);
  width: 400px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.5);

}
.card-list .card-item .user-image{
  width: 190px;
  height: 190px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #fff;
  padding: 4px;
}

.card-list .card-item .user-profession{
  font-size: 1.5rem;
  padding: 10px 35px;
  color: #e3e3e3;
  font-weight: 500;
  margin: 14px 0 40px;
}

.card-list .card-item .message-button{
  font-size: 1.25rem;
  user-select: none;
  padding: 10px 35px;
  color: #101010;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.card-list .card-item .message-button:hover{
  background: var(--main-color);
  border: 1px solid #fff;
  color: #fff;

}

/*slider*/

.slider-wrapper{
  overflow: hidden;
  max-width: 1200px;
  margin: 0 70px 55px;
}

.slider-wrapper .swiper-pagination-bullet{
  background: #fff;
  height: 15px;
  width: 15px;
}

.slider-wrapper .swiper-slide-button{
  color: #fff;
  margin-top: -50px;
  transition: 0.2s ease;
}
.slider-wrapper .swiper-slide-button:hover{
  color: var(--main-color);
}

@media (max-width: 768px){
  .slider-wrapper{
    margin: 0 10px 40px;
  }

  

}

/* Contact section */
.contact {
  background-color: var(--bg-color);
  min-height: 100vh;
  padding: 10rem 15%;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15rem;
}

.contact h2 {
  margin-bottom: 3rem;
  color: var(--text-color);
}

.contact form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 5rem 0;
  text-align: center;
}

.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 2.5rem;
  font-size: 1.8rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-radius: 2rem;
  border: 2px solid var(--main-color);
  margin: 1.5rem 0;
  resize: none;
}

/* Footer */
.footer {
  background-color: var(--second-bg-color);
  padding: 50px 0;
}

.footer .social-icons {
  text-align: center;
}

.footer ul {
  text-align: center;
  font-size: 1.8rem;
}

.footer ul li {
  display: inline-block;
  margin-left: 20px;
}

.footer ul li a {
  color: white;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease-in-out;
}

.footer ul li a:hover {
  border-bottom: 3px solid var(--main-color);
}

.footer .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
}

/* Responsive navbar  */
@media (max-width: 1285px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    border-bottom-left-radius: 2rem;
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    display: none;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--text-color);
  }


.navbar.active {
    display: block;
  }

  .gradient-btn {
    display: none;
  }

  .home {
    flex-direction: column-reverse;
    margin: 5rem 0;
    gap: 5rem;
  }

  .home-content {
    align-items: center;
    text-align: center;
  }

  .home-img img {
    width: 56vw;
  }

  .about {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about h2 {
    text-align: center;
    margin: 2rem 0;
  }

  .about img {
    width: 52vw;
  }

  .contact form {
    flex-direction: column;
  }
}

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  background: var(--main-color);
  color: var(--text-color);
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  font-size: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--main-color);
  transition: all 0.3s ease-in-out;
  display: none; /* hidden by default */
}


#backToTop:hover {
  background: var(--main-color-bright);
  transform: scale(1.15);
  box-shadow: 0 0 20px var(--main-color), 0 0 40px var(--main-color);
}


.wgts-scrolly {
  min-height: 100vh;
  padding: 12rem 10% 8rem 10%;
  display: flex;
  gap: 3rem;
  background: var(--bg-color);
  align-items: flex-start;
}

.wgts-text {
  flex: 0 0 46rem;                     
  max-width: 46rem;            
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wgts-step {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(219, 16, 16, 0.15);
  border-left: 6px solid transparent;
  padding: 2rem 1.8rem;
  border-radius: 1.2rem;
  transition: 0.25s;
}

.wgts-step h1,
.wgts-step h2 {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #ffffff;
  font-size: 3rem;
}

.wgts-step p {
  font-size: 2rem;
  line-height: 1.5;
  color: #e7e7e7;
}

.wgts-step.wgts-active {
  border-left-color: var(--main-color);
  background: rgba(219, 16, 16, 0.03);
}




.wgts-viz-shell {
  flex: 1 1 auto;               /* <— grow to fill the rest */
  min-width: 0;                 /* prevents overflow weirdness */
  position: sticky;
  top: 9rem;
  height: 70vh;
  border: 1px solid rgba(219, 16, 16, 0.15);
  border-radius: 1.4rem;
  background: #0a0a0a;
  overflow: hidden;
}

.wgts-viz-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
}

.wgts-viz-panel.wgts-active {
  opacity: 1;
}

.wgts-placeholder {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  font-size: 1.3rem;
  color: #cbd5e1;
  background: radial-gradient(circle, rgba(219, 16, 16, 0.055), rgba(0,0,0,0));
}

/* responsive */
@media (max-width: 1100px) {
  .wgts-scrolly {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* show viz FIRST on mobile */
  .wgts-viz-shell {
    order: 0;
    position: sticky;
    top: 10rem;          /* just below your fixed header */
    height: 320px;        /* fixed box for the absolute panels */
    max-width: 100%;
    width: 100%;

  }

  /* text scrolls underneath */
  .wgts-text {
    order: 1;
    max-width: 100%;
  }
}


/*left images*/
.viz-box{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  
  gap: 2rem;
  row-gap: 5rem;
}
.viz-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 3rem;
  gap: 2rem;
  padding: 2rem 2rem;
  overflow: hidden;
  cursor: pointer;
  
}

.viz-card img{
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
  margin: 0 auto;
}

/* grid inside the sticky viz panel */
.wgts-viz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two equal columns */
  gap: 1.2rem;
  width: 100%;
  height: 100%;
}

.wgts-viz-item {
  background: rgba(255, 255, 255, 0.01);
  border-radius: 1rem;
  overflow: hidden;
  min-width: 0;           /* prevents overflow in grid */
  display: flex;
  flex-direction: column;
}

.wgts-viz-item .flourish-embed,
.wgts-viz-item iframe,
.wgts-viz-item > div {
  width: 100%;
  height: 100%;
}

/* make Flourish maps/charts fill the sticky viz panel */
#wgts-str,
#wgts-str .flourish-embed {
  width: 100%;
  height: 100%;
  min-height: 100%;

  display: block;
}
#wgts-str iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}


/*message button*/
.interact-button {
  font-size: 1.25rem;
  user-select: none;
  padding: 10px 35px;
  color: #101010;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  border: 1px solid transparent;
  transition: 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

/* Hover effect */
.interact-button:hover {
  background: var(--main-color); /* fallback if --main-color not defined */
  border: 1px solid #fff;
  color: #fff;
}
/* -------------------------
   Header spacing & safety
   ------------------------- */
/* make header height a variable so we can offset content reliably */
:root {
  --header-height: 9rem;         /* adjust if your header is taller/shorter */
  /* your existing vars... */
}

/* ensure header occupies expected space (safe change) */
.header {
  height: var(--header-height);
  padding: 1.8rem 15%;           /* small tweak: header padding kept but height controls layout */
}

/* push page content below sticky header so header doesn't cover content */
body {
  padding-top: calc(var(--header-height) + 0.5rem);
}

/* also ensure scrolly section begins below header */
.wgts-scrolly {
  padding-top: calc(var(--header-height) + 2rem); /* extra breathing room for the scrolly area */
}

/* nudge sticky viz to sit below header precisely */
.wgts-viz-shell {
  top: calc(var(--header-height) + 1rem);
}

/* -------------------------
   Intro tweaks (byline + button)
   ------------------------- */
.byline {
  color: #e3e3e3;
  font-size: 1.6rem;
  margin-top: 0.6rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
}

/* enlarge interact button padding and make very visible */
.interact-button {
  font-size: 1.28rem;
  padding: 14px 42px;           /* bigger touch target */
  color: #101010;
  border-radius: 8px;
  font-weight: 600;
  background: #fff;
  border: 1px solid transparent;
  display: inline-block;
  text-decoration: none;
  transition: background 0.22s ease, transform .18s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.interact-button:hover {
  transform: translateY(-2px);
  background: var(--main-color);
  color: #fff;
  border: 1px solid #fff;
}

/* -------------------------
   Scrollytelling: focus + smoothing
   ------------------------- */
/* fade non-active steps and gently translate them */
.wgts-step {
  opacity: 0.45;                      /* dim non-active steps */
  transform: translateY(8px);
  filter: blur(0.2px);
  transition: opacity .45s cubic-bezier(.2,.8,.2,1),
              transform .45s cubic-bezier(.2,.8,.2,1),
              filter .45s;
}

.wgts-step.wgts-active {
  opacity: 1;
  transform: none;
  filter: none;
  z-index: 2;
  /* highlight the left step's border visually */
  box-shadow: 0 8px 30px rgba(185,13,13,0.06);
}

/* make the sticky viz panels fully disappear from interaction when not active */
.wgts-viz-panel {
  opacity: 0;
  pointer-events: none;               /* prevent interactions on hidden panels */
  transition: opacity .45s ease;
}

.wgts-viz-panel.wgts-active {
  opacity: 1;
  pointer-events: auto;
}

/* ensure only the active left step is visually dominant on small screens too */
@media (max-width: 1100px) {
  .wgts-step { opacity: 0.6; }
  .wgts-step.wgts-active { opacity: 1; }
}



/* -------------------------
   Header spacing & safety
   ------------------------- */
/* make header height a variable so we can offset content reliably */
:root {
  --header-height: 9rem;         /* adjust if your header is taller/shorter */
  /* your existing vars... */
}

/* ensure header occupies expected space (safe change) */
.header {
  height: var(--header-height);
  padding: 1.8rem 15%;           /* small tweak: header padding kept but height controls layout */
}

/* push page content below sticky header so header doesn't cover content */
body {
  padding-top: calc(var(--header-height) + 0.5rem);
}

/* also ensure scrolly section begins below header */
.wgts-scrolly {
  padding-top: calc(var(--header-height) + 2rem); /* extra breathing room for the scrolly area */
}

/* nudge sticky viz to sit below header precisely */
.wgts-viz-shell {
  top: calc(var(--header-height) + 1rem);
}

/* -------------------------
   Intro tweaks (byline + button)
   ------------------------- */
.byline {
  color: #e3e3e3;
  font-size: 1.6rem;
  margin-top: 0.6rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  opacity: 0.95;
  font-style: oblique;

}

/* enlarge interact button padding and make very visible */
.interact-button {
  display: flex;             /* make button a flex container */
  justify-content: center;   /* center content horizontally */
  align-items: center;       /* center content vertically */
  text-align: center;        /* fallback for old browsers */
  font-size: 1.28rem;
  margin: 2rem auto;         /* auto left/right margin to center button itself */
  padding: 14px 42px;
  color: #101010;
  border-radius: 8px;
  font-weight: 600;
  background: #fff;
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: background 0.22s ease, transform .18s ease;
}


/* -------------------------
   Scrollytelling: focus + smoothing
   ------------------------- */
/* fade non-active steps and gently translate them */
.wgts-step {
  opacity: 1;                      /* dim non-active steps */
  transform: translateY(8px);
  filter: blur(0.2px);
  transition: 
              transform .45s cubic-bezier(.2,.8,.2,1),
              filter .45s;
}

.wgts-step.wgts-active {
  opacity: 1;
  transform: none;
  filter: none;
  z-index: 0;
  /* highlight the left step's border visually */
  box-shadow: 0 8px 30px rgba(185,13,13,0.06);
}

/* make the sticky viz panels fully disappear from interaction when not active */
.wgts-viz-panel {
  opacity: 0;
  pointer-events: none;               /* prevent interactions on hidden panels */
  transition: opacity .45s ease;
}

.wgts-viz-panel.wgts-active {
  opacity: 1;
  pointer-events: auto;
}

/* ensure only the active left step is visually dominant on small screens too */
@media (max-width: 1100px) {
  .wgts-step { opacity: 0.6; }
  .wgts-step.wgts-active { opacity: 1; }
}

/* -------------------------
   Page entrance transition (one-line, global & subtle)
   ------------------------- */


/* small accessibility nicety for reduced motion users */


/* Specific portrait panel that fits the common panel height */
.wgts-viz-panel.portrait-panel {
  display: flex;
  justify-content: center;
  align-items: center;      /* center vertically */
  padding: 1rem;
  min-height: 70vh;         /* same as other viz panels */
  height: 70vh;             /* force same height */
}

.portrait-panel .viz-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-panel .viz-card {
  width: auto;
  max-height: 100%;         /* scale to fit panel height */
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-panel img {
  height: 100%;             /* fill panel height */
  width: auto;              /* scale width proportionally */
  object-fit: contain;      /* show whole image */
  border-radius: 2rem;      /* keep styling consistent */
  display: block;
}

.viz-card-summary{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  border-radius: 3rem;
  gap: 2rem;
  padding: 2rem 2rem;
  overflow: hidden;
  
}
.credits{
  justify-content: center;
   text-align: center;
}












