:root{
  --bg:#fff;
  --text:#171717;
  --muted:#5e5a56;
  --stone:#A8A29E;
  --line:#e8e3df;
  --dark:#0f1724;
  --teal:#00a79d;
  --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;
}

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

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

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

/* TYPOGRAPHY */

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

.teal{
  color:var(--teal);
}

/* HERO */

.case-hero{
  padding:120px 0 90px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.45fr .8fr;
  gap:90px;
  align-items:start;
}

.case-hero h1{ 
  max-width: 410px;
  margin-top:18px;
  font-size:80px;
  line-height:120%;
  letter-spacing:0px;
  font-weight:600;
}

.case-intro{
  margin-top:60px;
  color:#44403C;
  font-size:18px;
  line-height:170%;
  letter-spacing: 1px;
}

.case-meta div{
  padding:18px 0;
  border-bottom:1px solid var(--line);
}

.case-meta div:first-child {
  padding-top: 0;
}

.case-meta dt{
  margin-bottom:8px;
  color:var(--stone);
  font-family:"Geist Mono", monospace;
  font-size:16px;
  line-height: 120%;
  font-weight:500;
  text-transform:uppercase;
}

.case-meta dd{
  font-size:18px;
  font-weight:600;
}

.hero-image{
  margin-top:100px;
}

.hero-image img{
  max-width:1120px;
  margin-inline:auto;
}

/* STICKY NAV */

.case-study-content{
  background:var(--bg);
}

.sticky-case-nav{
  position:sticky;
  top:84px;
  z-index:60;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
}

.sticky-inner{
  min-height:68px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px;
}

.breadcrumb,
.case-tabs{
  display:flex;
  align-items:center;
  gap:14px;
  color:#111;
  font-size:14px;
  font-weight:600;
}
.breadcrumb {
  gap: 0;
}

.breadcrumb span {
  color: #A8A29E;
  margin-right: 5px;
}

.breadcrumb span.black {
  color: #171717;
}

.case-tabs{
  gap:32px;
}

.case-nav-link{
  color:#A8A29E;
  font-weight:500;
  transition:color .2s ease, font-weight .2s ease;
}

.case-nav-link.active{
  color:#171717;
  font-weight:800;
}

/* SECTIONS */

.case-section{
  padding:92px 0;
}

.two-col{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:90px;
}

.two-column-66-33 {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 90px;
    margin-bottom: 70px;
}

.two-column-55-45 {
    display: grid;
    grid-template-columns: 1.10fr 0.90fr;
    gap: 90px;
    margin-bottom: 70px;
}

.two-column-40-60 {
    display: grid;
    grid-template-columns: 0.80fr 1.20fr;
    gap: 90px;
    margin-bottom: 70px;
}

.two-column-60-40 {
    display: grid;
    grid-template-columns: 1.20fr 0.80fr;
    gap: 90px;
    margin-bottom: 70px;
}

.two-column-45-55 {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    margin-bottom: 70px;
}

.two-column-75-25 {
    display: grid;
    grid-template-columns: 1.50fr 0.50fr;
    gap: 80px;
    margin-bottom: 70px;
}

.bottom-align {
  align-items: end;
}

.two-column-25-75 {
    display: grid;
    grid-template-columns: 0.50fr 1.50fr;
    gap: 80px;
    margin-bottom: 70px;
}

.case-section .two-column-75-25 h2,
.dark-band .two-column-75-25 h2 {
  max-width: 100%;
}

.two-column-45-55.mb-0 {
  margin-bottom: 0;
}

.three-col{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:70px;
  width: 100%;
}

#filtering .two-column-60-40 {
  gap: 80px;
}

