/* =====================================================================
   Placements page — scoped styles
   Everything lives under .szc-pl-page so nothing here touches the shared
   header/footer rules already defined in /style.css and /header.css.
   ===================================================================== */

.szc-pl-page {
  --szc-pl-red: #ff2026;
  --szc-pl-red-dark: #e60c12;
  --szc-pl-black: #141414;
  --szc-pl-white: #ffffff;
  --szc-pl-gray: #6b6b6b;
  --szc-pl-bg: #f3f3f3;
  --szc-pl-radius: 22px;
  --szc-pl-font-display: 'Sora', sans-serif;
  --szc-pl-font-body: 'Sora', sans-serif;

  background: var(--szc-pl-bg);
  overflow-x: clip;
}

.szc-pl-page .szc-pl-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.szc-pl-page * { box-sizing: border-box; }

.szc-pl-page a.szc-pl-btn {
  text-decoration: none;
}

/* ---------------------------------------------------------------------
   Shared button
   --------------------------------------------------------------------- */
.szc-pl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--szc-pl-font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.szc-pl-btn--primary {
  background: var(--szc-pl-red);
  color: var(--szc-pl-white);
  box-shadow: 0 10px 24px -8px rgba(227, 30, 36, .55);
}
.szc-pl-btn--primary i { transition: transform .25s ease; }
.szc-pl-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -8px rgba(227, 30, 36, .65);
}
.szc-pl-btn--primary:hover i { transform: translate(2px, -2px); }

.szc-pl-btn--ghost {
  background: var(--szc-pl-white);
  color: var(--szc-pl-red);
  border-color: var(--szc-pl-white);
  font-size: .9rem;
  padding: 10px 18px;
}
.szc-pl-btn--ghost:hover {
  background: var(--szc-pl-black);
  color: var(--szc-pl-white);
}

.szc-pl-page a.szc-pl-btn:focus-visible,
.szc-pl-page .szc-pl-testi__track:focus-visible {
  outline: 3px solid var(--szc-pl-black);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   Hero — "8k+ Placements in just 20 years"

   The whole hero is one scaled "stage" locked to the reference image's
   aspect ratio (1263:608) with a CSS container query context. Every
   photo, the heading and the button are sized in cqw (% of the stage's
   own width), so the entire collage scales as a single unit — edge
   -bleeding cards, sparkle positions and type size all stay identical
   to the reference at any viewport width, from small phones up.
   --------------------------------------------------------------------- */
.szc-pl-hero {
  max-width: 100%;
  margin: 100px auto;
}

.szc-pl-hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1263 / 608;
  overflow: hidden;
  container-type: inline-size;
  container-name: szc-pl-hero-stage;
}

/* =========================================================
   PLACEMENT HERO CONTENT – RESPONSIVE TITLE & POSITION
   ========================================================= */

.szc-pl-hero__content {
  position: absolute;
  z-index: 3;

  /* Responsive central positioning */
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);

  width: min(55%, 620px);
  max-width: calc(100% - 32px);

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;


  gap: clamp(12px, 2vw, 30px);
}


.szc-pl-hero__title {
  font-family: var(--szc-pl-font-display);
  font-weight: 800;

  /* Automatically scales on every screen */
  font-size: clamp(1.5rem, 5.2vw, 3.4rem);

  line-height: 1.1;

  color: var(--szc-pl-black);

  margin: 0;

  width: 100%;
  max-width: 100%;

  text-align: center;
}


.szc-pl-hero__title .szc-pl-count {
  color: var(--szc-pl-red);
  white-space: nowrap;
}


.szc-pl-hero__title-line2 {
  display: block;
  color: var(--szc-pl-black);
}


/* Button responsive */
.szc-pl-hero__content .szc-pl-btn {
  flex-shrink: 0;
  white-space: nowrap;
}


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

