/* ================= FONTS ================= */

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/Syne-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ================= RESET ================= */

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

body {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}





/* ===============================
   TOP BAR
=============================== */

.nx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: transparent;
  pointer-events: none;
}

.nx-topbar-inner {
  max-width: 1500px;
  width: calc(100% - 160px);
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  align-items: flex-start;
  pointer-events: auto;
}

.nx-topbar-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-topbar-item--right {
  justify-self: end;
  align-items: flex-start;
}

.nx-topbar-title,
.nx-topbar-sub {
  font-weight: 500;
  font-size: 16px;
  font-family: "Syne";
}

/* LIGHT MODE */

.nx-topbar--light .nx-topbar-title {
  color: #fff;
}

.nx-topbar--light .nx-topbar-sub {
  color: rgba(255, 255, 255, 0.5);
}

/* DARK MODE (pokud bys někdy použil) */

.nx-topbar--dark .nx-topbar-title,
.nx-topbar--dark .nx-topbar-sub {
  color: #fff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nx-topbar-inner {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 80px);
    max-width: 720px;
    padding: 18px 0;
  }

  .nx-topbar-item--center,
  .nx-topbar-item--right {
    display: none;
  }

  .nx-topbar-inner {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .nx-topbar-inner {
    padding: 14px 14px;
  }
}


/* =====================================================
BOTTOM BAR WRAP
===================================================== */

.ns-hero-bottom-wrap{
  position:fixed;
  left:0;
  right:0;

  bottom:40px;

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

  z-index:9999;

  pointer-events:none;
}

.ns-hero-bottom{
  position:relative;
  display:flex;
  align-items:center;
  pointer-events:auto;
}


/* =====================================================
MAIN PILL
===================================================== */

.ns-pill{
  width:297px;
  height:68px;

  background:#000;
  border-radius:20px;
  padding:4px;
  display:flex;
  gap:4px;
  transition:border-radius .25s ease;

}


/* =====================================================
BUTTON BASE
===================================================== */

.ns-pill-btn{

  height:60px;

  border-radius:16px;

  border:0;

  cursor:pointer;

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

  padding:0;

  text-decoration:none;

  font-family:"Syne";

}


/* =====================================================
LOGO
===================================================== */

.ns-pill-btn--logo{

  width:60px;

  background:#fff;

}

.ns-pill-icon{

  width:26px;
  height:26px;

}


/* =====================================================
MENU BUTTON
===================================================== */

.ns-pill-btn--menu{
  width:60px;
  border:1px solid #313131;
  background:#0b0b0b;
}

.ns-menu-img{
  width:22px;
  height:22px;
}


/* =====================================================
NEXT PROJECT
===================================================== */

.ns-pill-btn--next{
  flex:1;
  background:#0b0b0b;
  border:1px solid #313131;
  color:#fff;

  font-size:16px;
  font-weight:400;
  font-family: "Syne", sans-serif;


  gap:10px;
  transition:.01s;
}

.ns-next-arrow{
  width:22px;
  transition:.01s;
}

.ns-pill-btn--next:hover{

  background:#111;

}

.ns-pill-btn--next:hover .ns-next-arrow{
  transform:translateX(1px);
}


/* =====================================================
DROPDOWN MENU
===================================================== */

.ns-pill-menu{
  position:absolute;
  bottom:68px; 
  left:0;
  width:297px;
  background:#000;
  border-radius:20px 20px 0 0;
  overflow:hidden;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:translateY(8px);
  transition:

  opacity .22s ease,
  transform .26s cubic-bezier(.16,1,.3,1);
}


/* OPEN */

.ns-hero-bottom.is-menu-open .ns-pill-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;

  transform:translateY(0);
}


/* spojení menu + pill */

.ns-hero-bottom.is-menu-open .ns-pill{

  border-top-left-radius:0;
  border-top-right-radius:0;

}


/* =====================================================
MENU ITEMS
===================================================== */

.ns-pill-menu-item{
  width:100%;
  height:64px;

  background:transparent;
  border:0;

  color:#fff;

  font-size:16px;
  font-weight:400;
  font-family:"Syne";

  cursor:pointer;


  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration: none;

}


/* divider */

.ns-pill-menu-item + .ns-pill-menu-item{
  border-top:1px solid rgba(255,255,255,0.15);
}


/* =====================================================
MOBILE
===================================================== */

@media (max-width:900px){
  .ns-hero-bottom-wrap{
    bottom:80px;
  }

}

