/* ==========================================================================
   studio-pages.css — human layout for mentors / become-a-mentor / colleges / parents
   Kill glow grids, dual-column aside cards, pill filters, shadow stacks.
   ========================================================================== */

/* ——— Shared photo hero ——— */
.studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  overflow: clip;
  margin-top: calc(var(--session-bar-height) + var(--nav-height));
}
.studio-hero__media {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  background: color-mix(in srgb, var(--ink) 88%, var(--blueprint) 12%);
  overflow: hidden;
}
.studio-hero__media picture,
.studio-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.studio-hero__media img {
  object-fit: cover;
  object-position: center;
  max-width: none; /* override site.css img { max-width:100%; height:auto } collapse */
  filter: none;
}
.studio-hero__media::after {
  content: none;
  display: none;
}
.studio-hero__copy {
  padding: clamp(1.75rem, 4vh, 3rem) var(--page-padding) clamp(2rem, 5vh, 3.5rem);
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}
.studio-hero__copy h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}
.studio-hero__copy .studio-lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38rem;
  margin: 0 0 1.35rem;
}
.studio-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.studio-hero__quiet {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 42rem;
}
.studio-hero__quiet a {
  color: var(--blueprint);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.studio-hero__aside-note {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 40rem;
  line-height: 1.55;
}

@media (min-width: 960px) {
  .studio-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    min-height: clamp(420px, 62vh, 560px);
  }
  .studio-hero--flip {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
  .studio-hero--flip .studio-hero__media { order: 2; }
  .studio-hero--flip .studio-hero__copy { order: 1; }
  .studio-hero__media {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
    align-self: stretch;
  }
  .studio-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(2.5rem, 6vh, 4rem);
  }
}

/* ——— Mentors: kill legacy hero theater ——— */
.mentors-page .hero__bg,
.mentors-page .hero__grid,
.mentors-page .hero__glow {
  display: none !important;
}
.mentors-page .mentors-hero.hero {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.mentors-page .mentors-hero .container {
  display: contents !important;
}
.mentors-page .highlight {
  font-style: normal !important;
  color: inherit !important;
  background: none !important;
}

/* Filters: understated, not pill candy */
.mentors-filters {
  padding: 1.25rem 0 0.5rem !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
}
.mentors-cat,
.mentors-sub {
  border-radius: 2px !important;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--ink-2) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.mentors-cat.is-active,
.mentors-sub.is-active {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--paper) !important;
}

/* Mentor cards: photo-forward (do not shrink photos) */
.mentors-section {
  padding: 2rem 0 4rem !important;
}
.mentors-grid {
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem) !important;
}
.mentor-card {
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}
.mentor-card:hover {
  border-color: transparent !important;
  background: transparent !important;
}
.mentor-card__media {
  border-radius: var(--radius-md) !important;
}
.mentor-card__photo,
.mentor-card__photo-fallback {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  flex-basis: auto !important;
  border-radius: 0 !important;
}
.mentor-card__photo-fallback {
  background: color-mix(in srgb, var(--blueprint) 12%, var(--paper-2)) !important;
  border: 1px solid color-mix(in srgb, var(--blueprint) 25%, transparent) !important;
  color: var(--blueprint) !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
}
.mentor-card__pill {
  border-radius: 2px !important;
  background: transparent !important;
}

.mentors-empty-cohort {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
  background: var(--paper-2);
  margin-bottom: 1.5rem;
}

/* ——— Become a mentor: token polish only (layout lives in mentors.css) ——— */
.become-mentor-page .mentors-checkboxes label,
.become-mentor-page .bam-path-card,
.become-mentor-page .form-group input,
.become-mentor-page .form-group textarea,
.become-mentor-page .form-group select {
  border-radius: 2px !important;
  box-shadow: none !important;
}
.become-mentor-page .mentors-checkboxes label:has(input:checked) {
  border-color: var(--blueprint) !important;
  background: color-mix(in srgb, var(--blueprint) 6%, transparent) !important;
}
.become-mentor-page .bam-path-card:hover,
.become-mentor-page .bam-path-card.is-active,
.become-mentor-page .bam-path-card[aria-selected="true"] {
  border-color: var(--blueprint) !important;
  box-shadow: 0 0 0 1px var(--blueprint) !important;
}
.become-mentor-page .studio-photo-bleed {
  margin-top: 0;
  max-height: min(36vh, 360px);
  aspect-ratio: 24 / 9;
}

