/* ===============================
   WEBLINE HERO — WEBGL VERSION
   Clean Base (No SVG, No Effects)
   =============================== */

   @font-face {
  font-family: 'BPG Square';
  src:
  url('../assets/fonts/BPG-Square.woff2') format('woff2'),
  url('../assets/fonts/BPG-Square.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 700px;
  overflow: hidden;
  background: #1e1e1e;
}

/* WebGL Canvas */
#webgl-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Optional dark overlay layer */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Content always above canvas */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-slogan {
  position: absolute;
  left: 58%;
  top: 45%;
  transform: translateY(-50%);
  margin: 0;

  width: 720px;
  height: 330px;

  font-family: 'BPG Square', sans-serif;
}


.slogan-word {
  position: absolute;
  display: block;
  white-space: nowrap;

  
}

.slogan-word-1 {
  left: 0;
  top: 0;

  font-size: 60px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);

  transform: skewX(-8deg);
  transform-origin: left center;
}

.slogan-word-2 {
  left: 120px;
  top: 78px;

  font-size: 60px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);

  transform: skewX(-8deg);
  transform-origin: left center;
}

.slogan-word-3 {
  left: 365px;
  top: 156px;

  font-size: 60px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);

  transform: skewX(-8deg);
  transform-origin: left center;
}

.slogan-word-4 {
  left: 1.3px;
  top: 295px;

  font-size: 65px;
  font-weight: 600;
  letter-spacing: 0.54em;
  color: rgba(255, 255, 255, 0.96);
}


.hero-slogan span.is-typing::after {
  content: '';
  display: inline-block;

  width: 2px;
  height: 0.9em;
  margin-left: 8px;

  background: rgba(255, 255, 255, 0.92);
  vertical-align: -0.08em;

  animation: slogan-cursor-blink 1.3s steps(1) infinite;
}

@keyframes slogan-cursor-blink {
  0%, 49% {
    opacity: 1;
  }

  50%, 100% {
    opacity: 0;
  }
}

.hero-slogan .slogan-word {
  filter:
    drop-shadow(0 0 7px rgba(89, 133, 96, 0.38))
    drop-shadow(0 0 16px rgba(89, 133, 96, 0.20));
}

html[lang="en"] .hero-slogan,
html[lang="en"] .hero-slogan .slogan-word {
  font-family: 'Inter', Arial, sans-serif !important;
}


/* English slogan — independent tuning */

html[lang="en"] .slogan-word-1 {
  left: 0;
  top: -50px;
  font-size: 60px;
}

html[lang="en"] .slogan-word-2 {
  left: 120px;
  top: 50px;
  font-size: 56px;
}

html[lang="en"] .slogan-word-3 {
  left: 365px;
  top: 145px;
  font-size: 60px;
}

html[lang="en"] .slogan-word-4 {
  left: 1.3px;
  top: 280px;
  font-size: 65px;
  letter-spacing: 1.45em;
}

html[lang="en"] .slogan-word-4 {
  font-weight: 700;
}


/* Responsive test — tall desktop viewport */
@media (max-width: 2000px) and (min-height: 1021px) {
  .hero {
    height: calc(100vh - var(--header-h) - 210px);
    max-height: none;
  }
}

/* Smaller desktop — rebalance hero proportions */
@media (max-width: 1750px) and (min-height: 1021px) {
  .hero {
    height: 650px;
  }

  .tech-strip {
    height: calc(100vh - var(--header-h) - 650px);
  }
}

/* Desktop hero — lock approved 2048 × 700 proportions */
@media (min-width: 1025px) {
  .hero {
    height: 34.1796875vw; /* 700 / 2048 × 100 */
    min-height: 0;
    max-height: none;
  }

  .tech-strip {
    height: max(
      210px,
      calc(100vh - var(--header-h) - 34.1796875vw)
    );
  }
}


