/* =========================================================
   SKY HIGH FRAMES STUDIO
   WHAT WE CREATE
   what.css - v4
   ========================================================= */


/* =========================================================
   HERO + SERVICES JOURNEY
   ========================================================= */

.services-journey {
  position: relative;

  width: 100%;
}


/* =========================================================
   CONTINUOUS FILM RIBBON
   Matches the ribbon used on HOW and WHO.
   ========================================================= */

.film-strip-global {
  position: absolute;

  z-index: 4;

  left: 50%;

  top:
    calc(
      var(--page-hero-height)
      - 420px
    );

  bottom: 0;

  width: 48px;

  transform: translateX(-50%);

  background-color:
    rgba(1, 7, 16, 0.48);

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='70' viewBox='0 0 48 70'%3E%3Crect x='13' y='18' width='22' height='34' rx='5' fill='%23010710' fill-opacity='0.74' stroke='%2349c7ff' stroke-width='1.5'/%3E%3C/svg%3E");

  background-repeat: repeat-y;
  background-position: center top;
  background-size: 48px 70px;

  border-left:
    1px solid
    rgba(73, 199, 255, 0.17);

  border-right:
    1px solid
    rgba(73, 199, 255, 0.17);

  box-shadow:
    0 0 8px rgba(73, 199, 255, 0.06),
    inset 0 0 14px rgba(0, 70, 120, 0.10);

  -webkit-mask-image:
    linear-gradient(
      to bottom,

      transparent 0px,
      transparent 35px,

      rgba(0, 0, 0, 0.12) 80px,
      rgba(0, 0, 0, 0.30) 120px,
      rgba(0, 0, 0, 0.55) 160px,
      rgba(0, 0, 0, 0.80) 205px,

      black 245px,
      black calc(100% - 245px),

      rgba(0, 0, 0, 0.80) calc(100% - 205px),
      rgba(0, 0, 0, 0.55) calc(100% - 160px),
      rgba(0, 0, 0, 0.30) calc(100% - 120px),
      rgba(0, 0, 0, 0.12) calc(100% - 80px),

      transparent calc(100% - 35px),
      transparent 100%
    );

  mask-image:
    linear-gradient(
      to bottom,

      transparent 0px,
      transparent 35px,

      rgba(0, 0, 0, 0.12) 80px,
      rgba(0, 0, 0, 0.30) 120px,
      rgba(0, 0, 0, 0.55) 160px,
      rgba(0, 0, 0, 0.80) 205px,

      black 245px,
      black calc(100% - 245px),

      rgba(0, 0, 0, 0.80) calc(100% - 205px),
      rgba(0, 0, 0, 0.55) calc(100% - 160px),
      rgba(0, 0, 0, 0.30) calc(100% - 120px),
      rgba(0, 0, 0, 0.12) calc(100% - 80px),

      transparent calc(100% - 35px),
      transparent 100%
    );
}


/* =========================================================
   MOTION + STILLS
   ========================================================= */

.services-section {
  position: relative;

  z-index: 10;

  width:
    min(
      1240px,
      94%
    );

  min-height: 660px;

  margin:
    -220px
    auto
    0;

  padding:
    100px
    40px
    60px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    96px
    minmax(0, 1fr);

  align-items: start;
}


.service-card {
  position: relative;

  width:
    min(
      470px,
      100%
    );

  min-height: 500px;

  padding:
    38px
    40px
    36px;

  background:
    linear-gradient(
      135deg,
      rgba(7, 34, 55, 0.97),
      rgba(3, 17, 29, 0.97)
    );

  border:
    1px solid
    rgba(73, 199, 255, 0.38);

  border-radius: 18px;

  box-shadow:
    0 0 7px rgba(73, 199, 255, 0.42),
    0 0 22px rgba(73, 199, 255, 0.18),
    0 0 52px rgba(73, 199, 255, 0.07);
}


.service-card[id] {
  scroll-margin-top: 90px;
}


.motion-card {
  grid-column: 1;

  justify-self: end;

  margin-right: 26px;
}


.stills-card {
  grid-column: 3;

  justify-self: start;

  margin-left: 26px;
}


/* =========================================================
   SERVICE MARKS
   ========================================================= */

.service-mark {
  position: absolute;

  top: 34px;
  right: 36px;

  width: 46px;
  height: 46px;

  border:
    1px solid
    rgba(73, 199, 255, 0.48);

  border-radius: 50%;

  box-shadow:
    0 0 10px rgba(73, 199, 255, 0.18),
    inset 0 0 10px rgba(73, 199, 255, 0.08);
}


.motion-mark span {
  position: absolute;

  top: 50%;
  left: 53%;

  width: 0;
  height: 0;

  transform: translate(-50%, -50%);

  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--cyan-bright);

  filter:
    drop-shadow(
      0 0 5px
      rgba(73, 199, 255, 0.62)
    );
}


.stills-mark {
  border-radius: 12px;
}


