/* ============================================================
   SERVICES — PAGE STYLES
   Shared base: assets/css/style.css
============================================================ */
/* 
@font-face {
  font-family: HelveticaHeavy;
  src: url(../assets/fonts/helvetica-neue-5/HelveticaNeueHeavy.otf);
}

@font-face {
  font-family: HelveticaBold;
  src: url(../assets/fonts/helvetica-neue-5/HelveticaNeueBold.otf);
}

@font-face {
  font-family: HelveticaL;
  src: url(../assets/fonts/helvetica-neue-5/HelveticaNeueLight.otf);
} */

/* ─────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────── */
.sv-page-hero {
  position: relative;
  height: 247px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.sv-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.sv-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.sv-page-hero__title {
  position: relative;
  z-index: 2;
  font-family: Helvetica, sans-serif;
  font-size: 75px;
  letter-spacing: -2.75px;
  background: linear-gradient(90deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: normal;
  white-space: nowrap;
  margin: 0;
  font-weight: 800;
}

/* ─────────────────────────────────────────
   TAGLINE SECTION — FLOATING CANVAS
───────────────────────────────────────── */
.sv-tagline {
  position: relative;
  background: var(--black);
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ── canvas wrapper fills the section ── */
.sv-canvas {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ── the big drifting canvas ── */
.sv-canvas-full {
  position: relative;
  flex: none;
  width: 250vw;
  height: 250vh;
  will-change: transform;
}

/* ── individual image cards ── */
.sv-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
}

.sv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  aspect-ratio: 1 / 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-card:hover img {
  transform: scale(1.08);
}

/* ── nth-child grid (15-pattern, % relative to 250vw×250vh canvas) ── */
.sv-card:nth-child(15n+1) {
  width: 20vw;
  left: 5%;
  top: 12%;
}

.sv-card:nth-child(15n+2) {
  width: 15vw;
  left: 20%;
  top: 25%;
}

.sv-card:nth-child(15n+3) {
  width: 17.5vw;
  left: 40%;
  top: 17.5%;
}

.sv-card:nth-child(15n+4) {
  width: 15vw;
  left: 65%;
  top: 13.5%;
}

.sv-card:nth-child(15n+5) {
  width: 20vw;
  left: 85%;
  top: 22.5%;
}

.sv-card:nth-child(15n+6) {
  width: 15vw;
  left: 7.5%;
  top: 40%;
}

.sv-card:nth-child(15n+7) {
  width: 17.5vw;
  left: 25%;
  top: 50%;
}

.sv-card:nth-child(15n+8) {
  width: 15vw;
  left: 55%;
  top: 35%;
}

.sv-card:nth-child(15n+9) {
  width: 20vw;
  left: 65%;
  top: 55.5%;
}

.sv-card:nth-child(15n+10) {
  width: 17.5vw;
  left: 80%;
  top: 40%;
}

.sv-card:nth-child(15n+11) {
  width: 20vw;
  left: 6%;
  top: 75%;
}

.sv-card:nth-child(15n+12) {
  width: 15vw;
  left: 27.5%;
  top: 85%;
}

.sv-card:nth-child(15n+13) {
  width: 17.5vw;
  left: 38.5%;
  top: 67.5%;
}

.sv-card:nth-child(15n+14) {
  width: 20vw;
  left: 57.5%;
  top: 80%;
}

.sv-card:nth-child(15n+15) {
  width: 20vw;
  left: 82.5%;
  top: 75.5%;
}

/* dark gradient vignette so text stays readable */
.sv-tagline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,
      rgba(27, 27, 30, 0.72) 0%,
      rgba(27, 27, 30, 0.30) 60%,
      rgba(27, 27, 30, 0.10) 100%);
  z-index: 1;
  pointer-events: none;
}

/* tagline words entrance animation */
@keyframes sv-word-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sv-tagline__desc {
  opacity: 0;
  animation: sv-desc-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes sv-desc-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stacked words */
.sv-tagline__words {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sv-tagline__word {
  font-family: 'Cal Sans', sans-serif;
  font-size: 130px;
  line-height: 129px;
  color: var(--green-alt);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: sv-word-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sv-tagline__word:nth-child(1) {
  animation-delay: 0.1s;
}

.sv-tagline__word:nth-child(2) {
  animation-delay: 0.25s;
}

.sv-tagline__word:nth-child(3) {
  animation-delay: 0.4s;
}

/* description below taglines */
.sv-tagline__desc {
  position: relative;
  z-index: 2;
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 25px;
  line-height: 35px;
  color: var(--cream);
  text-align: center;
  max-width: 820px;
  margin: 50px auto 0;
  padding: 0 20px;
}

/* ─────────────────────────────────────────
   VOXXY INFLUENCE SERVICE SECTION
───────────────────────────────────────── */
.sv-influence-wrap {
  background: var(--black);
  padding: 0 21px 0;
}

.sv-influence-box {
  display: flex;
  align-items: stretch;
  border: 14px solid var(--green-alt);
  background: var(--green-alt);
  min-height: 999px;
}

/* left dark panel */
.sv-influence-left {
  position: relative;
  background: var(--black);
  flex: 0 0 47%;
  padding: 120px 56px 80px 70px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ghost "01" number */
.sv-influence-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cal Sans', sans-serif;
  font-size: 170px;
  line-height: 129px;
  color: var(--white);
  opacity: 0.2;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

/* logo row */
.sv-influence-logo-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.sv-influence-logo-img {
  height: 52px;
  width: auto;
}

.sv-influence-logo-text {
  font-family: 'Cal Sans', sans-serif;
  font-size: 65px;
  line-height: 129px;
  color: var(--green-alt);
  white-space: nowrap;
}

/* description paragraphs */
.sv-influence-p1 {
  position: relative;
  z-index: 1;
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 20px;
  line-height: 35px;
  color: var(--cream);
  margin-bottom: 28px;
}

.sv-influence-p2 {
  position: relative;
  z-index: 1;
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 20px;
  line-height: 39px;
  color: var(--cream);
  margin-bottom: 48px;
}

/* learn more button */
.sv-learn-more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 20px;
}

.sv-learn-more__text {
  position: relative;
}

.sv-learn-more__text::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
}

.sv-learn-more__underline {
  display: none;
}

.sv-learn-more__arrow img {
  width: 18px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* right photo panel */
.sv-influence-right {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.sv-influence-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─────────────────────────────────────────
   CTA: WANT TO BE PART OF THE STORY?
───────────────────────────────────────── */
.sv-story {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b3dd3;
}

.sv-story__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sv-story__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 40px;
}

.sv-story__title {
  font-family: 'Cal Sans', sans-serif;
  font-size: 50px;
  line-height: 81px;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

.sv-story__btns {
  display: flex;
  align-items: center;
  gap: 60px;
}

.sv-story__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: HelveticaL, 'Helvetica Neue', sans-serif;
  font-size: 20px;
  position: relative;
}

.sv-story__btn-text {
  position: relative;
}

.sv-story__btn-text::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--white);
}

.sv-story__btn-underline {
  display: none;
}

.sv-story__btn-arrow img {
  width: 18px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1200px) {
  .sv-tagline__word {
    font-size: 100px;
    line-height: 100px;
  }

  .sv-influence-left {
    padding: 80px 40px 60px 48px;
  }

  .sv-influence-logo-text {
    font-size: 52px;
  }

  .sv-influence-num {
    font-size: 130px;
  }
}

@media (max-width: 900px) {
  .sv-page-hero__title {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .sv-tagline {
    height: 80vh;
    min-height: 520px;
  }

  .sv-tagline__word {
    font-size: 64px;
    line-height: 68px;
  }

  .sv-tagline__desc {
    font-size: 18px;
    line-height: 28px;
  }

  /* on mobile, cards scale up so they still fill the canvas */
  .sv-card:nth-child(15n+1),
  .sv-card:nth-child(15n+4),
  .sv-card:nth-child(15n+5),
  .sv-card:nth-child(15n+9),
  .sv-card:nth-child(15n+11),
  .sv-card:nth-child(15n+14),
  .sv-card:nth-child(15n+15) {
    width: 26.5vw;
  }

  .sv-card:nth-child(15n+2),
  .sv-card:nth-child(15n+6),
  .sv-card:nth-child(15n+8),
  .sv-card:nth-child(15n+12) {
    width: 24.5vw;
  }

  .sv-card:nth-child(15n+3),
  .sv-card:nth-child(15n+7),
  .sv-card:nth-child(15n+10),
  .sv-card:nth-child(15n+13) {
    width: 20vw;
  }

  .sv-influence-wrap {
    padding: 0 12px;
  }

  .sv-influence-box {
    flex-direction: column;
    border-width: 8px;
    min-height: auto;
  }

  .sv-influence-left {
    flex: none;
    padding: 60px 32px 48px;
  }

  .sv-influence-right {
    height: 400px;
  }

  .sv-influence-logo-text {
    font-size: 42px;
    line-height: 1;
  }

  .sv-influence-p1,
  .sv-influence-p2 {
    font-size: 17px;
    line-height: 30px;
  }

  .sv-story__title {
    font-size: 32px;
    line-height: 44px;
    white-space: normal;
    text-align: center;
  }

  .sv-story__btns {
    flex-direction: column;
    gap: 28px;
  }
}

.saya-cta__btn-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.saya-cta__btn {
  width: 220px;
}

@media (max-width:1023px) {
  .saya-cta__btn {
    width: 166px;
  }
}

@media (max-width:576px) {
  .saya-cta__btn-row {
    gap: 10px;
  }

  .saya-cta__btn {
    width: 120px;
  }

  .saya-cta__btn {
    font-size: 11px;
  }
}