/*
Theme Name: Gordon's Child
Template:    generatepress
Version:     1.0
Description: Gordon's Academy child theme. All visual styles live here and in /css/.
*/

/* ═══════════════════════════════════════════════════
   FONTS  —  self-hosted, no Google Fonts link in prod
   Swap Google Fonts link in header.php with @font-face
   once woff2 files are in /fonts/
   ═══════════════════════════════════════════════════ */

@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════ */

:root {
  --gold:  #F5C518;
  --goldd: #C4900A;
  --black: #0D0D0D;
  --dark:  #111111;
  --mid:   #1C1C1C;
  --white: #FFFFFF;
  --surf:  #F6F6F6;
  --fd: "Bebas Neue", Impact, sans-serif;
  --fs: "Plus Jakarta Sans", system-ui, sans-serif;
  --e1: cubic-bezier(0.16, 1, 0.3, 1);
  --e2: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ═══════════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--fs);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#main { padding-top: 56px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--e1), transform .75s var(--e1);
}
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }
.rd4 { transition-delay: .32s; }
.rd5 { transition-delay: .40s; }

/* ═══════════════════════════════════════════════════
   LAYOUT WRAPPER
   ═══════════════════════════════════════════════════ */

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5.5vw, 5.5rem);
}

/* ═══════════════════════════════════════════════════
   EYEBROWS
   ═══════════════════════════════════════════════════ */

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.eyebrow-dk {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════
   ANNOUNCE BAR
   ═══════════════════════════════════════════════════ */

.bar {
  background: var(--black);
  color: rgba(255,255,255,.78);
  text-align: center;
  padding: 9px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .01em;
  position: relative;
  z-index: 60;
}
.bar a { color: var(--gold); font-weight: 700; }

/* ═══════════════════════════════════════════════════
   NAV  —  FLOATING PILL
   ═══════════════════════════════════════════════════ */

.nav-wrap {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(13,13,13,.07);
  border-radius: 9999px;
  padding: 5px 6px;
  box-shadow: 0 2px 24px rgba(13,13,13,.07), inset 0 1px 0 rgba(255,255,255,.9);
  transition: box-shadow .35s var(--e1);
}
.nav.scrolled {
  box-shadow: 0 8px 40px rgba(13,13,13,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.nb {
  font-family: var(--fd);
  font-size: 17px;
  letter-spacing: .06em;
  padding: 6px 12px;
  color: var(--black);
  display: flex;
  align-items: center;
}
.nd {
  width: 1px;
  height: 14px;
  background: rgba(13,13,13,.08);
  margin: 0 2px;
}
.nl {
  font-size: 13px;
  font-weight: 500;
  color: rgba(13,13,13,.72);
  padding: 7px 14px;
  border-radius: 9999px;
  transition: all .2s var(--e1);
}
.nl:hover { color: var(--black); background: rgba(13,13,13,.04); }
.nl.hi { color: var(--black); font-weight: 700; }
.ncta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 8px 8px 18px;
  border-radius: 9999px;
  margin-left: 4px;
  transition: background .2s, transform .15s;
}
.ncta:hover { background: var(--goldd); transform: scale(1.02); }
.ncta:active { transform: scale(.97); }
.ncta-i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(13,13,13,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform .2s var(--e1);
}
.ncta:hover .ncta-i { transform: translate(2px,-2px) scale(1.1); }

/* NAV DROPDOWN */
.has-dd { position: relative; }
.has-dd::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dd {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(13,13,13,.08);
  border-radius: 16px;
  padding: 6px;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--e1), transform .22s var(--e1);
  box-shadow: 0 12px 48px rgba(13,13,13,.12), 0 2px 8px rgba(13,13,13,.06);
  z-index: 100;
}
.has-dd:hover .nav-dd {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dd a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(13,13,13,.72);
  transition: background .15s, color .15s;
}
.nav-dd a:hover { background: rgba(13,13,13,.04); color: var(--black); }
.dd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--goldd);
  padding: 8px 12px 4px;
  display: block;
}
.dd-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(13,13,13,.40);
  background: rgba(13,13,13,.06);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.dd-sep {
  height: 1px;
  background: rgba(13,13,13,.07);
  margin: 4px 8px;
}
.dd-all { font-weight: 700 !important; color: var(--black) !important; }
.dd-all:hover { background: var(--black) !important; color: var(--white) !important; }

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */

