:root{
  --bg:#f7f7f7;
  --text:#171717;
  --muted:#5e5a56;
  --stone:#A8A29E;
  --line:#e8e3df;
  --footer:#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;
}

body.modal-open{
  overflow:hidden;
}

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

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

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

/* HERO */

.two-col {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.eyebrow{
  display:block;
  color:var(--stone);
  font-family:"Geist Mono", monospace;
  font-size:20px;
  font-weight:500;
  line-height:120%;
  text-transform:uppercase;
}

.process-hero{
  padding:120px 0 70px;
}

.process-hero h1{
  margin-top: 24px;
  font-size:80px;
  line-height:120%;
  letter-spacing:0px;
  font-weight:600;
  letter-spacing: 0px;
}

.process-hero p{
  margin-top:28px;
  color:#44403C;
  font-size:18px;
  letter-spacing: 1px;
}

/* GRID */

.process-section{
  padding-bottom:120px;
}

.process-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.process-card{
  border:0;
  background:#fff;
  border-radius:14px;
  padding:22px;
  cursor:pointer;
  text-align:left;
  transition:transform .25s ease, box-shadow .25s ease;
}

.process-card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.process-card h2{
  font-size:24px;
  line-height:170%;
  letter-spacing:0px;
  font-weight:600;
  color: #171717;
}

.process-card-header i{
  color:#A8A29E;
  font-size:14px;
}

.process-card img{
  height:260px;
  object-fit:cover;
  border-radius:8px;
  background:#f1f1f1;
}

.process-card p{
  margin-top:20px;
  color:#44403C;
  font-size:18px;
  line-height:170%;
  letter-spacing: 1px;
}

/* MODAL */

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

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

.modal-close{
  position:absolute;
  bottom:calc(100vH - 160px);
  top: auto;
  right:60px;
  z-index:1001;
  border:0;
  background:transparent;
  color:#fff;
  font-size:42px;
  line-height:1;
  cursor:pointer;
}

.modal-panel{
  width:100%;
  min-height:78vh;
  max-height:calc(100vh - 200px);
  overflow-y:auto;
  background:#fff;
  border-radius:48px 48px 0 0;
}

.modal-card{
  width:min(1240px,92%);
  margin:0 auto;
  padding:110px 0;
  gap:80px;
  align-items:center;
  display: block;
}

.modal-card h2{
  
  font-size:80px;
  line-height:120%;
  letter-spacing:0px;
  font-weight:600;
  letter-spacing: 0px; 
  margin-bottom: 40px;
}

.modal-card p{
  color:#44403C;
  font-size:18px;
  line-height:170%;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.modal-card img{
  width: 100%;
  height: auto;
  object-fit:contain;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-70 {
  margin-bottom: 70px;
}

.pb-70 {
  padding-bottom: 70px;
}

.two-col.gap-80 {
  gap: 80px;
  margin-top: 100px;
}

.two-col.gap-80 div {
  width: 100%;
}

.mw-390px {
  max-width: 390px;
}

ul.list-two-columns {
  column-count: 2;
    column-gap: 30px;
}

.modal-card ul {
  margin-bottom: 40px;
  padding-left: 25px;
}

.modal-card ul li{
  color:#44403C;
  font-size:18px;
  line-height:170%;
  letter-spacing: 1px;
}

/* RESPONSIVE */

@media(max-width:900px){
  .process-grid,
  .modal-card{
    grid-template-columns:1fr;
  }

  .modal-card{
    padding:80px 20px;
    width: 100%;
  }

  .footer{
    flex-direction:column;
    gap:48px;
  }
  .footer-left {
    width: 30%;
  }
  .footer-right {
    width: 70%;
}
}

@media(max-width:640px){
  /* .nav{
    height:auto;
    padding:18px 0;
    flex-direction:column;
    gap:14px;
  } */

  .menu{
    gap:24px;
  }

  .eyebrow{
    font-size:15px;
  }

  .process-hero{
    padding:80px 0 50px;
  }

  .process-hero h1{
    font-size:46px;
  }

  .process-card img{
    height:200px;
  }

  .modal-close{
    top:28px;
    right:28px;
  }

  .modal-panel{
    min-height:85vh;
  }

  .modal-card h2{
    font-size:44px;
  }

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

@media (max-width: 1024px){
  .container{ width:min(92%, 880px); }
  .two-col,
  .two-col.gap-80{ flex-direction:column; gap:0; margin-top:56px; }
  .mw-390px {
    max-width: 100%;
}
  .process-grid{ grid-template-columns:1fr; gap:28px; }
  .process-hero{ padding:88px 0 60px; }
  .process-hero h1{ font-size:clamp(48px, 8vw, 68px); line-height:1.12; }
  .modal-panel{ max-height:calc(100vh - 90px); min-height:auto; border-radius:32px 32px 0 0; }
  .modal-close{ bottom: calc(100vH - 80px); right: 30px;}
  .modal-card .two-col.gap-80 p.pb-70 {
    padding-bottom: 0;
  }
  .eyebrow.mb-40 {
    margin-bottom: 10px;
  }
  .modal-card h2 {
    margin-bottom: 20px;
  }
}

@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; }
  .process-grid{ gap:22px; }
  .process-card{ padding:18px; }
  .process-card img{ height:auto; aspect-ratio:16/10; }
  .process-card h2{ font-size:21px; line-height:1.35; }
  .process-card p,
  .modal-card p,
  .modal-card ul li{ font-size:16px; line-height:1.65; }
  /* .modal-card{ width:92%; padding:58px 0; } */
  .modal-card h2{ font-size:42px; line-height:1.12; }
  ul.list-two-columns{ column-count:1; }
  .footer{ flex-direction:column; gap:42px; }
  .footer-left,
  .footer-right{ width:100%; }
  .footer-top{ grid-template-columns:1fr; gap:34px; }
}

@media (max-width: 480px){
  .container{ width:90%; }
  /* .nav{ align-items:center; text-align:center; } */
  .menu{ justify-content:center; gap:18px; }
  .process-hero h1{ font-size:36px; }
  .process-hero p{ font-size:16px; line-height:1.65; }
  .eyebrow{ font-size:14px; }
  .modal-panel{ max-height:calc(100vh - 76px); border-radius:24px 24px 0 0; }
  .modal-card {padding: 0 20px;}
}