/* ============================================================
   TEXAS MASSAGE ACADEMY — "Level Up Your Future" homepage
   Mystical RPG aesthetic: violet nebula + engraved gold.
   ============================================================ */

:root{
  --bg:        #08111f;   /* deep violet-black            */
  --bg2:       #0d1830;   /* panel base                  */
  --bg3:       #122248;   /* raised panel                */
  --violet:    #2dd4bf;   /* primary glow purple         */
  --violet-lt: #7fe9db;   /* light lavender              */
  --magenta:   #f97316;   /* accent pink-violet          */
  --gold:      #ffd66d;   /* bright gold                 */
  --gold-2:    #f6b93b;   /* deep gold                   */
  --gold-3:    #ffe6a8;   /* pale gold highlight         */
  --ink:       #f8fbff;   /* near-white lavender text    */
  --mut:       rgba(248,251,255,.74);   /* muted lavender              */
  --mut-2:     rgba(248,251,255,.5);   /* dim                         */
  --line:      rgba(255,255,255,.12);
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --script: 'Pinyon Script', cursive;
  --teal: #2dd4bf;
  --orange: #f97316;
  --gold-dark: #f6b93b;
  --maxw: 1240px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{ background:var(--gold); color:#2a1742; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* ---------- background field (fixed, parallax-driven) ---------- */
.field{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.field .glow{
  position:absolute; border-radius:50%; opacity:.6;
  will-change:transform;
}
.glow.g1{ width:760px; height:760px; left:-180px; top:-120px;
  background:radial-gradient(circle, rgba(45,212,191,.55), transparent 62%); }
.glow.g2{ width:640px; height:640px; right:-160px; top:380px;
  background:radial-gradient(circle, rgba(249,115,22,.40), transparent 64%); }
.glow.g3{ width:720px; height:720px; left:30%; top:1500px;
  background:radial-gradient(circle, rgba(230,200,120,.20), transparent 66%); }
.glow.g4{ width:680px; height:680px; right:-120px; top:2600px;
  background:radial-gradient(circle, rgba(45,212,191,.42), transparent 64%); }
.field .stars{ position:absolute; inset:-20% 0; will-change:transform;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(244,226,168,.9), transparent),
    radial-gradient(1.5px 1.5px at 78% 8%, rgba(127,233,219,.9), transparent),
    radial-gradient(1px 1px at 34% 42%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.6px 1.6px at 62% 60%, rgba(230,200,120,.8), transparent),
    radial-gradient(1px 1px at 88% 72%, rgba(127,233,219,.8), transparent),
    radial-gradient(1.4px 1.4px at 22% 82%, rgba(244,226,168,.7), transparent),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.2px 1.2px at 8% 64%, rgba(249,115,22,.8), transparent),
    radial-gradient(1.3px 1.3px at 70% 90%, rgba(244,226,168,.7), transparent);
  background-repeat:repeat; background-size:100% 1200px;
}
/* subtle grain over everything */
.field::after{
  content:''; position:absolute; inset:0; opacity:.4; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
/* vignette to deepen edges */
.particles{ position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:3; }
.vignette{ position:fixed; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(120% 80% at 50% 0%, transparent 55%, rgba(8,3,18,.65) 100%); }

main{ position:relative; z-index:2; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 40px; }

/* ---------- shared type ---------- */
.serif{ font-family:var(--serif); }
.eyebrow{ font-family:var(--serif); font-size:14px; letter-spacing:.32em;
  text-transform:uppercase; color:var(--gold); font-weight:600; }
.gold-text{
  background:linear-gradient(180deg, var(--gold-3) 8%, var(--gold) 44%, var(--gold-2) 96%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 1px 0 rgba(0,0,0,.25);
}
.violet-text{
  background:linear-gradient(180deg, #fff 0%, var(--violet-lt) 50%, var(--magenta) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 18px rgba(45,212,191,.55));
}
.section-head{ text-align:center; max-width:760px; margin:0 auto 56px; }
.section-head h2{ font-family:var(--serif); font-weight:700; font-size:46px;
  line-height:1.08; margin:14px 0 0; letter-spacing:.01em; }
.section-head p{ color:var(--mut); font-size:18px; line-height:1.6; margin:18px auto 0; max-width:60ch; }

section{ padding:110px 0; position:relative; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:12px; cursor:pointer; border:none;
  font-family:var(--serif); font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  font-size:15px; padding:17px 34px; position:relative; color:#2a1742; }
.btn-gold{
  background:linear-gradient(180deg, #fff2c4 0%, var(--gold-3) 30%, var(--gold) 60%, var(--gold-2) 100%);
  color:#3a2410; isolation:isolate;
  clip-path:polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,.85),
    inset 0 -6px 12px rgba(118,74,0,.38),
    inset 0 0 0 1px rgba(255,238,180,.7),
    0 0 0 3px rgba(255,210,90,.16),
    0 10px 26px rgba(0,0,0,.34),
    0 0 38px rgba(230,200,120,.22);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  text-shadow:0 1px 0 rgba(255,255,255,.45);
}
/* inner bevel ring */
.btn-gold::before{
  content:''; position:absolute; inset:6px; clip-path:inherit; z-index:2; pointer-events:none;
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6), inset 0 0 0 2.5px rgba(185,132,18,.35);
}
/* diagonal gleam (sits above the gold, below the label) */
.btn-gold::after{
  content:''; position:absolute; top:-60%; left:-35%; width:38%; height:220%; z-index:-1; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  transform:rotate(24deg); transition:left .6s ease;
}
.btn-gold:hover{
  transform:translateY(-3px) scale(1.02); filter:brightness(1.06);
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,.9),
    inset 0 -6px 12px rgba(118,74,0,.32),
    inset 0 0 0 1px rgba(255,238,180,.85),
    0 0 0 4px rgba(255,210,90,.28),
    0 16px 36px rgba(0,0,0,.4),
    0 0 48px rgba(230,200,120,.4);
}
.btn-gold:hover::after{ left:130%; }
.btn-gold:active{ transform:translateY(1px) scale(.99); }
.btn-gold .arr{ font-size:13px; position:relative; z-index:1; }
.btn-ghost{
  background:rgba(45,212,191,.10); color:var(--ink); border-radius:4px;
  box-shadow:inset 0 0 0 1px var(--line); letter-spacing:.12em;
  transition:background .16s, box-shadow .16s;
}
.btn-ghost:hover{ background:rgba(45,212,191,.2); box-shadow:inset 0 0 0 1px rgba(230,200,120,.5); }
.btn-lg{ font-size:17px; padding:20px 44px; }

/* ---------- gold badge (circular icon) ---------- */
.badge{ width:74px; height:74px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 50% 35%, rgba(45,212,191,.45), rgba(29,15,51,.9));
  box-shadow:0 0 0 1.5px var(--gold-2), 0 0 0 6px rgba(29,15,51,.8), 0 0 0 7.5px rgba(230,200,120,.35),
    0 0 30px rgba(45,212,191,.45); color:var(--gold-3); position:relative; }
.badge svg{ filter:drop-shadow(0 0 6px rgba(230,200,120,.5)); }

/* ---------- ornate panel ---------- */
.panel{ position:relative; background:
    linear-gradient(180deg, rgba(48,28,82,.66), rgba(24,13,44,.82));
  box-shadow:inset 0 0 0 1px rgba(230,200,120,.28), inset 0 0 40px rgba(45,212,191,.12),
    0 24px 60px rgba(0,0,0,.45);
  clip-path:polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px),
    calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
  padding:38px; }
.panel.flat{ clip-path:none; border-radius:14px; }
.panel-title{ font-family:var(--serif); font-size:13px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold); font-weight:700; margin:0 0 4px; }
.panel-sub{ font-size:12px; letter-spacing:.22em; text-transform:uppercase; color:var(--mut-2); margin:0 0 24px; }

/* corner diamonds for hero/feature framing */
.diamond{ position:absolute; width:9px; height:9px; background:var(--gold);
  transform:rotate(45deg); box-shadow:0 0 10px rgba(230,200,120,.8); }

/* ============================================================
   NAV
   ============================================================ */
.nav{ position:fixed; top:0; left:0; right:0; z-index:50; transition:background .3s, box-shadow .3s, padding .3s;
  padding:18px 0; }
.nav.scrolled{ background:rgba(16,8,30,.82); backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line), 0 10px 30px rgba(0,0,0,.4); padding:12px 0; }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand .tma{ font-family:var(--serif); font-weight:700; font-size:30px; line-height:.8; letter-spacing:.04em; }
.brand .div{ width:1px; height:34px; background:var(--line); }
.brand .full{ font-family:var(--serif); font-size:12px; letter-spacing:.2em; line-height:1.5; color:var(--mut); }
.brand-logo{ height:52px; width:auto; display:block; filter:drop-shadow(0 2px 9px rgba(0,0,0,.5)); transition:height .3s; }
.nav.scrolled .brand-logo{ height:42px; }
.foot-logo{ height:70px; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:14px; letter-spacing:.04em; color:var(--mut); transition:color .15s; font-weight:500; }
.nav-links a:hover{ color:var(--gold-3); }
.nav-end{ display:flex; align-items:center; gap:22px; }
.nav-phone{ font-family:var(--serif); font-size:15px; color:var(--gold-3); letter-spacing:.04em; }

/* ============================================================
   HERO — scroll-scrubbed video
   ============================================================ */
