@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* ====== customs rules ===== */

:root{
    /**
    * COLORS
    */

   
    --white: hsla(0, 0%, 100%, 1);
    --white-alpha-20: hsla(0, 0%, 100%, .2);
    --white-alpha-30: hsla(0, 0%, 100%, .1);
    --black: (0, 0%, 0%, .8);
    --black-alpha-80: hsla(0, 0%, 0%, .8);
    --black-alpha-15: hsla(0, 0%, 0%, .15);

/* Logo palette */
  --tb-yellow:#FECE47;
  --tb-orange:#FEAF2E;
  --tb-red:#E3190D;
  --tb-cyan:#009EE2;
  --tb-blue:#006EAA;
  --tb-green:#88C250;
  --tb-purple:#A252CC;

  /* UI */
  --tb-ink:#05070c;
  --glass: rgba(8, 10, 16, .55);
  --glass-2: rgba(8, 10, 16, .72);
  --stroke: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);

  --topbar-h: 70px;
  --header-h: 76px;
  --body-page-top-padding: calc(var(--header-h) + var(--topbar-h) + 1.5rem);

  --container: 1200px;
  --pad: 24px;

  --radius: 18px;

  --header-offset: 92px;

  --hero-pad-x: 16px;
  --hero-panel-max: 760px;

  --hero-kicker-size: 0.88rem;
  --hero-title-size: clamp(2rem, 5vw, 5rem);
  --hero-text-size: 0.95rem;

  --hero-control-size: 42px;

  --hero-glass-bg: rgba(10, 15, 22, 0.1);
  --hero-glass-border: rgba(255, 255, 255, 0.05);
  --hero-white: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.88);
  --hero-accent: #ef8e01;
  --hero-accent-2: #009e96;

    /* 
    *.  GRADIENT COLOR
    *
    */

    /* 
    *. Typography
    *
    */

    /* font family  */

    --fontFamily-forum: "Roboto", sans-serif;
    --fontFamily-dm_sans: "Montserrat", sans-serif;
    --fontFamily-text : "Nunito", sans-serif;

  --gm-font-display: "Manrope", "Avenir Next", "Avenir", sans-serif;
  --gm-font-body: "Roboto", system-ui, sans-serif;

    /* font size  */

    --fontsize-display-1: calc(1.3rem + 6.7vw);
    --fontsize-headline-1: calc(2rem + 2.5vw);
    --fontsize-headline-2: calc(1.3rem + 1.2vw);
    --fontsize-title-1: calc(1.6rem + 1.2vw);
    --fontsize-title-2: 2.2rem;
    --fontsize-title-3: 2.1rem;
    --fontsize-title-4: calc(1.6rem + 1.2vw);
    --fontsize-body-1: 2.4rem;
    --fontsize-body-2: 1.6rem;
    --fontsize-body-3: 1.8rem;
    --fontsize-body-4: 1.6rem;
    --fontsize-label-1: 1.4rem;
    --fontsize-label-2: 1.2rem;

    /* font weight ===  */

    --weight-regular: 400;
    --weight-bold: 700;

    --lineHeight-1: 1em;
    --lineHeight-2: 1.2em;
    --lineHeight-3: 1.5em;
    --lineHeight-4: 1.6em;
    --lineHeight-5: 1.85em;
    --lineHeight-6: 1.4em;

    --letterSpacing-1: 0.15em;
    --letterSpacing-2: 0.4em;
    --letterSpacing-3: 0.2em;
    --letterSpacing-4: 0.3em;
    --letterSpacing-5: 3px;

    /* spacing */

    --section-space : 70px;

    /* shadow */

    --shadow-1: 0px 0px 25px 0px hsla(0, 0%, 0%, 0.25);

    /* Border radius == */

    --radius-24: 24px;
    --radius-circle : 50px;

    /* transition */

    --transition-1: 250ms ease;
    --transition-2: 500ms ease;
    --transition-3: 1000ms ease;
    


}

