/*
Theme Name: Prop Trading 101
Theme URI: https://proptrading101.com
Author: Prop Trading 101
Description: Professional prop trading education platform
Version: 5.0.0
License: GNU General Public License v2 or later
Text Domain: prop-trading-101
*/

/* ── POLYSANS TRIAL FONTS ── */
@font-face {
  font-family: 'PolySans';
  src: url('fonts/polysanstrial-neutral.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PolySans';
  src: url('fonts/polysanstrial-median.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PolySans';
  src: url('fonts/polysanstrial-slim.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PolySans';
  src: url('fonts/polysanstrial-bulky.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PolySans';
  src: url('fonts/polysanstrial-bulkywide.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PolySans';
  src: url('fonts/polysanstrial-neutralwide.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg:           #0d0f1a;
  --bg-2:         #111320;
  --bg-card:      #161929;
  --light:        #f0efea;
  --light-2:      #e8e7e1;
  --accent:       #7c6ef5;
  --accent-dim:   #6358d4;
  --accent-glow:  rgba(124,110,245,0.25);
  --accent-soft:  rgba(124,110,245,0.12);
  --white:        #ffffff;
  --text-hi:      #f0f0f5;
  --text-mid:     rgba(240,240,245,0.62);
  --text-low:     rgba(240,240,245,0.36);
  --text-dark:    #111320;
  --text-dark-2:  #3a3d52;
  --text-dark-3:  #888b9e;
  --border-dark:  rgba(255,255,255,0.08);
  --border-mid:   rgba(255,255,255,0.14);
  --border-light: #dedcd6;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --max-w: 1120px;
  --nav-h: 64px;
  --font: 'PolySans', system-ui, -apple-system, sans-serif;
  --t: .18s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--bg);
  overflow-x: hidden; /* iOS horizontal scroll fix */
}
body.pt101 {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; /* prevent iOS font size inflation */
}

/* Skip link (visible only on keyboard focus) */
.skip-link{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #111320;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transform: translateY(-200%);
  transition: transform 0.18s ease;
}
.skip-link:focus-visible{
  transform: translateY(0);
}

/* Consistent keyboard focus (keeps design, improves usability) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid rgba(124,110,245,0.9);
  outline-offset: 3px;
}
.btn:focus-visible,
.btn-hdr-login:focus-visible,
.btn-hdr-enroll:focus-visible,
.nav-dropdown-trigger:focus-visible,
.hamburger:focus-visible,
.mobile-drawer a:focus-visible,
.primary-nav a:focus-visible,
.footer-col a:focus-visible,
.footer-legal-links a:focus-visible,
.testi-dot:focus-visible,
.testi-arrows button:focus-visible {
  outline: 2px solid rgba(124,110,245,0.9);
  outline-offset: 4px;
}
body.pt101 .wp-site-blocks,
body.pt101 .wp-block-group,
body.pt101 .entry-content,
body.pt101 .wp-block-post-content,
body.pt101 .site-content,
body.pt101 .site-main,
body.pt101 #content,
body.pt101 #primary,
body.pt101 main,
body.pt101 .hentry {
  padding: 0 !important; margin: 0 !important; max-width: none !important;
  background: transparent !important; color: inherit !important; border: none !important;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
svg { flex-shrink: 0; }
/* Eliminate 300ms tap delay on iOS */
a, button, [role="button"], input, select, textarea, label {
  touch-action: manipulation;
}
.admin-bar .site-header { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px !important; } }

/* ── TYPOGRAPHY ── */
body.pt101 h1,
body.pt101 h2,
body.pt101 h3,
body.pt101 h4,
body.pt101 h5,
body.pt101 h6 { font-family: var(--font); color: var(--white); line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-weight: 800; } /* NO font-size here — set per-section below */
h2 { font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 700; }
p  { color: var(--text-mid); line-height: 1.75; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }

/* Hero h1 — controlled size, two clean lines on desktop */
section.hero .hero-content h1,
.hero .hero-content h1,
.hero h1,
section#home h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
  color: #ffffff;
  word-break: keep-all;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure hero sizing wins over WP/global heading rules */
body.pt101 section.hero .hero-content h1,
body.pt101 section#home h1 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
}
@media (max-width: 1024px) {
  section.hero .hero-content h1,
  .hero .hero-content h1,
  .hero h1,
  section#home h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
}
@media (max-width: 768px) {
  section.hero .hero-content h1,
  .hero .hero-content h1,
  .hero h1,
  section#home h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); }
}
@media (max-width: 480px) {
  section.hero .hero-content h1,
  .hero .hero-content h1,
  .hero h1,
  section#home h1 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.9rem;
  padding: 12px 26px; border-radius: 100px;
  cursor: pointer; white-space: nowrap;
  transition: all var(--t); text-decoration: none; border: none;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dim); transform: translateY(-2px); box-shadow: 0 8px 28px var(--accent-glow); }
.btn-ghost { background: rgba(255,255,255,0.07); color: var(--text-hi); border: 1px solid var(--border-dark); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ── NAV ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 9999;
  height: var(--nav-h);
  background: rgba(13,15,26,0.95); /* solid fallback for iOS that blocks backdrop-filter */
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--t), box-shadow var(--t);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header { background: rgba(13,15,26,0.82); }
}
.site-header.scrolled { background: rgba(13,15,26,0.97); box-shadow: 0 4px 40px rgba(0,0,0,0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 100%; }
.site-logo { font-weight: 800; font-size: 0.95rem; letter-spacing: -0.02em; color: var(--white); flex-shrink: 0; }
.header-inner > nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.primary-nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav li a,
.primary-nav li > a {
  display: flex; align-items: center; gap: 4px; font-size: 0.82rem;
  color: var(--text-mid); padding: 7px 12px; border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.primary-nav li a:hover { color: var(--white); background: rgba(255,255,255,0.06); }

/* ── PROGRAMS DROPDOWN TRIGGER ── */
.nav-item-dropdown { position: relative; list-style: none; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font); font-size: 0.82rem; font-weight: 400;
  color: var(--text-mid); padding: 7px 12px; border-radius: var(--r-sm);
  background: none; border: none; cursor: pointer;
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-item-dropdown.open .nav-dropdown-trigger {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-item-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

/* ── DROPDOWN PANEL — hidden/shown via opacity+visibility only ── */
#programs-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #f0efea;
  border: 1px solid rgba(30,30,50,0.1);
  border-radius: 18px;
  padding: 28px 28px 0 28px;
  width: min(620px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  z-index: 99999;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  color: #111320;
}
/* Open */
#nav-programs.open #programs-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Ensure dropdown open state isn't overridden */
body.pt101 #nav-programs.open #programs-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* Content */
.nav-dd-inner { color: #111320; }
.nav-dd-heading { font-size: 0.8rem; font-weight: 700; color: #111320; margin-bottom: 16px; }
.nav-dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-bottom: 24px; }
.nav-dd-grid--single { grid-template-columns: 1fr !important; max-width: 50%; }
.nav-dd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px; border-radius: 10px;
  color: #111320 !important; font-size: 0.88rem; font-weight: 500;
  text-decoration: none; background: transparent;
  transition: background 0.15s;
}
.nav-dd-item:hover { background: rgba(30,30,50,0.07); }
.nav-dd-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.nav-dd-icon svg { width: 20px; height: 20px; fill: #111320; }
.nav-dd-section { border-bottom: 1px solid rgba(30,30,50,0.1); margin-bottom: 20px; padding-bottom: 4px; }
.nav-dd-section:last-of-type { border-bottom: none; }
.nav-dd-footer { border-top: 1.5px solid #111320; padding: 18px 28px 22px; margin: 0 -28px; }
.nav-dd-footer-label { font-size: 0.85rem; font-weight: 700; color: #111320; margin-bottom: 4px; }
.nav-dd-footer-link {
  font-size: 0.88rem; color: #111320 !important; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.15s;
}
.nav-dd-footer-link:hover { gap: 12px; }
#programs-dropdown a, #programs-dropdown a:link, #programs-dropdown a:visited { color: #111320 !important; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-hdr-login {
  font-family: var(--font); font-size: 0.82rem; color: var(--text-mid) !important;
  padding: 7px 16px; border-radius: 100px; border: 1px solid var(--border-dark);
  background: none; transition: all var(--t); cursor: pointer;
}
.btn-hdr-login:hover { color: var(--white) !important; border-color: rgba(255,255,255,0.22); }
.btn-hdr-enroll {
  font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  background: var(--accent); color: #fff !important;
  padding: 8px 18px; border-radius: 100px; transition: all var(--t); display: inline-block;
}
.btn-hdr-enroll:hover { background: var(--accent-dim); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--t); }

/* Mobile drawer section labels */
.mobile-drawer-section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); padding: 8px 24px 4px; }
.mobile-drawer-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 12px 24px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 9998;
  background: rgba(13,15,26,0.99); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  flex-direction: column; padding: 28px 20px 48px; gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS momentum scroll */
  overscroll-behavior: contain; /* prevent body scroll bleed */
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a { font-size: 1rem; font-weight: 600; color: var(--text-mid) !important; padding: 14px 16px; border-radius: var(--r-md); border-bottom: 1px solid var(--border-dark); display: block; }
.mobile-drawer a:hover { color: var(--white) !important; background: rgba(255,255,255,0.05); }
.mobile-drawer-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-dark); }
.mobile-drawer-links { list-style: none; margin: 0; padding: 0; }
.mobile-drawer-links li { list-style: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: -webkit-fill-available; /* iOS Safari 100vh fix */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  text-align: center; position: relative; overflow: hidden; background: var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.028;
  background-image: linear-gradient(rgba(255,255,255,1) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,1) 1px,transparent 1px);
  background-size: 52px 52px;
}
.hero-glow {
  position: absolute; pointer-events: none;
  width: 860px; height: 500px; top: -60px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(124,110,245,0.13), transparent 65%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; width: 100%; padding: 0 40px; }