.case-section .fullwidth h2 {
  max-width: 100%;
  margin-bottom: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.margin-0 {
  margin: 0;
}

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

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

.image-block.quick-filter {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.image-block.quick-filter img {
      width: auto;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -60px;
}

.case-section h2,
.dark-band h2{
  max-width:750px;
  margin-top:18px;
  font-size:80px;
  line-height:120%;
  letter-spacing:0px;
  font-weight:600;
}

.no-margin,
.case-section h2.no-margin {
  margin: 0;
}

.body-copy p{
  color:#44403C;
  font-size:18px;
  line-height:170%;
  font-weight: 400;
  letter-spacing: 1px;
}

.body-copy span.small-label {
  margin-bottom: 20px;
  display: block;
  float: left;
  width: 100%;
}

.body-copy p + p{
  margin-top:24px;
}

.dark-band .body-copy p {
  font-size: 18px;
  line-height: 170%;
  color: #A8A29E;
}

.dark-band .body-copy p b {
  color: #fff;
}

.formula-bottom {
 width: min(1240px, 92%);
    margin-inline: auto;
    display: flex;
    height: 59px;
    padding: 19px 0 16px 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.formula-bottom span {
  color: #939393;
font-family: "Geist Mono";
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 24px */
text-transform: uppercase;
}

.formula-bottom span.teal {
  color: #00A399;
}

.image-block{
  margin-top:70px;
}

.image-block.no-margin {
  margin: 0;
}

.image-block img,
.quick-grid img{
  border-radius:16px;
  /* box-shadow:0 24px 70px rgba(0,0,0,.07); */
}

/* DARK BAND */

.dark-band{
  padding:78px 0;
  background:var(--dark);
  color:#fff;
}

.pb-0 {
  padding-bottom: 0;
}

.dark-band .body-copy{
  color:#d3d0cc;
}

.dark-band .formula{
  color:#fff;
}

.dark-band h2{
  color:#fff;
}

.dark-image{
  margin-top:50px;
}

.dark-image img{
  border-radius:14px;
}

.dark-copy{
  max-width:650px;
  margin-top:24px;
  color:#d3d0cc;
  font-size:20px;
  line-height:1.55;
}

/* QUICK GRID */

.quick-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  align-items:start;
}

.quick-grid.two-images{
  grid-template-columns:1fr 1fr;
}

/* NEXT PROJECT */

.next-project{
  padding:42px 0 110px;
}

.next-project a{
  display:inline-flex;
  align-items: center;
  color:#171717;
  font-size:22px;
  font-weight:600;
  letter-spacing:0px;
    font-family: "Geist", sans-serif;
}
.next-project a span {
  float: left;
  margin-right: 5px;
}

.next-project a:hover{
  opacity:.65;
}

.arrow {
  max-width: 12px;
}

/* RESPONSIVE */

@media (max-width:1000px){

  .hero-grid,
  .two-col{
    grid-template-columns:1fr;
    gap:44px;
  }

  .case-hero{
    padding:80px 0;
  }

  .case-intro{
    margin-top:38px;
  }

  .case-meta{
    margin-top:0;
  }

  .sticky-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:18px 0;
  }

  .case-tabs{
    width:100%;
    gap:18px;
    overflow-x:auto;
    padding-bottom:4px;
  }

  .case-tabs a{
    flex:0 0 auto;
  }

  .quick-grid,
  .quick-grid.two-images{
    grid-template-columns:1fr;
  }

  .footer{
    flex-direction:column;
    gap:48px;
  }

  .footer-left,
  .footer-right{
    width:100%;
  }
}




@media (max-width: 1100px){
  .container{ width:min(92%, 900px); }
  .hero-grid,
  .case-hero-grid,
  .two-col,
  .two-column-66-33,
  .two-column-33-66,
  .two-column-55-45,
  .two-column-40-60,
  .two-column-60-40,
  .two-column-45-55,
  .two-column-75-25,
  .two-column-25-75,
  .visual-grid,
  .payment-item,
  .onboarding-grid{
    grid-template-columns:1fr !important;
    gap:42px !important;
  }
  .three-col,
  .quick-grid,
  .quick-grid.two-images{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:32px !important;
  }
  .case-hero{ padding:84px 0 72px; }
  .case-hero-visual{ justify-self:start; max-width:100%; }
  .case-intro{ margin-top:32px; }
  .sticky-inner{ align-items:flex-start; flex-direction:column; padding:16px 0; }
  .case-tabs{ width:100%; overflow-x:auto; gap:18px !important; padding-bottom:6px; -webkit-overflow-scrolling:touch; }
  .case-tabs a{ flex:0 0 auto; white-space:nowrap; }
  .formula-bottom{ height:auto; flex-wrap:wrap; justify-content:flex-start; gap:12px 18px; padding:18px 0; }
}

@media (max-width: 768px){
  /* .nav,
  .site-header .nav{ height:auto; padding:20px 0; gap:18px; flex-direction:column; align-items:flex-start; } */
  .menu{ gap:28px; flex-wrap:wrap; }
  .case-hero h1,
  .case-detail-section h2,
  .case-block h2,
  .case-section h2,
  .dark-band h2{ font-size:clamp(40px, 10vw, 56px) !important; line-height:1.08 !important; }
  .eyebrow,
  .small-label{ font-size:15px; }
  .case-intro,
  .body-copy,
  .case-detail-section p,
  .dark-copy{ font-size:16px !important; line-height:1.65 !important; }
  .case-section,
  .case-block{ padding:64px 0; }
  .dark-band{ padding:56px 0; }
  .hero-image{ margin-top:54px; }
  .cover-strip{ height:170px; }
  .image-block,
  .dark-image{ overflow:hidden; }
  .image-block img,
  .dark-image img,
  .flow-card img{ border-radius:10px; }
  .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; }
}

@media (max-width:640px){
  .menu{
    gap:24px;
  }

  .eyebrow,
  .small-label{
    font-size:15px;
  }

  .case-hero h1{
    font-size:58px;
  }

  .case-section h2,
  .dark-band h2{
    font-size:42px;
  }

  .case-intro,
  .body-copy,
  .dark-copy{
    font-size:17px;
  }

  .case-section{
    padding:64px 0;
  }

  .dark-band{
    padding:56px 0;
  }

  .footer-top{
    grid-template-columns:1fr;
    gap:34px;
  }
  .next-project a {
    font-size: 16px;
  }

  footer a, footer h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px){
  .container{ width:90%; }
  /* .nav,
  .site-header .nav{ align-items:center; text-align:center; } */
  .menu{ justify-content:center; gap:18px; }
  .case-hero{ padding:60px 0 54px; }
  .case-hero h1,
  .case-detail-section h2,
  .case-block h2,
  .case-section h2,
  .dark-band h2{ font-size:36px !important; }
  .case-tabs{ font-size:13px; }
  .case-meta dd,
  .case-meta dt{ font-size:15px; }
  .formula-bottom span{ font-size:14px; }
  .next-project{ padding:34px 0 72px; }
}