:root{
  --bg:#ffffff;
  --footer:#F0F1F3;
  --text:#44403C;
  --muted:#8f8f8f;
  --line:#F0F1F3;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family: "Geist", sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(1240px,92%);
  margin:auto;
}

/* HEADER */

.header{
  position:sticky;
  top:0;
  z-index:100;
  background:#ffffff;
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.nav{
  height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  color: #A8A29E;
  font-family: "Geist", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 120%;
}

.menu{
  display:flex;
  list-style:none;
align-items: center;
  gap:48px;
}

.menu a{
  color: #A8A29E;
font-family: "Geist", sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 120%;
  transition:.25s;
}

.menu a:hover,
.menu a.active{
  color:#171717;
}

/* HERO */

.hero{
  padding-top:96px;
  padding-bottom:96px;
}

.eyebrow{
  color: #A8A29E;
font-family: "Geist Mono";
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 24px */
text-transform: uppercase;
margin-bottom: 25px;
display: inline-block;
clear: both;
}

.hero h1{
  color: #171717;
font-family: "Geist", sans-serif;
font-size: 80px;
font-style: normal;
font-weight: 600;
line-height: 120%;
margin-bottom: 40px;
}

.hero p{
  color: #44403C;
font-family: "Geist", sans-serif;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 170%;
letter-spacing: 1px;
}

/* GENERAL SECTIONS */

.section{
  padding-bottom:180px;
}

.projects{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:42px;
  margin-top:34px;
}

.project-card{
  cursor:pointer;
}

.project-image{
border-radius: 12px;
background: #FAFAF9;
  overflow:hidden;
  margin-bottom: 25px;
}

.project-image img{
  aspect-ratio:580/414;
  object-fit:cover;
  transition:transform .6s ease;
}

.project-card h3{
 color: #171717;
font-family: "Geist", sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 170%;
}

.project-card span{
  color: #A8A29E;
font-family: "Geist", sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 170%;
}

/* SERVICES */

.service-grid{
  margin-top:40px;

  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:100px;
}

.service h3{
  color: #171717;
font-family: "Geist", sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 170%;
}

.service ul{
  list-style:none;
}

.service li{
  color: #A8A29E;
font-family: "Geist", sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 170%;
}

.project-card.modal-trigger{
  border:0;
  background:none;
  text-align:left;
}

.project-modal{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
  align-items:flex-end;
  justify-content:center;
  background:rgba(36, 36, 36, 0.6);
    overflow-y: auto;
}

.project-modal.is-open{
  display:flex;
}

.modal-content {
    overflow-y: auto;
}

.modal-panel{
    position: relative;
    max-height: calc(100vh - 140px);
  width:100%;
  background:#fff;
  border-radius:48px 48px 0 0;
}

.modal-card{
  width:min(1240px,92%);
  margin:0 auto;
  padding:120px 0;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
  align-items:center;
    max-height: inherit;
}

.modal-content h2{
  margin-top:24px;
  font-size:80px;
  line-height:120%;
  letter-spacing:0px;
  font-weight:600;
}

.modal-content p{
  max-width:520px;
  margin-top:44px;
  color:#44403C;
  font-size:18px;
  line-height:170%;
  letter-spacing: 1px;
}

.modal-close {
     position: absolute;
    top: -60px;
    right: 60px;
    color: #fff;
    z-index: 1000;
	font-size: 40px;
	box-shadow: none;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.modal-meta{
  max-width:440px;
  margin-top:28px;
}

.modal-meta div{
  padding:16px 0;
  border-bottom:1px solid #e8e3df;
}

.modal-meta dt{
  margin-bottom:6px;
  color:#A8A29E;
  font-family:"Geist Mono", monospace;
  font-size:15px;
  font-weight:500;
  line-height:120%;
  text-transform:uppercase;
}

.modal-meta dd{
  font-size:18px;
  font-weight:650;
}

.modal-image img{
  max-height:620px;
  object-fit:contain;
}

body.modal-open{
  overflow:hidden;
}

@media(max-width:900px){
  .modal-card{
    min-height:85vh;
    padding:80px 32px;
    grid-template-columns:1fr;
    gap:40px;
    overflow-y:auto;
  }

  .modal-content h2{
    font-size:56px;
  }
}

/* FOOTER */

footer{
  background:var(--footer);
  padding:90px 0 30px;
}

.footer{
    display:flex;
    align-items:flex-start;
}

.footer-left{
    width:50%;
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
}

.footer-right{
    width:50%;
}

.footer-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
}

.footer-bottom{
  margin-top:48px;
}

.footer-logo a {
  color: #171717;
font-family: "Geist Mono";
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 120%; 
text-transform: uppercase;
}

footer h4{
  color: #A8A29E;
font-family: "Geist", sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 170%;
margin-bottom: 15px;
}

footer a{
	display:block;
  color: #171717;
font-family: "Geist", sans-serif;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 170%;
}

footer a.email-link {
	margin-bottom: 15px;
}

.copyright{
  width:min(1240px,92%);
  margin:60px auto 0;
  color: #A8A29E;
font-family: "Geist", sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 170%; /* 20.4px */
letter-spacing: 1px;
}

.about-hero{
  min-height:588px;
  display:flex;
  align-items:center;
  padding:88px 0 96px;
}

.about-grid{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:176px;
  align-items:center;
}

.about-image-wrap{
  width:230px;
  height:230px;
}

.about-image{
  width:230px;
  height:230px;
  border-radius:50%;
  object-fit:cover;
  filter:grayscale(100%);
}

.about-content h1{
  color:var(--text);
  font-size:80px;
  font-weight:600;
  line-height:1;
  letter-spacing:0px;
  margin-bottom:48px;
}

.about-content p{
  max-width:548px;
  color:var(--body);
  font-size:17px;
  font-weight:400;
  line-height:1.62;
  letter-spacing:1px;
  margin-bottom:28px;
}

.contact-column a:last-child{
  color:#44403C;
}

/* RESPONSIVE */



@media (max-width: 1024px){
  .container{ width:min(92%, 880px); }

  .hero{ padding-top:80px; padding-bottom:100px; }
  .hero h1{ font-size:clamp(48px, 8vw, 68px); line-height:1.12; }

  .projects{ gap:28px; }
  .service-grid{ gap:48px; }

  .modal-panel{ max-height:calc(100vh - 90px); border-radius:32px 32px 0 0; }
  .modal-card{ grid-template-columns:1fr; gap:48px; padding:80px 0; }
  .modal-content h2{ font-size:clamp(44px, 8vw, 64px); }
  .modal-content p{ margin-top:28px; max-width:100%; }
  .modal-image img{ max-height:none; }

  .about-grid{ grid-template-columns:260px 1fr; gap:80px; }
}

@media (max-width:900px){

  .hero{
    padding-top:40px;
    padding-bottom:40px;
  }

  .hero h1{
    font-size:48px;
  }

  .hero p{
    font-size:18px;
  }

  .section {
    padding-bottom: 90px;
  }

  .projects{
    grid-template-columns:1fr;
    gap: 0;
    margin-top: 0;
  }

  .projects .project-card:first-child {
    margin-bottom: 60px;
  }

  .service-grid{
    grid-template-columns:1fr;
    gap:60px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .menu{
    gap:24px;
  }
  .footer-left {
    width: 30%;
  }
  .footer-right {
    width: 70%;
}
}

@media (max-width:600px){

  /* .nav{
    flex-direction:column;
    justify-content:center;
    gap:12px;
    height:auto;
    padding:18px 0;
  } */

  .hero h1{
    font-size:42px;
  }

  .project-card h3{
    font-size:24px;
  }

  .service h3{
    font-size:24px;
  }
}

@media (max-width: 768px){
  /* .nav{ height:auto; padding:20px 0; gap:18px; flex-direction:column; align-items:flex-start; } */
  .menu{ gap:28px; flex-wrap:wrap; }

  .hero{ padding-top:64px; padding-bottom:90px; }
  .hero h1{ font-size:44px; margin-bottom:28px; }
  .hero p{ font-size:16px; line-height:1.65; }

  .section{ padding-bottom:100px; }
  .projects{ grid-template-columns:1fr; gap:46px; }
  .project-card h3,
  .project-card span,
  .service h3,
  .service li{ font-size:20px; line-height:1.45; }

  .service-grid{ grid-template-columns:1fr; gap:42px; }

  .modal-close{ top:-48px; right:22px; font-size:36px; }
  .modal-card{ width:100%; padding:64px 20px; }

  .footer{ flex-direction:column; gap:42px; }
  .footer-left,
  .footer-right{ width:100%; }
  .footer-top{ grid-template-columns:1fr; gap:34px; }
  footer a,
  footer h4{ font-size:20px; line-height:1.55; }

  .about-hero{ padding:64px 0 90px; }
  .about-grid{ grid-template-columns:1fr; gap:42px; }
  .about-content h1{ font-size:48px; margin-bottom:28px; }
}

@media (max-width: 480px){
  .container{ width:90%; }
  .nav{ align-items:center; text-align:center; }
  .menu{ justify-content:center; gap:18px; }
  .menu a,
  .logo{ font-size:15px; }

  .hero h1{ font-size:36px; }
  .eyebrow{ font-size:14px; margin-bottom:18px; }
  .project-image{ border-radius:10px; }

  .modal-panel{ max-height:calc(100vh - 76px); border-radius:24px 24px 0 0; }
  .modal-card{ padding:48px 20px; gap:34px; }
  .modal-content h2{ font-size:38px; }

  .copyright{ margin-top:42px; }
}

.disappears {
  display: inline-block;
  vertical-align: baseline;
  margin-right: 0.25em;
  color: #A8A29E;
  /* color: #A8A29E; */
}

.gray-dot {
  display: inline-block;
  opacity: 0;
  color: #A8A29E;
}

.disintegration-piece {
  display: block;
  margin: 0;
  padding: 0;
}