@media (min-width: 1025px) {

  .hero-slogan {
    width: 35.15625vw;      /* 720px at 2048 */
    height: 16.11328125vw;  /* 330px at 2048 */
  }

  .slogan-word-1 {
    left: 0;
    top: 0;
    font-size: 2.9296875vw; /* 60px */
  }

  .slogan-word-2 {
    left: 5.859375vw;       /* 120px */
    top: 3.80859375vw;      /* 78px */
    font-size: 2.9296875vw;
  }

  .slogan-word-3 {
    left: 17.822265625vw;    /* 365px */
    top: 7.6171875vw;        /* 156px */
    font-size: 2.9296875vw;
  }

  .slogan-word-4 {
    left: 0.0634765625vw;    /* 1.3px */
    top: 14.404296875vw;     /* 295px */
    font-size: 3.173828125vw; /* 65px */
  }


  /* ENGLISH */

  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: -2.44140625vw;      /* -50px */
    font-size: 2.9296875vw;
  }

  html[lang="en"] .slogan-word-2 {
    left: 5.859375vw;        /* 120px */
    top: 2.44140625vw;       /* 50px */
    font-size: 2.734375vw;   /* 56px */
  }

  html[lang="en"] .slogan-word-3 {
    left: 17.822265625vw;    /* 365px */
    top: 7.080078125vw;      /* 145px */
    font-size: 2.9296875vw;
  }

  html[lang="en"] .slogan-word-4 {
    left: 0.0634765625vw;
    top: 13.671875vw;        /* 280px */
    font-size: 3.173828125vw;
  }
}

/* Compact desktop tech icons */
@media (min-width: 1025px) and (max-width: 1300px) {
  .tech-icon {
    width: 40px;
    height: 40px;
  }
}

/* ===============================
   TABLET HERO — 1024px AND BELOW
   =============================== */

@media (max-width: 1024px) {

  .hero {
    height: calc(100vh - var(--header-h) - 210px);
    min-height: 420px;
    max-height: none;
  }

}

/* 1024 tablet slogan */
@media (min-width: 431px) and (max-width: 1024px) {

  .hero-slogan {
    width: 35.15625vw;
    height: 16.11328125vw;
  }

  .slogan-word-1 {
    left: 0;
    top: 0;
    font-size: 2.9296875vw;
  }

  .slogan-word-2 {
    left: 5.859375vw;
    top: 3.80859375vw;
    font-size: 2.9296875vw;
  }

  .slogan-word-3 {
    left: 17.822265625vw;
    top: 7.6171875vw;
    font-size: 2.9296875vw;
  }

  .slogan-word-4 {
    left: 0.0634765625vw;
    top: 14.404296875vw;
    font-size: 3.173828125vw;
  }


  /* English */

  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: -2.44140625vw;
    font-size: 2.9296875vw;
  }

  html[lang="en"] .slogan-word-2 {
    left: 5.859375vw;
    top: 2.44140625vw;
    font-size: 2.734375vw;
  }

  html[lang="en"] .slogan-word-3 {
    left: 17.822265625vw;
    top: 7.080078125vw;
    font-size: 2.9296875vw;
  }

  html[lang="en"] .slogan-word-4 {
    left: 0.0634765625vw;
    top: 13.671875vw;
    font-size: 3.173828125vw;
  }
}

/* Tablet tech icons */
@media (max-width: 1024px) {
  .tech-icon {
    width: 40px;
    height: 40px;
  }
}


/* Real tablet landscape — Hero only */
@media (hover: none) and (pointer: coarse)
       and (min-width: 1025px)
       and (max-width: 1366px)
       and (max-height: 700px) {

  .hero {
    height: 29.052734375vw;
    min-height: 0;
    max-height: none;
  }

}

/* Real tablet landscape — Tech Strip */
@media (hover: none) and (pointer: coarse)
       and (min-width: 1025px)
       and (max-width: 1366px)
       and (max-height: 700px) {

  .tech-icon {
    width: 40px;
    height: 40px;

    position: relative;
    top: -18px;
  }

}