.hero-sub { font-size: clamp(0.9rem, 1.5vw, 1.05rem); color: rgba(240,240,245,0.62); line-height: 1.65; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Hero stats — SVG banner */
.hero-stats-svg { width: 100%; max-width: 860px; margin: 0 auto; }
.hero-stats-img { width: 100%; height: auto; display: block; opacity: 0.92; }

/* ── STUDENTS ── */
.students-section { padding: 0 48px 72px; background: var(--bg); }
.students-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-low); margin-bottom: 16px; }
.students-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; max-width: var(--max-w); margin: 0 auto; }
.student-card { border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 3/4; background: var(--bg-card); transition: transform .4s cubic-bezier(.22,.68,0,1.15); }
.student-card:hover { transform: translateY(-6px) scale(1.012); }
.student-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) brightness(0.85); transition: filter .4s, transform .5s; }
.student-card:hover img { filter: none; transform: scale(1.04); }
.student-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 14px 14px; background: linear-gradient(to top, rgba(5,6,12,0.95), transparent); }
.so-name { display: block; font-weight: 700; font-size: 0.85rem; color: var(--white) !important; }
.so-role { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.48); margin-top: 2px; }

/* ── FIRMS BAR ── */
.firms-bar { border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 28px 0; overflow: hidden; position: relative; background: var(--bg); }
.firms-bar::before,.firms-bar::after { content:''; position:absolute; top:0; bottom:0; width:100px; z-index:2; pointer-events:none; }
.firms-bar::before { left:0; background:linear-gradient(to right,var(--bg),transparent); }
.firms-bar::after  { right:0; background:linear-gradient(to left,var(--bg),transparent); }
.firms-bar-label { display:block; text-align:center; margin-bottom:18px; font-size:0.68rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-low); }
.firms-track { display:flex; gap:48px; align-items:center; animation:scroll-x 28s linear infinite; width:max-content; }
.firms-track:hover { animation-play-state:paused; }
@keyframes scroll-x { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.firm-name { font-size:0.82rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:rgba(255,255,255,0.28); white-space:nowrap; transition:color var(--t); }
.firm-name:hover { color:rgba(255,255,255,0.65); }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .firms-track, .logos-belt-track { animation: none !important; }
}