/* PRESET */


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

li{
    list-style: none;
}

a,
img,
data,
span,
input,
button,
select,
textarea{
  display: block;
}

a{
    color: inherit;
    text-decoration: none;
}

img{
    height : auto; 
}

input,
button,select,
textarea{
    background: none;
    border: none;
    font: inherit;
}

input,
select,
textarea{
    width: 100%;
    outline: none;
}
button{
    cursor: pointer;
}
address{
    font-style: normal;
}
html{
    font-size: 16px;
    scroll-behavior: smooth;
}

.separator{
    width: 15px;
    height: 15px;
    /* border: 1px solid var(--gold-crayola); */
    transform: rotate(45deg);
}

.display-1,
.headline-1,
.headline-2,
.title-1,
.title-2,
.title-3
.title-4{
    color: var(--white);
    /* font-family: var(--fontFamily-forum); */
    font-weight: var(--weight-regular);
    line-height: var(--lineHeight-2);
}
.headline-1{ font-size: var(--fontsize-headline-1);}
.body-4{
    font-size: var(--fontsize-body-4);
}


.text-center{ text-align: center;}



body.is-loading { overflow: hidden; }



html.is-loading,
body.is-loading{
  overflow: hidden;
}

.preload{
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;
  gap: 14px;

  /* premium dark stage + brand glows */
  background:
    radial-gradient(900px 700px at 25% 25%, rgba(0,158,226,.18), transparent 60%),
    radial-gradient(900px 700px at 75% 35%, rgba(254,206,71,.16), transparent 60%),
    radial-gradient(900px 700px at 55% 80%, rgba(136,194,80,.14), transparent 60%),
    linear-gradient(180deg, var(--tb-ink), #000);

  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.preload.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Multicolor ring (conic gradient) */
.preload .circle{
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 999px;

  background: conic-gradient(
    from 0deg,
    var(--tb-yellow),
    var(--tb-orange),
    var(--tb-red),
    var(--tb-purple),
    var(--tb-blue),
    var(--tb-cyan),
    var(--tb-green),
    var(--tb-yellow)
  );

  /* cut a hole to make a ring */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(50% - 7px), #000 calc(50% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(50% - 7px), #000 calc(50% - 6px));

  box-shadow:
    0 0 0 10px rgba(255,255,255,.03),
    0 18px 45px rgba(0,0,0,.60);

  animation: spin 1.05s linear infinite;
}

/* center glow */
.preload .circle::after{
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,255,255,.02));
  filter: blur(.2px);
}