/* Tablet — Tech Strip */
@media (max-width: 1024px) {

  .tech-icon {
    width: 40px;
    height: 40px;

    position: relative;
    top: -18px;
  }

}

/* 900 tablet — rebalance Hero / Tech Strip */
@media (min-width: 769px) and (max-width: 900px) {

  .hero {
    height: calc(100vh - var(--header-h) - 190px);
    min-height: 0;
    max-height: none;
  }

  .tech-strip {
    height: 190px;
  }
}

/* 769–900 — Tech Strip */
@media (min-width: 769px) and (max-width: 900px) {

  .tech-strip {
    height: 180px;
    min-height: 180px;
  }

  .tech-icon {
    top: 10px;
  }

}

/* 768 portrait tablet — slogan */
@media (min-width: 700px) and (max-width: 768px) {

.hero-slogan {
  left: 43%;

  width: 35.15625vw;
  height: 16.11328125vw;

  scale: 1.62;
  transform-origin: left center;
}

  .slogan-word-1 {
    left: 0;
    top: 0;
    font-size: 2.9296875vw;
  }

  .slogan-word-2 {
    left: 5.859375vw;
    top: 3.80859375vw;
    font-size: 2.9296875vw;
  }

  .slogan-word-3 {
    left: 17.822265625vw;
    top: 7.6171875vw;
    font-size: 2.9296875vw;
  }

  .slogan-word-4 {
    left: 0.0634765625vw;
    top: 14.404296875vw;
    font-size: 3.173828125vw;
  }


  /* English */

  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: -2.44140625vw;
    font-size: 2.9296875vw;
  }

  html[lang="en"] .slogan-word-2 {
    left: 5.859375vw;
    top: 2.44140625vw;
    font-size: 2.734375vw;
  }

  html[lang="en"] .slogan-word-3 {
    left: 17.822265625vw;
    top: 7.080078125vw;
    font-size: 2.9296875vw;
  }

  html[lang="en"] .slogan-word-4 {
    left: 0.0634765625vw;
    top: 13.671875vw;
    font-size: 3.173828125vw;
  }
}


/* 800 portrait tablet — slogan */
@media (min-width: 769px) and (max-width: 820px) {

  .hero-slogan {
    left: 43%;

    width: 35.15625vw;
    height: 16.11328125vw;

    scale: 1.62;
    transform-origin: left center;
  }
}

/* 430 mobile — slogan framing */
@media (max-width: 430.99px) {

  .hero-slogan {
    left: 13%;
    top: 74%;

    width: 35.15625vw;
    height: 16.11328125vw;

    scale: 2.3;
    transform-origin: left center;
  }


  .slogan-word-1 {
    left: 0;
    top: 0;
    font-size: 2.9296875vw;
  }

  .slogan-word-2 {
    left: 5.859375vw;
    top: 3.80859375vw;
    font-size: 2.9296875vw;
  }

  .slogan-word-3 {
    left: 17.822265625vw;
    top: 7.6171875vw;
    font-size: 2.9296875vw;
  }

  .slogan-word-4 {
    left: 0.0634765625vw;
    top: 14.404296875vw;
    font-size: 3.173828125vw;
  }
}

/* ===============================
   360 MOBILE — TECH STRIP
   =============================== */

@media (min-width: 350px) and (max-width: 364px) {

  .tech-strip {
    height: 155px;
  }

  .tech-strip-inner {
    padding: 0 24px;

    column-gap: 10px;
    row-gap: 36px;
  }

  .tech-strip .tech-icon {
    width: 24px;
    height: 24px;

    top: 0;
  }

   .nav a {
    font-size: 10px;
  }

}

/* ===============================
   375 SHORT MOBILE — TECH STRIP
   iPhone small-height screens
   =============================== */