.hero-scroll{ position:relative; height:260vh; z-index:3; }   /* tall scroll track */
.hero-sticky{ position:sticky; top:0; height:100vh; overflow:hidden; background:#0c0618; }
.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  background:#0c0618 url("assets/hero-poster.webp") center/cover no-repeat; }
.hero-scrim{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(12,6,24,.66) 0%, rgba(12,6,24,.12) 30%, rgba(12,6,24,.10) 58%, rgba(12,6,24,.86) 100%),
    radial-gradient(135% 100% at 28% 56%, rgba(12,6,24,.62), transparent 58%); }
.hero-overlay{ position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; justify-content:center; padding:96px 0 56px; }
.hero-overlay-inner{ width:100%; }

.hero-badges{ display:flex; gap:30px; margin-bottom:28px; }
.hero-badge{ display:flex; align-items:center; gap:10px; color:#d9cbf0; font-size:11px;
  letter-spacing:.16em; text-transform:uppercase; font-weight:600; line-height:1.3; }
.hero-badge .ring{ width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(12,6,24,.4); box-shadow:0 0 0 1px var(--gold-2), 0 0 14px rgba(230,200,120,.35); color:var(--gold-3); flex:0 0 auto; }
.hero-badge b{ color:var(--gold-3); display:block; font-weight:700; }

.hero-overlay h1{ font-family:var(--serif); font-weight:700; margin:0; line-height:.98; }
.hero-overlay h1 .l1{ display:block; font-size:34px; letter-spacing:.18em; color:var(--gold-3); margin-bottom:6px; text-shadow:0 2px 22px rgba(0,0,0,.55); }
.hero-overlay h1 .l2{ display:block; font-size:104px; letter-spacing:.01em; }
.hero-overlay h1 .l3{ display:block; font-size:76px; letter-spacing:.04em; margin-top:-6px; }
.hero-overlay .tagline{ font-family:var(--serif); font-size:22px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--violet-lt); margin:26px 0 18px; text-shadow:0 2px 18px rgba(0,0,0,.5); }
.hero-overlay .lede{ font-size:19px; line-height:1.6; color:#e2d8f4; max-width:44ch; margin:0 0 38px; text-shadow:0 2px 16px rgba(0,0,0,.6); }
.hero-overlay .cta-row{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.hero-overlay .quick{ display:flex; gap:26px; margin-top:40px; }
.hero-overlay .quick .q{ font-size:13px; color:#d4c7ee; letter-spacing:.04em; text-shadow:0 2px 14px rgba(0,0,0,.5); }
.hero-overlay .quick .q b{ font-family:var(--serif); display:block; color:var(--gold-3); font-size:24px; font-weight:700; line-height:1; margin-bottom:5px; }

/* scroll cue */
.scroll-cue{ position:absolute; bottom:28px; left:50%; transform:translateX(-50%); z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--gold-3);
  font-family:var(--serif); font-size:11px; letter-spacing:.24em; text-transform:uppercase; opacity:.9;
  transition:opacity .4s; }
.scroll-cue .cue-dot{ animation:cueDot 1.7s ease-in-out infinite; }
@keyframes cueDot{ 0%,100%{ transform:translateY(0); opacity:1 } 55%{ transform:translateY(5px); opacity:.25 } }

/* ============================================================
   CHOOSE YOUR PATH (skill-tree progression)
   ============================================================ */
.path-grid{ display:grid; grid-template-columns:1fr auto; gap:46px; align-items:center; }
.levels{ display:flex; align-items:flex-start; justify-content:space-between; position:relative; }
.levels .conn{ position:absolute; top:37px; left:8%; right:8%; height:2px; z-index:0;
  background:repeating-linear-gradient(90deg, rgba(230,200,120,.5) 0 8px, transparent 8px 16px); }
.level{ position:relative; z-index:1; width:18%; text-align:center; }
.level .badge{ margin:0 auto 16px; }
.level.final .badge{ background:radial-gradient(circle at 50% 35%, rgba(230,200,120,.4), rgba(40,22,12,.92));
  box-shadow:0 0 0 1.5px var(--gold), 0 0 0 6px rgba(29,15,51,.8), 0 0 0 7.5px rgba(230,200,120,.5), 0 0 36px rgba(230,200,120,.55); }
.level .lv{ font-family:var(--serif); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--mut-2); }
.level h3{ font-family:var(--serif); font-size:18px; margin:4px 0 8px; letter-spacing:.04em; color:var(--gold-3); }
.level p{ font-size:13px; color:var(--mut); line-height:1.45; margin:0; }
.level.final h3{ color:var(--gold); }

.unlock{ width:280px; text-align:center; padding:30px 28px; align-self:center; }
.unlock .seal{ width:120px; height:120px; border-radius:50%; margin:0 auto 22px; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 50% 38%, rgba(230,200,120,.55), rgba(40,22,12,.9));
  box-shadow:0 0 0 2px var(--gold), 0 0 0 8px rgba(29,15,51,.85), 0 0 0 10px rgba(230,200,120,.45), 0 0 50px rgba(230,200,120,.5);
  color:var(--gold-3); }
.unlock .seal svg{ filter:drop-shadow(0 0 10px rgba(230,200,120,.7)); }
.unlock h3{ font-family:var(--serif); font-size:13px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin:0; }
.unlock .big{ font-family:var(--serif); font-size:34px; color:var(--gold-3); margin:2px 0 14px; letter-spacing:.04em; }
.unlock p{ color:var(--mut); font-size:15px; margin:0; }

/* ============================================================
   STATS / FEATURES / TUITION / EARN  (four-panel band)
   ============================================================ */
.quad{ display:grid; grid-template-columns:1fr 1fr 1.15fr 1fr; gap:22px; align-items:stretch; }
.feat-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:22px; }
.feat-list li{ display:flex; gap:15px; align-items:flex-start; }
.feat-ico{ width:42px; height:42px; border-radius:11px; flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  background:rgba(45,212,191,.16); box-shadow:inset 0 0 0 1px var(--line); color:var(--gold-3); }
.feat-list .ft{ font-family:var(--serif); font-size:15px; color:var(--ink); letter-spacing:.06em; text-transform:uppercase; }
.feat-list .fd{ font-size:13.5px; color:var(--mut); line-height:1.45; margin-top:3px; }

.skill-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:20px; position:relative; }
.skill-list li{ display:flex; gap:15px; align-items:center; }
.skill-list .badge{ width:50px; height:50px; }
.skill-list .badge svg{ width:22px; height:22px; }

.tuition{ text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.tuition .lab{ font-family:var(--serif); font-size:14px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); line-height:1.5; }
.tuition .price{ font-family:var(--serif); font-size:66px; font-weight:700; line-height:1; margin:14px 0 4px; }
.tuition .note{ font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--mut); margin-top:18px; }
.tiers{ width:100%; display:flex; flex-direction:column; gap:12px; margin:18px 0 22px; }
.tier-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left;
  padding:14px 16px; border-radius:14px; background:rgba(255,255,255,.05); box-shadow:inset 0 0 0 1px var(--line); }
.tier-row.featured{ background:linear-gradient(135deg, rgba(255,214,109,.16), rgba(45,212,191,.10));
  box-shadow:inset 0 0 0 1.5px rgba(255,214,109,.5); }
.tier-info b{ display:block; font-family:var(--serif); font-size:15.5px; color:var(--ink); letter-spacing:.01em; }
.tier-info span{ display:block; font-size:12px; color:var(--mut); margin-top:3px; }
.tier-price{ font-family:var(--serif); font-size:30px; font-weight:700; line-height:1; flex:0 0 auto; }

.earn-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
.earn-list li{ display:flex; align-items:center; gap:13px; font-size:15px; color:var(--ink); }
.earn-list .e-ico{ width:34px; height:34px; border-radius:50%; flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 1px var(--gold-2), 0 0 12px rgba(45,212,191,.4); color:var(--gold-3); }

/* ============================================================
   HYBRID + LOCATIONS + LEVEL UP
   ============================================================ */
.trio{ display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:stretch; }
.hybrid-rings{ display:flex; align-items:center; gap:14px; margin:8px 0 24px; }
.ring-stat{ width:108px; height:108px; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow:0 0 0 2px var(--gold-2), inset 0 0 30px rgba(45,212,191,.3); }
.ring-stat.alt{ box-shadow:0 0 0 2px var(--violet), inset 0 0 30px rgba(230,200,120,.18); }
.ring-stat b{ font-family:var(--serif); font-size:28px; color:var(--gold-3); line-height:1; }
.ring-stat span{ font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--mut); margin-top:5px; }
.plus{ font-family:var(--serif); font-size:28px; color:var(--gold); }
.check-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; gap:11px; font-size:14.5px; color:var(--mut); line-height:1.45; }
.check-list .ck{ color:var(--gold); flex:0 0 auto; margin-top:2px; }

.map-wrap{ position:relative; display:flex; align-items:center; justify-content:center; padding:10px 0; }
.tx-map{ width:100%; max-width:330px; filter:drop-shadow(0 0 24px rgba(230,200,120,.3)); }
.map-pin{ position:absolute; display:flex; align-items:center; gap:7px; font-family:var(--serif);
  font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-3); }
.map-pin .dot{ width:11px; height:11px; border-radius:50%; background:var(--magenta);
  box-shadow:0 0 0 3px rgba(249,115,22,.3), 0 0 14px rgba(249,115,22,.9); }
