/* =========================================================
   SKY HIGH FRAMES STUDIO
   HOMEPAGE
   style.css - v17
   ========================================================= */

:root {
  --site-blue: #0a2b45;
  --site-blue-dark: #071e31;
  --site-blue-deep: #041421;
  --text-color: #ffffff;
  --text-soft: #c0ccd5;
  --cyan: #49c7ff;
  --cyan-bright: #79ddff;
  --gold: #e7a640;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;

  color: var(--text-color);
  background: var(--site-blue);

  font-family: Arial, Helvetica, sans-serif;
}

.home-shell {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--site-blue);
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: clamp(650px, 66vw, 850px);
  overflow: hidden;
  isolation: isolate;
}

.home-hero-image {
  position: absolute;
  z-index: -3;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(10, 43, 69, 0) 45%,
      rgba(10, 43, 69, 0.03) 53%,
      rgba(10, 43, 69, 0.10) 61%,
      rgba(10, 43, 69, 0.22) 68%,
      rgba(10, 43, 69, 0.42) 74%,
      rgba(10, 43, 69, 0.66) 80%,
      rgba(10, 43, 69, 0.88) 86%,
      var(--site-blue) 91%,
      var(--site-blue) 100%
    ),
    linear-gradient(
      90deg,
      rgba(3, 16, 27, 0.72) 0%,
      rgba(3, 16, 27, 0.30) 44%,
      rgba(3, 16, 27, 0.04) 76%
    );
}