@media (min-width: 365px) and (max-width: 380px) and (max-height: 700px) {

  .tech-strip {
    height: 150px;
  }

  .tech-strip-inner {
    padding: 0 24px;

    column-gap: 30px;
    row-gap: 36px;
  }

  .tech-strip .tech-icon {
    width: 24px;
    height: 24px;

    top: 3px;
  }

}

/* ===============================
   384 / 390 SHORT MOBILE — TECH STRIP
   Galaxy S26 Ultra short viewport
   =============================== */

@media (min-width: 381px) and (max-width: 400px) and (max-height: 726.99px) {

  .tech-strip {
    height: 200px;
  }

  .tech-strip-inner {
    padding: 0 24px;

    column-gap: 10px;
    row-gap: 36px;
  }

  .tech-strip .tech-icon {
    width: 28px;
    height: 28px;

    top: 0;
  }

}
/* ===============================
   384 / 390 SHORT MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

/* ===============================
   384 / 390 SHORT MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

@media (min-width: 381px) and (max-width: 400px) and (max-height: 700px) {

  html[lang="en"] .hero-slogan {
    left: 32%;
    top: 72%;

    width: 74vw;
    height: 180px;

    scale: 1.1;
    transform-origin: left center;
  }


  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }


  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}
/* ===============================
   390 × 844 MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

@media (min-width: 381px) and (max-width: 400px)
       and (min-height: 701px) and (max-height: 900px) {

  html[lang="en"] .hero-slogan {
    left: 28%;
    top: 78%;

    width: 74vw;
    height: 180px;

    scale: 1.3;
    transform-origin: left center;
  }


  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }


  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}

/* ===============================
   360 × 649 SHORT MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

@media (min-width: 350px) and (max-width: 364px) and (max-height: 700px) {

  html[lang="en"] .hero-slogan {
    left: 30%;
    top: 72%;

    width: 74vw;
    height: 180px;

    scale: 1.05;
    transform-origin: left center;
  }


  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }


  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}
/* ===============================
   375 × 661 SHORT MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

@media (min-width: 365px) and (max-width: 380px) and (max-height: 700px) {

  html[lang="en"] .hero-slogan {
    left: 32%;
    top: 72%;

    width: 74vw;
    height: 180px;

    scale: 1.1;
    transform-origin: left center;
  }


  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }


  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}
/* ===============================
   375 × 812 MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

@media (min-width: 365px) and (max-width: 380px)
       and (min-height: 701px) and (max-height: 850px) {

  html[lang="en"] .hero-slogan {
    left: 26%;
    top: 75%;

    width: 74vw;
    height: 180px;

    scale: 1.25;
    transform-origin: left center;
  }

  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }

  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }

  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }

  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}

/* ===============================
   430 × 932 MOBILE
   ENGLISH HERO SLOGAN
   =============================== */

@media (min-width: 421px) and (max-width: 431px) {

  html[lang="en"] .hero-slogan {
    left: 26%;
    top: 79%;

    width: 74vw;
    height: 180px;

    scale: 1.4;
    transform-origin: left center;
  }

  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }

  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }

  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }

  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}
/* 411 mobile — English hero slogan */
@media (min-width: 401px) and (max-width: 420px) {

  html[lang="en"] .hero-slogan {
    left: 32%;
    top: 72%;

    width: 74vw;
    height: 180px;

    scale: 1.1;
    transform-origin: left center;
  }


  html[lang="en"] .slogan-word-1 {
    left: 0;
    top: 0;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-2 {
    left: 34px;
    top: 38px;

    font-size: 21px;
  }


  html[lang="en"] .slogan-word-3 {
    left: 92px;
    top: 76px;

    font-size: 22px;
  }


  html[lang="en"] .slogan-word-4 {
    left: 0;
    top: 132px;

    font-size: 24px;
    letter-spacing: 1.12em;
    font-weight: 700;
  }

}