*{
  box-sizing:border-box;
}

html,
body{
  width:100%;
  min-height:100%;
  margin:0;
  background:#111;
  color:#f5f5f2;
  font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;
}

body{
  overflow:hidden;
}

button,
input,
textarea{
  font:inherit;
}

.hero{
  position:relative;
  width:100%;
  min-height:100svh;
  overflow:hidden;
  background:#111;
}

.hero-picture{
  position:absolute;
  inset:0;
  display:block;
}

.hero-picture img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}

.shade{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0) 34%,
      rgba(0,0,0,.08) 51%,
      rgba(0,0,0,.40) 100%
    );
}

.identity{
  position:absolute;
  z-index:1;
  left:70%;
  top:40%;
  width:min(760px,55vw);
  transform:translate(-50%,-50%);
  text-align:center;
  white-space:nowrap;
  opacity:0;
  animation:fade .9s ease .25s forwards;
}

h1{
  margin:0;
  font-size:clamp(2.5rem,4.1vw,5.4rem);
  font-weight:400;
  line-height:1;
  letter-spacing:.22em;
}

.identity p{
  margin:1.8rem 0 0;
  font-size:clamp(.72rem,1.05vw,1.05rem);
  font-weight:400;
  line-height:1.5;
  letter-spacing:.055em;
}

.line{
  display:block;
  width:92px;
  height:1px;
  margin:2.15rem auto 2.25rem;
  background:rgba(255,255,255,.72);
}

nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:4.2rem;
}

nav a,
nav button{
  padding:.4rem 0;
  border:0;
  border-bottom:1px solid transparent;
  color:inherit;
  background:none;
  font-size:.78rem;
  font-weight:400;
  letter-spacing:.22em;
  text-decoration:none;
  cursor:pointer;
  transition:opacity .2s ease,border-color .2s ease;
}

nav a:hover,
nav button:hover,
nav a:focus-visible,
nav button:focus-visible{
  opacity:.68;
  border-bottom-color:rgba(255,255,255,.45);
  outline:none;
}

dialog{
  width:min(540px,calc(100vw - 32px));
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  color:#f5f5f2;
  background:rgba(14,14,14,.98);
  box-shadow:0 30px 90px rgba(0,0,0,.58);
}

dialog::backdrop{
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(4px);
}

.contact-card{
  position:relative;
  padding:3.4rem;
}

.contact-card h2{
  margin:0 0 2rem;
  font-size:.9rem;
  font-weight:400;
  letter-spacing:.24em;
}

.contact-card label{
  display:block;
  margin:0 0 1.35rem;
  color:rgba(255,255,255,.72);
  font-size:.68rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.contact-card input,
.contact-card textarea{
  display:block;
  width:100%;
  margin-top:.6rem;
  padding:.7rem 0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.28);
  border-radius:0;
  outline:0;
  color:white;
  background:transparent;
}

.contact-card input:focus,
.contact-card textarea:focus{
  border-bottom-color:rgba(255,255,255,.8);
}

.close{
  position:absolute;
  top:.7rem;
  right:1rem;
  border:0;
  color:white;
  background:none;
  font-size:2rem;
  font-weight:200;
  cursor:pointer;
}

.send{
  padding:.75rem 0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.5);
  color:white;
  background:none;
  font-size:.72rem;
  letter-spacing:.2em;
  cursor:pointer;
}

.send[disabled]{
  opacity:.45;
  cursor:wait;
}

.form-status{
  min-height:1.2em;
  margin:1.2rem 0 0;
  color:rgba(255,255,255,.72);
  font-size:.72rem;
  line-height:1.5;
  letter-spacing:.04em;
}

.website-field{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

@keyframes fade{
  to{opacity:1}
}

@media (max-width:820px){
  body{
    overflow:hidden;
  }

  .hero-picture img{
    object-fit:cover;
    object-position:center center;
  }

  .shade{
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.56) 0%,
        rgba(0,0,0,.34) 15%,
        rgba(0,0,0,.05) 33%,
        rgba(0,0,0,0) 100%
      );
  }

  .identity{
    left:50%;
    top:68%;
    bottom:auto;
    width:calc(100% - 28px);
    transform:translate(-50%,-50%);
    white-space:normal;
  }

  h1{
    font-size:clamp(2rem,9.4vw,3.4rem);
    line-height:1.08;
    letter-spacing:.12em;
  }

  .identity p{
    margin-top:1.1rem;
    font-size:clamp(.68rem,3.3vw,.9rem);
    line-height:1.55;
    letter-spacing:.035em;
  }

  .line{
    width:72px;
    margin:1.55rem auto 1.6rem;
  }

  nav{
    gap:1.8rem;
  }

  nav a,
  nav button{
    font-size:.72rem;
    letter-spacing:.18em;
  }

  .contact-card{
    padding:3rem 1.6rem 2rem;
  }
}

@media (max-width:390px){
  .identity{
    top:69%;
  }

  h1{
    font-size:clamp(1.85rem,9vw,2.5rem);
  }

  .identity p{
    font-size:.66rem;
  }

  nav{
    gap:1.35rem;
  }

  nav a,
  nav button{
    font-size:.67rem;
    letter-spacing:.15em;
  }
}

@media (prefers-reduced-motion:reduce){
  .identity{
    opacity:1;
    animation:none;
  }
}


.contact-options{
  margin:0 0 2rem;
  text-align:center;
}
.contact-label{
  color:rgba(255,255,255,.72);
  font-size:.68rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:.45rem;
}
.phone-link{
  color:#fff;
  text-decoration:none;
  font-size:1rem;
  letter-spacing:.08em;
}
.phone-link:hover{opacity:.7;}
.contact-or{
  margin:1.4rem 0;
  color:rgba(255,255,255,.5);
  font-size:.72rem;
  letter-spacing:.18em;
}


/* Success state after a native Netlify Forms submission */
.contact-card.submitted > label,
.contact-card.submitted .contact-options,
.contact-card.submitted .send {
  display: none;
}

.contact-card.submitted .form-status {
  min-height: auto;
  margin: 2.5rem 0 1rem;
  color: #fff;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .08em;
}