/* Brand-gradient text */
.preload .text{
  margin: 0;
  font: 700 12px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;

  background: linear-gradient(
    90deg,
    var(--tb-yellow),
    var(--tb-cyan),
    var(--tb-green),
    var(--tb-yellow)
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: brandSweep 1.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}

/* subtle accent line under text */
.preload .text::after{
  content: "";
  display: block;
  height: 2px;
  width: 120px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}

/* Fallback if mask isn't supported */
@supports not (mask: radial-gradient(#000, transparent)){
  .preload .circle{
    background: none;
    border: 3px solid rgba(255,255,255,.14);
    border-top-color: var(--tb-cyan);
    border-right-color: var(--tb-yellow);
    border-bottom-color: var(--tb-green);
    -webkit-mask: none;
    mask: none;
  }
}

/* Optional MONO mode: add class .is-mono on .preload */
.preload.is-mono{
  --tb-mono: var(--tb-cyan); /* pick any brand color */
}
.preload.is-mono .circle{
  background: conic-gradient(from 0deg, var(--tb-mono), rgba(255,255,255,.12), var(--tb-mono));
}
.preload.is-mono .text{
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--tb-white);
  opacity: .92;
  animation: none;
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .preload, .preload .circle, .preload .text{ animation: none !important; transition: none !important; }
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

@keyframes brandSweep{
  0%   { background-position: 0% 50%;   opacity: .9; }
  50%  { background-position: 100% 50%; opacity: 1;  }
  100% { background-position: 0% 50%;   opacity: .9; }
}




/* =========================
   TOPBAR (overlay + responsive hide)
   ========================= */
/* =========================
   BRAND TOKENS
   ========================= */


/* Basic container (safe if you already have one) */
.container{
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* =========================
   TOPBAR (desktop only)
   ========================= */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;

  height: var(--topbar-h);
  display: none;                 /* hidden by default */
  align-items: center;
  background-color: transparent;

  /* background: linear-gradient(to bottom, rgba(0,0,0,.60), rgba(0,0,0,0));
  backdrop-filter: blur(3px); */

  /* background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px); */
}

.topbar .container{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  white-space: nowrap;

  color: var(--text);
  font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.topbar .topbar-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: .92;
}

.topbar .topbar-item .icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,.08);
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

.topbar .topbar-item .icon i{
  font-size: 14px;
  color: rgba(255,255,255,.90);
}

.topbar .topbar-item .span{
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}

.topbar .topbar-item.link{
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, opacity .2s ease;
}

.topbar .topbar-item.link:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.topbar .topbar-item.link:hover .icon{
  border-color: color-mix(in srgb, var(--tb-cyan) 55%, var(--stroke));
}

.topbar .topbar-item.link:hover .icon i{
  color: var(--tb-yellow);
}

/* Topbar separators scoped (avoid conflict with navbar separators) */
.topbar .separator{
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.18);
  margin: 0 2px;
}


.topbar{
  transition: transform .28s ease, opacity .22s ease;
  will-change: transform;
}

body.topbar-hidden .topbar{
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body.page-articles{
  padding-top: var(--body-page-top-padding);
}

/* Optional: drop the time item a bit earlier if space gets tight */
@media (max-width: 1199px){
  .topbar .topbar-item.item-2{ display: none; }
}

/* =========================
   HEADER (sits on top of hero)
   ========================= */

/* =========================================
   NAVIGATION — Premium institutional / ONT
========================================= */




/* Desktop offset under topbar */
@media (min-width: 992px){
  .topbar{ display: flex; }
  .header{ top: var(--topbar-h); }
}




/* hero section  */

.section-hero.hero-section {
  position: relative;
  overflow: hidden;
  background: #111;
  font-size: 12px;
}

.hero-swiper {
  position: relative;
  width: 100%;
  min-height: 100svh;
  isolation: isolate;
}

.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  min-height: 100svh;
}

.hero-slide {
  position: relative;
  overflow: hidden;
}

/* =========================
   MEDIA
========================== */

.slide-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: brightness(0.78) saturate(1.02);
  transition: transform 8s ease, filter 0.7s ease;
}

/* Video: subtle zoom */
.hero-slide[data-slide-type="video"] .slide-media {
  transition-duration: 7s;
}

.hero-slide[data-slide-type="video"].swiper-slide-active .slide-media {
  transform: scale(1.05);
  filter: brightness(0.9) saturate(1.05);
}

/* Image: stronger Ken Burns */
.hero-slide[data-slide-type="image"] .slide-media {
  transform: scale(1.08);
  transition-duration: 12s;
}

.hero-slide[data-slide-type="image"].swiper-slide-active .slide-media {
  transform: scale(1.18);
  filter: brightness(0.92) saturate(1.08);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 30%, rgba(239, 142, 1, 0.14), transparent 40%),
    radial-gradient(circle at 80% 75%, rgba(0, 158, 150, 0.12), transparent 40%),
    linear-gradient(to right, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.60) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.16));
}

/* =========================
   CONTENT PANEL (REDESIGNED)
========================== */

.hero-content-wrap {
  position: relative;
  z-index: 3;
  min-height: 100svh;

  display: flex;
  align-items: center;

  padding-top: calc(var(--header-offset) + 1.5rem);
  padding-bottom: 7rem;
  padding-inline: var(--hero-pad-x);
}

