/*
Homepage override stylesheet.
Purpose: isolate homepage-only layout and typography fixes
that must not be changed inside webflow-style.css.

Examples:
– hero headline wrapping control
– homepage spacing adjustments
– homepage-specific typography behavior

Loaded after webflow-style.css intentionally.
*/

.section-home-header {
  padding-bottom: 6rem;
  position: relative;
  overflow: clip;
}
.header-content-wrapper {
  margin-top: -2.5rem;
}
.header-content-block {
  width: 100%;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}
.heading-style-h2.cta {
  text-align: center;
  font-size: 12vw;
}
.featured-h2.cta {
  font-size: 12vw;
}

section.section-home-about .featured-h2.cta,
section.section-home-about .heading-style-h2.cta,
section.cta .featured-h2.cta,
section.cta .heading-style-h2.cta {
  white-space: nowrap;
}

section.section-home-about .heading-item,
section.cta .heading-item {
  width: auto;
  max-width: 100%;
}

section.section-home-about .heading-overflow,
section.cta .heading-overflow {
  width: auto;
  overflow: hidden;
}

@media (min-width: 992px) {
  section.section-home-about .heading-item.top .featured-h2.cta,
  section.cta .heading-item.top .featured-h2.cta {
    font-size: 7.8rem;
  }

  section.section-home-about .heading-item.bottom .heading-style-h2.cta,
  section.cta .heading-item.bottom .heading-style-h2.cta {
    font-size: 9.4rem;
  }
}

/* Selected paid-social work: directly after the homepage hero. */
.selected-ads {
  padding: 6rem 0;
}

.selected-ads-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  align-items: start;
  max-width: 76rem;
  margin: 0 auto;
}

.selected-ad {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  isolation: isolate;
}

.selected-ad-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border: 0;
  outline: 0;
  background: transparent;
}

.social-ui {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(10px, 0.95vw, 14px);
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.75);
}

.social-ui-top {
  position: absolute;
  top: 4.2%;
  left: 4.5%;
  right: 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8em;
  font-size: 1.25em;
  font-weight: 700;
}