.locations .note{ text-align:center; font-size:13px; color:var(--mut-2); letter-spacing:.06em; margin-top:18px; }

.levelup-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:15px; }
.levelup-list li{ display:flex; align-items:center; gap:12px; font-size:15px; color:var(--ink); }
.levelup-list .lu{ color:var(--gold); flex:0 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot{ position:relative; z-index:2; padding:70px 0 40px; margin-top:30px;
  box-shadow:0 -1px 0 var(--line); background:linear-gradient(180deg, transparent, rgba(10,4,22,.7)); }
.foot-badges{ display:flex; justify-content:center; gap:46px; flex-wrap:wrap; padding-bottom:50px; }
.foot-badge{ display:flex; align-items:center; gap:12px; color:var(--mut); font-size:12px; letter-spacing:.12em;
  text-transform:uppercase; line-height:1.35; }
.foot-badge b{ display:block; color:var(--gold-3); }
.foot-badge .ring{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 1px var(--gold-2); color:var(--gold-3); flex:0 0 auto; }
.foot-main{ display:flex; align-items:center; justify-content:space-between; gap:30px;
  padding:38px 0; border-top:1px solid var(--line); }
.foot-cols{ display:flex; gap:60px; }
.foot-cols .col h4{ font-family:var(--serif); font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin:0 0 14px; }
.foot-cols .col a{ display:block; font-size:14px; color:var(--mut); padding:5px 0; transition:color .15s; }
.foot-cols .col a:hover{ color:var(--gold-3); }
.qr{ width:96px; height:96px; border-radius:8px; background:#fff; padding:8px; flex:0 0 auto; }
.qr svg, .qr img{ width:100%; height:100%; display:block; }
.scan{ font-family:var(--script); font-size:30px; color:var(--gold-3); text-align:center; margin-top:6px; line-height:1; }
/* phone shown centered just above the footer QR */
.foot-qr-block{ text-align:center; align-self:center; }
.foot-qr-block .qr{ margin-left:auto; margin-right:auto; }
.foot-phone{ display:inline-flex; align-items:center; justify-content:center; gap:8px; margin:0 0 12px;
  font-family:var(--serif); font-size:18px; letter-spacing:.02em; color:var(--gold-3); transition:color .15s; }
.foot-phone svg{ width:18px; height:18px; flex:0 0 auto; }
.foot-phone:hover{ color:#fff; }
/* ---------- FOOTER SOCIAL (shared) ---------- */
.foot-social{ display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap; padding:34px 0 6px; }
.foot-social .fs-label{ font-family:var(--script); font-size:26px; color:var(--gold-3); line-height:1; margin-right:6px; }
.foot-social a{ width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gold-3);
  background:rgba(255,255,255,.05); box-shadow:inset 0 0 0 1px var(--line);
  transition:transform .2s, box-shadow .2s, color .2s, background .2s; }
.foot-social a:hover{ transform:translateY(-3px); color:#fff; background:rgba(45,212,191,.16);
  box-shadow:inset 0 0 0 1px var(--gold-2), 0 8px 20px rgba(0,0,0,.35); }
.foot-social svg{ width:20px; height:20px; }
/* phones: stack the icons 3-over-2, both rows centered (label sits on its own centered line) */
@media (max-width:600px){
  .foot-social{ max-width:188px; margin-left:auto; margin-right:auto; row-gap:14px; }
  .foot-social .fs-label{ flex-basis:100%; text-align:center; margin:0 0 6px; }
}
.foot-tagline{ text-align:center; font-family:var(--serif); font-size:18px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--mut); padding-top:30px; border-top:1px solid var(--line); }
.foot-tagline b{ color:var(--gold-3); }
.foot-legal{ text-align:center; font-size:12px; color:var(--mut-2); margin-top:18px; letter-spacing:.04em; }
.foot-legal a{ color:inherit; text-decoration:none; }
.foot-legal a:hover{ text-decoration:underline; }
.foot-legal a.pp{ color:var(--orange); }

/* hero overlay drift (driven by scroll JS) */
.hero-overlay-inner{ will-change:transform, opacity; }

/* ============================================================
   LEAD CAPTURE
   ============================================================ */
.enroll-cta{ position:relative; z-index:2; padding-top:96px; padding-bottom:96px;
  background:linear-gradient(125deg,#160e2a,#2a1857 28%,#3d1d77 52%,#241452 76%,#1a1138);
  background-size:300% 300%; animation:enrollGrad 16s ease infinite;
  box-shadow:inset 0 1px 0 rgba(168,85,247,.55); }
@keyframes enrollGrad{ 0%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } 100%{ background-position:0% 50%; } }
@media (prefers-reduced-motion: reduce){ .enroll-cta{ animation:none; } }
.enroll-cta .eyebrow{ color:#c79bff; }
.enroll-panel{ padding:48px; }
.enroll-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:50px; align-items:center; }
.enroll-copy h2{ font-size:42px; line-height:1.04; margin:12px 0 16px; }
.enroll-copy > p{ color:var(--mut); font-size:16.5px; line-height:1.6; margin:0 0 22px; }
.enroll-copy > p b{ color:var(--gold-3); }
.enroll-points{ list-style:none; margin:0 0 24px; padding:0; display:flex; flex-direction:column; gap:11px; }
.enroll-points li{ display:flex; gap:11px; font-size:15px; color:var(--ink); }
.enroll-points .lu{ color:var(--gold); flex:0 0 auto; }
.enroll-call{ font-size:14px; color:var(--mut); }
.enroll-call a{ color:var(--gold-3); font-weight:600; border-bottom:1px solid var(--line); }

.enroll-form{ position:relative; }
.field-row{ margin-bottom:16px; }
.field-row.two{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.enroll-form label{ display:block; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--mut); font-weight:600; }
.enroll-form input, .enroll-form select{ width:100%; margin-top:7px; background:rgba(12,6,24,.5); color:var(--ink);
  border:1px solid var(--line); border-radius:10px; padding:13px 14px; font-family:var(--sans); font-size:15px;
  transition:border-color .15s, box-shadow .15s; }
.enroll-form input::placeholder{ color:var(--mut-2); }
.enroll-form input:focus, .enroll-form select:focus{ outline:none; border-color:var(--gold-2);
  box-shadow:0 0 0 3px rgba(230,200,120,.16); }
.enroll-form select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23e6c878' stroke-width='1.6'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:34px;
  color-scheme:dark; }
/* The open dropdown list — themed to match the violet/gold form instead of the OS grey.
   Chrome/Edge (Windows) + Firefox honor these; Safari falls back to its native popup. */
.enroll-form select option,
.enroll-form select optgroup{ background-color:#190f30; color:var(--ink); padding:10px 12px; }
.enroll-form select option[value=""]{ color:var(--mut-2); }
.enroll-form select option:checked,
.enroll-form select option:hover{ background-color:#2f1d4f; color:var(--gold-3); }
.enroll-form .btn{ width:100%; justify-content:center; margin-top:6px; }
.form-fine{ font-size:11.5px; color:var(--mut-2); text-align:center; margin:14px 0 0; line-height:1.4; }
.form-done[hidden]{ display:none; }
.form-done{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(36,21,62,.97), rgba(20,11,36,.99));
  border-radius:14px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:30px; gap:4px; }
.form-done .seal{ width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--gold-3); box-shadow:0 0 0 2px var(--gold-2), 0 0 30px rgba(230,200,120,.4); margin-bottom:8px; }
.form-done h3{ font-size:26px; margin:0; }
.form-done p{ color:var(--mut); font-size:15px; line-height:1.55; margin:6px 0 0; max-width:34ch; }

/* ============================================================
   INTERACTIVE 3D LEARNING (skull)
   ============================================================ */
.learn-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:54px; align-items:center; }
.skull-stage{ position:relative; perspective:1000px; display:flex; flex-direction:column; align-items:center; gap:20px; }
.skull-orb{ position:relative; width:420px; max-width:80vw; aspect-ratio:1; border-radius:50%; overflow:hidden;
  /* no fixed height — a fixed 420px beats aspect-ratio when width clamps to
     80vw on phones, stretching the orb into an egg */
  background:radial-gradient(circle at 50% 40%, rgba(45,212,191,.4), rgba(10,18,32,.92) 70%);
  box-shadow:0 0 0 1.5px var(--gold-2), 0 0 80px rgba(45,212,191,.4), inset 0 0 70px rgba(45,212,191,.25);
  display:flex; align-items:center; justify-content:center; }
