/* ============================================================
   THE FRENCH ATELIER — Teachers Page Premium Styles
   Luxury LP quality: navy/ivory/gold/pink palette
   ============================================================ */

/* ===== TEACHERS HERO ===== */
.teachers-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding-top: 5rem;
  padding-bottom: 7rem;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--on-dark);
}
.teachers-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.teachers-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .38;
  filter: saturate(.7);
}
.teachers-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(0,0,32,.82) 0%,
    rgba(0,0,52,.60) 50%,
    rgba(0,0,30,.90) 100%
  );
}
.teachers-hero-content {
  position: relative;
  z-index: 2;
  max-width: 72ch;
}
.teachers-hero-scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.teachers-hero-scroll-hint span {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-line), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ===== BREADCRUMB (teachers hero variant) ===== */
.teachers-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 2.4rem;
}
.teachers-hero .breadcrumb a {
  color: var(--gold-soft);
  transition: color .25s;
}
.teachers-hero .breadcrumb a:hover { color: var(--gold); }
.teachers-hero .breadcrumb span { color: var(--on-dark-faint); }

/* ===== INTRO SPLIT ===== */
.teachers-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 5rem;
  align-items: start;
}
.teachers-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gold-line-soft);
  background: var(--paper);
}
.ts-item {
  padding: 2.6rem 2rem;
  text-align: center;
  border-right: 1px solid var(--gold-line-soft);
  border-bottom: 1px solid var(--gold-line-soft);
}
.ts-item:nth-child(even) { border-right: none; }
.ts-item:nth-child(3),
.ts-item:nth-child(4) { border-bottom: none; }
.ts-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: .4rem;
}
.ts-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-light-soft);
  line-height: 1.4;
}
.teachers-regions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}
.tr-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-light-soft);
  padding: .45rem 1rem;
  border: 1px solid var(--gold-line-soft);
  border-radius: 99px;
  background: var(--paper);
  transition: all .3s var(--ease);
}
.tr-pill:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--pink-soft);
}
.tr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
  flex-shrink: 0;
}

/* ===== FACULTY GRID ===== */
.faculty-section {
  background: var(--ivory);
}
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  background: transparent;
  border: none;
}

/* ===== FACULTY CARD ===== */
.fc {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  cursor: default;
  border: 1px solid var(--gold-line-soft);
  border-radius: 6px;
  box-shadow: 0 16px 40px -30px rgba(11,19,64,.4);
  transition: background .4s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.fc:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 34px 64px -32px rgba(11,19,64,.5);
  z-index: 2;
}

/* Photo */
.fc-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.fc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1s var(--ease), filter .6s;
  filter: grayscale(.08) saturate(.95);
  will-change: transform;
}
.fc:hover .fc-photo img {
  transform: scale(1.07);
  filter: grayscale(0) saturate(1.05);
}

/* Photo overlay on hover */
.fc-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 32, .72) 100%
  );
  opacity: 0;
  transition: opacity .5s var(--ease);
  z-index: 1;
}
.fc:hover .fc-photo-overlay { opacity: 1; }

/* Region tag */
.fc-region-tag {
  position: absolute;
  bottom: .9rem;
  left: .9rem;
  z-index: 2;
  background: rgba(0, 0, 32, .88);
  color: var(--gold-soft);
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .38rem .85rem;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200,169,107,.25);
  transition: opacity .4s;
}

/* Gold ribbon on hover (top) */
.fc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft), var(--gold-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
  z-index: 10;
}
.fc:hover::before { transform: scaleX(1); }

/* Body */
.fc-body {
  padding: 1.8rem 1.8rem 2.2rem;
  position: relative;
}
.fc-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: .3rem;
  color: var(--on-light);
}
.fc-location {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.fc-location-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
  flex-shrink: 0;
}
.fc-bio {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--on-light-soft);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video badge for teachers with video embeds */
.fc-video-badge {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.fc-video-badge svg {
  width: 14px;
  height: 14px;
  color: var(--navy-deep);
  fill: currentColor;
}
.fc:hover .fc-video-badge {
  opacity: 1;
  transform: scale(1);
}

/* ===== PORTRAIT GALLERY BAND (large photos, navy) ===== */
.teacher-portrait-band {
  background: var(--navy);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.teacher-portrait-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,169,107,.07) 0%, transparent 70%);
  pointer-events: none;
}
.teacher-portrait-band .lede { color: var(--on-dark-soft); }
.tpb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
  z-index: 1;
}
.tpb {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--navy-soft);
  border: 1px solid var(--dark-line);
  box-shadow: 0 22px 50px -30px rgba(0,0,0,.6);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.tpb:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -28px rgba(0,0,0,.7);
  border-color: var(--gold-line);
}
.tpb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1s var(--ease);
}
.tpb:hover img { transform: scale(1.06); }
.tpb figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 2.2rem 1.3rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,32,.92) 8%, rgba(0,0,32,.55) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.tpb-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}
.tpb-region {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
@media (max-width: 1100px) { .tpb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .tpb-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .tpb-name { font-size: 1.3rem; } }
@media (max-width: 420px)  { .tpb-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } .tpb figcaption { padding: 1.6rem .85rem .9rem; } .tpb-name { font-size: 1.1rem; } .tpb-region { font-size: .58rem; letter-spacing: .12em; } }