/* ── FEATURES ── */
.features-section { padding: 88px 0; background: var(--bg-2); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.features-left h2 { color: var(--white) !important; margin-bottom: 32px; font-size: clamp(1.5rem,2.5vw,2.1rem); }

/* Accordion */
.acc-item { border-bottom: 1px solid var(--border-dark); }
.acc-btn { width:100%; display:flex; align-items:center; gap:12px; padding:18px 0; text-align:left; background:none; border:none; cursor:pointer; }
.acc-ico {
  width:28px; height:28px; border-radius:6px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background: var(--accent-soft); color: var(--accent);
  transition: background var(--t), color var(--t);
}
.acc-item.open .acc-ico { background: var(--accent); color: #fff; }
.acc-title { font-size:0.95rem; font-weight:600; color:var(--white) !important; flex:1; line-height:1.3; }
/* Arrow chevron — down when closed, up when open */
.acc-arrow { width:32px!important; height:32px!important; flex-shrink:0!important; display:flex!important; align-items:center!important; justify-content:center!important; color:#ffffff!important; background:rgba(255,255,255,0.18)!important; border-radius:50%!important; border:1.5px solid rgba(255,255,255,0.35)!important; transition:background 0.25s, border-color 0.25s; }
.acc-arrow svg { transition: transform 0.25s ease; }
.acc-arrow svg path { stroke: #ffffff !important; }
.acc-item.open .acc-arrow { color:#fff!important; background:#7c6ef5!important; border-color:#7c6ef5!important; }
.acc-item.open .acc-arrow svg { transform: rotate(180deg); }
.acc-item.open .acc-arrow svg path { stroke: #ffffff !important; }
.acc-body { display:none; padding:0 0 18px 40px; }
.acc-item.open .acc-body { display:block; }
.acc-body p { font-size:0.875rem; color:var(--text-mid); line-height:1.75; }

/* Feature card — dashed border */
.feat-card {
  background: var(--bg-card);
  border: 1.5px dashed rgba(255,255,255,0.2);
  border-radius: var(--r-xl); padding: 32px;
  position: -webkit-sticky;
  position: sticky;
  top: 88px;
}
.feat-card-num { font-size:2.4rem; font-weight:800; letter-spacing:-0.03em; line-height:1; color:var(--white) !important; margin-bottom:5px; }
.feat-card-sub { font-size:0.875rem; font-weight:400; color:var(--text-mid); margin-bottom:24px; }
.feat-divider { height:1px; background:var(--border-dark); margin-bottom:22px; }
.check-list { display:flex; flex-direction:column; gap:14px; }
.check-row { display:flex; align-items:center; gap:11px; }
.check-dot { width:18px; height:18px; border-radius:50%; flex-shrink:0; background:var(--accent); display:flex; align-items:center; justify-content:center; }
.check-dot svg { width:11px; height:11px; }
.check-text { font-size:0.875rem; color:var(--text-mid); line-height:1.5; }

/* ── SCHEDULE ── */
.schedule-section { padding: 88px 0; background: var(--bg); }
.schedule-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.schedule-content h2 { color:var(--white); margin-bottom:18px; font-size:clamp(1.6rem,2.8vw,2.4rem); }
.schedule-content p { font-size:0.925rem; color:var(--text-mid); margin-bottom:28px; line-height:1.78; }
.arrow-cta { display:inline-flex; align-items:center; gap:4px; font-size:0.875rem; font-weight:500; color:var(--accent); text-decoration:underline; text-underline-offset:3px; transition:opacity var(--t); }
.arrow-cta:hover { opacity:0.75; }
.schedule-img-wrap { border-radius:var(--r-xl); overflow:hidden; aspect-ratio:4/3; background:var(--bg-card); }
.schedule-img-wrap img { width:100%; height:100%; object-fit:cover; }

/* ── WORK WITH ── */
.work-section { background: var(--light); padding: 80px 0; overflow: hidden; }
.work-section h2 { color: var(--text-dark); text-align:center; margin-bottom:44px; font-size:clamp(1.6rem,2.8vw,2.4rem); }
.logos-belt { overflow:hidden; position:relative; }
.logos-belt::before,.logos-belt::after { content:''; position:absolute; top:0; bottom:0; width:100px; z-index:2; pointer-events:none; }
.logos-belt::before { left:0; background:linear-gradient(to right,var(--light),transparent); }
.logos-belt::after  { right:0; background:linear-gradient(to left,var(--light),transparent); }
.logos-belt-track { display:flex; gap:14px; align-items:center; animation:scroll-x 26s linear infinite; width:max-content; }
.logos-belt-track:hover { animation-play-state:paused; }
.logo-chip { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--border-light); border-radius:100px; padding:9px 20px; font-size:0.82rem; font-weight:700; color:var(--text-dark); white-space:nowrap; box-shadow:0 2px 10px rgba(0,0,0,0.05); transition:all var(--t); }
.logo-chip:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,0.09); }
.logo-chip-dot { width:6px; height:6px; border-radius:50%; background:var(--accent); flex-shrink:0; }

/* Light sections: ensure headings render dark (design intent) */
body.pt101 .work-section,
body.pt101 .programs-section,
body.pt101 .cta-section,
body.pt101 .site-footer,
body.pt101 .testi-section {
  color: #111320;
}
body.pt101 .work-section h1,
body.pt101 .work-section h2,
body.pt101 .work-section h3,
body.pt101 .work-section h4,
body.pt101 .programs-section h1,
body.pt101 .programs-section h2,
body.pt101 .programs-section h3,
body.pt101 .programs-section h4,
body.pt101 .cta-section h1,
body.pt101 .cta-section h2,
body.pt101 .cta-section h3,
body.pt101 .cta-section h4,
body.pt101 .site-footer h1,
body.pt101 .site-footer h2,
body.pt101 .site-footer h3,
body.pt101 .site-footer h4 {
  color: #111320;
}

/* ── TESTIMONIAL ── */
.testi-section {
  background: #f0efea;
  padding: 72px 48px 80px;
  display: block;
}
.testi-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.testi-card { background: transparent; box-shadow: none; border-radius: 0; padding: 0; }

/* Top row: square avatar LEFT, quote RIGHT — side by side */
.testi-body-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 52px;
  align-items: start;
  padding-bottom: 44px;
}

/* Avatar container */
.testi-avatar-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 240px;
  height: 240px;
  min-height: 240px;
  background: #1a1a1a;
  flex-shrink: 0;
  display: block;
}
/* Override WP global img styles inside avatar */
.testi-avatar-wrap img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.15) brightness(0.88);
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
}
.testi-avatar-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 52px 14px 14px; background: linear-gradient(to top, rgba(0,0,0,0.82), transparent); z-index: 2; }
.tav-name { display: block; font-size: 0.875rem; font-weight: 600; color: #ffffff; line-height: 1.3; }
.tav-role { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.58); margin-top: 2px; }