@media (max-width: 1024px) {

  .szc-pl-hero__content {
    width: 60%;
    left: 50%;
    top: 25%;
  }

  .szc-pl-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  }

   .szc-pl-hero__content .szc-pl-btn {
    padding: 10px 15px;
    font-size: 0.6rem;
  }

}


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

@media (max-width: 768px) {

  .szc-pl-hero__content {
    width: 100%;
    max-width: calc(100% - 24px);

    left: 50%;
    top: 25%;

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

    gap: 16px;
  }

  .szc-pl-hero__title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.12;
  }

  .szc-pl-hero__content .szc-pl-btn {
    padding: 5px 10px;
    font-size: 0.5rem;
  }

}


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

@media (max-width: 480px) {

  .szc-pl-hero__content {
    width: 100%;
    max-width: calc(100% - 10px);

    left: 50%;
    top: 25%;

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

    gap: 14px;
  }

  .szc-pl-hero__title {
    font-size: clamp(1rem, 4vw, 2rem);
    line-height: 1.15;
  }

  .szc-pl-hero__content .szc-pl-btn {
    padding: 5px 10px;
    font-size: 0.4rem;
  }

}




.szc-pl-hero__title .szc-pl-count { color: var(--szc-pl-red); }
.szc-pl-hero__title-line2 { display: block; color: var(--szc-pl-black); }

/* decorative sparkles — positioned to match the reference exactly */
.szc-pl-spark {
  position: absolute;
  color: var(--szc-pl-red);
  z-index: 1;
  font-size: clamp(.75rem, 2.4cqw, 1.6rem);
  animation: szc-pl-twinkle 3.2s ease-in-out infinite;
}
.szc-pl-spark--1 { top: 12%;   left: 23.4%; animation-delay: 0s; }
.szc-pl-spark--2 { top: 23.8%; left: 73.2%; font-size: clamp(.85rem, 2.8cqw, 1.9rem); animation-delay: .6s; }
.szc-pl-spark--3 { top: 56.7%; left: 6.7%;  animation-delay: 1.2s; }
.szc-pl-spark--4 { top: 70.7%; left: 17.4%; font-size: clamp(.65rem, 1.9cqw, 1.3rem); animation-delay: 1.8s; }
.szc-pl-spark--5 { top: 58.4%; left: 82%;   font-size: clamp(.65rem, 1.9cqw, 1.3rem); animation-delay: .9s; }
.szc-pl-spark--6 { top: 61.7%; left: 95%;   font-size: clamp(.65rem, 1.9cqw, 1.3rem); animation-delay: 1.5s; }

/* scattered student-photo collage — absolute % positions match the reference layout */
.szc-pl-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.szc-pl-photo {
  background-color: #000;
  position: absolute;
  border-radius: clamp(8px, 1.6cqw, 18px);
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(24px) scale(.92);
  animation: szc-pl-rise .7s ease forwards;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .35);
  transition: transform .35s ease, box-shadow .35s ease;
}

.szc-pl-photo--1  { left: 5.9%;  top: 4.1%;  width: 11.9%; height: 20.6%; animation-delay: .05s; }
.szc-pl-photo--2  { left: -1.2%; top: 27.9%; width: 7.1%;  height: 20.6%; animation-delay: .09s; }
.szc-pl-photo--3  { left: 8%; top: 32%; width: 11.5%; height: 23.0%; animation-delay: .13s; }
.szc-pl-photo--4  { left: 24.1%; top: 33%; width: 11.9%; height: 23.0%; animation-delay: .1s;  }
.szc-pl-photo--5  { left: 19.0%; top: 60.1%; width: 11.9%; height: 21.4%; animation-delay: .24s; }
.szc-pl-photo--6  { left: 5.5%;  top: 78.9%; width: 11.9%; height: 20.6%; animation-delay: .3s;  }
.szc-pl-photo--7  { left: 32.1%; top: 78.1%; width: 11.9%; height: 20.6%; animation-delay: .27s; }
.szc-pl-photo--8  { left: 47.5%; top: 58.9%; width: 11.9%; height: 23.0%; animation-delay: .2s;  }
.szc-pl-photo--9  { left: 64.5%; top: 32.1%; width: 11.9%; height: 23.0%; animation-delay: .16s; }
.szc-pl-photo--10 { left: 64.9%; top: 67.4%; width: 11.9%; height: 21.4%; animation-delay: .33s; }
.szc-pl-photo--11 { left: 80.0%; top: 2.5%;  width: 11.9%; height: 23.0%; animation-delay: .08s; }
.szc-pl-photo--12 { left: 80%; top: 32.1%; width: 11.9%; height: 23.0%; animation-delay: .19s; }
.szc-pl-photo--13 { left: 84.7%; top: 78.1%; width: 11.9%; height: 20.6%; animation-delay: .36s; }
.szc-pl-photo--14 { left: 94%; top: 13.2%; width: 7.1%;  height: 23.0%; animation-delay: .14s; }

