/* Homepage stock imagery — CreatorLayer-style photo marquees & service grid */

.frameflow-light.home-page .ff-stock-marquee {
  padding: clamp(32px, 4vw, 48px) 0;
  background: linear-gradient(180deg, #f8f6fc 0%, #fff 100%);
  overflow: hidden;
}

.frameflow-light.home-page .ff-stock-marquee__row {
  overflow: hidden;
  width: 100%;
}

.frameflow-light.home-page .ff-stock-marquee__row + .ff-stock-marquee__row {
  margin-top: 16px;
}

.frameflow-light.home-page .ff-stock-marquee__track {
  display: flex;
  align-items: stretch !important;
  gap: 18px;
  width: max-content;
}

.frameflow-light.home-page .ff-stock-marquee__tile {
  flex: 0 0 auto !important;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 280px !important;
  height: 188px !important;
  max-width: 280px !important;
  max-height: 188px !important;
  min-width: 280px !important;
  min-height: 188px !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 36px -18px rgba(19, 7, 45, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  aspect-ratio: 280 / 188;
}

.frameflow-light.home-page .ff-stock-marquee__tile img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Same footprint for every tile variant */
.frameflow-light.home-page .ff-stock-marquee__tile--wide,
.frameflow-light.home-page .ff-stock-marquee__tile--tall,
.frameflow-light.home-page .ff-stock-marquee__tile--square {
  width: 280px !important;
  height: 188px !important;
  max-width: 280px !important;
  max-height: 188px !important;
  min-width: 280px !important;
  min-height: 188px !important;
  border-radius: 22px !important;
}

/* Studio spotlight — CreatorLayer-style split (max 2 stock photos) */
.frameflow-light.home-page .ff-studio-spotlight {
  padding-block: clamp(64px, 8vw, 104px);
  background: linear-gradient(180deg, #faf9fd 0%, #fff 42%, #fff 100%);
}

.frameflow-light.home-page .ff-studio-spotlight__visual {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
  padding-bottom: clamp(16px, 2.5vw, 28px);
}

@media (min-width: 992px) {
  .frameflow-light.home-page .ff-studio-spotlight__visual {
    margin-inline: 0 auto;
  }
}

.frameflow-light.home-page .ff-studio-spotlight__photo {
  display: block;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 56px -28px rgba(19, 7, 45, 0.35);
}

.frameflow-light.home-page .ff-studio-spotlight__photo--main {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.frameflow-light.home-page .ff-studio-spotlight__photo--accent {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 42%;
  aspect-ratio: 4 / 5;
  border: 4px solid #fff;
  border-radius: 22px;
}

.frameflow-light.home-page .ff-studio-spotlight__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(67, 38, 146, 0.08);
  border: 1px solid rgba(67, 38, 146, 0.12);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #432692;
}

.frameflow-light.home-page .ff-studio-spotlight__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #13072d;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  max-width: 22ch;
}

.frameflow-light.home-page .ff-studio-spotlight__panel {
  padding: clamp(28px, 3.2vw, 36px);
  border-radius: 28px;
  background: linear-gradient(165deg, #13072d 0%, #211247 55%, #432692 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px -32px rgba(19, 7, 45, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.frameflow-light.home-page .ff-studio-spotlight__lead {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}

.frameflow-light.home-page .ff-studio-spotlight__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.frameflow-light.home-page .ff-studio-spotlight__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.frameflow-light.home-page .ff-studio-spotlight__list i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 11px;
  color: #bc28f5;
}

.frameflow-light.home-page .ff-studio-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Dark panel CTAs — both buttons solid white (readable on purple) */
.frameflow-light.home-page .ff-studio-spotlight__actions .tf-btn,
.frameflow-light.home-page .ff-studio-spotlight__actions .tf-btn-2 {
  background: #fff !important;
  background-image: none !important;
  color: #432692 !important;
  -webkit-text-fill-color: #432692 !important;
  border: none !important;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35) !important;
  font-weight: 700 !important;
}

.frameflow-light.home-page .ff-studio-spotlight__actions .tf-btn:hover,
.frameflow-light.home-page .ff-studio-spotlight__actions .tf-btn-2:hover {
  background: #ede8ff !important;
  background-image: none !important;
  color: #2b0e8a !important;
  -webkit-text-fill-color: #2b0e8a !important;
  border-color: transparent !important;
}

/* Motto band with photo collage backdrop */
.frameflow-light.home-page .ff-home-motto {
  position: relative;
  overflow: hidden;
}

.frameflow-light.home-page .ff-home-motto__photos {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
}

.frameflow-light.home-page .ff-home-motto__photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 18, 71, 0.88) 0%, rgba(67, 38, 145, 0.92) 100%);
}

.frameflow-light.home-page .ff-home-motto__photos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
  gap: 8px;
  padding: 8px;
  transform: scale(1.08);
}

.frameflow-light.home-page .ff-home-motto__photos-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.frameflow-light.home-page .ff-home-motto .container {
  position: relative;
  z-index: 1;
}

/* About purple panel — subtle photo stack */
.frameflow-light.home-page .section-about-us .col-left {
  position: relative;
}

@media (max-width: 991px) {
  .frameflow-light.home-page .ff-home-motto__photos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .frameflow-light.home-page .ff-studio-spotlight__title {
    max-width: none;
  }

  .frameflow-light.home-page .ff-studio-spotlight__photo--accent {
    right: 4%;
    bottom: -4%;
    width: 38%;
  }
}

@media (max-width: 767px) {
  .frameflow-light.home-page .ff-stock-marquee__tile,
  .frameflow-light.home-page .ff-stock-marquee__tile--wide,
  .frameflow-light.home-page .ff-stock-marquee__tile--tall,
  .frameflow-light.home-page .ff-stock-marquee__tile--square {
    width: 200px !important;
    height: 134px !important;
    max-width: 200px !important;
    max-height: 134px !important;
    min-width: 200px !important;
    min-height: 134px !important;
  }

  .frameflow-light.home-page .ff-studio-spotlight__photo--accent {
    display: none;
  }
}