.skull-orb::after{ content:''; position:absolute; inset:-3px; border-radius:50%; z-index:3; pointer-events:none;
  background:conic-gradient(from 0deg, transparent, rgba(255,214,109,.5), transparent 30%); opacity:.5;
  animation:ringspin 9s linear infinite; mask:radial-gradient(circle, transparent 49%, #000 50%); -webkit-mask:radial-gradient(circle, transparent 49%, #000 50%); }
@keyframes ringspin{ to{ transform:rotate(360deg); } }
.skull-fallback{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:transparent; }
.skull-fallback svg{ width:236px; color:var(--gold-3); filter:drop-shadow(0 0 20px rgba(255,214,109,.4)); }
.skullViewer{ width:100%; height:100%; border-radius:50%; background:transparent; --poster-color:transparent; }
.hotspot{ width:16px; height:16px; border-radius:50%; border:2px solid rgba(255,255,255,.95);
  background:var(--gold); box-shadow:0 0 0 6px rgba(255,214,109,.16), 0 0 16px rgba(255,214,109,.7); cursor:pointer; }
.hotspotLabel{ position:absolute; left:50%; bottom:160%; transform:translateX(-50%); white-space:nowrap;
  padding:7px 11px; border-radius:11px; border:1px solid rgba(255,255,255,.18); background:rgba(8,17,31,.92);
  color:#fff; font-family:var(--sans); font-weight:800; font-size:12px; box-shadow:0 16px 40px rgba(0,0,0,.5);
  opacity:0; transition:opacity .15s ease; pointer-events:none; }
.hotspotLabel small{ display:block; font-weight:600; opacity:.8; margin-top:2px; color:var(--mut); }
.hotspot:hover .hotspotLabel{ opacity:1; }
.skull-hint{ font-family:var(--serif); font-size:12px; letter-spacing:.22em; text-transform:uppercase; color:var(--mut); display:flex; align-items:center; gap:9px; }
.skull-controls{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.skull-btn{ font-family:var(--sans); font-weight:700; font-size:13px; letter-spacing:.04em; cursor:pointer;
  color:var(--ink); background:rgba(255,255,255,.07); border:none; box-shadow:inset 0 0 0 1px var(--line);
  padding:11px 20px; border-radius:999px; transition:background .18s, box-shadow .18s, transform .18s; }
.skull-btn:hover{ background:rgba(255,255,255,.13); box-shadow:inset 0 0 0 1px rgba(45,212,191,.5); transform:translateY(-1px); }
.skull-btn.primary{ color:#08111f; background:linear-gradient(135deg,var(--teal),var(--gold)); box-shadow:0 6px 18px rgba(45,212,191,.3); }
.skull-btn.primary:hover{ box-shadow:0 8px 24px rgba(45,212,191,.45); }
/* "View in Your Space" AR pill — model-viewer's own AR button sits in the bottom-right
   corner of the viewer, which the round .skull-orb (overflow:hidden) clips away. Hide it
   and surface AR as a labelled pill in the controls row instead. JS unhides #skullAR only
   on AR-capable devices (phones/tablets). */
.skullViewer::part(default-ar-button){ display:none; }
.skull-btn.ar{ display:inline-flex; align-items:center; gap:7px;
  color:#08111f; background:linear-gradient(135deg,var(--gold),var(--teal)); box-shadow:0 6px 18px rgba(255,214,109,.3); }
.skull-btn.ar:hover{ box-shadow:0 8px 24px rgba(255,214,109,.45); }
.skull-btn.ar svg{ width:16px; height:16px; flex:0 0 auto; }
.skull-btn[hidden]{ display:none !important; }
.learn-copy .feat-list{ margin-bottom:30px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tq-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.tq{ padding:30px; }
.tq .stars{ color:var(--gold); letter-spacing:3px; font-size:15px; }
.tq blockquote{ margin:14px 0 18px; font-size:15.5px; line-height:1.6; color:var(--ink); }
.tq .who{ display:flex; align-items:center; gap:12px; }
.tq .av{ width:58px; height:58px; border-radius:50%; flex:0 0 auto; overflow:hidden;
  background:radial-gradient(circle at 40% 35%, var(--violet-lt), var(--violet) 60%, #0c2a3a);
  box-shadow:0 0 0 1.5px var(--gold-2); display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-weight:700; color:#fff; font-size:17px; }
.tq .av img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
.tq .who b{ display:block; font-family:var(--serif); color:var(--gold-3); font-size:15px; }
.tq .who span{ font-size:12px; color:var(--mut); letter-spacing:.06em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{ max-width:840px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq{ background:linear-gradient(180deg, rgba(48,28,82,.5), rgba(24,13,44,.7));
  box-shadow:inset 0 0 0 1px var(--line); border-radius:14px; overflow:hidden; }
.faq summary{ list-style:none; cursor:pointer; padding:20px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:var(--serif); font-size:18px; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .pm{ flex:0 0 auto; width:26px; height:26px; border-radius:50%; box-shadow:0 0 0 1px var(--gold-2);
  display:flex; align-items:center; justify-content:center; color:var(--gold-3); font-size:18px; transition:transform .25s; }
.faq[open] summary .pm{ transform:rotate(45deg); }
.faq .ans{ padding:0 24px 22px; color:var(--mut); font-size:15.5px; line-height:1.65; max-width:70ch; }
.faq .ans b{ color:var(--gold-3); }

/* ============================================================
   IN-CONTENT LINKS — blog + cross-page convention
   Brandon's rule: in-body links must READ as links — gold + bold,
   not plain white that only reveals itself on hover. Add a trailing
   " →" in the text for end-of-sentence blog/cross-page links.
   Applies automatically to FAQ answers and rich copy on every page;
   tag any other in-paragraph link with class="ilink".
   (Does NOT touch nav, footer, or .btn — those are styled separately.)
   ============================================================ */
.faq .ans a, .cc-learn a, .split-card a, .ilink{
  color:var(--gold-3); font-weight:600; text-decoration:none;
  border-bottom:1px solid rgba(255,214,109,.32);
  transition:color .2s ease, border-color .2s ease; }
.faq .ans a:hover, .cc-learn a:hover, .split-card a:hover, .ilink:hover{
  color:#fff; border-color:rgba(255,255,255,.55); }

/* ============================================================
   AREAS WE SERVE
   ============================================================ */
.areas-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:40px; }
.astat{ text-align:center; padding:24px 18px; border-radius:14px; box-shadow:inset 0 0 0 1px var(--line); background:rgba(36,21,69,.4); }
.astat b{ display:block; font-family:var(--serif); font-size:42px; line-height:1; }
.astat span{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--mut); margin-top:9px; display:block; }
.areas-grid{ display:grid; grid-template-columns:1.12fr .88fr; gap:30px; align-items:stretch; }
.map-card{ display:flex; flex-direction:column; gap:18px; justify-content:center; }
.texas-map{ width:100%; height:auto; display:block; }
.texas-shape{ fill:url(#texasFill); stroke:rgba(255,255,255,.18); stroke-width:2; stroke-linejoin:round; filter:drop-shadow(0 0 24px rgba(45,212,191,.22)); }
@keyframes pulseTeal{ 0%{ r:22; opacity:.5; } 100%{ r:34; opacity:0; } }
@keyframes pulseGold{ 0%{ r:16; opacity:.45; } 100%{ r:26; opacity:0; } }
@keyframes pulseOrange{ 0%{ r:14; opacity:.4; } 100%{ r:22; opacity:0; } }
.pulse-major{ fill:none; stroke:var(--teal); stroke-width:1.5; animation:pulseTeal 3s ease-out infinite; }
.pulse-mid{ fill:none; stroke:var(--gold); stroke-width:1.2; animation:pulseGold 3.5s ease-out infinite; }
.pulse-regional{ fill:none; stroke:var(--orange); stroke-width:1; animation:pulseOrange 4s ease-out infinite; }
.pin-major{ fill:var(--teal); opacity:.95; filter:url(#glowTeal); }
.pin-mid{ fill:var(--gold); opacity:.92; filter:url(#glowGold); }
.pin-regional{ fill:var(--orange); opacity:.88; filter:url(#glowOrange); }
@keyframes campusPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.16); } }
.campus-star{ transform-box:fill-box; transform-origin:center; animation:campusPulse 3s ease-in-out infinite; }
@keyframes campusRing{ 0%{ r:28; opacity:.6; } 100%{ r:52; opacity:0; } }
@keyframes campusRing2{ 0%{ r:28; opacity:.4; } 100%{ r:44; opacity:0; } }
/* pins are links to the city pages — grow on hover */
.pin-group{ cursor:pointer; }
.pin-group .pin-major, .pin-group .pin-mid, .pin-group .pin-regional{
  transition:r .25s ease, opacity .25s ease; }
.pin-group:hover .pin-major, .pin-group:focus-visible .pin-major{ r:24; opacity:1; }
.pin-group:hover .pin-mid, .pin-group:focus-visible .pin-mid{ r:18; opacity:1; }
.pin-group:hover .pin-regional, .pin-group:focus-visible .pin-regional{ r:15; opacity:1; }
a:has(.campus-star){ cursor:pointer; }
/* fill-box keeps the scale centered on the star itself (px origins drift
   because the SVG renders smaller than its viewBox coordinates) */
.campus-star{ transition:transform .25s ease; transform-box:fill-box; transform-origin:center; }
a:hover .campus-star, a:focus-visible .campus-star{ animation:none; transform:scale(1.22); }
.campus-ring1{ fill:none; stroke:var(--gold); animation:campusRing 2.5s ease-out infinite; }
.campus-ring2{ fill:none; stroke:var(--gold-dark); animation:campusRing2 2.5s ease-out infinite .8s; }
.campus-label{ fill:var(--gold); font-size:17px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; paint-order:stroke; stroke:#08111f; stroke-width:4px; stroke-linejoin:round; }
.map-label{ fill:#fff; font-size:20px; font-weight:800; paint-order:stroke; stroke:#08111f; stroke-width:5px; stroke-linejoin:round; }
.map-label-sm{ fill:rgba(255,255,255,.9); font-size:15px; font-weight:700; paint-order:stroke; stroke:#08111f; stroke-width:4px; stroke-linejoin:round; }
.map-legend{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; font-size:12.5px; color:var(--mut); }
.map-legend span{ display:flex; align-items:center; gap:7px; }
.map-legend .lg{ width:12px; height:12px; border-radius:50%; display:inline-block; flex:0 0 auto; }
.map-legend .lg.campus{ background:var(--gold); box-shadow:0 0 0 2px rgba(255,214,109,.3); }
.map-legend .lg.metro{ background:var(--teal); }
.map-legend .lg.mid{ background:var(--gold); }
.map-legend .lg.regional{ background:var(--orange); }
.areas-lists{ display:flex; flex-direction:column; gap:26px; justify-content:center; }
.tier h4{ font-family:var(--serif); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin:0 0 13px; }
.tier h4 em{ color:var(--mut-2); font-style:normal; font-size:11px; letter-spacing:.1em; }
.chips{ display:flex; flex-wrap:wrap; gap:9px; }
.chips a{ font-size:13.5px; color:var(--ink); background:rgba(45,212,191,.12); box-shadow:inset 0 0 0 1px var(--line);
  padding:8px 14px; border-radius:999px; transition:background .15s, box-shadow .15s, color .15s; }
.chips a:hover{ background:rgba(230,200,120,.16); box-shadow:inset 0 0 0 1px var(--gold-2); color:var(--gold-3); }

/* ============================================================
   SECTION COLOR BANDS — full, vibrant, clearly separated
   ============================================================ */
section[class*="tint-"]{ position:relative; z-index:2; overflow:hidden; }
@keyframes bandFlow{ 0%{ background-position:0% 50%, 0% 50%, 0% 50%; } 50%{ background-position:0% 50%, 0% 50%, 100% 50%; } 100%{ background-position:0% 50%, 0% 50%, 0% 50%; } }
.tint-teal{ background:
  radial-gradient(ellipse at 18% 4%, rgba(45,212,191,.28), transparent 56%),
  radial-gradient(ellipse at 85% 96%, rgba(52,134,255,.22), transparent 58%),
  linear-gradient(125deg,#072634 0%,#0e4763 28%,#137a82 52%,#0e4763 74%,#072634 100%);
  background-size:auto, auto, 320% 320%; animation:bandFlow 24s ease-in-out infinite;
  box-shadow:inset 0 1px 0 rgba(45,212,191,.55); }
.tint-navy{ background:
  radial-gradient(ellipse at 22% 4%, rgba(91,156,255,.22), transparent 54%),
  radial-gradient(ellipse at 84% 96%, rgba(45,140,200,.16), transparent 58%),
  linear-gradient(125deg,#08152b 0%,#102449 28%,#1d3f7a 52%,#102449 74%,#08152b 100%);
  background-size:auto, auto, 320% 320%; animation:bandFlow 26s ease-in-out infinite;
  box-shadow:inset 0 1px 0 rgba(120,160,230,.45); }
.tint-maroon{ background:
  radial-gradient(ellipse at 24% 6%, rgba(249,140,40,.20), transparent 52%),
  radial-gradient(ellipse at 82% 96%, rgba(200,40,60,.16), transparent 56%),
  linear-gradient(125deg,#2a0e12 0%,#52160f 28%,#7a3410 52%,#52160f 74%,#2a0e12 100%);
  background-size:auto, auto, 320% 320%; animation:bandFlow 22s ease-in-out infinite;
  box-shadow:inset 0 1px 0 rgba(249,140,40,.5); }
.tint-gold{ background:
  radial-gradient(ellipse at 60% 4%, rgba(255,214,109,.22), transparent 55%),
  radial-gradient(ellipse at 16% 96%, rgba(214,150,30,.16), transparent 58%),
  linear-gradient(125deg,#241b06 0%,#3c2c0a 28%,#5e4612 52%,#3c2c0a 74%,#241b06 100%);
  background-size:auto, auto, 320% 320%; animation:bandFlow 25s ease-in-out infinite;
  box-shadow:inset 0 1px 0 rgba(255,214,109,.5); }
.tint-purple{ background:
  radial-gradient(ellipse at 70% 4%, rgba(168,85,247,.24), transparent 55%),
  radial-gradient(ellipse at 18% 96%, rgba(120,70,220,.16), transparent 58%),
  linear-gradient(125deg,#150d28 0%,#241548 28%,#3a1f73 52%,#241548 74%,#150d28 100%);
  background-size:auto, auto, 320% 320%; animation:bandFlow 23s ease-in-out infinite;
  box-shadow:inset 0 1px 0 rgba(168,85,247,.45); }
@media (prefers-reduced-motion: reduce){ section[class*="tint-"]{ animation:none; } }
.tint-teal .eyebrow{ color:var(--teal); }
.tint-navy .eyebrow{ color:#5b9cff; }
.tint-maroon .eyebrow{ color:var(--orange); }
.tint-purple .eyebrow{ color:#c79bff; }

/* real-photo gallery (image-slots the user fills) */
.gallery3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gallery3 image-slot{ display:block; width:100%; height:300px;
  box-shadow:inset 0 0 0 1px var(--line), 0 16px 40px rgba(0,0,0,.4); border-radius:18px; }

/* social follow — drop-in promo cards */
.social3{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:720px; margin:0 auto; }
.social-card-link{ display:block; border-radius:18px; box-shadow:0 14px 36px rgba(0,0,0,.4);
  transition:transform .25s, box-shadow .25s; }
.social-card-link:hover{ transform:translateY(-5px); box-shadow:0 22px 50px rgba(0,0,0,.55), 0 0 40px rgba(255,214,109,.16); }
.social3 image-slot{ display:block; width:100%; aspect-ratio:3/4; border-radius:18px; box-shadow:inset 0 0 0 1px var(--line); }
.social-ico{ display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; padding:26px 18px; border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); box-shadow:inset 0 0 0 1px var(--line), 0 14px 36px rgba(0,0,0,.35);
  transition:transform .25s, box-shadow .25s, border-color .25s; }
.social-ico:hover{ transform:translateY(-5px); box-shadow:inset 0 0 0 1px rgba(45,212,191,.4), 0 20px 50px rgba(45,212,191,.15); }
.social-ico .si{ width:54px; height:54px; border-radius:16px; display:flex; align-items:center; justify-content:center; color:#08111f;
  background:linear-gradient(135deg, var(--teal), var(--gold)); box-shadow:0 0 24px rgba(45,212,191,.35); }
.social-ico b{ font-family:var(--serif); font-size:17px; color:var(--ink); }
.social-ico span.sh{ font-size:12.5px; color:var(--mut); letter-spacing:.04em; }

/* spinning coin (tuition card) — transparent WebP frame sequence */
.coin-anim-wrap{ margin:0 auto 12px; width:120px; height:120px; display:flex; align-items:center; justify-content:center; }
.coin-anim{ width:120px; height:120px; display:block; filter:drop-shadow(0 8px 18px rgba(246,185,59,.5)); }

/* treasure chest (unlock license) */
.chest-wrap{ display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
.chest-img{ width:112px; height:auto; filter:drop-shadow(0 0 26px rgba(255,189,59,.5)) drop-shadow(0 14px 26px rgba(0,0,0,.45));
  animation:chestFloat 4s ease-in-out infinite; }
@keyframes chestFloat{ 0%,100%{ transform:translateY(0) rotate(-1deg); } 50%{ transform:translateY(-9px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce){ .chest-img{ animation:none; } }

/* curriculum course cards */
.curr-banner{ position:relative; border-radius:20px; overflow:hidden; margin:0 0 26px;
  box-shadow:inset 0 0 0 1px var(--line), 0 22px 50px rgba(0,0,0,.45), 0 0 50px rgba(45,212,191,.12); }
.curr-banner img{ width:100%; display:block; }
.curr-banner-cap{ position:absolute; left:0; right:0; bottom:0; padding:40px 24px 18px;
  background:linear-gradient(0deg, rgba(8,17,31,.9), transparent); text-align:center; }
.course-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.course-card{ border-radius:18px; overflow:hidden; position:relative;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow:inset 0 0 0 1px var(--line), 0 16px 40px rgba(0,0,0,.4);
  transition:transform .3s, box-shadow .3s; }
.course-card:hover{ transform:translateY(-6px); box-shadow:inset 0 0 0 1px rgba(45,212,191,.45), 0 24px 56px rgba(0,0,0,.5), 0 0 44px rgba(45,212,191,.16); }
.course-thumb{ position:relative; aspect-ratio:16/9; overflow:hidden; }
.course-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.course-card:hover .course-thumb img{ transform:scale(1.06); }
.course-thumb .hrs{ position:absolute; top:10px; right:10px; font-family:var(--serif); font-size:12px; font-weight:700;
  letter-spacing:.04em; color:#08111f; background:linear-gradient(135deg, var(--gold-3), var(--gold)); padding:5px 11px; border-radius:999px;
  box-shadow:0 4px 14px rgba(0,0,0,.35); }
.course-body{ padding:18px 18px 22px; }
.course-body h3{ font-family:var(--serif); font-size:19px; margin:0 0 7px; color:var(--gold-3); letter-spacing:.02em; }
.course-body p{ font-size:13.5px; line-height:1.5; color:var(--mut); margin:0; }

/* team avatars in enroll */
.enroll-team{ display:block; width:100%; max-width:340px; margin:0 0 8px; filter:drop-shadow(0 14px 30px rgba(0,0,0,.45)); }

/* achievement badges */
.badge-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.badge-card{ text-align:center; padding:24px 16px 22px; border-radius:18px; position:relative;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow:inset 0 0 0 1px var(--line), 0 14px 36px rgba(0,0,0,.4);
  transition:transform .3s, box-shadow .3s; }
.badge-card:hover{ transform:translateY(-6px); box-shadow:inset 0 0 0 1px rgba(168,85,247,.5), 0 22px 50px rgba(0,0,0,.5), 0 0 40px rgba(168,85,247,.2); }
.badge-card img{ width:96px; height:auto; margin:0 auto 14px; display:block; filter:drop-shadow(0 8px 18px rgba(0,0,0,.5));
  transition:transform .3s; }
.badge-card:hover img{ transform:scale(1.07) rotate(-2deg); }
.badge-card h3{ font-family:var(--serif); font-size:16px; margin:0 0 6px; color:var(--gold-3); letter-spacing:.02em; }
.badge-card p{ font-size:12.5px; line-height:1.45; color:var(--mut); margin:0; }
.badge-card.locked img{ filter:grayscale(.7) brightness(.7) drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
.badge-card.locked .blue-mascot{ filter:drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.badge-card.locked h3{ color:var(--mut); }
.lock-tag{ display:inline-block; margin-top:9px; font-size:10.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--mut-2); background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px var(--line); padding:4px 10px; border-radius:999px; }

/* portal showcase — browser frame + floating real LMS screens */
.portal-showcase{ position:relative; max-width:880px; margin:30px auto 70px; }
.pw-browser{ position:relative; z-index:2; border-radius:14px; overflow:hidden; background:#0b1220;
  box-shadow:0 34px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.09), 0 0 70px rgba(45,212,191,.2);
  animation:floatA 6s ease-in-out infinite; }
.pw-bar{ height:36px; background:#0f1828; display:flex; align-items:center; gap:8px; padding:0 14px; box-shadow:inset 0 -1px 0 rgba(255,255,255,.06); }
.pw-dot{ width:11px; height:11px; border-radius:50%; flex:0 0 auto; }
.pw-dot.r{ background:#ff5f57; } .pw-dot.y{ background:#febc2e; } .pw-dot.g{ background:#28c840; }
.pw-url{ margin-left:12px; font-size:12px; color:var(--mut-2); background:rgba(255,255,255,.05); padding:5px 16px; border-radius:8px; }
.pw-browser > img{ width:100%; display:block; }
.pw-float{ position:absolute; z-index:3; width:300px; border-radius:11px;
  box-shadow:0 24px 56px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.12); }
.pw-quiz{ right:-46px; top:-34px; animation:floatB 7s ease-in-out infinite; }
.pw-lesson{ left:-52px; bottom:18px; width:286px; animation:floatA 6.6s ease-in-out infinite .4s; }
.pw-phone{ position:absolute; z-index:4; right:-6px; bottom:-46px; width:132px;
  filter:drop-shadow(0 22px 44px rgba(0,0,0,.62)); animation:floatB 5.4s ease-in-out infinite .2s; }
@keyframes floatA{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }
@keyframes floatB{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-17px); } }
@media (prefers-reduced-motion: reduce){ .pw-browser,.pw-float,.pw-phone{ animation:none; } }
.hybrid-layout{ display:block; }
.hybrid-panels{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:900px){ .pw-float, .pw-phone{ display:none; } .hybrid-panels{ grid-template-columns:1fr; } }

/* CTA banner with real student group photos */
.cta-banner{ position:relative; z-index:2; padding:64px 0 0; overflow:hidden;
  background:linear-gradient(125deg,#0a2f44,#13254e 40%,#2a1857 75%,#0a2f44); background-size:300% 300%;
  animation:enrollGrad 16s ease infinite; box-shadow:inset 0 1px 0 rgba(45,212,191,.45); }
@media (prefers-reduced-motion: reduce){ .cta-banner{ animation:none; } }
.cta-banner .wrap{ display:flex; flex-direction:column; align-items:center; }
.cta-row{ display:grid; grid-template-columns:1fr auto 1fr; align-items:flex-end; gap:18px; width:100%; }
.cta-center{ text-align:center; max-width:460px; justify-self:center; align-self:center; padding-bottom:24px; }
.cta-center h2{ font-size:42px; line-height:1.05; margin:12px 0 14px; }
.cta-center p{ color:var(--ink); font-size:17px; line-height:1.55; margin:0 0 26px; }
.cta-group{ height:320px; width:auto; max-width:100%; object-fit:contain;
  animation:ctaGlow 4s ease-in-out infinite; }
.cta-group.g1{ justify-self:end; }
.cta-group.g2{ justify-self:start; animation-delay:2s; }
@keyframes ctaGlow{
  0%,100%{ filter:drop-shadow(0 18px 34px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(45,212,191,.15)); }
  50%{ filter:drop-shadow(0 18px 34px rgba(0,0,0,.5)) drop-shadow(0 0 30px rgba(45,212,191,.55)) drop-shadow(0 0 52px rgba(255,214,109,.25)); }
}
@media (prefers-reduced-motion: reduce){ .cta-group{ animation:none; filter:drop-shadow(0 18px 34px rgba(0,0,0,.5)); } }
@media (max-width:980px){ .cta-row{ grid-template-columns:1fr; justify-items:center; gap:8px; }
  .cta-center{ order:-1; padding-bottom:8px; } .cta-group{ height:auto; max-width:80%; }
  .cta-group.g1, .cta-group.g2{ justify-self:center; } }

/* glowing skeleton accent in 3D-learning section */
#learn3d{ position:relative; overflow:hidden; }
#learn3d .wrap{ position:relative; z-index:1; }
.anatomy-accent{ position:absolute; right:-30px; bottom:0; height:92%; width:auto; opacity:.14; z-index:0;
  pointer-events:none; filter:drop-shadow(0 0 34px rgba(45,212,191,.55)); animation:floatA 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .anatomy-accent{ animation:none; } }
@media (max-width:900px){ .anatomy-accent{ display:none; } }

/* ===== unused-asset placements: diptych, lesson cards, mascots ===== */
.diptych{ position:relative; border-radius:20px; overflow:hidden; max-width:980px; margin:46px auto 0;
  box-shadow:inset 0 0 0 1px var(--line), 0 24px 56px rgba(0,0,0,.5), 0 0 50px rgba(45,212,191,.14); }
.diptych img{ width:100%; display:block; }
.diptych-tags{ position:absolute; inset:0; display:flex; pointer-events:none; }
.diptych-tags span{ flex:1; display:flex; align-items:flex-end; justify-content:center; padding:0 0 20px;
  font-family:var(--serif); font-size:15px; letter-spacing:.06em; color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.8);
  background:linear-gradient(0deg, rgba(8,17,31,.6), transparent 38%); }

.lesson-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; max-width:760px; margin:54px auto 0; }
.lesson-card{ margin:0; text-align:center; }
.lesson-card img{ width:100%; max-width:200px; height:auto; display:block; margin:0 auto 12px;
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.55)); }
.lesson-card.pop img{ filter:drop-shadow(0 0 26px rgba(45,212,191,.45)) drop-shadow(0 18px 34px rgba(0,0,0,.55));
  animation:cardFloat 4s ease-in-out infinite; }
@keyframes cardFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
.lesson-card figcaption{ font-size:13px; color:var(--mut); letter-spacing:.04em; }
@media (prefers-reduced-motion: reduce){ .lesson-card.pop img{ animation:none; } }

/* peeking decorative figures */
#badges{ position:relative; overflow:hidden; }
#badges > .wrap{ position:relative; z-index:2; }
.badge-card .blue-mascot{ position:absolute; top:-52px; left:50%; transform:translateX(-50%); width:84px; z-index:4; pointer-events:none;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.enroll-cta{ position:relative; overflow:hidden; }
.enroll-cta > .wrap{ position:relative; z-index:2; }
.scrubs-peek{ position:absolute; bottom:0; width:188px; z-index:1; pointer-events:none; opacity:.9;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.5)); }
.scrubs-l{ left:-40px; }
.scrubs-r{ right:-40px; }
@media (prefers-reduced-motion: reduce){ .blue-mascot{ animation:none; } }
@media (max-width:1180px){ .blue-mascot, .scrubs-peek{ display:none; } }
@media (max-width:760px){ .lesson-cards{ grid-template-columns:1fr; max-width:300px; } .diptych-tags span{ font-size:12px; } }

/* rich leather/paper texture overlay — depth & class on every section band */
.rich-tex, section[class*="tint-"]{ position:relative; }
.rich-tex::after, section[class*="tint-"]::after{ content:''; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5;
  background-image:
    radial-gradient(130% 100% at 50% -10%, rgba(255,230,180,.06), transparent 55%),
    radial-gradient(90% 70% at 14% 112%, rgba(0,0,0,.4), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  background-size: cover, cover, 240px 240px; mix-blend-mode:overlay; }
.rich-tex > .wrap, section[class*="tint-"] > .wrap{ position:relative; z-index:1; }
/* red sections get the real px2.jpg leather texture (matches texasmassageacademy.com).
   Shown directly (no blend) under a dark scrim — the tile is itself dark red, so
   overlay-blending it onto maroon makes it invisible. */
section.tint-maroon::after{
  background-image:
    linear-gradient(180deg, rgba(30,8,10,.38), rgba(30,8,10,.52)),
    url("https://www.texasmassageacademy.com/images/px2.jpg");
  background-repeat:no-repeat, repeat;
  background-size:cover, 240px 240px;
  mix-blend-mode:normal;
  opacity:.9; }

/* catalog section */
.catalog-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:stretch; }
.catalog-info{ display:flex; flex-direction:column; }
.cat-h{ display:flex; align-items:center; gap:12px; font-family:var(--serif); font-size:22px; color:var(--gold-3); margin:0 0 20px; }
.cat-ico{ width:40px; height:40px; border-radius:11px; flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px var(--line); }
.cat-ico img{ width:24px; height:24px; }
.cat-list{ list-style:none; margin:0 0 28px; padding:0; display:flex; flex-direction:column; gap:14px; }
.cat-list li{ display:flex; align-items:center; gap:13px; font-size:15.5px; color:var(--ink); }
.cat-star{ flex:0 0 auto; width:26px; height:26px; display:flex; align-items:center; justify-content:center; font-size:13px;
  color:#3a2410; border-radius:50%; background:linear-gradient(135deg, var(--gold-3), var(--gold)); box-shadow:0 2px 8px rgba(0,0,0,.3); }
.cat-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:auto; }
.catalog-promo{ display:block; border-radius:20px; box-shadow:0 22px 50px rgba(0,0,0,.45); transition:transform .3s, box-shadow .3s; }
.catalog-promo:hover{ transform:translateY(-4px); box-shadow:0 30px 60px rgba(0,0,0,.55), 0 0 40px rgba(255,214,109,.18); }
.catalog-promo image-slot{ display:block; width:100%; height:100%; min-height:320px; border-radius:20px;
  box-shadow:inset 0 0 0 1px var(--line); }
@media (max-width:860px){ .catalog-grid{ grid-template-columns:1fr; } .catalog-promo image-slot{ min-height:240px; } }

/* ===== per-section light sweep + firefly particles (Houston-page polish) ===== */
@keyframes lightSweep{ 0%{ transform:translateX(-120%) skewX(-15deg); } 100%{ transform:translateX(320%) skewX(-15deg); } }
.sweep{ position:absolute; top:0; left:0; width:34%; height:100%; pointer-events:none; z-index:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.05),rgba(255,255,255,.09),rgba(255,255,255,.05),transparent);
  animation:lightSweep 9s ease-in-out infinite; }
.tint-teal .sweep{ background:linear-gradient(90deg,transparent,rgba(45,212,191,.07),rgba(45,212,191,.12),rgba(45,212,191,.07),transparent); }
.tint-purple .sweep{ background:linear-gradient(90deg,transparent,rgba(168,85,247,.07),rgba(168,85,247,.12),rgba(168,85,247,.07),transparent); }
.tint-maroon .sweep{ background:linear-gradient(90deg,transparent,rgba(255,151,47,.07),rgba(255,151,47,.12),rgba(255,151,47,.07),transparent); }
.tint-gold .sweep{ background:linear-gradient(90deg,transparent,rgba(255,214,109,.07),rgba(255,214,109,.12),rgba(255,214,109,.07),transparent); }
.tint-navy .sweep{ background:linear-gradient(90deg,transparent,rgba(91,156,255,.06),rgba(91,156,255,.10),rgba(91,156,255,.06),transparent); }

@keyframes fireflyDrift{ 0%{ transform:translate(0,0) scale(1); opacity:0; } 12%{ opacity:1; } 88%{ opacity:1; } 100%{ transform:translate(var(--dx),var(--dy)) scale(.4); opacity:0; } }
@keyframes fireflyGlow{ 0%,100%{ box-shadow:0 0 4px 1px var(--gc); } 50%{ box-shadow:0 0 11px 3px var(--gc); } }
.fireflies{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.firefly{ position:absolute; border-radius:50%; width:3px; height:3px;
  animation:fireflyDrift var(--dur) ease-in-out infinite, fireflyGlow 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .sweep, .firefly{ animation:none; opacity:0; } }

/* gradient-clipped section titles per accent */
.tint-teal .section-head h2.gold-text{ }

/* reviews carousel */
.rev-controls{ display:flex; justify-content:center; align-items:center; gap:12px; margin:8px 0 18px; }
.rev-btn{ width:40px; height:40px; border-radius:50%; cursor:pointer; font-size:22px; line-height:1; color:var(--ink);
  background:rgba(255,255,255,.07); box-shadow:inset 0 0 0 1px var(--line); display:flex; align-items:center; justify-content:center;
  transition:background .2s, box-shadow .2s, transform .15s; }
.rev-btn:hover{ background:rgba(255,255,255,.14); box-shadow:inset 0 0 0 1px rgba(255,214,109,.5); transform:translateY(-1px); }
.rev-dots{ display:flex; gap:7px; }
.rev-dots button{ width:9px; height:9px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(255,255,255,.22); transition:background .3s, box-shadow .3s, transform .2s; }
.rev-dots button.on{ background:var(--gold); box-shadow:0 0 10px var(--gold); transform:scale(1.25); }
.rev-track{ display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
  padding:6px 2px 18px; scrollbar-width:none; }
.rev-track::-webkit-scrollbar{ display:none; }
.rev-track .tq{ flex:0 0 340px; scroll-snap-align:center; }
.av.av-letter{ font-family:var(--serif); font-weight:700; color:#0a1420; font-size:20px;
  background:linear-gradient(135deg, var(--gold-3), var(--gold)); }
@media (max-width:600px){ .rev-track .tq{ flex-basis:84%; } }

/* animated envelope */
.envelope-wrap{ display:flex; flex-direction:column; align-items:center; margin:6px 0 24px; cursor:default; }
.envelope{ position:relative; width:200px; height:140px; }
.env-flap{ position:absolute; top:0; left:0; width:0; height:0; z-index:3;
  border-left:100px solid transparent; border-right:100px solid transparent; border-top:70px solid var(--goldDark, #f6b93b);
  transform-origin:top; transform:rotateX(0deg); transition:transform .5s ease, z-index .3s; }
.env-body{ position:absolute; inset:0; border-radius:0 0 10px 10px; overflow:hidden;
  background:linear-gradient(135deg,#2dd4bf,#0d9488); box-shadow:0 16px 36px rgba(0,0,0,.4); }
.env-pocket{ position:absolute; bottom:0; left:0; width:100%; height:100%; z-index:4;
  background:linear-gradient(135deg,#2dd4bf,#0d9488);
  clip-path:polygon(0 35%, 50% 100%, 100% 35%, 100% 100%, 0 100%); border-radius:0 0 10px 10px; }
.env-letter{ position:absolute; left:14px; right:14px; bottom:8px; height:62px; background:#fff; border-radius:6px; z-index:2;
  box-shadow:0 6px 14px rgba(0,0,0,.25); transition:bottom .5s ease, height .5s ease; padding:9px 11px; }
.env-letter .ll{ height:7px; border-radius:3px; background:rgba(45,212,191,.5); margin-bottom:6px; }
.env-letter .ll.s1{ width:55%; } .env-letter .ll.s2{ width:80%; } .env-letter .ll.s3{ width:40%; background:var(--gold); }
.envelope:hover .env-flap{ transform:rotateX(180deg); z-index:1; }
.envelope:hover .env-letter{ bottom:64px; height:104px; }
.env-label{ margin-top:14px; font-family:var(--serif); font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-3); }
@media (prefers-reduced-motion: reduce){ .env-flap, .env-letter{ transition:none; } }

/* live leaderboard iframe — full-bleed, edge to edge of the browser */
.leaderboard-frame{ width:100%; margin:0; border-radius:0; overflow:hidden;
  background:rgba(8,17,31,.4);
  box-shadow:inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line), 0 24px 56px rgba(0,0,0,.5); }
.leaderboard-frame iframe{ display:block; width:100%; height:620px; border:0; }

/* award + job-board promo cards */
.promo-duo{ display:grid; grid-template-columns:1fr 1fr; gap:26px; max-width:880px; margin:0 auto; }
.promo-card{ display:block; text-align:center; border-radius:20px; padding:22px; text-decoration:none;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow:inset 0 0 0 1px var(--line), 0 18px 44px rgba(0,0,0,.4);
  transition:transform .3s ease, box-shadow .3s ease; }
.promo-card:hover{ transform:translateY(-5px);
  box-shadow:inset 0 0 0 1px rgba(255,214,109,.4), 0 24px 56px rgba(0,0,0,.5), 0 0 44px rgba(255,214,109,.14); }
.promo-card img{ width:100%; height:auto; border-radius:12px; display:block; }
.promo-cap{ display:inline-block; margin-top:14px; font-family:var(--serif); color:var(--gold-3);
  letter-spacing:.08em; font-weight:700; }
@media (max-width:680px){ .promo-duo{ grid-template-columns:1fr; } .leaderboard-frame iframe{ height:560px; } }

/* reveal on scroll — animates ONLY transform (never opacity), so a stalled
   animation can never hide content. Content is visible by default. */
@keyframes tmaReveal { from { transform:translateY(30px); } to { transform:none; } }
html.js .reveal.in{ animation:tmaReveal .6s cubic-bezier(.2,.7,.3,1) both; }
@media (prefers-reduced-motion: reduce){ html.js .reveal.in{ animation:none; } }

@media (max-width:1180px){
  .nav-links{ display:none; }
  .nav-phone{ white-space:nowrap; }
}
@media (max-width:1100px){
  .hero-scroll{ height:230vh; }
  .hero-overlay h1 .l2{ font-size:84px; } .hero-overlay h1 .l3{ font-size:60px; }
  .hero-badges{ flex-wrap:wrap; gap:18px 30px; }
  .quad{ grid-template-columns:1fr 1fr; } .trio{ grid-template-columns:1fr; }
  .path-grid{ grid-template-columns:1fr; }
  .levels{ flex-wrap:wrap; gap:30px 0; } .levels .conn{ display:none; } .level{ width:33%; }
  .unlock{ width:auto; margin-top:30px; }
  .course-grid{ grid-template-columns:1fr 1fr; }
  .badge-grid{ grid-template-columns:repeat(3,1fr); }
  .hybrid-layout{ grid-template-columns:1fr; gap:30px; } .phone-img{ max-width:280px; }
  .enroll-grid{ grid-template-columns:1fr; gap:34px; } .enroll-copy h2{ font-size:34px; }
  .learn-grid{ grid-template-columns:1fr; gap:36px; } .tq-grid{ grid-template-columns:1fr; }
  .areas-grid{ grid-template-columns:1fr; gap:30px; } .areas-stats{ grid-template-columns:repeat(2,1fr); }
  .tx-map2{ max-width:520px; margin:0 auto; }
}
@media (max-width:680px){
  .wrap{ padding:0 22px; }
  /* nav: shrink logo, drop the phone number (it's in the hero + footer), compact START */
  .nav{ padding:12px 0; }
  .nav .wrap{ gap:12px; }
  .brand-logo{ height:38px; }
  .nav.scrolled .brand-logo{ height:34px; }
  .nav-phone{ display:none; }
  .nav-end .btn{ padding:12px 20px; font-size:13px; }
  /* hero: top-align so badges sit cleanly under the nav (not pushed up / cut off) */
  .hero-overlay{ justify-content:flex-start; padding:100px 0 46px; }
  .hero-badges{ gap:10px 16px; margin-bottom:20px; }
  .hero-badge{ font-size:10px; gap:8px; }
  .hero-badge .ring{ width:26px; height:26px; }
  .hero-scroll{ height:200vh; }
  .hero-overlay h1 .l2{ font-size:58px; } .hero-overlay h1 .l3{ font-size:42px; } .hero-overlay h1 .l1{ font-size:22px; }
  .hero-overlay .tagline{ font-size:18px; margin:18px 0 14px; }
  .hero-overlay .lede{ font-size:16px; margin-bottom:26px; }
  .hero-overlay .cta-row{ gap:12px; }
  .hero-overlay .btn-lg{ font-size:15px; padding:16px 26px; }
  .hero-overlay .quick{ flex-wrap:wrap; gap:18px; margin-top:26px; }
  .course-grid{ grid-template-columns:1fr; }
  .badge-grid{ grid-template-columns:1fr 1fr; }
  .quad{ grid-template-columns:1fr; } .level{ width:50%; }
  .gallery3{ grid-template-columns:1fr; }
  .field-row.two{ grid-template-columns:1fr; }
  .enroll-panel{ padding:30px; }
  /* badges: icon-left, two per row, left-justified */
  .foot-badges{ display:grid; grid-template-columns:1fr 1fr; gap:26px 18px; justify-items:start; }
  .foot-badge{ flex-direction:row; align-items:center; text-align:left; gap:12px; }
  /* center the whole footer block on mobile (logo + columns + QR) to match the centered social/tagline rows */
  .foot-main{ flex-direction:column; align-items:center; text-align:center; gap:30px; }
  /* fixed 3-column grid so the columns never wrap "Connect" to a second row (consistent across pages) */
  .foot-cols{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px 16px; width:100%; }
  .foot-cols .col{ text-align:center; }
}
@media (max-width:430px){
  .hero-overlay h1 .l2{ font-size:49px; } .hero-overlay h1 .l3{ font-size:37px; }
  .hero-overlay h1 .l1{ font-size:20px; letter-spacing:.14em; }
  .badge-grid{ grid-template-columns:1fr 1fr; }
  .nav-end .btn{ padding:11px 17px; }
}

/* ============================================================
   GLASS PANELS + GLEAM + GLOW
   ============================================================ */
.panel{ clip-path:none !important; border-radius:20px !important; position:relative; overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)) !important;
  -webkit-backdrop-filter:blur(13px); backdrop-filter:blur(13px);
  /* (backdrop-filter is disabled on touch devices below — mobile GPUs drop
     these layers under load, leaving panels blank until a repaint) */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.10), 0 20px 50px rgba(0,0,0,.42) !important;
  transition:box-shadow .35s ease, transform .35s ease !important; }
.map-card, .enroll-panel{ border-radius:24px !important; }
/* top chrome highlight */
.panel > .panel-title:first-child::before, .panel::before{ }
.panel::before{ content:''; position:absolute; top:0; left:16%; right:16%; height:1px; z-index:3; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), rgba(45,212,191,.9), rgba(255,255,255,.55), transparent); }
/* gleam sweep on hover */
.panel::after{ content:''; position:absolute; top:0; left:-130%; width:65%; height:100%; z-index:2; pointer-events:none;
  background:linear-gradient(105deg, transparent 42%, rgba(255,255,255,.10) 48%, rgba(255,255,255,.20) 50%, rgba(255,255,255,.10) 52%, transparent 60%);
  transition:left .75s ease; }
.panel:hover::after{ left:130%; }
.panel:hover{ transform:translateY(-4px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(45,212,191,.42), 0 26px 64px rgba(0,0,0,.5), 0 0 54px rgba(45,212,191,.16) !important; }
.tint-gold .panel:hover, .tint-maroon .panel:hover{ box-shadow:inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,214,109,.45), 0 26px 64px rgba(0,0,0,.5), 0 0 54px rgba(255,214,109,.18) !important; }
.tint-gold .panel::before, .tint-maroon .panel::before{ background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), rgba(255,214,109,.95), rgba(255,255,255,.55), transparent); }
@media (prefers-reduced-motion: reduce){ .panel::after{ display:none; } }
/* Touch devices: no backdrop blur (compositing killer on phones). A slightly
   darker base gradient keeps the glass contrast without the live blur.
   Section gradient drift (bandFlow) also stops — it repaints the whole band
   every frame and is the bulk of the non-composited animation cost. */
@media (pointer: coarse), (max-width:820px){
  .panel{ -webkit-backdrop-filter:none; backdrop-filter:none;
    background:linear-gradient(180deg, rgba(30,22,52,.78), rgba(14,10,28,.82)) !important; }
  section[class*="tint-"]{ animation:none; }
  /* SVG map pulses repaint every frame — freeze them on phones */
  .pulse-major, .pulse-mid, .pulse-regional, .campus-ring1, .campus-ring2{ animation:none; }
}

/* sliced glossy icons */
.ic-img{ width:100%; height:100%; object-fit:contain; display:block; filter:drop-shadow(0 5px 12px rgba(0,0,0,.45)); }
.badge:has(.ic-img), .feat-ico:has(.ic-img), .e-ico:has(.ic-img), .seal:has(.ic-img){ background:none !important; box-shadow:none !important; }
.feat-ico:has(.ic-img){ width:50px; height:50px; }
.e-ico:has(.ic-img){ width:44px; height:44px; }
.skull-orb .ic-img, .seal .ic-img{ filter:drop-shadow(0 0 18px rgba(255,214,109,.4)); }
.social-ico{ position:relative; overflow:hidden; }
.social-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; }

/* keep the purple identity in the HERO only */
.hero-overlay .violet-text{ background-image:linear-gradient(180deg,#ffffff 0%,#b58bff 46%,#c061e0 100%) !important; -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-overlay .tagline{ color:#b58bff !important; text-shadow:0 2px 18px rgba(0,0,0,.5); }

/* ============ ALL PLAYERS WELCOME ============ */
.player-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.player-card{ display:block; text-align:center; padding:26px 18px 24px; border-radius:18px; position:relative;
  background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow:inset 0 0 0 1px var(--line), 0 14px 36px rgba(0,0,0,.4);
  transition:transform .3s, box-shadow .3s; color:inherit; text-decoration:none; }
.player-card:hover{ transform:translateY(-6px); box-shadow:inset 0 0 0 1px rgba(246,185,59,.45), 0 22px 50px rgba(0,0,0,.5), 0 0 40px rgba(246,185,59,.18); }
.player-card img{ height:120px; width:auto; max-width:88%; margin:0 auto 16px; display:block; object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.45)) drop-shadow(0 0 24px rgba(246,185,59,.35));
  transition:transform .3s, filter .3s; }
.player-card:hover img{ transform:scale(1.07);
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.45)) drop-shadow(0 0 34px rgba(246,185,59,.55)); }
.player-card h3{ font-family:var(--serif); font-size:17px; margin:0 0 8px; color:var(--gold-3); letter-spacing:.02em; }
.player-card p{ font-size:13.5px; line-height:1.5; color:var(--mut); margin:0; }
.player-link{ display:inline-block; margin-top:12px; font-size:12.5px; font-weight:700; letter-spacing:.06em; color:var(--gold-3); }
@media (max-width:1100px){ .player-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:430px){ .player-grid{ grid-template-columns:1fr; } }