.hero-panel {
  width: 100%;
  max-width: var(--hero-panel-max);
  color: var(--hero-white);

   background: transparent;  /* var(--hero-glass-bg)*/
  border: 1px solid var(--hero-glass-border);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;

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

  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  position: relative;
  overflow: hidden;
}

/* Accent line */
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--hero-accent), var(--hero-accent-2));
}

.hero-kicker,
.hero-title,
.hero-text,
.hero-actions {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.swiper-slide-active .hero-kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}
.swiper-slide-active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}
.swiper-slide-active .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}
.swiper-slide-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: var(--hero-kicker-size);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.hero-title {
  margin: 0;
  font-size: var(--hero-title-size);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero-text {
  margin: 0.85rem 0 0;
  color: var(--hero-muted);
  font-size: var(--hero-text-size);
  line-height: 1.55;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1rem;
}

/* =========================
   NICE CTA BUTTON
========================== */

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  min-height: 48px;
  padding: 0.35rem 0.4rem 0.35rem 0.95rem;
  border-radius: 999px;

  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;

  background: linear-gradient(135deg, rgba(239, 142, 1, 0.92), rgba(0, 158, 150, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);

  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn:hover::before {
  transform: translateX(130%);
}

.hero-btn__label {
  position: relative;
  z-index: 1;
}

.hero-btn__icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-btn:hover .hero-btn__icon {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-btn__icon i {
  font-size: 1rem;
}

/* =========================
   AUDIO TOGGLE (VIDEO ONLY)
========================== */

.media-audio-toggle {
  position: absolute;
  z-index: 4;
  top: calc(var(--header-offset) + 0.8rem);
  right: var(--hero-pad-x);

  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.35);
  color: #fff;

  min-height: 38px;
  padding: 0 0.7rem;
  border-radius: 999px;

  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: background 0.2s ease, border-color 0.2s ease;
}

.media-audio-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

.media-audio-toggle i {
  font-size: 1.05rem;
}

.media-audio-toggle span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* =========================
   HERO CONTROLS (NO ARROWS)
========================== */

.hero-controls {
  position: absolute;
  z-index: 6;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.8rem;

  display: flex;
  align-items: center;
  justify-content: center;
  

  padding: 0;
}

/* Smaller pagination dots */
.hero-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.hero-pagination .swiper-pagination-bullet {
  margin: 0 !important;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 16px;
  background: #fff;
}

/* Hide nav buttons completely (in case old HTML remains somewhere) */
.hero-nav,
.hero-prev,
.hero-next {
  display: none !important;
}

/* =========================
   SCROLL INDICATOR (small + centered)
========================== */

.hero-scroll-indicator {
  position: absolute;
  z-index: 6;
  /* left: 50%; */
  right: 1rem;
  /* transform: translateX(-50%); */
  bottom: 12rem; /* sits above pagination */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.hero-scroll-indicator__text {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mouse {
  width: 18px;
  height: 28px;
  border: 1.2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 4px;
}

.wheel {
  width: 2px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  animation: wheelMove 1.3s ease-in-out infinite;
}

/* Keep spacing correct with thumbs */
.hero-thumbs {
  bottom: 3.9rem;
}

/* Progress */
.hero-progress {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hero-accent), var(--hero-accent-2));
}

/* =========================
   THUMB PREVIEWS
========================== */

.hero-thumbs {
  position: absolute;
  z-index: 6;
  left: var(--hero-pad-x);
  right: var(--hero-pad-x);
  bottom: 4.3rem;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-thumb {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
  color: #fff;

  border-radius: 12px;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;

  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-thumb:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.hero-thumb.is-active {
  border-color: rgba(239, 142, 1, 0.72);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(239, 142, 1, 0.25);
}

.hero-thumb__image {
  width: 48px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.hero-thumb__meta {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.hero-thumb__meta small {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.hero-thumb__meta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   SCROLL INDICATOR
========================== */

.hero-scroll-indicator {
  position: absolute;
  z-index: 6;
  right:1rem;  /*  var(--hero-pad-x);*/
  bottom: 12rem;

  color: #fff;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  opacity: 0.9;
}

.hero-scroll-indicator__text {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 5px;
}

.wheel {
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  animation: wheelMove 1.4s ease-in-out infinite;
}

@keyframes wheelMove {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 1; }
  70% { opacity: 1; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(9px); }
}

/* =========================
   VIDEO PAUSE/PLAY BUTTON
========================== */

.media-play-toggle {
  position: absolute;
  z-index: 4;
  top: calc(var(--header-offset) + 0.8rem);
  right: var(--hero-pad-x);

  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.35);
  color: #fff;

  min-height: 38px;
  padding: 0 0.7rem;
  border-radius: 999px;

  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.media-play-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.media-play-toggle i {
  font-size: 1.05rem;
}

.media-play-toggle span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: none;
}

.media-play-toggle.is-paused {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

/* =========================
   REDUCED MOTION
========================== */

@media (prefers-reduced-motion: reduce) {
  .slide-media,
  .hero-kicker,
  .hero-title,
  .hero-text,
  .hero-actions,
  .hero-btn,
  .hero-btn::before,
  .wheel {
    transition: none !important;
    animation: none !important;
  }
}


/* ============================================ */

/* section presentation dg */

/* ============================================ */
/* voir fichier */





/* +++++++++++++++++++++++++++++++++++++++++++++++ */


/* Optional: hide topbar on very short screens even on desktop */
@media (max-height: 520px){
  .topbar{ display: none !important; }
  .header{ top: 0 !important; }
}


/* =========================
   MEDIA QUERIES (structure at bottom)
   Keep these empty for future sections
   ========================= */
@media (min-width: 576px){ 
    :root {
    --hero-pad-x: 20px;
    --hero-kicker-size: 0.92rem;
    --hero-text-size: 0.98rem;
  }

  .hero-panel {
    padding: 1.15rem 1.15rem 1.2rem;
    border-radius: 20px;
  }

  .hero-thumbs {
    gap: 0.65rem;
  }

  .hero-thumb__image {
    width: 54px;
    height: 42px;
  }

  .hero-thumb__meta span {
    font-size: 0.75rem;
  }


  
}

@media (min-width: 768px){ 
    :root {
    --header-offset: 96px;
    --hero-pad-x: 24px;
    --hero-control-size: 46px;
    --hero-panel-max: 820px;
  }

  .hero-content-wrap {
    padding-top: calc(var(--header-offset) + 2rem);
    padding-bottom: 8rem;
  }

  .hero-panel {
    padding: 1.25rem 1.3rem 1.35rem;
  }

  .hero-actions {
    margin-top: 1.15rem;
  }

  .hero-controls {
    justify-content: space-between;
    left: var(--hero-pad-x);
    /* right: var(--hero-pad-x); */

    justify-content: center;
     left: 50%;
     transform: translateX(-50%);
    bottom: 1.2rem;
  }

  .hero-thumbs {
    bottom: 4.6rem;
  }

  .hero-scroll-indicator {
    bottom: 12rem;
  }

  .media-audio-toggle {
    top: calc(var(--header-offset) + 1rem);
  }

   .media-play-toggle {
    top: calc(var(--header-offset) + 1rem);
  }


   .hero-controls {
    bottom: 0.95rem;

    justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  }

  .hero-scroll-indicator {
    bottom: 12rem;
  }

  .hero-thumbs {
    bottom: 4.25rem;
  }

  .hero-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }

  .hero-pagination .swiper-pagination-bullet-active {
    width: 18px;
  }

  

}
@media (min-width: 992px){
    :root {
    --header-offset: 108px;
    --hero-pad-x: 30px;
    --hero-panel-max: 900px;
    --hero-text-size: 1rem;
  }

  /* nav bar  */


 
     /* 
     *   TOPBAR
     */

     .topbar .container {
        max-width: unset;
     }

     .topbar .separator{
        display : block;
     }

     /* 
     *. HEADER
     */

    
  /* end nav bar */

  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero-swiper .swiper-slide,
  .hero-content-wrap {
    min-height: 100vh;
  }

  .hero-panel {
    padding: 1.35rem 1.45rem 1.5rem;
    border-radius: 22px;

    max-width: fit-content;
  }

  .hero-title {
    max-width: 14ch;
  }

  .hero-text {
    margin-top: 0.95rem;
    max-width: 60ch;
  }

  .hero-btn {
    min-height: 50px;
    padding-left: 1rem;
  }

  .hero-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    bottom: 4.9rem;
  }

  .hero-thumb {
    gap: 0.5rem;
    padding: 0.4rem;
  }

  .hero-thumb__image {
    width: 62px;
    height: 45px;
  }

  .hero-thumb__meta small {
    font-size: 0.68rem;
  }

  .hero-thumb__meta span {
    font-size: 0.78rem;
  }

    .hero-controls {
    bottom: 1.05rem;
    justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  }

  .hero-scroll-indicator {
    bottom: 12rem;
  }

  .hero-thumbs {
    bottom: 4.45rem;
  }


  /* section dg ======================= */


  
 }
@media (min-width: 1200px){ 
     :root {
    --header-offset: 116px;
    --hero-pad-x: 36px;
    --hero-panel-max: 980px;
    --hero-text-size: 1.05rem;
  }

  .hero-content-wrap {
    padding-top: calc(var(--header-offset) + 2.2rem);
    padding-bottom: 8.8rem;
  }

  .hero-panel {
    padding: 1.45rem 1.6rem 1.55rem;
  }

  .hero-kicker {
    letter-spacing: 0.2em;
  }

  .hero-controls {
    bottom: 1.3rem;

    justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  }

  .hero-thumbs {
    bottom: 5.05rem;
    gap: 0.7rem;
  }

  .hero-thumb {
    padding: 0.45rem;
  }

  .hero-thumb__image {
    width: 70px;
    height: 48px;
  }

  .hero-thumb__meta span {
    font-size: 0.82rem;
  }

  .hero-scroll-indicator {
    right: 1rem; /* calc(var(--hero-pad-x) + 4px) */
    bottom: 12rem;
  }

  .hero-progress {
    height: 4px;
  }

  /* ================================== */

  /* section dg ======================= */



    /* left and right equal, center wider */
  
  /* ++++++++++++++++++++++++++++++++++++++ */

}
@media (min-width: 1400px){ 
    :root {
    --header-offset: 122px;
    --hero-pad-x: 44px;
    --hero-panel-max: 1100px;
  }

  .hero-content-wrap {
    padding-top: calc(var(--header-offset) + 2.4rem);
    padding-bottom: 9.2rem;
  }

  .hero-panel {
    padding: 1.6rem 1.75rem 1.65rem;
  }

  .hero-title {
    max-width: 13ch;
  }

  .hero-controls {
    bottom: 1.45rem;
    justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  }

  .hero-thumbs {
    bottom: 5.2rem;
  }

  .hero-thumb__image {
    width: 78px;
    height: 52px;
  }

  .hero-scroll-indicator {
    bottom: 12rem;
  }

  /* ====mot dg ++++++++++++++++++++++++++++ */


  /* ++++++++++++++++++++++++++++++++++++++++++++ */
}

/* Small mobile handling for thumbs */
@media (max-width: 767px) {
  .hero-thumbs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .hero-thumbs::-webkit-scrollbar {
    display: none;
  }

  .hero-thumb {
    min-width: 170px;
    flex: 0 0 auto;
  }

  .hero-scroll-indicator {
    display: none;
  }


    .hero-scroll-indicator {
    bottom: 12rem;
  }

  .hero-thumbs {
    bottom: 3.7rem;
  }
}
