/* ==========================================================================
   Reset & base
   ========================================================================== */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Inter", sans-serif;
    background-color: #161616;
    cursor: none;
  }
  
  body.using-touch {
    cursor: auto;
  }
  
  /* Custom cursor (hidden on touch devices via .using-touch) */
  .custom-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 23px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }
  
  .custom-cursor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.2s ease;
  }
  
  .custom-cursor.cursor-dark img {
    filter: brightness(0);
  }
  
  body.using-touch .custom-cursor {
    display: none;
  }
  
  /* Keep custom cursor visible over buttons, inputs, links (no default cursor) */
  body:not(.using-touch) button,
  body:not(.using-touch) input,
  body:not(.using-touch) textarea,
  body:not(.using-touch) select,
  body:not(.using-touch) a,
  body:not(.using-touch) label,
  body:not(.using-touch) [type="submit"] {
    cursor: none;
  }
  
  h1,
  .headline {
    color: #faf9f6;
    font-size: 5vw;
    font-weight: 400;
    user-select: none;
  }
  
  .headline-typed {
    display: inline;
  }
  
  .headline-cursor {
    display: inline-block;
    margin-left: 2px;
  }
  
  :focus {
    outline-offset: 0;
  }
  
  :focus-visible {
    outline-offset: 0;
    outline-color: transparent;
    outline-style: none;
  }
  
  a {
    text-decoration: none;
  }
  
  /* ==========================================================================
     Layout
     ========================================================================== */
  
  section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  /* ==========================================================================
     Keyframes
     ========================================================================== */
  
  @keyframes carousel01 {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  /* ==========================================================================
     Navigation
     ========================================================================== */
  
  .navwrap {
    position: fixed;
    bottom: 100px;
    width: 25rem;
    background-color: #2c2c2c;
  }
  
  .menu {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    padding: 10px;
    background-color: #2c2c2c;
  }
  
  .x_nav_right {
    max-width: 310px;
  }
  
  .x_nav_button_wrap {
    display: block;
  }
  
  .x_nav_contact-btn_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    padding-right: 1.2rem;
    color: #161616;
    background-color: #faf9f6;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .x_nav_contact-btn_link:hover  {
    background-color: #161616;
    color: #faf9f6; 
  }
  .x_nav_contact-btn_link:hover .x_nav_contact-btn_text.x_u-s-body {
    animation-duration: 0.3s;
  }
  .x_nav_contact-btn_link:hover  .x_nav_contact-btn_fade {
    background-image: linear-gradient(90deg, #161616 40%, transparent);
  }
  
  .x_nav_contact-btn_link:hover  .x_nav_contact-btn_fade.is-right {
    opacity: 0;
  }
  
  .x_nav_contact-btn_texts {
    position: relative;
    display: flex;
    overflow: hidden;
  }
  
  .x_nav_contact-btn_text.x_u-s-body {
    white-space: nowrap;
    padding-right: 1rem;
    animation-name: carousel01;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  .x_u-s-body {
    font-size: 16px;
    font-weight: 400;
  }
  
  .x_nav_contact-btn_fade {
    position: absolute;
    inset: 0 auto 0 -1px;
    width: 1.25rem;
    height: 100%;
    background-image: linear-gradient(90deg, #faf9f6 40%, transparent);
  }
  
  .x_nav_contact-btn_fade.is-right {
    left: auto;
    right: -1px;
    transform: rotate(180deg);
  }
  
  .info {
    height: 0;
    padding: 0;
    opacity: 0;
  }
  
  .info p {
    padding-left: 10px;
    font-size: 16px;
    color: #faf9f6;
  }
  .info p a{
   color: #faf9f6;
   text-decoration:none;
  }
  
  .open_info {
    display: flex;
    align-items: center;
  }
  
  .open_info:hover .line1,
  .open_info.active .line1 {
    transform: translate(16px, 10px);
  }
  
  .open_info:hover .line2,
  .open_info.active .line2 {
    transform: translate(-14px, -11px);
  }
  
  .line1,
  .line2 {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  /* ==========================================================================
     Popup overlay & banner
     ========================================================================== */
  
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    z-index: 1000;
    background: rgba(45, 45, 45, 0.8);
  }
  
  .popup-banner {
    position: relative;
    width: 90%;
    max-width: 567px;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    background: #faf9f6;
    transform: translateY(50px);
  }
  
  .popup-banner h2 {
    padding-top: 100px;
    padding-bottom: 20px;
    font-size: 45px;
    font-weight: 300;
    color: #2c2c2c;
  }
  
  .popup-banner p.subtitle {
    margin-bottom: 70px;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 300;
  }
  
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #2c2c2c;
    background: transparent;
    border: 0;
    z-index: 99;
  }
  
  
  .logo_popup {
    padding-top: 100px;
  }
  
  /* ==========================================================================
     Forms
     ========================================================================== */
  
  form {
    max-width: 380px;
    margin: 0 auto;
  }
  
  .form_wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form_wrap input {
    width: 100%;
    height: 58px;
    padding: 10px;
    font-size: 15px;
    line-height: 58px;
    color: #828282;
    background-color: #2c2c2c1a;
    border: 0;
  }
  
  .form_wrap input::placeholder {
    color: #828282;
  }
  
  .form_wrap button {
    position: absolute;
    right: 10px;
    width: 106px;
    height: 38px;
    font-size: 15px;
    color: #161616;
    background-color: #fff;
    border: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .form_wrap button:hover {
    color: #faf9f6;
    background-color: #161616;
  } 
  
  .newsletter-checkbox {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
    font-size: 14px;
    font-variation-settings: "wght" 400;
    letter-spacing: normal;
    line-height: 22px;
    color: #161616;
    position: relative;
    z-index: 99;
  }
  
  .newsletter-checkbox-label {
    cursor: pointer;
  }
  
  .newsletter-checkbox a {
    color: #161616;
    text-decoration: underline;
  }
  
  input[type="checkbox"] {
    display: grid;
    flex-shrink: 0;
    width: 1.15em;
    min-width: 22px;
    height: 1.15em;
    min-height: 22px;
    margin: 0;
    color: currentColor;
    background-color: #fff;
    border: 0.11em solid currentColor;
    place-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: background-color 0.12s ease-in-out;
    transform: translateY(-0.075em);
  }
  
  input[type="checkbox"]::before {
    width: 0.65em;
    height: 0.65em;
    content: "";
    background-color: transparent;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: transform 0.12s ease-in-out;
    pointer-events: none;
  }
  
  input[type="checkbox"]:checked {
    background-color: #161616;
    border: 0.15em solid #fff;
  }
  
  input[type="checkbox"]:checked::before {
    background-color: #fff;
    transform: scale(1);
  }
  
  /* ==========================================================================
     Trail images (hero)
     ========================================================================== */
  
  .trail-img {
    position: absolute;
     max-width: 300px;
    height: 200px;
    object-fit: contain;
    pointer-events: none;
    transform-origin: center;
    will-change: transform;
  }
  
  @media screen and (max-width: 768px) {
    h1,
    .headline {
      font-size: 12vw;
      text-align: center;
    }
  
    .headline-typed {
      display: inline;
    }
  
    .headline-cursor {
      display: inline-block;
      margin-left: 2px;
    }
    .navwrap{
      bottom: 30px;
    }
    
  .trail-img {
     max-width: 200px;
      height: 100px;
  }
  }
  
  #form-message{
    padding-top: 18px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
  }
  