/* Gold filled — primary CTA */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 14px 14px 24px;
  border-radius: 9999px;
  font-family: var(--fs);
  transition: background .2s var(--e1), transform .15s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover { background: var(--goldd); transform: translateY(-2px); }
.btn-gold:active { transform: scale(.97); }

/* Dark filled — secondary CTA */
.btn-dark,
.bp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 14px 14px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-family: var(--fs);
  transition: background .2s var(--e1), transform .15s;
}
.btn-dark:hover,
.bp:hover { background: #222; transform: translateY(-2px); }
.btn-dark:active,
.bp:active { transform: scale(.97); }

/* Ghost — tertiary */
.bg {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--fs);
  color: rgba(13,13,13,.65);
  padding: 13px 22px;
  border-radius: 9999px;
  border: 1.5px solid rgba(13,13,13,.15);
  cursor: pointer;
  transition: all .2s var(--e1);
  background: transparent;
}
.bg:hover { color: var(--black); border-color: rgba(13,13,13,.30); background: rgba(13,13,13,.02); }
.bg:active { transform: scale(.97); }
.bg-sm { font-size: 13px; padding: 10px 18px; }

/* Button icon circles */
.bi {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13,13,13,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-style: normal;
  transition: transform .2s var(--e1);
}
.btn-gold:hover .bi { transform: translate(2px,-2px) scale(1.1); }

.bi-w {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-style: normal;
  transition: transform .2s var(--e1);
}
.btn-dark:hover .bi-w,
.bp:hover .bi-w { transform: translate(2px,-2px) scale(1.1); }

.bp-i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform .2s var(--e1);
}
.bp:hover .bp-i { transform: translate(2px,-2px) scale(1.1); }

/* ═══════════════════════════════════════════════════
   PROOF STRIP  (dark 4-stat bar, shared across pages)
   ═══════════════════════════════════════════════════ */

.proof { background: var(--dark); padding: 0; }
.proof-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pstat {
  padding: clamp(32px,4vw,52px) clamp(20px,3vw,40px);
  border-right: 1px solid rgba(255,255,255,.07);
}
.pstat:last-child { border-right: none; }
.pstat-num {
  font-family: var(--fd);
  font-size: clamp(44px,5vw,68px);
  color: var(--gold);
  line-height: .9;
  margin-bottom: 10px;
}
.pstat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.60);
  line-height: 1.45;
  margin-bottom: 4px;
}
.pstat-sub {
  font-size: 11px;
  color: rgba(255,255,255,.28);
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   CTA BAND  (dark rounded, reusable)
   ═══════════════════════════════════════════════════ */

.cta-band {
  background: var(--dark);
  border-radius: 24px;
  padding: clamp(40px,6vw,72px) clamp(32px,5vw,64px);
  margin: clamp(3rem,6vw,5rem) clamp(2rem,5.5vw,5.5rem);
}
.cta-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band-h {
  font-family: var(--fd);
  font-size: clamp(2rem,4vw,4rem);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-band-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   TEACHER CARD GRID  (about page mini-grid)
   ═══════════════════════════════════════════════════ */

.tc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 12px;
}
.tc-outer {
  background: var(--white);
  border: 1px solid rgba(13,13,13,.07);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s var(--e1), border-color .3s, box-shadow .3s;
}
.tc-outer:hover {
  transform: translateY(-4px);
  border-color: rgba(13,13,13,.16);
  box-shadow: 0 16px 48px rgba(13,13,13,.10);
}
.tc-img { aspect-ratio: 3/4; overflow: hidden; background: var(--surf); }
.tc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s var(--e1);
}
.tc-outer:hover .tc-img img { transform: scale(1.04); }
.tc-body {
  background: var(--white);
  padding: 18px 20px;
  border-top: 1px solid rgba(13,13,13,.06);
}
.tc-name {
  font-family: var(--fd);
  font-size: 24px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 3px;
}
.tc-origin {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.tc-cred {
  font-size: 13px;
  color: rgba(13,13,13,.58);
  line-height: 1.55;
  margin-bottom: 12px;
}
.tc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tc-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(13,13,13,.06);
  color: rgba(13,13,13,.55);
}