/* Quote block — sits to the right of avatar */
.testi-quote-block { padding-top: 4px; background: transparent; box-shadow: none; }
.testi-stars { display: flex; gap: 5px; margin-bottom: 18px; }
.testi-stars span { color: #e8503a; font-size: 1.2rem; line-height: 1; }
.testi-quote {
  font-size: 1.08rem;
  line-height: 1.68;
  color: #111320;
  font-weight: 600;
  margin-bottom: 22px;
  background: transparent;
}
.testi-author { margin-top: 2px; }
.testi-name { font-size: 0.95rem; font-weight: 700; color: #111320; }
.testi-role-tag { font-size: 0.82rem; color: #888b9e; margin-top: 3px; }

/* (legacy) .testi-metrics removed — using .testi-metrics-row instead */
.tm-num { font-size: 2rem; font-weight: 800; color: #111320; letter-spacing: -0.04em; line-height: 1.05; }
.tm-lbl { font-size: 0.85rem; font-weight: 700; color: #111320; }
.testi-foot { font-size: 0.72rem; color: #888b9e; padding: 16px 0 0; line-height: 1.55; }

/* Testimonial carousel nav (dots + arrows) */
.testi-nav{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding-top:28px !important;
  border-top:1.5px solid rgba(30,30,50,0.12) !important;
  margin-bottom:32px !important;
  gap:16px;
}
.testi-dots{ display:flex; gap:8px; align-items:center; }
.testi-dot{
  width:8px;
  height:8px;
  border-radius:100px;
  border:none;
  cursor:pointer;
  padding:0;
  transition:all 0.25s;
  background: rgba(30,30,50,0.2);
}
.testi-dot.active{
  width:24px;
  background:#111320;
}
.testi-arrows{ display:flex; gap:10px; }
.testi-arrows button{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1.5px solid rgba(30,30,50,0.2);
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111320;
  transition:all 0.18s;
}
.testi-arrows button:hover{
  background:#111320;
  border-color:#111320;
  color:#ffffff;
}

/* ── PROGRAMS ── */
.programs-section { background: #f0efea; padding: 96px 0 80px; }
.programs-head { text-align: center; margin-bottom: 52px; }
.programs-head h2 { color: #111320; margin-bottom: 16px; font-size: clamp(2.2rem,4.5vw,3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.programs-head p { font-size: 0.925rem; color: #888b9e; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* Flat rows — NO white card, NO box-shadow, just divider lines */
.programs-list {
  max-width: 920px;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border: none;
  border-top: 1.5px solid rgba(30,30,50,0.18);
  padding: 0;
  outline: none;
}
/* Kill any WP block wrapper that might add a border/card around the list */
.programs-section .container > *,
.programs-section .wp-block-group,
.programs-section [class*="wp-block"] {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
}
.prog-row,
.programs-list > div,
.programs-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1.5px solid rgba(30,30,50,0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  cursor: pointer;
  color: #111320;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.prog-row:hover,
.prog-row:focus,
.prog-row:visited,
.prog-row:active,
.programs-list > div:hover,
.programs-list > a:hover,
.programs-list > a:focus,
.programs-list > a:visited,
.programs-list > a:active {
  opacity: 0.65;
  background: transparent;
  border-left: none;
  outline: none;
  box-shadow: none;
  color: #111320;
}
/* Arrow on program rows */
.prog-arrow { flex-shrink: 0; transition: transform 0.2s ease; opacity: 0.4; }
.prog-row:hover .prog-arrow,
.programs-list > div:hover .prog-arrow { opacity: 1; transform: translateX(5px); }
.prog-title { font-size: 1rem; font-weight: 700; color: #111320; }
.prog-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.prog-duration { font-size: 0.75rem; color: #888b9e; white-space: nowrap; }
.prog-copy { flex: 1; min-width: 0; }
.prog-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prog-desc { font-size: 0.82rem; color: #888b9e; margin: 5px 0 0; line-height: 1.5; }
.prog-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1.5px solid rgba(30,30,50,0.3);
  color: #111320;
  white-space: nowrap;
  flex-shrink: 0;
  background: transparent;
  line-height: 1.5;
}

/* ── CTA ── */
.cta-section { background: #f0efea; color: #111320; padding: 80px 40px 108px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-section h2 { color: #111320; max-width: 860px; width: 100%; margin: 0 auto 36px; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-align: center; }
.cta-section .btn { font-size: 0.95rem; padding: 15px 38px; border-radius: 14px; }

/* ── FOOTER ── */
.site-footer {
  background: #f0efea;
  border-top: 1px solid rgba(30,30,50,0.1);
  padding: 72px 0 56px;
  color: #111320;
}

/* Full-width 4-column grid within container */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 48px;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Column headings — bold, not uppercase */
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111320;
  margin-bottom: 20px;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.footer-col ul li { list-style: none; }
.footer-col ul a,
.footer-col ul li a {
  display: block;
  font-size: 0.9rem;
  color: #3a3d52;
  transition: color 0.18s;
  line-height: 1.45;
  text-decoration: none;
}
.footer-col ul a:hover,
.footer-col ul li a:hover { color: #111320; }

/* Social icons — plain SVG icons in a row, NO circles */
.footer-socials-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.soc-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #111320;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
  flex-shrink: 0;
  padding: 0;
}
.soc-icon svg { width: 22px; height: 22px; fill: #111320; color: #111320; }
.soc-icon:hover { opacity: 0.55; }

/* Legal links */
.footer-legal-links { display: flex; flex-direction: column; gap: 11px; }
.footer-legal-links a { font-size: 0.9rem; color: #3a3d52; transition: color 0.18s; text-decoration: none; }
.footer-legal-links a:hover { color: #111320; }

/* ── TESTIMONIAL METRICS ROW ── */
.testi-metrics-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  padding-top: 32px !important;
  border-top: 1.5px solid rgba(30,30,50,0.14) !important;
}
.testi-metric-cell {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding-left: 24px !important;
  border-left: 3px solid #111320 !important;
}
.testi-metric-first {
  padding-left: 0 !important;
  border-left: none !important;
}

/* ── CTA TRUST ROW ── */
.cta-trust-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(30,30,50,0.1);
  padding-top: 24px;
  width: 100%;
  max-width: 520px;
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #888b9e;
  padding: 0 20px;
}
.cta-trust-pipe {
  color: rgba(30,30,50,0.15);
  font-size: 0.9rem;
  line-height: 1;
}

/* ════════════════════════════════════════════════
   RESPONSIVE — mobile-first, three breakpoints
   1024px  tablet landscape
    768px  tablet portrait / large phone
    480px  phone
════════════════════════════════════════════════ */

/* ── 1024px ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }

  /* Nav */
  .primary-nav, .header-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 48px) 32px 72px; }
  .hero-content { padding: 0 24px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 48px; }
  .feat-card { position: static; }

  /* Schedule */
  .schedule-grid { grid-template-columns: 1fr; gap: 40px; }
  .schedule-img-wrap { max-width: 560px; }

  /* Students */
  .students-grid { grid-template-columns: repeat(4, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 36px 48px !important; }
}

/* ── 768px ── */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; min-height: auto; }
  .hero-content { padding: 0; max-width: 100%; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem) !important; margin-bottom: 28px !important; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 40px; }
  .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Students */
  .students-section { padding: 0 20px 48px; }
  .students-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Features */
  .features-section { padding: 60px 0; }
  .features-left h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-bottom: 24px; }
  .acc-body { padding: 0 0 16px 32px; }

  /* Schedule */
  .schedule-section { padding: 60px 0; }
  .schedule-content h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); }
  .schedule-img-wrap { max-width: 100%; }

  /* Work-with */
  .work-section { padding: 60px 0; }
  .work-section h2 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); margin-bottom: 32px; }

  /* Testimonial */
  .testi-section { padding: 60px 20px 64px !important; }
  .testi-body-row {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-bottom: 32px !important;
  }
  .testi-avatar-wrap {
    width: 100% !important;
    height: 260px !important;
    max-width: 100% !important;
    border-radius: 12px !important;
  }
  .testi-quote { font-size: 0.97rem !important; }
  .testi-metrics-row {
    grid-template-columns: repeat(3, 1fr) !important;
    padding-top: 24px !important;
  }
  .tm-num { font-size: 1.6rem !important; }

  /* Programs */
  .programs-section { padding: 64px 0 56px !important; }
  .programs-head h2 { font-size: clamp(1.8rem, 5vw, 2.4rem) !important; }
  .prog-row { gap: 12px !important; padding: 18px 0 !important; }

  /* CTA */
  .cta-section { padding: 64px 20px 80px !important; }
  .cta-section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem) !important; margin-bottom: 28px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px 24px !important; }
  .site-footer { padding: 56px 0 40px !important; }

  /* Dropdown — hide on mobile, use drawer instead */
  #nav-programs { display: none; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 32px) 16px 48px; }
  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.4rem) !important; }
  .hero-buttons .btn { max-width: 100%; }

  /* Stats SVG */
  .hero-stats-svg { overflow-x: auto; }
  .hero-stats-img { min-width: 320px; }

  /* Students */
  .students-section { padding: 0 16px 40px; }
  .students-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .student-card { aspect-ratio: 2/3; }

  /* Features */
  .features-section { padding: 48px 0; }
  .acc-btn { padding: 14px 0; }
  .acc-title { font-size: 0.88rem; }
  .feat-card { padding: 24px; }
  .feat-card-num { font-size: 2rem; }

  /* Schedule */
  .schedule-section { padding: 48px 0; }
  .schedule-content p { font-size: 0.88rem; }

  /* Testimonial */
  .testi-section { padding: 48px 16px 56px !important; }
  .testi-avatar-wrap { height: 220px !important; }
  .testi-quote { font-size: 0.92rem !important; }
  .testi-metrics { grid-template-columns: 1fr !important; gap: 20px !important; padding-top: 20px !important; }
  .testi-metric,
  [class*="testi"] [style*="border-left:3px"] {
    border-left: 3px solid #111320 !important;
    padding-left: 16px !important;
  }
  /* First metric — re-add border since all stack vertically */
  .testi-metrics > div:first-child { border-left: none !important; padding-left: 0 !important; }
  .tm-num { font-size: 1.8rem !important; }
  .testi-nav { padding-top: 16px !important; margin-bottom: 20px !important; }

  /* Testimonial metrics row — stack on phones */
  .testi-metrics-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-top: 20px !important;
  }
  .testi-metric-cell {
    border-left: 3px solid #111320 !important;
    padding-left: 16px !important;
  }
  .testi-metric-first {
    border-left: none !important;
    padding-left: 0 !important;
  }

  /* CTA trust signals — stack on phones */
  .cta-trust-row {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: center !important;
  }
  .cta-trust-pipe { display: none !important; }
  .cta-trust-item { padding: 0 !important; }

  /* Programs */
  .programs-section { padding: 48px 0 40px !important; }
  .programs-head { margin-bottom: 32px !important; }
  .prog-row { padding: 16px 0 !important; flex-wrap: wrap; gap: 8px !important; }
  .prog-row > div { width: 100%; }
  .prog-row > span:last-child { width: 100%; justify-content: flex-end; }

  /* CTA */
  .cta-section { padding: 48px 16px 64px !important; }
  .cta-section .btn { width: 100%; max-width: 320px; justify-content: center; }
  /* Trust signals — stack vertically */
  .cta-section [style*="display:flex"][style*="flex-wrap:wrap"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .cta-section [style*="|"] { display: none !important; } /* hide pipe dividers */

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .site-footer { padding: 48px 0 32px !important; }
  .footer-socials-row { gap: 20px !important; }

  /* Firms marquee */
  .firms-bar { padding: 20px 0; }
}

/* ── Utility: dropdown only exists on desktop nav ── */
@media (max-width: 1024px) {
  /* #nav-programs is already hidden via primary-nav display:none above */
  /* Do NOT use display:none on #programs-dropdown — it breaks the open/close opacity transition */
}

/* ── TESTIMONIAL CAROUSEL SLIDE ANIMATION ── */
.testi-carousel { position: relative; overflow: hidden; }
.testi-card {
  animation: none;
}
.testi-card.slide-in-right {
  animation: slideInRight 0.35s ease forwards;
}
.testi-card.slide-in-left {
  animation: slideInLeft 0.35s ease forwards;
}
.testi-card.slide-out-left {
  animation: slideOutLeft 0.35s ease forwards;
}
.testi-card.slide-out-right {
  animation: slideOutRight 0.35s ease forwards;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-40px); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}
