/* =========================
   SERVICE HERO
========================= */

.service-hero-shell{
  width: 100%;
}

@media (min-width: 992px){

  .service-hero-shell{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .service-hero{
    flex: 1;
    min-height: 0;
  }

}

.service-hero{
  position: relative;
  min-height: 82vh;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 992px){
  .service-hero{
    min-height: 0;
  }
}

.service-hero__media{
  position: absolute;
  inset: 0;
}

.service-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.48) 45%, rgba(0,0,0,0.18) 100%);
  z-index: 1;
}

.service-hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-hero__content{
  max-width: 820px;
}

.service-hero__eyebrow{
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.service-hero__title{
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  color: #fff;
}

/* =========================
   BULLETS
========================= */

.service-hero__points{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.service-hero__point{
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.service-hero__icon{
  flex: 0 0 auto;
}

.service-hero__icon-svg{
  width: 18px;
  height: 18px;
  display: block;
  color: rgba(255,255,255,0.9);
}

.service-hero__point-text{
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

.service-hero__point-text strong{
  color: #fff;
  font-weight: 700;
}


@media (max-width: 1290px){
  .service-hero__points{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
  }

  .service-hero__point{
    white-space: normal;
  }
}

@media (max-width: 991px){
  .service-hero{
    min-height: 65vh;
  }

  .service-hero__inner{
    padding: 110px 24px 34px;
  }
}

@media (max-width: 640px){
  .service-hero{
    min-height: 55vh;
  }

  .service-hero__inner{
    padding: 80px 18px 28px;
  }

  .service-hero__title{
    font-size: clamp(32px, 9vw, 46px);
  }

  .service-hero__point-text{
    font-size: 15px;
    line-height: 1.55;
  }
}

/* initial state */
.service-hero__point{
  opacity: 0;
  transform: translateY(24px);
  animation: heroPointFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* stagger timing */
.service-hero__point:nth-child(1){
  animation-delay: 0.5s;
}

.service-hero__point:nth-child(2){
  animation-delay: 1s;
}

.service-hero__point:nth-child(3){
  animation-delay: 1.5s;
}

/* animation */
@keyframes heroPointFadeUp{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================
    What We Build 
==========================*/

.service-build-options{
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.service-build-options__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-build-options__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-build-options__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
  z-index: 0;
}

.service-build-options__inner{
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 84px 24px;
}

.service-build-options__header{
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.service-build-options__eyebrow{
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.service-build-options__title{
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  color: #fff;
}

.service-build-options__text{
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.84);
}

.service-build-options__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-build-option{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(5px);
  padding: 30px 24px;
  text-align: center;
}

.service-build-option__icon{
  margin-bottom: 18px;
}

.service-build-option__icon-svg{
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
  color: #fff;
}


.service-build-option__title{
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #fff;
}

.service-build-option__text{
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 991px){
  .service-build-options__inner{
    padding: 72px 22px;
  }

  .service-build-options__grid{
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 640px){
  .service-build-options__inner{
    padding: 56px 18px;
  }

  .service-build-options__title{
    font-size: clamp(26px, 8vw, 34px);
  }

  .service-build-options__text{
    font-size: 15px;
    line-height: 1.65;
  }

  .service-build-option{
    padding: 24px 20px;
  }
}


/* =========================
   MAIN CONTENT
========================= */

.service-content{
  background: #fff;
  color: #000;
}

.service-content__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 78px 24px;
}

.service-content__main{
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0,0,0,0.88);
}

.service-content__main > *:first-child{
  margin-top: 0;
}

.service-content__main h2{
  margin: 46px 0 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  color: #000;
}

.service-content__main h3{
  margin: 30px 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  color: #000;
}

.service-content__main p{
  margin: 0 0 18px;
}

.service-content__main ul,
.service-content__main ol{
  margin: 0 0 24px 22px;
  padding: 0;
}

.service-content__main li{
  margin: 0 0 10px;
}

.service-content__main a{
  color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 640px){
  .service-content__inner{
    padding: 56px 18px;
  }
}

.service-content__main{
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0,0,0,0.88);
}

.service-content__main > *{
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-content__main > *.is-visible{
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   PROJECTS
========================= */

.service-projects{
  background: #000;
  color: #fff;
}

.service-projects__header{
  padding: 18px 24px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.service-projects__title{
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.service-projects__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #000;
}

.service-project-card{
  position: relative;
  background: #111;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.service-project-card:nth-child(3n){
  border-right: 0;
}

.service-project-card:nth-last-child(-n + 3){
  border-bottom: 0;
}

.service-project-card__link{
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.service-project-card__media{
  position: relative;
  width: 100%;
  height: 100%;
}

.service-project-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-project-card__placeholder{
  width: 100%;
  height: 100%;
  background: #222;
}

.service-project-card__title{
  position: absolute;
  left: 20px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  z-index: 2;
}

@media (min-width: 768px){
  .service-project-card__link::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
    pointer-events: none;
  }

  .service-project-card__title{
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .service-project-card__link:hover::after{
    opacity: 1;
  }

  .service-project-card__link:hover .service-project-card__title{
    opacity: 1;
  }
}

@media (max-width: 767px){
  .service-project-card__link::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.38) 38%, rgba(0,0,0,0) 68%);
    z-index: 1;
    pointer-events: none;
  }
}

.service-projects__footer{
  padding: 18px 24px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  display: flex;
  justify-content: flex-start;
}

.service-projects__view-all{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1100px){
  .service-projects__grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .service-project-card:nth-child(3n){
    border-right: 2px solid #fff;
  }

  .service-project-card:nth-child(2n){
    border-right: 0;
  }

  .service-project-card:nth-last-child(-n + 3){
    border-bottom: 2px solid #fff;
  }

  .service-project-card:nth-last-child(-n + 2){
    border-bottom: 0;
  }
}

@media (max-width: 767px){
  .service-projects__grid{
    grid-template-columns: 1fr;
  }

  .service-project-card{
    border-right: 0;
  }

  .service-project-card:last-child{
    border-bottom: 0;
  }
}


/* =========================
   FAQ
========================= */

.service-faq{
  background: #fff;
  color: #000;
}

.service-faq__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 82px 24px;
}

.service-faq__header{
  max-width: 720px;
  margin-bottom: 32px;
}

.service-faq__eyebrow{
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.58);
}

.service-faq__title{
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

@media (max-width: 640px){
  .service-faq__inner{
    padding: 56px 18px;
  }
}