html{scroll-behavior: smooth;}
body{margin:0;padding:0;background-color:#0f0f0f;}
.wrapper{width:100%;}
header{width:100%;height:100vh;position:relative;background-color:#0f0f0f;}


h1, h2, h3, h4, h5, body, p, a, span, select, input{font-family:Raleway;font-style:normal;font-variant:normal;font-weight:normal;line-height:130%;color:#fff;margin:0;padding:0;}
h1, h2, h3, h4, h5{text-transform:uppercase;margin-bottom:20px;}
span.bai{font-size:3vw;letter-spacing:0.12em;display:block;text-transform:uppercase;margin-bottom:20px;margin-left:-0.4%;}
h1, h2, h3, h4, h5 a{font-size:0.9em;letter-spacing:0.12em;}
p, a{font-size:0.9em;letter-spacing:0.12em;line-height:130%;}

a.textlink {
  position: relative;
  text-decoration: none;
  transition: text-shadow 0.3s ease; color 0.3s ease;
  cursor:pointer;
}

a.textlink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.4s ease; /* mouse-out speed */
}

a.textlink:hover {
  text-shadow: 
  0 0 4px rgba(255, 255, 255, 0.8),
  0 0 12px rgba(255, 255, 255, 0.5);
}

a.textlink:hover::after {
  opacity: 0;
  transform: translateY(+10px);
  transition: opacity 0.2s ease-out, transform 0.15s ease-out; /* mouse-in speed */
}

header .box{width:80%;margin:1%;height:auto;display:inline-block;z-index:34;}
.box img{width:100%;height:auto;}
header .box01{position:absolute;left:10%;bottom:12.5%;}
@media (min-width:1px) and (max-width:767px){
  header .box01{left:10%;bottom:16.5%;}
}

header .headerContent{padding:0;}
header .homeBg{width:100vw;height:100vh;object-fit:cover;object-position: left;background-attachment:fixed; }

main{width:100%;margin:1% 0 0;position:relative;background-color:#0f0f0f;}
main h3{width:92%;display: block;padding:3% 4% 4%;margin-bottom: 0;font-size:1.1em;}
main .box{display:inline-block;float:left;margin:0;padding:0;}
main .box picture{line-height: 0;display:block;}
main .boxThird01{width:32%;margin:0 0.5% 1% 1%;}
main .boxThird02{width:32%;margin:0 0.5% 1% 0.5%;}
main .boxThird03{width:32%;margin:0 1% 1% 0.5%;}
main .boxHalf01{width:48.5%;margin:0 0.5% 1% 1%;}
main .boxHalf02{width:48.5%;margin:0 1% 1% 0.5%;}
main .boxFull{width:98%;margin:0 1% 1%;}
main .project{display:block;float:left;z-index:36;opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;}
main .project.is-visible{opacity: 1;
  transform: translateY(0);}

.content{max-width: 1000px;margin:0 auto;}
.content h2{font-size:1vw;letter-spacing:0.12em;}
.content001{margin:2em 0 0;}

.footer{width:92%;display: block;padding:4% 4% 6%;font-size:1.1em;clear:both;}
.footer h4{width:100%;display: block;padding:2% 0 0;margin-bottom: 0;font-size: 0.8em;}
.footer .textlink{font-size: 0.8em;}

@media (min-width:320px) and (max-width:767px){
.footer h4{padding:5% 0 0;}
}


@media (min-width:320px) and (max-width:767px){
main .box{width:100%;}
}

@media (min-width:320px) and (max-width:599px){
main h3{width:88%;padding:6% 6%;font-size:0.9em;}
.footer{width:88%;padding:6% 6% 8%;}
}

@media (min-width:320px) and (max-width:359px){
span.bai{font-size:7vw;}
h1, h2, h3, h4, h5, a, p{font-size:0.8em;}
.box{width:80%;}
}

@media (min-width:360px) and (max-width:374px){
span.bai{font-size:7vw;}
h1, h2, h3, h4, h5, a, p{font-size:0.8em;}
.box{width:80%;}
}

@media (min-width:375px) and (max-width:401px){
span.bai{font-size:7vw;}
h1, h2, h3, h4, h5, a, p{font-size:0.8em;}
.box{width:80%;}
}

@media (min-width:402px) and (max-width:439px){
span.bai{font-size:7vw;}
h1, h2, h3, h4, h5, a, p{font-size:0.9em;}
.box{width:80%;}
}

@media (min-width:440px) and (max-width:599px){
span.bai{font-size:7vw;}
h1, h2, h3, h4, h5, a, p{font-size:0.9em;}
.box{width:80%;}
}

@media (min-width:600px) and (max-width:767px){
span.bai{font-size:4vw;}
}

@media (min-width:768px) and (max-width:1023px){
span.bai{font-size:4vw;}
}

@media (min-width:1024px) and (max-width:1279px){
span.bai{font-size:4vw;}
}

@media (min-width:1px) and (max-width:768px){
main .boxThird01, main .boxThird02, main .boxThird03, main .boxHalf01, main .boxHalf02{width:98%;margin:0 1% 1%;}
}

.flights{width:98%;height:100%;margin:0 1% 1%;display:flex;flex-direction: column;}

.flights h3{width:32%;display: flex;padding:3% 0 4% 4%;margin-bottom: 0;font-size:1.1em;flex-direction: row;}


@media (min-width:1px) and (max-width:401px){
  .flights h3{font-size:0.9em;width:88%;padding:6% 6% 4%;}
}

@media (min-width:402px) and (max-width:599px){
  .flights h3{font-size:0.9em;width:88%;padding:6% 6% 4%;}
}

@media (min-width:600px) and (max-width:1023px){
  .flights h3{width:92%;padding:4% 4% 2%;margin-bottom: 0;font-size:1.1em;}
}


.flightsSubheader{width:100%;display:flex;flex-direction:row;align-items: center;}



@media (max-width:1023px){
    .flightsSubheader{flex-direction: column;}
    .field.sort label{margin-top:8px;}
}

  .controls {
    display: flex;
    gap: 10px;
    width:62%;
    flex-direction:row;
    justify-content: flex-end;
  }

   @media (min-width:1px) and (max-width:599px){
    .controls{width:88%;margin:1% 6% 4%;flex-direction:column;}
  }

   @media (min-width:600px) and (max-width:1023px){
    .controls{width:92%;margin:1% 4% 4%;flex-direction:column;}
  }

  .count {
    font-size: 0.9em;
    color: #fff;
    letter-spacing: 0.05em;
    margin-right:4%;
    flex-direction: column;
  }
 
  .field {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .field.search-field{margin-right:10px;}

  @media (min-width:1px) and (max-width:634px){
    .field.search-field{margin-right:0;}
  }
 
  .field label {
    font-size: 0.8em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
  }

  .field.category{display: none;}

  .fieldsHolder{display: flex;flex-direction: row;align-items:flex-end;}

   @media (min-width:1px) and (max-width:634px){
    .fieldsHolder{display: flex;
    flex-direction: column;align-items:normal;}
  }
 
  select {
    appearance: none;
    background: #000 12px center;
    border: 1px solid #444;
    color: #fff;
    font-size: 0.9em;
    padding: 9px 32px 9px 12px;
    border-radius: 0;
    min-width: 170px;
    cursor: pointer;
    transition: border-color 0.15s ease;
  }
 
  select:hover{ border-color: #fff; }
  select:focus-visible, input:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
 
  .search-field input {
    border: 1px solid #444;
    background-color: #000;
    color: #fff;
    font-size: 0.9em;
    padding: 9px 12px;
    border-radius: 0;
    min-width: 190px;
  }
 
  .search-field input:hover { border-color: #fff; }
  .search-field input:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
  .search-field input::placeholder { color:#fff; }
 
  .grid-main {
    padding: 10px 0;
  }
 
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
 
  @media (max-width: 1023px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 460px) {
    .grid { grid-template-columns: 1fr; }
  }
 
  figure {
    margin: 0;
    background: #000;
    border: 1px solid #444;
    border-radius: 0;
    overflow: hidden;
    animation: rise 0.35s ease both;
    transition: border-color 0.15s ease, transform 0.15s ease;
  }
 
  .card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    outline-offset: 2px;
  }
 
  .card-link:hover figure { border-color: #777; transform: translateY(-2px); }
  .card-link:focus-visible figure { outline: 2px solid #777; }
  .card-link:hover .name { color: #fff; }
 
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
 
  .thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0d0c0b;
  }
 
  .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
 
  figure:hover .thumb img { transform: scale(1.05); }
 
  .tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.7em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(19,18,17,0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #fff;
  }
 
  figcaption {
    padding: 5% 6%;
    min-height:60px;
  }
 
  .name {
    font-size: 0.9em;
    color: #fff;
    margin-bottom: 2px;
    white-space: wrap;
    transition: color 0.15s ease;
  }
 
  .meta {
    font-size: 0.9em;
    color: #fff;
    letter-spacing: 0.03em;
  }
 
  .sentinel {
    height: 1px;
  }
 
  .loader {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    font-size: 0.8em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
  }
 
  .loader::after {
    content: '';
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border: 2px solid var(--accent-dim);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }
 
  @keyframes spin { to { transform: rotate(360deg); } }
 
  .empty {
    text-align: center;
    padding: 80px 20px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .flightsFilterLink{
    width: 96%;
    display: block;
    padding: 1% 4% 0 0;
    clear: both;
    text-align:right;}

  .flightsFilterLink .textlink{font-size:0.8em;}

  .flightsFilterLink .backToFilter, .flightsFilterLink .backToTheTop{text-align: right;}



/* nav */

.nav-nav { position: fixed ;  top: 14px; right: 24px; z-index: 50; }

.nav-btn {
  width: 30px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  border: none; cursor: pointer;
  padding: 0px;
  background:none;
}
.nav-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: background-color 0.15s ease;
}
.nav-btn.on-light span { background: rgba(0,0,0,0.9); }
.nav-btn.on-dark span  { background: rgba(255,255,255,0.9); }

.nav-menu {
  position: absolute; top: 100%; right: 0;
  min-width: 220px;
  background: rgba(0,0,0,0.9);
  list-style: none; margin: 0; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.nav-menu li a { font-size:0.9em;display: block; padding: 15px 20px; color: #fff; text-decoration: none; }
.nav-menu li a:hover{background-color: #262626;}
.nav-menu li.nav-sub-cat{margin-top:10px;}
.nav-menu li.backToTheTop {
  display: none;
}
body.header-out-of-view .nav-menu li.backToTheTop {
  display: block;
}

/* DESKTOP: open on hover */
@media (hover: hover) and (pointer: fine) {
  .nav-nav:hover .nav-menu,
  .nav-nav:focus-within .nav-menu {
    opacity: 1; visibility: visible; 
    pointer-events: auto;
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear 0s;
  }
}

/* TOUCH (mobile/tablet): open via JS-toggled class instead */
.nav-menu.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}