.home-nav {
  position: absolute !important;
  z-index: 20;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.home-hero-content {
  width: min(1180px, 88%);
  margin: 0 auto;
  padding-top: clamp(175px, 19vw, 245px);
}

.home-eyebrow,
.home-section-kicker,
.route-label {
  color: var(--cyan-bright);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.20em;
}

.home-hero-content h1 {
  max-width: 900px;
  margin-top: 18px;

  font-size: clamp(46px, 6vw, 88px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.home-hero-content h1 span {
  display: block;
}

.home-hero-content h1 span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.home-intro {
  max-width: 690px;
  margin-top: 28px;

  color: rgba(238, 243, 247, 0.83);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-routes,
.home-work,
.home-process,
.home-clients {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.home-section-heading {
  max-width: 680px;
}

.home-section-heading-wide {
  max-width: 760px;
}

.home-section-heading h2 {
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.12;
}

.home-section-heading > p:last-child {
  margin-top: 18px;
  color: rgba(238, 243, 247, 0.68);
  font-size: 16px;
  line-height: 1.7;
}

.home-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.home-route-card {
  position: relative;
  min-height: 360px;
  padding: 42px;
  overflow: hidden;

  border: 1px solid rgba(73, 199, 255, 0.34);
  border-radius: 19px;

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

  box-shadow:
    0 0 8px rgba(73, 199, 255, 0.34),
    0 0 32px rgba(73, 199, 255, 0.10);
}

.home-route-card::before {
  content: "";
  position: absolute;
  inset: auto -100px -150px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 199, 255, 0.12), transparent 68%);
}

.home-route-card h3 {
  max-width: 360px;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 300;
}

.home-route-card > p:not(.route-label) {
  max-width: 470px;
  margin-top: 22px;
  color: rgba(238, 243, 247, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.home-route-card > a,
.home-text-link {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 30px;
  padding-bottom: 7px;

  color: var(--cyan-bright);
  border-bottom: 1px solid rgba(121, 221, 255, 0.45);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.home-work {
  border-top: 1px solid rgba(73, 199, 255, 0.14);
}

.home-bts-carousel {
  position: relative;
  margin-top: 44px;
}

.home-bts-viewport {
  width: 100%;
  padding: 8px 7px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.home-bts-viewport::-webkit-scrollbar {
  display: none;
}

.home-bts-viewport:focus-visible {
  outline: 1px solid rgba(121, 221, 255, 0.72);
  outline-offset: 5px;
  border-radius: 18px;
}

.home-bts-track {
  display: flex;
  gap: 22px;
}

.home-bts-card {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;

  border: 1px solid rgba(73, 199, 255, 0.34);
  border-radius: 18px;
  background: var(--site-blue-deep);
  color: #ffffff;
  box-shadow:
    0 0 8px rgba(73, 199, 255, 0.25),
    0 0 24px rgba(73, 199, 255, 0.10);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.home-bts-card:hover {
  border-color: rgba(121, 221, 255, 0.68);
  box-shadow:
    0 0 10px rgba(73, 199, 255, 0.42),
    0 0 32px rgba(73, 199, 255, 0.16);
  transform: translateY(-3px);
}

.home-bts-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% 48%, rgba(121, 221, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(14, 62, 92, 0.96), rgba(2, 14, 25, 0.98));
  border-bottom: 1px solid rgba(73, 199, 255, 0.22);
}

.home-bts-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(73, 199, 255, 0.22);
  background: var(--site-blue-deep);
}

.home-bts-media img,
.home-bts-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-bts-placeholder::before {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(121, 221, 255, 0.48);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(73, 199, 255, 0.025),
    0 0 32px rgba(73, 199, 255, 0.12);
}

.home-bts-placeholder::after {
  content: "BTS";
  position: absolute;
  color: rgba(238, 243, 247, 0.17);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  letter-spacing: 0.20em;
  transform: translateX(0.10em);
}

.home-bts-placeholder > span {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 20px;
  color: rgba(121, 221, 255, 0.50);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.home-bts-placeholder-camera {
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(121, 221, 255, 0.13) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(121, 221, 255, 0.13) 50%, transparent 50.3%),
    radial-gradient(circle at 50% 48%, rgba(121, 221, 255, 0.18), transparent 31%),
    linear-gradient(145deg, rgba(9, 51, 80, 0.96), rgba(2, 14, 25, 0.98));
}

.home-bts-placeholder-aerial {
  background:
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(121, 221, 255, 0.035) 27px 28px),
    radial-gradient(circle at 50% 48%, rgba(231, 166, 64, 0.14), transparent 31%),
    linear-gradient(145deg, rgba(11, 55, 82, 0.96), rgba(2, 14, 25, 0.98));
}

.home-bts-placeholder-people {
  background:
    radial-gradient(circle at 35% 48%, rgba(121, 221, 255, 0.13), transparent 23%),
    radial-gradient(circle at 65% 48%, rgba(231, 166, 64, 0.10), transparent 23%),
    linear-gradient(135deg, rgba(12, 57, 86, 0.96), rgba(2, 14, 25, 0.98));
}

.home-bts-placeholder-edit {
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(121, 221, 255, 0.045) 23px 24px),
    radial-gradient(circle at 50% 48%, rgba(121, 221, 255, 0.14), transparent 31%),
    linear-gradient(145deg, rgba(8, 45, 72, 0.96), rgba(2, 14, 25, 0.98));
}

.home-bts-copy {
  padding: 20px 22px 24px;
}

.home-bts-copy p {
  color: var(--cyan-bright);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.home-bts-copy h3 {
  margin-top: 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.home-process {
  border-top: 1px solid rgba(73, 199, 255, 0.14);
}

.home-process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;

  margin-top: 42px;
  list-style: none;
}

.home-process-list li {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 28px 24px;

  border: 1px solid rgba(73, 199, 255, 0.34);
  border-radius: 19px;
  background:
    linear-gradient(135deg, rgba(7, 34, 55, 0.96), rgba(3, 17, 29, 0.98));
  box-shadow:
    0 0 8px rgba(73, 199, 255, 0.34),
    0 0 26px rgba(73, 199, 255, 0.10);
}

.home-process-list span,
.home-process-list strong {
  display: block;
}

.home-process-list span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(121, 221, 255, 0.32);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 300;
}

.home-process-list strong {
  margin-top: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.home-clients {
  border-top: 1px solid rgba(73, 199, 255, 0.14);
}

.home-client-divider {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(720px, 100%);
  margin: 32px auto 0;
  color: var(--cyan-bright);
}

.home-client-divider::before,
.home-client-divider::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(121, 221, 255, 0.52));
}

.home-client-divider::after {
  transform: scaleX(-1);
}

.home-client-divider span {
  font-size: 16px;
  text-shadow:
    0 0 8px rgba(121, 221, 255, 0.78),
    0 0 18px rgba(73, 199, 255, 0.44);
}

.home-client-carousel {
  position: relative;
  margin-top: 34px;
}

.home-client-viewport {
  width: 100%;
  padding: 8px 7px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.home-client-viewport::-webkit-scrollbar {
  display: none;
}

.home-client-viewport:focus-visible {
  outline: 1px solid rgba(121, 221, 255, 0.72);
  outline-offset: 5px;
  border-radius: 18px;
}

.home-client-track {
  display: flex;
  gap: 18px;
}

.home-client-card {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 54px) / 4);
  flex-direction: column;
  min-width: 0;
  gap: 12px;
  padding: 8px 8px 14px;
  overflow: hidden;
  scroll-snap-align: start;

  color: #ffffff;
  border: 1px solid rgba(73, 199, 255, 0.26);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(7, 34, 55, 0.94), rgba(3, 17, 29, 0.98));
  box-shadow:
    0 0 8px rgba(73, 199, 255, 0.18),
    0 0 28px rgba(73, 199, 255, 0.08);

  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.home-client-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 18%, rgba(121, 221, 255, 0.11), transparent 48%);
  transition: opacity 0.35s ease;
}