/* ═══════════════════════════════════════════════════
   TEACHER STICKY STACK  (teachers-stack / homepage)
   ═══════════════════════════════════════════════════ */

.ts-hdr {
  background: var(--dark);
  padding: clamp(4rem,8vw,6rem) clamp(2rem,5.5vw,5.5rem) 48px;
  text-align: center;
}
.ts-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.ts-ttl {
  font-family: var(--fd);
  font-size: clamp(2.5rem,5vw,5rem);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
}
.ts-ttl span { color: var(--gold); }
.tcard {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  will-change: transform, opacity;
  transform-origin: center top;
}
.tc-l {
  width: 50%;
  background: var(--dark);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(2rem,4vw,4.5rem);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.tc-top { flex: 0 0 auto; padding-top: 36px; }
.tc-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 0; }
.tc-bot { flex: 0 0 auto; padding-bottom: 40px; }
.tc-dots { display: flex; gap: 5px; margin-bottom: 20px; }
.tc-dot {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  transition: background .3s;
}
.tc-dot.on { background: var(--gold); }
.tc-ey {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  font-family: var(--fs);
  width: fit-content;
}
.tc-name-s {
  font-family: var(--fd);
  line-height: .88;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 14px;
}
.tc-creds-s {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
}
.tc-creds-s strong { color: rgba(255,255,255,.92) !important; font-weight: 700; }
.tc-spec { font-size: 11.5px; font-weight: 600; color: var(--gold); line-height: 1.5; }
.tc-role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.tc-name {
  font-family: var(--fd);
  font-size: 1.35rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
}
.tc-q-s {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,.68);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}
.tc-cta-s {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--fs);
  padding: 11px 11px 11px 20px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.20);
  cursor: pointer;
  transition: all .2s var(--e1);
  width: fit-content;
  text-decoration: none;
}
.tc-cta-s:hover { border-color: var(--gold); color: var(--gold); }
.tc-cta-s:active { transform: scale(.97); }
.tc-cta-i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform .2s var(--e1);
}
.tc-cta-s:hover .tc-cta-i { transform: translate(2px,-2px); }
.tc-r {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.tc-r::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--dark), transparent);
  z-index: 3;
  pointer-events: none;
}
.tc-num-s {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-family: var(--fd);
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,.05);
  z-index: 2;
  pointer-events: none;
}
.tc-r.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-r.card-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
}
.tc-r.card-mode img {
  height: 88%;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 72px rgba(0,0,0,.60);
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.foot-wrap { border-top: 1px solid rgba(13,13,13,.07); }
.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: clamp(4rem,8vw,6rem) clamp(2rem,5.5vw,5.5rem);
  max-width: 1280px;
  margin: 0 auto;
}
.fl {
  font-family: var(--fd);
  font-size: 28px;
  letter-spacing: .06em;
  color: var(--black);
  margin-bottom: 12px;
}
.ft {
  font-size: 13px;
  color: rgba(13,13,13,.75);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
}
.foot-social { display: flex; gap: 12px; margin-bottom: 20px; }
.foot-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surf);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.foot-social a:hover { background: var(--gold); }
.foot-social svg { width: 14px; height: 14px; fill: var(--black); opacity: .55; }
.fc { font-size: 11px; color: rgba(13,13,13,.55); }
.fcol ul { list-style: none; padding: 0; margin: 0; }
.fcol h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.fcol li { margin-bottom: 10px; }
.fcol a { font-size: 13px; color: rgba(13,13,13,.75); transition: color .2s; }
.fcol a:hover { color: var(--black); }

/* ═══════════════════════════════════════════════════
   TELEGRAM FLOAT
   ═══════════════════════════════════════════════════ */