.szc-pl-photo:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 26px -12px rgba(0, 0, 0, .4);
  z-index: 4;
}



/* ---------------------------------------------------------------------
   Placement poster masonry
   --------------------------------------------------------------------- */
.szc-pl-posters {
  padding: 40px 0 88px;
  overflow: hidden;
}

.szc-pl-posters__track {
  display: flex;
  gap: 22px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.szc-pl-posters__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.szc-pl-posters__col--down { margin-top: 64px; }

.szc-pl-poster {
  background: var(--szc-pl-white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--szc-pl-radius);
  box-shadow: 0 18px 30px -18px rgba(0,0,0,.25);
  aspect-ratio: 6 / 6;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease, translate .3s ease;
}
/* Temporary placeholder image is set directly in the HTML — swap each <img src> for a real poster */

.szc-pl-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.szc-pl-poster.szc-pl-in-view {
  opacity: 1;
  transform: translateY(0);
}

.szc-pl-poster:hover {
  box-shadow: 0 22px 36px -16px rgba(0,0,0,.32);
  translate: 0 -6px;
}

@media (max-width: 900px) {
  .szc-pl-posters__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .szc-pl-posters__col { min-width: 62vw; scroll-snap-align: start; }
  .szc-pl-posters__col--down { margin-top: 40px; }
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */

.szc-pl-testi {
  padding: 40px 24px 110px;
  max-width: 1400px;
  margin: 0 auto;
}

.szc-pl-testi__head {
  max-width: 760px;
  margin-bottom: 44px;
}

.szc-pl-testi__title {
  font-family: var(--szc-pl-font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--szc-pl-red);
  margin: 0 0 16px;
}

.szc-pl-testi__desc {
  font-family: var(--szc-pl-font-body);
  color: var(--szc-pl-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ---------------- Track ---------------- */

.szc-pl-testi__track {
  display: flex;
  align-items: stretch;
  gap: 24px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;

  padding: 10px 4px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--szc-pl-red) transparent;
}

.szc-pl-testi__track::-webkit-scrollbar {
  height: 8px;
}

.szc-pl-testi__track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .06);
  border-radius: 999px;
}

.szc-pl-testi__track::-webkit-scrollbar-thumb {
  background: var(--szc-pl-red);
  border-radius: 999px;
}

/* ---------------- Card ---------------- */

.szc-pl-testi__card {
  scroll-snap-align: center;

  flex: 0 0 min(350px, 84vw);

  display: flex;
  flex-direction: column;
  gap: 18px;

  padding: 24px;
  border-radius: var(--szc-pl-radius);

  background: var(--szc-pl-red);
  color: var(--szc-pl-white);

  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .6s ease,
    transform .6s ease,
    box-shadow .35s ease;
}

.szc-pl-testi__card.szc-pl-in-view {
  opacity: 1;
  transform: translateY(0);
}

.szc-pl-testi__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px -20px rgba(227, 30, 36, .7);
}

