/* ── Page Loader ── */
.wrapper {
  position: fixed;
  inset: 0;
  background: #0e0e0e;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loader-inner {
  width: 60%;
  max-width: 480px;
  text-align: center;
}

.loader-label {
  font-family: 'Jura', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.loader-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: 'Jura', sans-serif;
}

.counter-number {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.88);
}

.counter-percent {
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 3px;
}

.loader-bar-track {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: clamp(20px, 3vh, 36px);
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.5);
}
/* ── End Loader ── */

@media (min-width: 801px) {
#box
{
  
  position: absolute;
  top: 100%;
}
.boxArrow
{
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.boxArrow a
{
  color: #64D3FF;
  display: block;
  font-size: 48px;
  margin-bottom: -40px;
  animation: animate3 2s infinite;
  cursor: pointer;
}
 .boxArrow a:nth-child(2)
 {
 
   animation-delay: -0.2s;
   transform:  translate(0,-20px);
 }
.boxArrow a:nth-child(3)
 {
   animation-delay: -0.4s;
 }
/* hero img  */
/* .container-header #bg {
  position: absolute;
  width: 100%;
  height: 0vh;
  background-color:  rgb(197, 197, 197);
  background-size: cover;
background-repeat: no-repeat;
  z-index: 0;
      background-position: right bottom; 
  } */
.Header-pages
{
  z-index: 12;
  list-style: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-weight: 900;
  font-size: 40px;
}

.Header-pages li
{
  position: absolute;
  margin-left: 0;
  line-height: 1;
}

.Header-pages li:nth-child(1) { top: calc(50vh - 265px); left: calc(65% + 220px); }
.Header-pages li:nth-child(2) { top: calc(50vh - 145px); left: calc(65% + 283px); }
.Header-pages li:nth-child(3) { top: calc(50vh -  25px); left: calc(65% + 325px); }
.Header-pages li:nth-child(4) { top: calc(50vh +  95px); left: calc(65% + 283px); }
.Header-pages li:nth-child(5) { top: calc(50vh + 215px); left: calc(65% + 220px); }

.container-header .langWrap
{
  text-align: center;
  line-height: 50px;
  height: 50px;
  width: 100px;
  position: relative;
  
  
top: 5vh;
left: 88vw;
z-index: 10;
}
.menu-left .langWrap .neumorphism-toggles {
  position: relative;
  width: 120px;
 height: 60px;
 background-color: #e3e6ec;
  box-shadow:
      10px 10px 15px rgba(209, 217, 230, 1),
      -10px -10px 15px rgba(255, 255, 255, 1);
  border-radius: 20px;
  font-size: 0;
}


.Header-pages a
{
  color: rgb(156, 156, 156);
  z-index: 12;
  text-decoration: none;
  transition: .3s;
}
.Header-pages a:hover
{

  color :rgb(100, 211, 255);
  text-shadow:
  0 0 5px rgba(10, 170, 219, 0.5);
  z-index: 12;
  transition: .3s;
}
.menu_header-1
{
  margin-left: -5vw;
}

.container-header
{
  height: 100vh;
}
.wrapper-img {
  overflow: hidden;
  position: relative;
  top: 50% !important;
  left: 55%;
  transform: translate(-45%, -60%);
  width: 30%;
    height: 74vh;
  margin-top: 2vh;
animation: animate4 linear 12s;
box-shadow: 0 0 60px 1px #000000;
background: url(../IMG/Portrait.jpg);
object-fit: cover;
background-origin: border-box;
background-position: bottom;
}

.image-header {
  position: absolute;
  width: 100%;
  height: 100%;
 
  object-fit: cover;
  background-origin: border-box;
  background-position: bottom;
}

.box-header {
  background:  rgb(255, 255, 255);
  opacity: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

/* ── Hero hexagon photo ── */
/* flat-top hex 557×483, rounded corners r=34
   image 557×557, head protrusion = 74px ≈ 13% of 557             */
.hero-photo-wrap {
  position: absolute;
  top: 50%;
  left: calc(65% - 5px);
  transform: translate(-50%, -55%);
  width: 557px;
  height: 557px;
  z-index: 10;
}

.hero-photo-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 557px;
  height: 483px;
  background:
    radial-gradient(ellipse 80% 35% at 50% 108%, rgba(100, 211, 255, 1) 0%, rgba(64, 211, 255, 0.55) 40%, transparent 70%),
    radial-gradient(ellipse at 50% 55%, rgba(64, 211, 255, 0.25) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

/* flat-top rounded hex 557×483, r=34
   TL(139.25,0) TR(417.75,0) R(557,241.5) BR(417.75,483) BL(139.25,483) L(0,241.5) */
.hero-photo-hex-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 557px;
  height: 483px;
  background: linear-gradient(160deg, #3fe8c8 0%, #64D3FF 55%, #40c8ff 100%);
  clip-path: path('M 173.25,0 L 383.75,0 Q 417.75,0 434.75,29.4 L 540,212.1 Q 557,241.5 540,270.9 L 434.75,453.6 Q 417.75,483 383.75,483 L 173.25,483 Q 139.25,483 122.25,453.6 L 17,270.9 Q 0,241.5 17,212.1 L 122.25,29.4 Q 139.25,0 173.25,0 Z');
  z-index: 1;
}

.hero-photo-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 557px;
  height: 557px;
  object-fit: cover;
  object-position: top center;
}

/* --back: clipped by parent flat-top hex-bg */
.hero-photo-img--back  { z-index: 2; }
/* --front: top portion of portrait protruding above the hex */
.hero-photo-img--front { z-index: 20; clip-path: inset(0 0 83% 0); }

/* header  */

.header-text {
  position: absolute;
  top: 60%;
  left: 28%;
  transform: translate(-50%, -50%);
}

.header-text h1 {
  color: rgb(82, 82, 82);
  font-size: 120px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  mix-blend-mode: overlay;
}

.header-1 .letter {
  display: inline-block;
  line-height: 1em;
}
.header-2 .letter {
  display: inline-block;
  line-height: 1em;
}
.header-3
{
  letter-spacing: 6px;
  font-size: 40px;
  color :rgb(100, 211, 255);
  text-shadow:
  0 0 5px rgba(10, 170, 219, 0.5),
  0 0 15px rgba(10, 142, 219, 0.3);
}
/* hero-container */

.sidebar-text {
  position: absolute;
  top: 20%;
  right: 7%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 2px rgb(165, 165, 165);
}



.img-nav {
  position: absolute;
  right: 13%;
  bottom: 13%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  color: grey;
}

}

/* media queries  */

@media (max-width: 801px) {
  #box
{
  
  position: absolute;
  top: 100%;
}
.boxArrow
{
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 30;
}
.boxArrow a
{
  color: #64D3FF;
  display: block;
  font-size: 48px;
  margin-bottom: -40px;
  animation: animate3 2s infinite;
  cursor: pointer;
}
 .boxArrow a:nth-child(2)
 {

   animation-delay: -0.2s;
   transform:  translate(0,-20px);
 }
.boxArrow a:nth-child(3)
 {
   animation-delay: -0.4s;
 }
 .menu_header-1
{
  margin-left: -5vw;
}
  .container-header
{
  position: relative;
  height: 100vh;
  overflow: clip;
  clip-path: inset(0);
}
  .boxArrow a
{font-size: 32px;
  margin-bottom: -28px;
}
  .Header-pages
{
  z-index: 12;
  list-style: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(100, 211, 255, 0.4);
}
.Header-pages li {
  position: absolute;
  line-height: 1;
}
.Header-pages li:nth-child(1) { top: calc(50vh - 143px); right: 200px; }
.Header-pages li:nth-child(2) { top: calc(50vh -  58px); right: 252px; }
.Header-pages li:nth-child(3) { top: calc(50vh +  27px); right: 298px; }
.Header-pages li:nth-child(4) { top: calc(50vh + 112px); right: 264px; }
.Header-pages li:nth-child(5) { top: calc(50vh + 197px); right: 215px; }
.Header-pages a
{
  color: rgb(100, 211, 255);
  z-index: 12;
  text-decoration: none;
  transition: .3s;
}
.Header-pages a:hover
{
  color: rgb(100, 211, 255);
  text-shadow:
  0 0 5px rgba(10, 170, 219, 0.5);
  z-index: 12;
  transition: .3s;
}
  .box-header {
    background:  rgb(255, 255, 255);
    opacity: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
  }
  .hero-photo-wrap {
    display: block;
    position: absolute;
    top: calc(50% - 278px);
    left: auto;
    right: -278px;
    width: 557px;
    height: 557px;
    transform: scale(1.035);
    transform-origin: center center;
    z-index: 10;
    overflow: hidden;
  }
  .hero-photo-glow {
    display: none;
  }
  .hero-photo-hex-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 557px;
    height: 483px;
    background: linear-gradient(160deg, #3fe8c8 0%, #64D3FF 55%, #40c8ff 100%);
    clip-path: path('M 173.25,0 L 383.75,0 Q 417.75,0 434.75,29.4 L 540,212.1 Q 557,241.5 540,270.9 L 434.75,453.6 Q 417.75,483 383.75,483 L 173.25,483 Q 139.25,483 122.25,453.6 L 17,270.9 Q 0,241.5 17,212.1 L 122.25,29.4 Q 139.25,0 173.25,0 Z');
    z-index: 1;
  }
  .hero-photo-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 557px;
    height: 557px;
    object-fit: cover;
    object-position: top center;
  }
  .hero-photo-img--back  { z-index: 2; }
  .hero-photo-img--front { z-index: 20; clip-path: inset(0 0 83% 0); }
  .wrapper-img {
    display: none;
    overflow: hidden;
    position: relative;
    top: 20% !important;
    right: 0;
    left: 75%;
    transform: translatex( -60%);
    width: 60%;
    height: 60vh;
    margin-top: 2vh;
  animation: animate4 linear 12s;
  box-shadow: 0 0 60px 1px #000000;

  }
  
  .image-header {
    position: absolute;
    background: url(../IMG/PortraitSmall.jpg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-origin: border-box;
    background-position: bottom;
  }
  .header-text {
    position: absolute;
    width: 80%;
    top: 14%;
    left: 50%;
    transform: translate(-50%, -50%) ;
  }
  
  .header-text h1 {
    
    color: rgb(173, 185, 202);
    font-size: 42px;
    text-transform: uppercase;
    margin: 0;
    mix-blend-mode: overlay;
  }
  
  .header-1 .letter {
    display: inline-block;
    line-height: 1em;
  }
  .header-2 .letter {
    display: inline-block;
    line-height: 1em;
  }
  .header-3
  {
    letter-spacing: 6px;
    font-size: 26px;
    color :rgb(100, 211, 255);
    text-shadow:
    0 0 5px rgba(10, 170, 219, 0.5),
    0 0 15px rgba(10, 142, 219, 0.3);
  }
 
  .header {
    top: 50%;
    left: 50%;
    text-align: center;
  }
  .header h1 {
    font-size: 40px;
  }

  .projects,
  .img-nav {
    display: none;
  }
  
.container-header .langWrap
{
  text-align: center;
  line-height: 50px;
  height: 50px;
  width: 100px;
  position: relative;
  
  
top: 2vh;
left: 68vw;
z-index: 10;
}
.menu-left .langWrap .neumorphism-toggles {
  position: relative;
  width: 100px;
 height: 50px;
 background-color: #e3e6ec;

  border-radius: 20px;
  font-size: 0;
}
}
@media (min-width: 768px) and (max-width: 1024px)
{
  .header-text h1 {

    color: rgb(173, 185, 202);
    font-size: 80px;
    text-transform: uppercase;
    margin: 0;
    mix-blend-mode: overlay;
  }
  .header-text h3 {
    font-size: 45px;
  }
  .Header-pages
  {
    font-size: 30px;
  }
  .container-header .langWrap
{
top: 5vh;
left: 84vw;
}
}
@media (min-width: 1024px) and (max-width: 1280px)
{
  .header-text h1 {


    font-size: 90px;
    text-transform: uppercase;
    margin: 0;
    mix-blend-mode: overlay;
  }
}
@media (min-width: 10240px) and (max-width: 1480px)
{
  .header-text h1 {


    font-size: 95px;
    text-transform: uppercase;
    margin: 0;
    mix-blend-mode: overlay;
  }
  }
/* ── Landscape phone fix (phones rotated sideways, height < 500px) ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-photo-wrap { display: none; }
  .container-header {
    background: url(../IMG/portrait4.webp);
    background-color: rgb(255, 255, 255);
    height: 100vh;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-origin: border-box;
    background-position: center right;
  }
  .header-text {
    position: absolute;
    width: 55%;
    top: 42%;
    left: 28%;
    transform: translate(-50%, -50%);
  }
  .header-text h1 {
    color: rgb(173, 185, 202);
    font-size: 52px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    mix-blend-mode: overlay;
  }
  .header-3 {
    font-size: 24px;
    letter-spacing: 4px;
  }
  .boxArrow {
    top: 70%;
  }
}

@keyframes animate4
{
  0%
  {
    box-shadow: 0 0 0px 0px #000000;
  }
  45%
  {
    box-shadow: 0 0 0px 0px #000000;
  }
  100%
  {
    box-shadow: 0 0 60px 1px #000000;
  }
}

@keyframes animate3
{
 0%
 {
   opacity: 0;
   transform:  translate(0,-20px);
 }
 
 50%
  {
    opacity: 1;
  }
  100%
  {
    opacity: 0;
    transform:  translate(0,20px);
  }
 }