/* ===== FEATURED VIDEO TEACHERS GRID (legacy, unused) ===== */
.video-teachers-section {
  background: var(--navy);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.video-teachers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,169,107,.06) 0%, transparent 70%);
  pointer-events: none;
}
.video-teachers-section .lede { color: var(--on-dark-soft); }

/* 2-col grid for videos */
.teacher-vids-premium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.tvp {
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-soft);
  border: 1px solid var(--dark-line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.tvp:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0,0,0,.5);
  border-color: var(--gold-line);
}
.tvp-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.tvp-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tvp-caption {
  padding: 1.2rem 1.5rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--dark-line);
}
.tvp-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--on-dark);
}
.tvp-region {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ===== CITYSCAPE VIDEO BAND ===== */
/* (uses existing .video-band from fa.css) */

/* ===== THE ATELIER DIFFERENCE SPLIT ===== */
.diff-image-wrap {
  position: relative;
}
.diff-image-wrap img {
  width: 100%;
  border: 1px solid var(--dark-line);
  display: block;
}
.diff-image-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,32,.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--dark-line);
  padding: 1.2rem 1.5rem;
  border-radius: 4px;
}
.diff-image-overlay p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--on-dark);
  margin: 0;
  line-height: 1.5;
}
.diff-image-overlay span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: .5rem;
}

/* ===== PULLQUOTE (teachers page) ===== */
.teachers-quote {
  margin: 2.5rem 0 0;
  padding: 2rem 0 2rem 3rem;
  border-left: 2px solid var(--gold-line);
  position: relative;
}
.teachers-quote::before {
  content: "\201C";
  position: absolute;
  left: -.2rem;
  top: -.8rem;
  font-family: var(--serif);
  font-size: 5.5rem;
  color: var(--gold-line);
  line-height: 1;
}
.teachers-quote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--on-light);
  margin: 0;
}

/* ===== ATELIER DIFFERENCE (navy) — fix dark-on-dark lede ===== */
/* .lede defaults to --on-light-soft; override for navy bg sections */
.section-pad.bg-navy .lede {
  color: var(--on-dark-soft);
}

/* ===== CTA SECTION ===== */
.teachers-cta-section {
  background: var(--ivory);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .faculty-grid { grid-template-columns: repeat(3, 1fr); }
  .teachers-intro { gap: 3rem; }
  .teacher-vids-premium { gap: 1.5rem; }
}

@media (max-width: 900px) {
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .teachers-stats { grid-template-columns: repeat(4, 1fr); }
  .ts-item { border-bottom: none; padding: 1.8rem 1.2rem; }
  .ts-item:nth-child(even) { border-right: 1px solid var(--gold-line-soft); }
  .ts-item:nth-child(4) { border-right: none; }
  .teacher-vids-premium { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .faculty-grid { grid-template-columns: 1fr; gap: 0; }
  .fc-photo { aspect-ratio: 4 / 3; }
  .fc-bio { -webkit-line-clamp: 4; }
  .teachers-stats { grid-template-columns: 1fr 1fr; }
  .ts-item:nth-child(even) { border-right: none; }
  .ts-item:nth-child(3) { border-bottom: 1px solid var(--gold-line-soft); }
  .ts-item:nth-child(4) { border-bottom: none; }
  .teachers-hero { min-height: 65vh; padding-bottom: 5rem; }
  .teachers-hero-scroll-hint { display: none; }
  .teachers-intro { gap: 2rem; }
  .teachers-quote { padding-left: 1.5rem; }
  .teachers-quote::before { font-size: 3.5rem; }
  .diff-image-overlay { bottom: 1rem; left: 1rem; right: 1rem; padding: .9rem 1.1rem; }
}

@media (max-width: 420px) {
  .fc-body { padding: 1.4rem 1.2rem 1.8rem; }
  .fc-name { font-size: 1.4rem; }
  .teachers-regions { gap: .45rem; }
  .tr-pill { font-size: .65rem; padding: .38rem .8rem; }
}