.tg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--fs);
  padding: 13px 20px 13px 14px;
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(13,13,13,.20);
  cursor: pointer;
  border: none;
  transition: transform .2s var(--e1), box-shadow .2s;
}
.tg:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(13,13,13,.25); }
.tg:active { transform: scale(.97); }

/* ═══════════════════════════════════════════════════
   MOBILE BOTTOM BAR
   ═══════════════════════════════════════════════════ */

.mob-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -8px 32px rgba(13,13,13,.3);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  align-items: center;
}
.mob-call,
.mob-msg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--fs);
  color: rgba(255,255,255,.60);
  transition: color .2s var(--e1), border-color .2s;
  text-decoration: none;
}
.mob-call:active, .mob-msg:active { transform: scale(.96); }
.mob-cta {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--fs);
  gap: 8px;
  padding: 0 18px;
  transition: background .2s var(--e1), transform .15s;
  text-decoration: none;
}
.mob-cta-i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(13,13,13,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.mob-cta:active { transform: scale(.97); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .pstat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; padding: clamp(3rem,6vw,5rem) 32px; }
}

@media (max-width: 767px) {
  .mob-bar { display: flex; }
  body { padding-bottom: 80px; }
  .tg { bottom: 80px; }
  .nav .nl, .nav .nd, .nav .has-dd { display: none; }
  .tc-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; gap: 24px; padding: 3rem 20px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .fcol a { font-size: 12px; }

  /* Teacher sticky stack: disable sticky on mobile */
  #tsStack { display: flex; flex-direction: column; }
  .tcard {
    position: static !important;
    height: auto !important;
    flex-direction: column-reverse;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transform: none !important;
    opacity: 1 !important;
  }
  .tc-l { width: 100% !important; padding: 28px 20px 24px; }
  .tc-r { width: 100% !important; height: 72vw; max-height: 340px; }
  .tc-r::before { display: none; }
  .tc-r.card-mode { justify-content: center; padding: 16px; background: var(--black); }
  .tc-r.card-mode img {
    height: 100% !important;
    width: auto !important;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0,0,0,.5) !important;
  }
  .tc-r.portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
  }
  .tc-name-s { font-size: clamp(2.8rem, 12vw, 5rem) !important; }
  .tc-dots { display: none; }
  .ts-hdr { padding: 2.5rem 20px 24px; }
}

/* ═══════════════════════════════════════════════════
   CTA BAND — extended (template-parts/cta-band.php)
   ═══════════════════════════════════════════════════ */

.cta-band-h2 {
  font-family: var(--fd);
  font-size: clamp(1.8rem,3.5vw,3.2rem);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-band-left { flex: 1 1 340px; }
.cta-band-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cta-band-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 9999px;
  transition: background .2s var(--e1);
}
.cta-band-primary:hover { background: var(--goldd); }
.cta-band-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 13px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.14);
  transition: all .2s var(--e1);
}
.cta-band-secondary:hover { color: var(--white); border-color: rgba(255,255,255,.3); }

/* Variant: gold background */
.cta-band--gold {
  background: var(--gold);
}
.cta-band--gold .cta-band-h2 { color: var(--black); }
.cta-band--gold .cta-band-sub { color: rgba(13,13,13,.65); }
.cta-band--gold .cta-band-primary { background: var(--black); color: var(--white); }
.cta-band--gold .cta-band-primary:hover { background: var(--dark); }
.cta-band--gold .cta-band-secondary { color: rgba(13,13,13,.65); border-color: rgba(13,13,13,.18); }
.cta-band--gold .cta-band-secondary:hover { color: var(--black); border-color: rgba(13,13,13,.4); }

/* Variant: black */
.cta-band--black { background: var(--black); }

@media (max-width: 767px) {
  .cta-band-btns { width: 100%; }
  .cta-band-primary, .cta-band-secondary { flex: 1 1 auto; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   TEACHER CARD — role line (template-parts/teacher-card.php)
   ═══════════════════════════════════════════════════ */
.tc-role {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(13,13,13,.55);
  margin-bottom: 10px;
}
.tc-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surf);
}