/* ——— Colleges ——— */
.colleges-page .hero-band {
  padding: calc(var(--session-bar-height) + var(--nav-height) + clamp(1.5rem, 3vh, 2.5rem)) 0 0 !important;
  border-bottom: 1px solid var(--border) !important;
}
.colleges-page .hero-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}
.colleges-page .hero-main {
  padding: clamp(1.75rem, 4vh, 3rem) var(--page-padding) clamp(2rem, 5vh, 3.25rem);
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}
.colleges-page .hero-h1 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem) !important;
  letter-spacing: -0.03em !important;
  max-width: 14ch;
}
.colleges-page .hero-h1 span {
  color: inherit !important;
  font-style: normal !important;
}
.colleges-page .hero-program-card {
  display: none !important; /* fold Program Builder into actions — less card theater in first viewport */
}
.colleges-page .stat-strip {
  gap: 1.5rem 2rem !important;
  margin-top: 1.5rem;
}
.colleges-page .stat-strip .stat-item {
  border-top: 2px solid var(--blueprint) !important;
  min-width: 5.5rem;
}
.colleges-page .stat-number {
  font-family: var(--font-mono) !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}
.colleges-page .hero-actions {
  margin-top: 1.5rem !important;
}

.studio-photo-bleed,
.colleges-photo {
  margin: 0;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--ink) 88%, var(--blueprint) 12%);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  min-height: 220px;
  max-height: min(52vh, 520px);
}
.studio-photo-bleed picture,
.colleges-photo picture,
.studio-photo-bleed img,
.colleges-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.studio-photo-bleed img,
.colleges-photo img {
  object-fit: cover;
  object-position: center;
  max-width: none;
  filter: saturate(0.9);
}

.colleges-page .offer-card,
.colleges-page .founder-card,
.colleges-page .hero-program-card,
.colleges-page .samsung-callout,
.colleges-page .build-cta {
  border-radius: 2px !important;
  box-shadow: none !important;
}
.colleges-page .offer-card,
.colleges-page .founder-card {
  background: var(--paper-2) !important;
  border: 1px solid var(--border) !important;
}
.colleges-page .catalog-filter {
  border-radius: 2px !important;
}
.colleges-page .catalog-filter.is-on {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-color: var(--ink) !important;
}
.colleges-page .samsung-callout,
.colleges-page .samsung-badge {
  background: color-mix(in srgb, var(--blueprint) 6%, var(--paper)) !important;
  border-color: var(--border) !important;
}
.colleges-page .samsung-badge {
  color: var(--blueprint) !important;
  border-radius: 2px !important;
}

/* ——— Parents ——— */
.parents-page main {
  padding-top: calc(var(--session-bar-height) + var(--nav-height));
}
.parents-page .parents-shell {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4rem) var(--page-padding) 5rem;
}
.parents-page .parents-shell h1 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  margin: 0 0 1rem;
}
.parents-page .parents-photo {
  margin: 0 0 2rem;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 88%, var(--blueprint) 12%);
  aspect-ratio: 16 / 10;
}
.parents-page .parents-photo picture,
.parents-page .parents-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.parents-page .parents-photo img {
  object-fit: cover;
  max-width: none;
}
.parents-page .parents-shell p {
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.parents-page .parents-shell a:not(.back):not(.btn) {
  color: var(--blueprint);
  font-weight: 600;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .studio-hero__media img,
  .colleges-photo img,
  .parents-page .parents-photo img {
    filter: none;
  }
}
