/* =========================================================
   LUMIERE ARC
   SERVICES
   ========================================================= */


:root {
  --services-cream: #faf7f2;
  --services-charcoal: #484139;
  --services-copy: #665f57;
  --services-brass: #a8792a;
  --services-line: rgba(72, 65, 57, 0.17);
}


/* =========================================================
   PAGE
   ========================================================= */

.services-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--services-cream);
}


/* =========================================================
   BACKGROUND CAROUSEL
   ========================================================= */

.services-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--services-cream);
}


.services-slide {
  position: absolute;
  inset: -2%;

  opacity: 0;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  transform: scale(1.025);

  transition:
    opacity 1.6s ease,
    transform 8s ease;

  will-change: opacity, transform;
}


.services-slide.active {
  opacity: 1;
  transform: scale(1);
}


/* =========================================================
   CREAM VEIL
   ========================================================= */

.services-veil {
  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(250, 247, 242, 0.26) 0%,
      rgba(250, 247, 242, 0.40) 22%,
      rgba(250, 247, 242, 0.60) 50%,
      rgba(250, 247, 242, 0.40) 78%,
      rgba(250, 247, 242, 0.26) 100%
    ),
    linear-gradient(
      180deg,
      rgba(250, 247, 242, 0.48) 0%,
      rgba(250, 247, 242, 0.17) 25%,
      rgba(250, 247, 242, 0.17) 76%,
      rgba(250, 247, 242, 0.48) 100%
    );
}


/* =========================================================
   DIRECTORY
   ========================================================= */

.services-directory {
  position: relative;
  z-index: 2;

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    155px
    clamp(45px, 7vw, 135px)
    95px;

  text-align: center;
}


.services-directory-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
}


/* =========================================================
   TITLE
   ========================================================= */

.services-heading {
  margin-bottom: 42px;
}


.services-eyebrow {
  margin: 0 0 9px;

  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.26em;
  text-transform: uppercase;

  color: var(--services-brass);
}


.services-heading h1 {
  margin: 0;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(60px, 5.5vw, 86px);
  font-weight: 400;

  line-height: 0.95;
  letter-spacing: -0.02em;

  color: var(--services-charcoal);
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.service-category {
  width: min(100%, 1120px);

  margin:
    0
    auto
    38px;
}


.service-category:last-of-type {
  margin-bottom: 0;
}


.service-category-title {
  margin: 0 0 12px;

  font-family: "Montserrat", sans-serif;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.25em;
  text-transform: uppercase;

  color: var(--services-brass);
}


/* =========================================================
   SERVICE LIST
   ========================================================= */

.service-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


.service-list a {
  position: relative;

  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    8px
    70px;

  text-decoration: none;

  border-bottom:
    1px solid var(--services-line);

  font-family:
    "Cormorant Garamond",
    serif;

  font-size:
    clamp(30px, 2.7vw, 42px);

  font-weight: 500;

  line-height: 1.08;

  color: var(--services-charcoal);

  transition:
    color 0.25s ease,
    letter-spacing 0.25s ease,
    background-color 0.25s ease;
}


.service-list a:first-child {
  border-top:
    1px solid var(--services-line);
}


/* =========================================================
   HOVER
   ========================================================= */

.service-list a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -1px;

  width: 0;
  height: 1px;

  transform: translateX(-50%);

  background: var(--services-brass);

  transition: width 0.35s ease;
}


.service-list a:hover {
  color: #2f2a25;

  letter-spacing: 0.015em;

  background:
    rgba(250, 247, 242, 0.16);
}


.service-list a:hover::after {
  width: 100%;
}


/* =========================================================
   ARROWS
   ========================================================= */

.service-arrow {
  position: absolute;
  right: 24px;

  opacity: 0;

  transform: translateX(-8px);

  font-family: "Montserrat", sans-serif;

  font-size: 14px;
  font-weight: 400;

  color: var(--services-brass);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


.service-list a:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* =========================================================
   CONTACT LINK
   ========================================================= */

.services-contact {
  margin-top: 42px;
}


.services-contact a {
  display: inline-flex;
  align-items: center;

  gap: 11px;

  padding-bottom: 6px;

  border-bottom:
    1px solid rgba(168, 121, 42, 0.55);

  text-decoration: none;

  font-family: "Montserrat", sans-serif;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--services-charcoal);

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}


.services-contact a span {
  color: var(--services-brass);

  transition: transform 0.25s ease;
}


.services-contact a:hover {
  color: var(--services-brass);
  border-color: var(--services-brass);
}


.services-contact a:hover span {
  transform: translateX(4px);
}


/* =========================================================
   HEADER READABILITY
   ========================================================= */

body:has(.services-page) .site-header {
  z-index: 20;
}


body:has(.services-page) .site-header::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 125px;

  z-index: -1;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(250, 247, 242, 0.98) 0%,
      rgba(250, 247, 242, 0.90) 42%,
      rgba(250, 247, 242, 0.48) 72%,
      rgba(250, 247, 242, 0) 100%
    );
}


/* =========================================================
   FOOTER
   ========================================================= */

body:has(.services-page) .site-footer {
  position: relative;
  z-index: 5;

  background: var(--services-cream);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1500px) {

  .services-directory-inner {
    width: min(100%, 1320px);
  }


  .service-category {
    width: min(100%, 1200px);
  }


  .service-list a {
    min-height: 62px;

    font-size:
      clamp(34px, 2.35vw, 44px);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .services-directory {
    padding:
      140px
      38px
      80px;
  }


  .services-directory-inner {
    width: min(100%, 820px);
  }


  .services-heading {
    margin-bottom: 35px;
  }


  .service-category {
    margin-bottom: 32px;
  }


  .service-list a {
    min-height: 52px;

    padding:
      7px
      50px;

    font-size:
      clamp(27px, 3.5vw, 35px);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .services-page {
    min-height: 100svh;
    overflow: visible;
  }


  .services-directory {
    min-height: 100svh;

    align-items: flex-start;

    padding:
      125px
      21px
      65px;
  }


  .services-heading {
    margin-bottom: 32px;
  }


  .services-heading h1 {
    font-size: 52px;
  }


  .service-category {
    margin-bottom: 30px;
  }


  .service-category-title {
    margin-bottom: 9px;
  }


  .service-list a {
    min-height: 49px;

    padding:
      8px
      30px;

    font-size: 25px;
  }


  .service-arrow {
    right: 7px;

    opacity: 0.65;

    transform: none;
  }


  .services-contact {
    margin-top: 35px;
  }


  .services-veil {
    background:
      rgba(250, 247, 242, 0.62);
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .services-slide {
    transform: none;

    transition:
      opacity 0.4s ease;
  }


  .services-slide.active {
    transform: none;
  }

}