/* ============================================================================
   STUDIOS PAGE — BUILD 07
   Supplements style.css.
   ============================================================================ */


/* ---------------------------------------------------------------------------
   01 · HERO
   --------------------------------------------------------------------------- */
.studios-hero {
  position: relative;
  min-height: clamp(480px, 60vw, 800px);
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
  padding-bottom: var(--section-y);
}

.studios-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h, 72px) + clamp(48px, 8vw, 120px));
  padding-bottom: clamp(40px, 5vw, 80px);
}

.studios-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 11rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-top: 16px;
  word-break: keep-all;
  hyphens: none;
}

.studios-hero-title em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--red);
}

.studios-hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 540px;
  margin-top: clamp(24px, 3vw, 40px);
}

.studios-hero-cta {
  margin-top: clamp(28px, 3vw, 44px);
}


/* Background media slot and gradient for studios hero */
.studios-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(9,9,9,0.92) 0%, rgba(9,9,9,0.5) 50%, rgba(9,9,9,0.15) 100%);
  pointer-events: none;
}

.studios-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.studios-hero-bg-ph {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

/* Hero background image */
.studios-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.studios-hero-rule {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin-top: clamp(36px, 4.5vw, 64px);
}


/* ---------------------------------------------------------------------------
   02 · STUDIO MANIFESTO — full-width statement
   --------------------------------------------------------------------------- */
.studios-manifesto {
  background: var(--surface);
  padding-block: var(--section-y);
}

.studios-manifesto-inner {
  max-width: 860px;
}

.studios-manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--off-white);
}

.studios-manifesto-text em {
  font-style: italic;
  color: var(--red);
}

.studios-manifesto-note {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--muted);
  line-height: 1.6;
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 520px;
}


/* ---------------------------------------------------------------------------
   03 · STUDIO MODEL GRID
   --------------------------------------------------------------------------- */
.studios-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 4rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.studios-section-title em {
  font-style: italic;
  color: var(--red);
}

.studios-model-intro,
.studios-available-intro {
  margin-bottom: clamp(40px, 5vw, 80px);
}

.studios-model-section {
  background: var(--black);
  padding-block: var(--section-y);
}

.studios-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: clamp(40px, 5vw, 80px);
}

.studios-model-card {
  background: var(--black);
  padding: clamp(28px, 3.5vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.studios-model-n {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studios-model-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.studios-model-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.studios-model-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  align-self: flex-start;
}


/* ---------------------------------------------------------------------------
   04 · PHILOSOPHY / APPROACH SECTION
   --------------------------------------------------------------------------- */
.studios-approach {
  background: var(--surface);
  padding-block: var(--section-y);
}

.studios-approach-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px, 7vw, 140px);
  align-items: start;
}

.studios-approach-lhs {
  position: sticky;
  top: 100px;
}

.studios-approach-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}

.studios-approach-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.8rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 12px;
}

.studios-approach-title em {
  font-style: italic;
  color: var(--red);
}

.studios-approach-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.studios-approach-para {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  color: var(--text-2);
  line-height: 1.65;
}

.studios-principles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.studios-principle {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.studios-principle:last-child {
  border-bottom: 1px solid var(--border);
}

.studios-principle-n {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3px;
}

.studios-principle-text {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.05vw, 1rem);
  color: var(--off-white);
  line-height: 1.5;
}

.studios-principle-text span {
  display: block;
  font-size: 0.875em;
  color: var(--text-2);
  margin-top: 4px;
}

.studios-principle-text .studios-pt {
  display: block;
  font-size: 1em;
  color: var(--off-white);
  margin-top: 0;
}


/* ---------------------------------------------------------------------------
   05 · AVAILABLE AS SECTION
   --------------------------------------------------------------------------- */
.studios-available {
  background: var(--black);
  padding-block: var(--section-y);
}

.studios-available-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 80px);
}

.studios-available-item {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.studios-available-type {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}

.studios-available-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 8px;
}

.studios-available-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--text-2);
  line-height: 1.65;
  margin-top: 12px;
}

.studios-coming-soon {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  display: inline-block;
  margin-top: 16px;
}


/* ---------------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .studios-model-grid {
    grid-template-columns: 1fr;
  }

  .studios-approach-inner {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 56px);
  }

  .studios-approach-lhs {
    position: static;
  }
}

@media (max-width: 768px) {
  .studios-available-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------------------------------------------------------------------------
   06 · STUDIOS COLLABORATION CLOSING — fullwidth background section
   --------------------------------------------------------------------------- */
.st-closing {
  position: relative;
  min-height: clamp(650px, 85vh, 1050px);
  background: var(--black);
  overflow: hidden;
}