.home-client-card:hover,
.home-client-card:focus-within {
  z-index: 1;
  border-color: rgba(121, 221, 255, 0.72);
  box-shadow:
    0 0 10px rgba(73, 199, 255, 0.42),
    0 0 34px rgba(73, 199, 255, 0.18);
  transform: translateY(-3px);
}

.home-client-card:hover::after,
.home-client-card:focus-within::after {
  opacity: 1;
}

.home-client-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 9px;
  background: var(--client-logo-background, #e6e2d8);
}

.home-client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--client-logo-fit, cover);
  object-position: var(--client-logo-position, center);
  filter: grayscale(1) saturate(0.15) brightness(0.76);
  opacity: 0.82;
  transition:
    filter 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s ease;
}

.home-client-card:hover .home-client-logo img,
.home-client-card:focus-within .home-client-logo img {
  filter: none;
  opacity: 1;
  transform: scale(1.015);
}

.home-client-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  text-align: center;
}

.home-client-name {
  min-width: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.35s ease,
    text-shadow 0.35s ease;
}

.home-client-name:hover,
.home-client-name:focus-visible {
  color: var(--cyan-bright);
  text-shadow: 0 0 12px rgba(73, 199, 255, 0.46);
}

.home-carousel-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);

  color: var(--cyan-bright);
  border: 1px solid rgba(121, 221, 255, 0.64);
  border-radius: 50%;
  background: rgba(3, 17, 29, 0.94);
  box-shadow:
    0 0 8px rgba(73, 199, 255, 0.38),
    0 0 20px rgba(73, 199, 255, 0.15);

  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.home-client-prev,
.home-bts-prev {
  left: -13px;
}

.home-client-next,
.home-bts-next {
  right: -13px;
}

.home-carousel-control:hover:not(:disabled),
.home-carousel-control:focus-visible:not(:disabled) {
  border-color: var(--cyan-bright);
  box-shadow:
    0 0 10px rgba(73, 199, 255, 0.62),
    0 0 26px rgba(73, 199, 255, 0.22);
}

.home-carousel-control:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .home-hero-content {
    padding-top: 165px;
  }

  .home-route-grid {
    grid-template-columns: 1fr;
  }

  .home-bts-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .home-client-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .home-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .home-process-list li {
    display: flex;
    min-height: 0;
    padding: 26px 22px;
  }

  .home-process-list li:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: 690px;
  }

  .home-nav {
    top: 16px;
  }

  .home-hero-content {
    width: calc(100% - 36px);
    padding-top: 150px;
  }

  .home-hero-content h1 {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
  }

  .home-routes,
  .home-work,
  .home-process,
  .home-clients {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .home-route-card {
    min-height: 0;
    padding: 34px 26px;
  }

  .home-bts-card {
    flex-basis: 100%;
  }

  .home-client-meta {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .home-process-list {
    grid-template-columns: 1fr;
  }

  .home-process-list li,
  .home-process-list li:last-child {
    grid-column: auto;
    width: min(100%, 280px);
    justify-self: center;
  }

  .home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-actions .site-button {
    width: 100%;
  }

  .home-client-card {
    flex-basis: 100%;
  }

  .home-client-prev,
  .home-bts-prev {
    left: -7px;
  }

  .home-client-next,
  .home-bts-next {
    right: -7px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-bts-card,
  .home-client-card,
  .home-client-card::after,
  .home-client-logo img,
  .home-client-name,
  .home-carousel-control {
    transition: none;
  }

  .home-client-viewport,
  .home-bts-viewport {
    scroll-behavior: auto;
  }
}