@media (max-width:480px){
  .ns-pill{
    transform:scale(.9);
  }

}
















/* ================= CONTAINER ================= */

.container {
  width: 100%;
  padding-left: clamp(20px, 5vw, 160px);
  padding-right: clamp(20px, 5vw, 160px);
  padding-top: clamp(80px, 8vw, 150px);
}
.container {
  width: 100%;
  padding-left: clamp(20px, 5vw, 160px);
  padding-right: clamp(20px, 5vw, 160px);
  padding-top: 160px;
}

@media (max-width: 768px) {
.container {
  padding-top: 300px;
}
}



/* ================= HERO TOP ================= */
.hero-top{
  text-align:center;
  margin-bottom: clamp(40px,6vw,80px);
}


.hero-head{
  position:relative;

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

  margin-bottom:10px;
}

/* Back vlevo */
.hero-back{
  position:absolute;
  left:0;
  display:flex;
  align-items:center;
  gap:10px;

  text-decoration:none;
  color: #808080;

  font-family:"Syne";
  font-weight:500;
  font-size:16px;

}

.hero-back img{
  width:24px;
  opacity:.5;
  transition:.25s;
}

.hero-back:hover img{
  transform:translateX(-2px);
}

/* overline */

.overline{
  font-size: clamp(14px,1.4vw,22px);
  font-weight:600;
  font-family:"Syne";
}

/* title */
.title{
  font-size: clamp(28px,4.5vw,56px);
  font-weight:700;
  font-family:"Syne";

  margin-bottom: clamp(24px,4vw,40px);
  line-height:1.1;
}






/* CTA BUTTON */

.cta-btn{
  position:relative;

  width:255px;
  height:63px;

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

  margin:40px auto; 

  padding:5px 5px 5px 25px;

  background:#0D0D0D;
  border-radius:999px;

  overflow:hidden;
  text-decoration:none;
}


/* TEXT */

.cta-text{
  font-size:16px;
  font-weight:500;
  color:#FFF;
  font-family:"Syne";

  white-space:nowrap;
  transition:opacity .25s ease;
}


/* VIEW PILL */

.cta-pill{
  position:absolute;

  right:5px;
  top:5px;

  height:53px; /* přesně 63 - 10 padding */
  width:82px;

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

  background:#fff;
  border-radius:999px;

  font-size:16px;
  font-weight:500;
  color:#000;
  font-family:"Syne";

  transition:width .45s cubic-bezier(.76,0,.24,1);
}


/* HOVER */

.cta-btn:hover .cta-text{
  opacity:0;
}

.cta-btn:hover .cta-pill{
  width:calc(100% - 10px);
}












.video-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
}

.video-box {
  position: relative;
  width: 750px;
  height: 750px;
  overflow: hidden;
}

.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity .4s ease;
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}










/* ================= DESKTOP BOTTOM ================= */

.hero-bottom {
  display: grid;
  grid-template-columns:
    1.35fr
    160px
    1fr
    80px
    1fr;

  padding-top: clamp(120px, 12vw, 180px);
  padding-bottom: clamp(140px, 14vw, 200px);

  align-items: start;
}

.col-left {
  grid-column: 1;
}

.hero-bottom .col:nth-child(2) {
  grid-column: 3;
}

.hero-bottom .col:nth-child(3) {
  grid-column: 5;
}

/* ================= TYPOGRAPHY ================= */

.col-left p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #8B8B90;
  max-width: 640px;
  font-family: "Syne";
}

.col-left p strong {
  color: #FFFFFF;
}

