#title {
    width: 100%;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--space-64);
    padding-bottom: var(--space-96);
}

.title-container {
  max-width: var(--width-contained);
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: clamp(6rem, 13vw, 12rem);
  -webkit-text-stroke: 6px;
  line-height: 1;
  padding-left: var(--space-32);
  font-family: var(--ff-header);
}

.title-container p {
  font-size: var(--fs-25);
}

.mobile-word {
  display: none;
}


@media (max-width: 768px) {
  #title {
    padding-top: var(--space-96);
    padding-bottom: var(--space-8)
  }

  .title-container {
    max-width: var(--inline-margin);
  }

  .desktop-word {
    display: none;
  }

  .mobile-word {
    display: inline;
  }

  h1 {
    padding-bottom: var(--space-24);
  }

}

/* -- Gallery -- */

#gallery {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gallery-container {
  width: 100%;
  max-width: var(--width-contained);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-top {
  display: flex;
  width: 90%;
  justify-content: space-between;
  align-items: center;
}

#gallery h2 {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 200;
}

.gallery-arrows {
  display: flex;
  gap: var(--space-24);
  cursor: pointer;
}

.gallery-arrows button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: .75rem;
  -webkit-text-stroke: 1px var(--theme-text);
  font-size: var(--fs-25);
}

.gallery-horizontal-scroll {
  width: 100dvw;
  overflow: hidden;
  min-height: 80dvh;
  padding: var(--space-16);
  border-top: 2px solid var(--theme-text);
  border-radius: var(--radius-lg);
  overflow-x: hidden;
  overflow-y: visible;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.gallery-track {
  display: flex;
  gap: var(--space-16);
  flex-wrap: nowrap;
  height: 100%;
  width: max-content;
  will-change: transform;
  transform: translateZ(0);
}

.gallery-card {
  flex-shrink: 0;
  width: 600px;
  height: 800px;
  display: grid;
  grid-template-rows: 1fr 2fr 1fr;
  justify-content: center;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  text-decoration: none;
  color: inherit;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.gallery-card img,
.gallery-card video {
  pointer-events: none;
  -webkit-user-drag: none;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-top-text {
  color: var(--color-cream);
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-self: start;
}

.card-tags {
  display: flex;
  gap: var(--space-16);
  font-size: 12px;
  font-family: var(--ff-body);
  font-weight: 200;
  height: fit-content;
}

.card-tags p {
  border-radius: 4px;
  text-align: center;
  padding: .25rem 1rem;
}

.card-title {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-family: var(--ff-body);
  font-weight: 200;
}

.card-title h3 {
  font-size: 16px;
  font-family: var(--ff-body);
  font-weight: 200;
  line-height: 1;
}

.inner-card-wrapper {
  width: 500px;
  height: 312px;
  display: flex;
  justify-content: center;
  align-items: center;

  justify-self: center;
  align-self: center;
}

.inner-card-wrapper video,
.inner-card-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-card img,
.gallery-card video {
  display: block;
  backface-visibility: hidden;
}

.gallery-bottom {
  font-size: var(--fs-31);
  opacity: .75;
  padding-top: var(--space-48)
}

@media (max-width: 768px) {
  #gallery {
    min-height: auto;
    padding-top: var(--section-space-md);
  }

  .gallery-container {
    max-width: var(--inline-margin);
  }

  .gallery-top {
    width: 100%;
  }

  .gallery-card {
    width: 300px;
    height: 350px;
    flex-shrink: 0;
  }

  .inner-card-wrapper {
    width: 200px;
    height: 150px;
  }

  .card-tags {
    display: none;
  }

  .gallery-horizontal-scroll {
    overflow: hidden;
    min-height: auto;
  }

  .gallery-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
  }

  .card-bg img {
    object-fit: contain;
  }
}

/* -- service cards -- */

#services {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--section-space-sm);
}

.services-title {
  width: 100%;
}

.services-container {
  width: 100%;
  max-width: var(--width-contained);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-title h2 {
  font-size: var(--fs-25);
  font-weight: 100;
  opacity: .75;
  padding-bottom: var(--space-24)
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  padding-bottom: var(--section-space-sm);
}

.card-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.card-left h3 {
  font-size: clamp(3rem, 10vw, 140px);
  line-height: .9;
  -webkit-text-stroke: 4px;
  font-family: var(--ff-header)
}

.card-left p {
  font-size: var(--fs-31);
  opacity: .75;
  line-height: 1;
}

.card-right {
  display: flex;
  width: 100%;
  justify-content: end;
  align-items: center;
}

.card-right ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  font-size: var(--fs-31);
  list-style: square;
}

.card-right ul li {
  font-weight: 100;
  opacity: .75;
}

@media (max-width: 768px) {
  .services-container {
    max-width: var(--inline-margin)
  }

  .service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
  }

  .card-right {
    justify-content: center;
    align-items: center;
  }
}

/* -- faq -- */

#faq {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.faq-container {
  width: 100%;
  max-width: var(--width-contained);
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: var(--space-64);
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-96);
}

.faq-title h3 {
  font-size: clamp(3rem, 10vw, 100px);
  line-height: 1;
  -webkit-text-stroke: 2px;
  font-family: 800;
  font-family: var(--ff-header);
}

.faq-title p {
  font-size: var(--fs-25);
  font-family: 100;
  opacity: .75;
}

.faq-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

#faq .card-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-16);
  cursor: pointer;
  position: relative;
}

#faq .card-title:after {
  width: 100%;
  height: 2px;
  position: absolute;
  background-color: black;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  opacity: .50;
}

#faq .card-title h4 {
  font-size: var(--fs-31);
  padding-left: var(--space-8)
}

.expand-btn {
  padding: 1rem;
  display: flex;
  position: relative;
  opacity: .75;
}

.card-line {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transition: all .4s ease-in-out;
  background-color: black;
}

.line-2 {
  transform: rotate(90deg);
}

.card-content {
  width: 100%;
  padding: var(--space-16) var(--space-32);
}

.card-content {
  font-size: var(--fs-20);
  font-weight: 100;
}

.faq-innercard {
  height: 70px;
  overflow: hidden;
}

.card-title.active .line-2 {
  transform: rotate(0deg);
}

.img-wrapper {
  overflow: hidden;
}

.parallax-img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .faq-container {
    max-width: var(--inline-margin);
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
  }

  .faq-innercard {
    height: 75px
  }

  .faq-innercard h3 {
    font-size : var(--fs-20);
  }

  .card-content {
    padding: var(--space-32) var(--space-32);
  }
}