.social-actions {
  position: absolute;
  right: 3.7%;
  bottom: 13%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.social-action { font-size: 1.85em; font-weight: 700; }
.social-avatar {
  width: 2.25em;
  height: 2.25em;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #111;
  font-size: .9em;
  font-weight: 700;
}
.social-avatar.square { border-radius: .35em; }
.social-disc {
  width: 2.25em;
  height: 2.25em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, #444 0 18%, #111 19% 65%, #555 66% 68%, #111 69%);
}

.social-bottom {
  position: absolute;
  left: 4.5%;
  right: 18%;
  bottom: 5.2%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65em;
}
.social-handle { font-weight: 700; }
.social-caption-line {
  width: 84%;
  height: .42em;
  border-radius: 10em;
  background: rgba(255,255,255,.82);
  box-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.social-caption-line.is-short { width: 48%; }

.tiktok-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(0,0,0,.72);
  font-size: 1.4em;
}
.tiktok-create {
  padding: .1em .65em;
  border-radius: .35em;
  background: linear-gradient(90deg,#20e5e9 0 24%,#fff 25% 74%,#fe2c55 75%);
  color: #000;
  text-shadow: none;
}
.social-ui-tiktok .social-bottom { bottom: 8%; }
.social-ui-tiktok .social-ui-top { justify-content: space-between; }
.social-wordmark { font-weight: 800; letter-spacing: -.04em; }

.social-ui-shorts .social-ui-top { justify-content: flex-end; }
.shorts-logo { margin-right: auto; }
.shorts-logo b { color: #ff0033; }
.social-action.in-circle {
  width: 2.25em;
  height: 2.25em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  font-size: 1.35em;
}
.shorts-bottom { right: 20%; flex-direction: row; flex-wrap: wrap; align-items: center; }
.subscribe-pill {
  padding: .5em .8em;
  border-radius: 10em;
  background: #fff;
  color: #111;
  text-shadow: none;
  font-size: .82em;
  font-weight: 700;
}
.shorts-bottom .social-caption-line { flex-basis: 86%; }

.reels-title { font-family: Georgia, serif; font-size: 1.15em; }
.reels-camera { font-size: 1.4em; }
.reels-audio { font-size: .82em; }

@media (max-width: 767px) {
  .selected-ad { border-radius: 10px; }
  .social-ui { font-size: clamp(4px, 1.65vw, 7px); }
  .social-action { font-size: 1.65em; }
}

@media (max-width: 767px) {
  .section-home-header {
    padding-bottom: 3.5rem;
  }

  .selected-ads {
    padding: 4rem 0;
  }

  .selected-ads-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .selected-ad-video {
    /* Posters remain visible if the browser suppresses autoplay. */
  }
}

/* Commercial capabilities: directly after the client logo proof. */
.section-home-capabilities {
  padding: 7rem 0 8rem;
}

.capabilities-shell {
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.capabilities-intro {
  padding: 3.5rem 0 5.5rem;
}

.capabilities-heading {
  width: 100%;
  margin: 0;
  font-family: Aspekta, Georgia, sans-serif;
  font-size: clamp(2rem, 7.25vw, 7.25rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.065em;
  text-align: center;
}

.capabilities-heading span,
.capabilities-heading strong {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.capabilities-heading strong {
  font-family: "Nyght Serif", Georgia, sans-serif;
  font-weight: 400;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
  background: #0a0a0a;
  color: #fff;
}

.capability-item {
  min-width: 0;
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.capability-item:first-child {
  border-left: 0;
  padding-left: 1.5rem;
}

.capability-number {
  font-family: Aspekta, Georgia, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}

.capability-item h3 {
  max-width: 12ch;
  margin-top: auto;
  font-family: Aspekta, Georgia, sans-serif;
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.capability-item p {
  max-width: 29ch;
  margin-top: 1.1rem;
  font-family: Aspekta, Georgia, sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .section-home-capabilities {
    padding: 5.5rem 0 6.5rem;
  }

  .capabilities-intro {
    padding: 3rem 0 4rem;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-item {
    min-height: 14rem;
  }

  .capability-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-left: 0;
  }

  .capability-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 767px) {
  .section-home-capabilities {
    padding: 4rem 0 5rem;
  }

  .capabilities-intro {
    padding: 2.25rem 0 3.25rem;
  }

  .capabilities-heading {
    font-size: 7.25vw;
    line-height: 0.94;
    letter-spacing: -0.07em;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-item,
  .capability-item:first-child,
  .capability-item:nth-child(3) {
    min-height: 0;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.9rem 1rem;
    padding: 1.5rem 1.25rem 1.7rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .capability-item:first-child {
    border-top: 0;
  }

  .capability-number {
    grid-row: 1 / span 2;
    padding-top: 0.22rem;
  }

  .capability-item h3 {
    max-width: none;
    margin-top: 0;
    font-size: 1.55rem;
  }

  .capability-item p {
    max-width: 34rem;
    margin-top: 0;
  }
}

/* Exact two-line PERFORMANCE / CREATIVE homepage hero. */
.home-performance-creative-hero {
  width: calc(100vw - 5rem);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 10.2vw, 9.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-align: center;
}

.home-performance-creative-line,
.home-performance-creative-hero .heading-featured {
  display: block;
  width: 100%;
  white-space: nowrap;
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 767px) {
  .home-performance-creative-hero {
    width: calc(100vw - 2.5rem);
    font-size: 11.4vw;
    line-height: 0.96;
  }
}

.home-hero-subtitle {
  max-width: none;
  width: max-content;
}

.home-hero-subtitle span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .home-hero-subtitle {
    width: calc(100vw - 2.5rem);
    font-size: 0.82rem;
  }
}