.col {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-block span,
.info-block strong {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.3px;
  font-family: "Syne";
}

.info-block span {
  color: #8B8B90;
}

.info-block strong {
  color: #FFFFFF;
}

/* ================= TABLET ================= */

@media (max-width: 1100px) {

  .hero-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .col-left {
    grid-column: 1 / -1;
  }

  .hero-bottom .col:nth-child(2),
  .hero-bottom .col:nth-child(3) {
    grid-column: auto;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 60px;
    justify-items: center;
    text-align: center;
  }

  .col {
    align-items: center;
  }

  .col-left p {
    max-width: 100%;
  }
}




















.motion-section {
  width: 100%;
}


.motion-img-wrap {
  position: relative;
}

.motion-img-wrap img {
  width: 100%;
  display: block;
}



/* ===== overlay ===== */

.motion-overlay {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;

  width: 90%;
  max-width: 1200px;
}



/* ===== text ===== */

.motion-text {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 80px;
  font-family:"Syne";
}

.motion-dim {
  color: #6E6E74;
}

.motion-bright {
  color: #ffffff;
}



/* ===== columns ===== */

.motion-columns {
  display: flex;
  justify-content: center;
  gap: 80px;
}


.motion-col {
  width: 370px;
  text-align: center;
}



/* ===== line ===== */

.motion-line {
  width: 100%;
  height: 1px;
  background: #fff;
}



/* ===== labels ===== */

.motion-small {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  margin-top: 30px;
  color: #fff;
  font-family:"Syne";
}


.motion-title {
  font-size: 56px;
  color: #fff;
  margin: 0;
  font-weight: 600;
  font-family:"Syne";
}


.motion-sub {
  display: block;
  font-size: 16px;
  margin-top: 20px;
  font-family:"Syne";
}












.dualvid-section {
  padding-left: 80px;
  padding-right: 80px;
}


.dualvid-title {
  font-family:"Syne";
  text-align: center;
  font-size: 96px;
  font-weight: 700;
  margin-bottom: 100px;
  margin-top: 160px;
}


/* ROW */

.dualvid-row {

  display: flex;
  gap: 10px;
  padding-top: 10px;

}


/* BOX */

.dualvid-box {

  flex: 1;

  position: relative;
  overflow: hidden;

  aspect-ratio: 9 / 16;

  background: black;

}


/* MEDIA */

.dualvid-box video,
.dualvid-box img {

  width: 100%;
  height: 100%;
  object-fit: cover;

}


/* PREVIEW */

.dualvid-preview {

  position: absolute;
  inset: 0;

  z-index: 2;

  transition: opacity .4s ease;

}


/* VIDEO */

.dualvid-box video {

  position: absolute;
  inset: 0;

  opacity: 0;

  transition: opacity .4s ease;

}
















.widevid-section {

  padding-left: 80px;
  padding-right: 80px;
  margin-top: 10px;

}


.widevid-column {

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

}


.widevid-box {

  width: 100%;

  position: relative;
  overflow: hidden;

  aspect-ratio: 16 / 9;

  background: black;

}


.widevid-box video,
.widevid-box img {

  width: 100%;
  height: 100%;
  object-fit: cover;

}


.widevid-preview {

  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity .4s ease;

}


.widevid-box video {

  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;

}









/* =========================
GLOBAL FIX
========================= */

@media (max-width: 1200px) {

  .dualvid-title {
    font-size: 64px;
    margin-top: 120px;
    margin-bottom: 80px;
  }

  .motion-title {
    font-size: 42px;
  }

  .motion-text {
    font-size: 20px;
  }

}



/* =========================
TABLET
========================= */

@media (max-width: 900px) {

  /* container fix */

  .container {
    padding-top: 120px;
  }


  /* hero spacing */

  .hero-top {
    margin-bottom: 30px;
  }


  /* video */

  .video-section {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .video-box {
    width: 90vw;
    height: 90vw;
    max-width: 600px;
    max-height: 600px;
  }


  /* motion */

  .motion-overlay {
    bottom: 4%;
    width: 92%;
  }

  .motion-columns {
    gap: 40px;
  }

  .motion-col {
    width: 260px;
  }

  .motion-title {
    font-size: 36px;
  }

  .motion-text {
    font-size: 18px;
  }


  /* dual */

  .dualvid-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .dualvid-row {
    flex-direction: column;
    gap: 10px;
  }


  /* wide */

  .widevid-section {
    padding-left: 40px;
    padding-right: 40px;
  }

}



/* =========================
MOBILE
========================= */

@media (max-width: 600px) {

  /* container */

  .container {
    padding-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
  }


  /* hero */

  .hero-top {
    margin-bottom: 10px;
  }


  /* video */

  .video-section {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .video-box {
    width: 92vw;
    height: 92vw;
  }


  /* motion */

  .motion-overlay {
    bottom: 2%;
    width: 94%;
  }

  .motion-text {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .motion-columns {
    flex-direction: column;
    gap: 40px;
  }

  .motion-col {
    width: 100%;
  }

  .motion-title {
    font-size: 30px;
  }

  .motion-small,
  .motion-sub {
    font-size: 14px;
  }


  /* dual */

  .dualvid-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dualvid-title {
    font-size: 40px;
    margin-top: 80px;
    margin-bottom: 60px;
  }


  /* wide */

  .widevid-section {
    padding-left: 20px;
    padding-right: 20px;
  }

}