.stills-mark span {
  position: absolute;

  inset: 11px;

  border:
    1px solid
    var(--cyan-bright);

  border-radius: 4px;

  box-shadow:
    0 0 6px
    rgba(73, 199, 255, 0.42);
}


.stills-mark span::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 6px;
  height: 6px;

  transform: translate(-50%, -50%);

  border:
    1px solid
    var(--cyan-bright);

  border-radius: 50%;
}


/* =========================================================
   CARD TYPOGRAPHY
   ========================================================= */

.service-label {
  display: block;

  margin-bottom: 13px;

  color:
    rgba(192, 204, 213, 0.72);

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}


.service-card h2 {
  position: relative;

  width: fit-content;

  margin-bottom: 22px;
  padding-bottom: 10px;

  color: var(--cyan-bright);

  font-size:
    clamp(
      28px,
      3vw,
      42px
    );

  font-weight: 300;
  letter-spacing: 0.08em;

  text-shadow:
    0 0 8px rgba(73, 199, 255, 0.50),
    0 0 18px rgba(73, 199, 255, 0.17);
}


.service-card h2::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 54px;
  height: 1px;

  background: var(--cyan);

  box-shadow:
    0 0 7px
    rgba(73, 199, 255, 0.55);
}


.service-intro {
  max-width: 380px;

  margin-bottom: 28px;

  color: #eef3f7;

  font-size: 16px;
  line-height: 1.65;
}


.service-list {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    14px
    24px;

  margin: 0;
  padding: 0;

  list-style: none;
}


.service-list li {
  position: relative;

  padding-left: 14px;

  color:
    rgba(238, 243, 247, 0.78);

  font-size: 14px;
  line-height: 1.4;
}


.service-list li::before {
  content: "";

  position: absolute;

  top: 0.58em;
  left: 0;

  width: 5px;
  height: 1px;

  background: var(--cyan-bright);

  box-shadow:
    0 0 5px
    rgba(73, 199, 255, 0.65);
}


/* =========================================================
   END MESSAGE
   ========================================================= */

.services-ending {
  width: 100%;

  padding:
    70px
    20px
    60px;

  text-align: center;
}


.services-ending p {
  color:
    rgba(
      255,
      255,
      255,
      0.55
    );

  font-size: 12px;
  letter-spacing: 0.45em;
}


.services-ending span {
  color: #d0a75c;
}


.services-ending span:first-child {
  color:
    rgba(
      255,
      255,
      255,
      0.55
    );
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .services-section {
    grid-template-columns:
      minmax(0, 1fr)
      76px
      minmax(0, 1fr);

    margin-top: -190px;

    padding:
      80px
      18px
      60px;
  }


  .service-card {
    min-height: 540px;

    padding:
      34px
      28px;
  }


  .motion-card {
    margin-right: 15px;
  }


  .stills-card {
    margin-left: 15px;
  }


  .service-list {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .services-section {
    width: 100%;
    min-height: 0;

    margin-top: -110px;

    padding:
      90px
      16px
      58px
      78px;

    display: flex;
    flex-direction: column;
    gap: 34px;
  }


  .film-strip-global {
    left: 28px;

    top: 250px;

    width: 42px;

    transform: none;

    background-size: 42px 70px;

    -webkit-mask-image:
      linear-gradient(
        to bottom,

        transparent 0px,
        transparent 35px,

        rgba(0, 0, 0, 0.25) 80px,
        rgba(0, 0, 0, 0.60) 130px,

        black 180px,
        black calc(100% - 180px),

        rgba(0, 0, 0, 0.60) calc(100% - 130px),
        rgba(0, 0, 0, 0.25) calc(100% - 80px),

        transparent calc(100% - 35px),
        transparent 100%
      );

    mask-image:
      linear-gradient(
        to bottom,

        transparent 0px,
        transparent 35px,

        rgba(0, 0, 0, 0.25) 80px,
        rgba(0, 0, 0, 0.60) 130px,

        black 180px,
        black calc(100% - 180px),

        rgba(0, 0, 0, 0.60) calc(100% - 130px),
        rgba(0, 0, 0, 0.25) calc(100% - 80px),

        transparent calc(100% - 35px),
        transparent 100%
      );
  }


  .service-card,
  .motion-card,
  .stills-card {
    width: 100%;
    max-width: none;
    min-height: 0;

    margin: 0;

    padding:
      32px
      28px;
  }


  .service-mark {
    top: 28px;
    right: 25px;

    width: 40px;
    height: 40px;
  }


  .service-card h2 {
    font-size: 30px;
  }


  .service-intro {
    font-size: 15px;
  }


  .service-list {
    grid-template-columns: 1fr;
  }


  .services-ending p {
    font-size: 9px;
    letter-spacing: 0.25em;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .services-section {
    padding-left: 72px;
  }


  .service-card,
  .motion-card,
  .stills-card {
    padding:
      28px
      22px;
  }


  .service-mark {
    position: relative;

    top: auto;
    right: auto;

    margin-bottom: 22px;
  }


}