.st-closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.st-closing-bg-ph {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

/* Gradient: transparent left → dark right for text readability */
.st-closing-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(9,9,9,0.25) 30%,
    rgba(9,9,9,0.88) 55%,
    rgba(9,9,9,0.97) 100%);
  pointer-events: none;
}

.st-closing-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(72px, 9vw, 130px);
}

/* Two-column layout: left empty (image), right text */
.st-closing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}

.st-closing-text-col {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}

/* Kicker label */
.st-closing-kicker {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}

/* Headline */
.st-closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--off-white);
  letter-spacing: -0.02em;
}

.st-closing-headline em {
  font-style: italic;
  color: var(--red);
}

/* Intro paragraph */
.st-closing-intro {
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 52ch;
}

/* Process steps */
.st-closing-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-closing-step {
  background: rgba(9,9,9,0.55);
  border: 1px solid rgba(245,241,236,0.08);
  padding: clamp(14px, 1.8vw, 22px) clamp(18px, 2vw, 28px);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.st-step-num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--red);
  flex-shrink: 0;
  padding-top: 4px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-step-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  color: var(--off-white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.st-step-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* Benefits section */
.st-closing-benefits-title {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: -16px;
}

.st-closing-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}

.st-closing-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.st-benefit-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--red);
  margin-top: 3px;
}

.st-benefit-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  color: var(--off-white);
  margin-bottom: 5px;
  line-height: 1.3;
}

.st-benefit-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-2);
}

/* CTA block */
.st-closing-cta-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: clamp(8px, 1vw, 16px);
  border-top: 1px solid rgba(245,241,236,0.1);
}

.st-closing-cta-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 50ch;
}

/* Mobile: single column, full dark background */
@media (max-width: 900px) {
  .st-closing-layout {
    grid-template-columns: 1fr;
  }

  .st-closing-text-col {
    grid-column: 1;
  }

  .st-closing-grad {
    background: rgba(9,9,9,0.82);
  }
}

@media (max-width: 600px) {
  .st-closing-benefits {
    grid-template-columns: 1fr;
  }
}


/* Collaboration closing background image */
.st-closing-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Zigzag section images */
.zz-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* ---------------------------------------------------------------------------
   07 · BENEFITS & CTA SECTION
   --------------------------------------------------------------------------- */
.st-benefits {
  background: var(--black);
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}

.st-benefits-intro {
  max-width: 680px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.st-benefits-kicker {
  color: var(--red);
}

.st-benefits-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--off-white);
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.st-benefits-headline em {
  font-style: italic;
  color: var(--red);
}

.st-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.st-benefit-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--border);
}

.st-benefit-num {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-benefit-heading {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.st-benefit-body {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  color: var(--text-2);
  line-height: 1.65;
}

.st-benefits-cta {
  border-top: 1px solid var(--border);
  padding-top: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.st-benefits-cta-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-2);
}

@media (max-width: 768px) {
  .st-closing {
    min-height: clamp(500px, 90vw, 800px);
  }
}

@media (max-width: 600px) {
  .st-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   HERO — mobile copy variants and typography (≤ 480px only)
   Desktop text by default; condensed text in the services-hero style on small
   phones: white upright line + red italic accent line, never hyphenated.
   ------------------------------------------------------------------------ */
.studios-hero-title .hero-copy--mobile,
.studios-hero-sub .hero-copy--mobile { display: none; }

@media (max-width: 480px) {
  .studios-hero-title .hero-copy--desktop,
  .studios-hero-sub .hero-copy--desktop { display: none; }
  .studios-hero-title .hero-copy--mobile,
  .studios-hero-sub .hero-copy--mobile { display: inline; }

  /* 8.35 = widest unbreakable unit "DEVELOPMENT." (8.1em, Fraunces 700, optical
     sizing) + ~2.5% margin; the white line may wrap between words. Capped at 3rem. */
  .studios-hero-title {
    font-size: min(3rem, calc((100vw - 40px) / 8.35));
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.9;
  }
  .studios-hero-title em {
    text-transform: none;
    white-space: nowrap;
  }

  .studios-hero-sub { margin-top: 18px; }
  .studios-hero-cta { margin-top: 24px; }

  /* Full-height hero like brands/agencies — more of the image stays visible */
  .studios-hero {
    min-height: 100svh;
    padding-bottom: 32px;
  }

  /* Readability over the bright red studio lights; stops anchored in px from
     the bottom because the text block keeps a near-constant height (kicker ≤ ~380px) */
  .studios-hero::after {
    background: linear-gradient(
      to top,
      rgba(9, 9, 9, 0.94) 0,
      rgba(9, 9, 9, 0.86) 400px,
      rgba(9, 9, 9, 0.30) 520px,
      rgba(9, 9, 9, 0.12) 100%
    );
  }
}