.szc-pl-testi__card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.szc-pl-testi__name {
  font-family: var(--szc-pl-font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0;
}

.szc-pl-testi__role {
  font-family: var(--szc-pl-font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .82;
  margin: 0;
}

.szc-pl-testi__blurb {
  font-family: var(--szc-pl-font-body);
  font-size: .92rem;
  line-height: 1.65;
  opacity: .95;
  margin: 0;
}

/* ---------------- Reel crop ---------------- */

.szc-pl-testi__reel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 470px;

  overflow: hidden;
  border-radius: 18px;

  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    0 16px 30px -18px rgba(0, 0, 0, .55);
}

/* Visible crop window */
.szc-pl-testi__reel-crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

/* Instagram embed: enlarged and shifted to show the center video area */
.szc-pl-testi__reel-crop blockquote.instagram-media,
.szc-pl-testi__reel-crop iframe {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 128% !important;
  height: 108% !important;
  max-width: none !important;

  transform: translate(-50%, -58%);
  transform-origin: center center;

  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 !important;
}

/* Cinematic top/bottom fade */
.szc-pl-testi__reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;

  box-shadow:
    inset 0 48px 64px -34px rgba(0, 0, 0, .8),
    inset 0 -58px 72px -38px rgba(0, 0, 0, .8);
}

/* Instagram badge */
.szc-pl-testi__reel-badge {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;

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

  padding: 8px 14px;
  border-radius: 999px;

  font-family: var(--szc-pl-font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: var(--szc-pl-white);
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}

.szc-pl-testi__reel-badge i {
  font-size: .9rem;
}

/* ---------------- Placeholder reel ---------------- */

.szc-pl-testi__reel--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  color: rgba(255, 255, 255, .85);
  font-family: var(--szc-pl-font-display);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
    #000;
}

.szc-pl-testi__reel--placeholder i {
  font-size: 2.1rem;
  opacity: .85;
}

/* ---------------- Button ---------------- */

.szc-pl-testi__card .szc-pl-btn--ghost {
  align-self: stretch;
  justify-content: center;

  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .55);
  color: var(--szc-pl-white);
  backdrop-filter: blur(6px);
}

.szc-pl-testi__card .szc-pl-btn--ghost:hover {
  background: var(--szc-pl-white);
  border-color: var(--szc-pl-white);
  color: var(--szc-pl-red);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 768px) {
  .szc-pl-testi {
    padding: 30px 16px 90px;
  }

  .szc-pl-testi__card {
    flex: 0 0 min(310px, 88vw);
    padding: 20px;
  }

  .szc-pl-testi__reel {
    max-height: 470px;
  }

  .szc-pl-testi__reel-crop blockquote.instagram-media,
  .szc-pl-testi__reel-crop iframe {
    width: 135% !important;
    height: 135% !important;
    transform: translate(-50%, -60%);
  }
}

@media (max-width: 480px) {
  .szc-pl-testi__card {
    flex: 0 0 86vw;
  }

  .szc-pl-testi__name {
    font-size: 1.2rem;
  }

  .szc-pl-testi__reel {
    max-height: 400px;
  }
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  .szc-pl-testi__card,
  .szc-pl-testi__card .szc-pl-btn--ghost {
    transition: none !important;
  }

  .szc-pl-testi__card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------------------------------------------------------------------
   Keyframes
   --------------------------------------------------------------------- */
@keyframes szc-pl-rise {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes szc-pl-twinkle {
  0%, 100% { opacity: .35; transform: scale(.85) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(15deg); }
}

@media (prefers-reduced-motion: reduce) {
  .szc-pl-page *,
  .szc-pl-page *::before,
  .szc-pl-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .szc-pl-hero__content,
  .szc-pl-photo,
  .szc-pl-poster,
  .szc-pl-testi__card {
    opacity: 1 !important;
    transform: none !important;
  }
}











