/* ============================================================
   Grace Haven Music School — design system
   Style twin of trial.gracehavenmusicschool.com
   Cream · Navy · Gold — Playfair Display + Lato
   ============================================================ */

:root{
  --cream:#faf7f2; --cream-2:#f3ebdc;
  --navy:#16284f; --navy-2:#1e3568; --navy-deep:#0e1c39;
  --gold:#c9a96e; --gold-soft:#ddc492; --gold-deep:#a17f3c;
  --ink:#221e19; --ink-soft:#5d564c; --line:#e6decd; --white:#fff;
  --shadow-sm:0 1px 3px rgba(22,40,79,.06);
  --shadow-md:0 14px 40px -18px rgba(22,40,79,.28);
  --shadow-lg:0 30px 70px -30px rgba(22,40,79,.45);
  --ease:cubic-bezier(.22,1,.36,1);
  --wrap:1140px;
  --serif:"Playfair Display",Georgia,serif;
  --sans:"Lato",-apple-system,"Segoe UI",sans-serif;
}

/* ---------- reset & base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);font-weight:400;font-size:1.06rem;line-height:1.75;
  color:var(--ink);background:var(--cream);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
::selection{background:var(--gold-soft);color:var(--navy-deep)}

h1,h2,h3,.serif{font-family:var(--serif);font-weight:600;line-height:1.12;color:var(--navy-deep);text-wrap:balance}
h1 em,h2 em,h3 em,.accent{font-style:italic;font-weight:500;color:var(--gold-deep)}
.on-navy h1 em,.on-navy h2 em,.on-navy .accent{color:var(--gold-soft)}

.display{font-size:clamp(2.6rem,6vw,4.6rem);letter-spacing:-.01em}
.h2{font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.008em}
.h3{font-size:clamp(1.35rem,2.2vw,1.7rem)}
.lead{font-size:clamp(1.08rem,1.6vw,1.25rem);line-height:1.7;color:var(--ink-soft);font-weight:300;text-wrap:pretty}
p,blockquote,.feature p,.step p,.teach-body p{text-wrap:pretty}
.on-navy,.on-navy h1,.on-navy h2,.on-navy h3{color:var(--cream)}
.on-navy .lead,.on-navy p{color:rgba(250,247,242,.82)}

.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(1.25rem,4vw,2.5rem)}
section{position:relative}
.section{padding-block:clamp(4.5rem,9vw,7.5rem)}
.bg-cream{background:var(--cream)}
.bg-cream2{background:var(--cream-2)}
.bg-navy{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%)}

/* ---------- eyebrow ---------- */
.eyebrow{
  display:flex;align-items:center;gap:.85rem;
  font-size:.78rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold-deep);margin-bottom:1.35rem;
}
.eyebrow::before{content:"";width:34px;height:1px;background:var(--gold);flex:none}
.eyebrow.light{color:var(--gold-soft)}
.eyebrow.center{justify-content:center}
.section-head{max-width:720px;margin-bottom:clamp(2.5rem,5vw,4rem)}
.section-head.center{margin-inline:auto;text-align:center}
.section-head .h2{margin-bottom:1rem}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.7rem;
  font-family:var(--sans);font-size:.82rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  padding:1.05rem 1.9rem;border:1px solid transparent;cursor:pointer;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),background .25s var(--ease),color .25s var(--ease);
}
.btn .arr{transition:transform .3s var(--ease);font-weight:400}
.btn:hover .arr{transform:translateX(4px)}
.btn-gold{
  background:var(--gold);color:var(--navy-deep);
  box-shadow:0 10px 24px -10px rgba(201,169,110,.7);
}
.btn-gold:hover{transform:translateY(-2px);background:var(--gold-soft);box-shadow:0 16px 32px -12px rgba(201,169,110,.85)}
.btn-ghost{border-color:var(--navy);color:var(--navy)}
.btn-ghost:hover{background:var(--navy);color:var(--cream);transform:translateY(-2px)}
.on-navy .btn-ghost,.btn-ghost.light{border-color:rgba(250,247,242,.55);color:var(--cream)}
.on-navy .btn-ghost:hover,.btn-ghost.light:hover{background:var(--cream);color:var(--navy-deep)}
.btn-row{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}

/* text link */
.tlink{
  display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:.85rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--navy);
  border-bottom:1px solid var(--gold);padding-bottom:.3rem;
  transition:gap .25s var(--ease),color .25s var(--ease);
}
.tlink:hover{gap:.85rem;color:var(--gold-deep)}

/* ---------- stars ---------- */
.stars{color:var(--gold);letter-spacing:.22em;font-size:.95rem}
.star-line{display:flex;align-items:center;gap:.9rem;font-size:.92rem;color:var(--ink-soft)}
.on-navy .star-line{color:rgba(250,247,242,.75)}

/* ---------- staff rule (signature) ---------- */
.staff-rule{
  position:relative;height:44px;max-width:min(520px,72vw);margin:0 auto;
  display:flex;flex-direction:column;justify-content:space-between;padding-block:8px;
}
.staff-rule span{height:1px;background:var(--line)}
.staff-rule::after{
  content:"♪";position:absolute;top:50%;left:50%;transform:translate(-50%,-56%);
  font-size:1.35rem;color:var(--gold);background:inherit;
  padding-inline:.9rem;line-height:1;
}
.staff-rule.on-cream::after{background:var(--cream)}
.staff-rule.on-cream2::after{background:var(--cream-2)}

/* ---------- navbar ---------- */
.navbar{
  position:fixed;inset:0 0 auto 0;z-index:80;
  transition:background .35s var(--ease),box-shadow .35s var(--ease),padding .35s var(--ease);
  padding-block:1.15rem;
}
.navbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;max-width:1280px}
.navbar.scrolled{background:rgba(250,247,242,.96);backdrop-filter:blur(8px);box-shadow:var(--shadow-sm);padding-block:.65rem}
.brand{display:flex;align-items:center;gap:.75rem}
.brand-mark{
  width:38px;height:38px;border:1px solid var(--gold);border-radius:50%;
  display:grid;place-items:center;font-family:var(--serif);font-style:italic;
  font-size:1.15rem;color:var(--gold);flex:none;transition:color .3s,border-color .3s;
}
.brand-name{font-family:var(--serif);font-size:1.08rem;letter-spacing:.02em;color:var(--cream);white-space:nowrap;transition:color .3s}
.navbar.scrolled .brand-name,.navbar.solid .brand-name{color:var(--navy-deep)}
.navbar.scrolled .brand-mark,.navbar.solid .brand-mark{color:var(--gold-deep);border-color:var(--gold-deep)}

.nav-links{display:flex;align-items:center;gap:clamp(.6rem,1.2vw,1.1rem)}
.nav-links>li{position:relative}
.nav-links a:not(.btn){
  font-size:.75rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:rgba(250,247,242,.85);padding-block:.5rem;transition:color .25s;
  border-bottom:1px solid transparent;
  /* never break a label across two lines — with 9 items the nav was wrapping
     "Our Instructors" and "Privacy Policy" mid-phrase */
  white-space:nowrap;
}
.navbar.scrolled .nav-links a:not(.btn),.navbar.solid .nav-links a:not(.btn){color:var(--navy)}
.nav-links a:not(.btn):hover{color:var(--gold)}
.nav-links a.active{border-bottom-color:var(--gold);color:var(--gold)}
.navbar.scrolled .nav-links a.active,.navbar.solid .nav-links a.active{color:var(--gold-deep);border-bottom-color:var(--gold-deep)}
.nav-cta{padding:.75rem 1.4rem !important;font-size:.75rem !important}
.nav-login{display:inline-flex;align-items:center;gap:.4rem}
.nav-login svg{width:15px;height:15px;opacity:.85}

/* dropdown */
.has-drop>a::after{content:" ▾";font-size:.7em}
.drop{
  position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%,8px);
  min-width:220px;background:var(--white);box-shadow:var(--shadow-md);
  border-top:2px solid var(--gold);padding:.6rem 0;
  opacity:0;visibility:hidden;transition:opacity .3s var(--ease),transform .3s var(--ease),visibility .3s;
}
.has-drop:hover .drop,.has-drop:focus-within .drop{opacity:1;visibility:visible;transform:translate(-50%,0)}
.drop a{
  display:block;padding:.55rem 1.4rem;font-size:.78rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--navy) !important;
}
.drop a:hover{background:var(--cream-2);color:var(--gold-deep) !important}
.drop .drop-all{border-top:1px solid var(--line);margin-top:.5rem;padding-top:.85rem;color:var(--gold-deep) !important}

/* mobile nav */
.nav-burger{
  display:none;width:44px;height:44px;flex-direction:column;justify-content:center;
  align-items:center;gap:6px;background:none;border:0;cursor:pointer;z-index:95;
}
.nav-burger span{width:26px;height:2px;background:var(--cream);transition:all .35s var(--ease)}
.navbar.scrolled .nav-burger span,.navbar.solid .nav-burger span{background:var(--navy-deep)}
body.nav-open .nav-burger span{background:var(--cream)}
body.nav-open .nav-burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.nav-open .nav-burger span:nth-child(2){opacity:0}
body.nav-open .nav-burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

@media (max-width:1320px){
  .nav-burger{display:flex}
  .nav-links{
    position:fixed;inset:0;flex-direction:column;justify-content:center;gap:1.6rem;
    background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%);
    opacity:0;visibility:hidden;transition:opacity .4s var(--ease),visibility .4s;z-index:90;
  }
  body.nav-open .nav-links{opacity:1;visibility:visible}
  body.nav-open{overflow:hidden}
  .nav-links a:not(.btn){color:var(--cream) !important;font-size:1rem}
  .drop{position:static;transform:none;opacity:1;visibility:visible;background:none;
    box-shadow:none;border:0;padding:.4rem 0 0;text-align:center;display:none}
  .has-drop.open .drop{display:block}
  .drop a{color:var(--gold-soft) !important;font-size:.85rem;padding:.4rem}
}

/* ---------- hero ---------- */
.hero{
  position:relative;min-height:92vh;display:flex;align-items:center;
  background:var(--navy-deep);overflow:hidden;
  padding-block:clamp(7rem,14vh,9rem) clamp(4rem,8vh,6rem);
}
.hero.short{min-height:64vh}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-scrim{
  position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(14,28,57,.94) 0%,rgba(14,28,57,.72) 42%,rgba(14,28,57,.28) 78%,rgba(14,28,57,.15) 100%);
}
.hero .wrap{position:relative;z-index:2;width:100%}
.hero-copy{max-width:640px}
.hero-copy .display{color:var(--cream);margin-bottom:1.5rem}
.hero-copy .lead{color:rgba(250,247,242,.85);max-width:520px;margin-bottom:2.2rem}
.hero-stat{margin:-1.2rem 0 2.1rem;max-width:520px;font-size:.98rem;line-height:1.55;color:rgba(250,247,242,.8);border-left:2px solid var(--gold);padding-left:.95rem}
.hero-stat strong{color:var(--gold-soft);font-weight:700}
.hero .star-line{margin-top:2rem}
.hero .star-line span{color:rgba(250,247,242,.75)}
.hero .star-line .stars{color:var(--gold)}

/* ambient notes */
.notes{position:absolute;inset:0;pointer-events:none;z-index:1}
.notes i{
  position:absolute;font-style:normal;color:rgba(201,169,110,.4);
  font-size:1.3rem;top:-12%;animation:floatNote 14s linear infinite;
}
.notes i:nth-child(2){animation-duration:18s;animation-delay:-6s;font-size:1rem}
.notes i:nth-child(3){animation-duration:22s;animation-delay:-11s;font-size:1.6rem}
.notes i:nth-child(4){animation-duration:16s;animation-delay:-3s;font-size:.9rem}
@keyframes floatNote{
  0%{top:-12%;transform:rotate(-8deg);opacity:0}
  8%{opacity:1}88%{opacity:1}
  100%{top:106%;transform:rotate(10deg);opacity:0}
}

/* scroll cue */
.scroll-cue{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);z-index:2;
  display:flex;flex-direction:column;align-items:center;
}
.scroll-cue::after{
  content:"";width:1px;height:44px;
  background:linear-gradient(to bottom,var(--gold),transparent);
  animation:pulseLine 2s var(--ease) infinite;
}
@keyframes pulseLine{0%,100%{opacity:.35;transform:scaleY(.7)}50%{opacity:1;transform:scaleY(1)}}

/* ---------- trust strip ---------- */
.trust-strip{border-block:1px solid var(--line);background:var(--cream)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.trust-item{
  padding:2.2rem 1.5rem;text-align:center;
  border-left:1px solid var(--line);
}
.trust-item:first-child{border-left:0}
.trust-num{font-family:var(--serif);font-size:clamp(1.9rem,3vw,2.6rem);color:var(--navy-deep);line-height:1.1}
.trust-num em{color:var(--gold-deep);font-style:italic}
.trust-label{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);margin-top:.45rem}
@media (max-width:760px){
  .trust-grid{grid-template-columns:1fr 1fr}
  .trust-item:nth-child(3){border-left:0}
  .trust-item{border-top:1px solid var(--line)}
  .trust-item:nth-child(-n+2){border-top:0}
}

/* ---------- instruments offered ---------- */
.inst-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.inst-item{padding:clamp(2rem,4vw,3rem) .75rem;text-align:center;border-left:1px solid var(--line);transition:background .35s var(--ease)}
.inst-item:nth-child(4n+1){border-left:0}
.inst-item:nth-child(n+5){border-top:1px solid var(--line)}
/* 7 instruments in a 4-wide grid leaves one empty cell; the last tile takes it
   so the second row reads as a complete row rather than a gap */
.inst-grid > :last-child:nth-child(7){grid-column:span 2}
.inst-item:hover{background:var(--cream-2)}
.inst-num{display:block;font-family:var(--serif);font-style:italic;font-size:.95rem;color:var(--gold-deep);margin-bottom:.5rem}
.inst-name{font-family:var(--serif);font-size:clamp(1.35rem,2.4vw,2rem);color:var(--navy-deep);line-height:1.1}
.bg-cream2 .inst-item:hover{background:var(--cream)}
a.inst-item{display:block;cursor:pointer}
a.inst-item:hover .inst-name{color:var(--gold-deep)}
a.inst-item:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
@media (max-width:860px){
  .inst-grid{grid-template-columns:1fr 1fr}
  .inst-item{border-top:1px solid var(--line)}
  /* restore at equal specificity first — the 3-column rule above would otherwise
     strip the divider from the 4th tile, which sits in the RIGHT column here */
  .inst-item:nth-child(4n+1){border-left:1px solid var(--line)}
  .inst-item:nth-child(odd){border-left:0}
  .inst-item:nth-child(-n+2){border-top:0}
}

/* ---------- editorial split ---------- */
.split{display:grid;grid-template-columns:7fr 5fr;gap:clamp(2.5rem,6vw,5.5rem);align-items:center}
.split.flip{grid-template-columns:5fr 7fr}
.split.flip .split-media{order:-1}
@media (max-width:860px){
  .split,.split.flip{grid-template-columns:1fr}
  .split.flip .split-media{order:0}
}

.split-media{position:relative}
.frame{
  position:relative;box-shadow:var(--shadow-lg);
  border:2px solid var(--navy);border-radius:5px;
}
.frame img{width:100%;height:100%;object-fit:cover;border-radius:3px}
/* inner gold hairline, painted over the image edge */
.frame::before{
  content:"";position:absolute;inset:0;border:1px solid var(--gold);
  border-radius:3px;pointer-events:none;z-index:2;
}
.frame::after{
  content:"";position:absolute;inset:0;border:1px solid var(--gold);
  border-radius:5px;transform:translate(14px,14px);pointer-events:none;
  transition:transform .5s var(--ease);z-index:-1;
}
.frame:hover::after{transform:translate(8px,8px)}
/* on navy sections the navy edge would disappear — flip the pairing */
.on-navy .frame{border-color:var(--gold)}
.on-navy .frame::before{border-color:rgba(14,28,57,.85)}
.frame-tall{aspect-ratio:4/5}
.frame-wide{aspect-ratio:3/2}
.frame-box{aspect-ratio:4/3}
.frame-video{aspect-ratio:9/16;max-width:400px;margin-inline:auto}
/* landscape sibling of .frame-video, for the parent testimonial. Deliberately NOT
   autoplayed: it is someone speaking, and a muted autoplay would lose the words. */
.frame-video-wide{aspect-ratio:16/9;max-width:900px;margin-inline:auto}
.frame-video-wide iframe{width:100%;height:100%;border:0;display:block;border-radius:3px}
.frame-video iframe{width:100%;height:100%;border:0;display:block;border-radius:3px}
@media (max-width:860px){.frame-video{max-width:300px}}

/* floating caption card on images */
.media-card{
  position:absolute;bottom:-1.6rem;left:-1.6rem;background:var(--white);
  box-shadow:var(--shadow-md);padding:1.2rem 1.5rem;max-width:270px;
  /* must sit above .frame::before (z-index:2). .frame is position:relative with
     z-index:auto, so it makes no stacking context and its gold hairline would
     otherwise paint straight across this card. */
  z-index:3;
}
.media-card .stars{font-size:.8rem}
.media-card p{font-size:.86rem;line-height:1.5;color:var(--ink-soft);margin-top:.4rem}
@media (max-width:860px){.media-card{left:1rem;bottom:-1.4rem}}

/* feature list (why parents trust) */
.features{display:grid;gap:2rem}
.feature{display:flex;gap:1.4rem;align-items:flex-start}
.features-plain{gap:1.6rem}
.features-plain .feature{border-left:2px solid var(--gold-soft);padding-left:1.1rem}
.feature-ico{
  flex:none;width:52px;height:52px;border:1px solid var(--gold);
  display:grid;place-items:center;color:var(--gold-deep);
  transition:background .3s var(--ease),color .3s var(--ease);
}
.feature:hover .feature-ico{background:var(--gold);color:var(--navy-deep)}
.feature-ico svg{width:24px;height:24px}
.feature h3{font-size:1.22rem;margin-bottom:.35rem}
.feature p{color:var(--ink-soft);font-size:.98rem;line-height:1.65}

/* ---------- program index rows ---------- */
.prog-rows{border-top:1px solid var(--line)}
.prog-row{
  display:grid;grid-template-columns:80px 1fr auto;align-items:center;
  gap:clamp(1rem,4vw,3rem);padding:1.9rem .5rem;border-bottom:1px solid var(--line);
  position:relative;transition:background .35s var(--ease),padding-left .35s var(--ease);
}
.prog-row:hover{background:var(--cream-2);padding-left:1.4rem}
.prog-num{font-family:var(--serif);font-style:italic;font-size:1.05rem;color:var(--gold-deep)}
.prog-name{font-family:var(--serif);font-size:clamp(1.7rem,3.4vw,2.5rem);color:var(--navy-deep);line-height:1.1;transition:color .3s}
.prog-row:hover .prog-name{color:var(--navy-2)}
.prog-meta{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-top:.3rem}
.prog-go{
  width:52px;height:52px;border:1px solid var(--navy);display:grid;place-items:center;
  color:var(--navy);font-size:1.2rem;transition:all .3s var(--ease);
}
.prog-row:hover .prog-go{background:var(--navy);color:var(--gold-soft);transform:translateX(4px)}
.prog-thumb{
  position:absolute;right:110px;top:50%;transform:translateY(-50%) scale(.92);
  width:190px;aspect-ratio:3/2;object-fit:cover;opacity:0;border:2px solid var(--navy);border-radius:5px;
  box-shadow:var(--shadow-lg);transition:opacity .4s var(--ease),transform .4s var(--ease);
  pointer-events:none;z-index:3;
}
.prog-row:hover .prog-thumb{opacity:1;transform:translateY(-50%) scale(1) rotate(-1.5deg)}
@media (max-width:860px){
  .prog-thumb{display:none}
  .prog-row{grid-template-columns:48px 1fr auto}
}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,2.8rem)}
.step{position:relative;padding-top:1.6rem}
.step::before{content:"";position:absolute;top:0;left:0;width:44px;height:2px;background:var(--gold)}
.step-num{
  font-size:.78rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--gold-deep);display:block;margin-bottom:.8rem;
}
.on-navy .step-num{color:var(--gold-soft)}
.step h3{font-size:1.35rem;margin-bottom:.6rem}
.step p{font-size:.98rem;color:var(--ink-soft)}
.on-navy .step p{color:rgba(250,247,242,.78)}
@media (max-width:760px){.steps{grid-template-columns:1fr}}

/* ---------- quote / testimonials ---------- */
.quote-mark{
  font-family:var(--serif);font-size:3.4rem;line-height:1;color:var(--gold-soft);
  display:block;height:1.5rem;margin:1.6rem 0 .2rem;overflow:visible;
}
blockquote{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2vw,1.5rem);line-height:1.55;color:var(--navy-2)}
.on-navy blockquote{color:var(--cream)}
.quote-by{margin-top:1.2rem;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.on-navy .quote-by{color:var(--gold-soft)}

.t-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;align-items:start}
.t-card{
  background:var(--white);padding:2.1rem 1.9rem;box-shadow:var(--shadow-sm);
  border-top:2px solid var(--gold);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.t-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.t-card .stars{font-size:.78rem;margin-bottom:1rem}
.t-card p{font-size:.97rem;line-height:1.7;color:var(--ink)}
.t-card .quote-by{margin-top:1.1rem}
.t-card.featured{background:var(--navy);border-top-color:var(--gold)}
.t-card.featured p{color:rgba(250,247,242,.9);font-family:var(--serif);font-style:italic;font-size:1.12rem}
.t-card.featured .quote-by{color:var(--gold-soft)}
@media (max-width:860px){.t-grid{grid-template-columns:1fr}}

/* ---------- founder / bio ---------- */
.sig{font-family:var(--serif);font-style:italic;font-size:1.5rem;color:var(--gold-deep);margin-top:1.6rem}
.founder-role{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);margin-top:.3rem}

/* ---------- teacher cards ---------- */
.teach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem 1.8rem}
.teach-card{background:var(--white);box-shadow:var(--shadow-sm);transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.teach-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.teach-photo{aspect-ratio:4/4.6;overflow:hidden;position:relative;border:2px solid var(--navy);border-radius:5px}
.teach-photo::after{
  content:"";position:absolute;inset:0;border:1px solid var(--gold);
  border-radius:3px;pointer-events:none;z-index:2;
}
.teach-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .6s var(--ease)}
.teach-card:hover .teach-photo img{transform:scale(1.04)}
.teach-photo.mono{
  background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%);
  display:grid;place-items:center;
}
.teach-photo.mono span{
  font-family:var(--serif);font-style:italic;font-size:4.5rem;color:var(--gold);
  border:1px solid rgba(201,169,110,.45);border-radius:50%;width:120px;height:120px;
  display:grid;place-items:center;line-height:1;
}
.teach-body{padding:1.6rem 1.6rem 1.9rem}
.teach-body h3{font-size:1.4rem}
.teach-inst{font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);margin:.35rem 0 .85rem}
.teach-body p{font-size:.93rem;line-height:1.65;color:var(--ink-soft)}
@media (max-width:980px){.teach-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.teach-grid{grid-template-columns:1fr}}

/* ---------- pricing ---------- */
.offer-band{
  display:grid;grid-template-columns:1.1fr .9fr;background:var(--navy);
  box-shadow:var(--shadow-lg);overflow:hidden;
}
.offer-copy{padding:clamp(2.2rem,5vw,3.5rem)}
.offer-media{position:relative;min-height:280px}
.offer-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:2px solid var(--navy);border-radius:5px}
.price-strike{color:rgba(250,247,242,.5);text-decoration:line-through;font-size:1.3rem;margin-right:.6rem}
.price-big{font-family:var(--serif);font-size:clamp(3rem,6vw,4.2rem);color:var(--gold);line-height:1}
.offer-tag{
  display:inline-block;background:var(--gold);color:var(--navy-deep);
  font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  padding:.35rem .8rem;margin-left:.9rem;vertical-align:middle;
}
.price-fine{font-size:.8rem;letter-spacing:.02em;color:rgba(250,247,242,.62);margin-top:-.4rem;margin-bottom:1.6rem}
.price-fine::before{content:"";display:inline-block;width:14px;height:1px;background:var(--gold-soft);vertical-align:middle;margin-right:.55rem}
@media (max-width:860px){.offer-band{grid-template-columns:1fr}}

.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;align-items:stretch}
.price-card{
  background:var(--white);border:1px solid var(--line);padding:2.4rem 2.1rem;
  display:flex;flex-direction:column;gap:0;position:relative;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.price-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.price-card.hot{background:var(--navy);border-color:var(--navy)}
.price-card.hot h3,.price-card.hot .price-amt{color:var(--cream)}
.price-card.hot li,.price-card.hot .price-per,.price-card.hot .price-note{color:rgba(250,247,242,.8)}
.hot-tag{
  position:absolute;top:0;left:50%;transform:translate(-50%,-50%);
  background:var(--gold);color:var(--navy-deep);font-size:.68rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;padding:.4rem 1rem;white-space:nowrap;
}
.price-len{font-size:.78rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-deep);margin-bottom:.7rem}
.price-card h3{font-size:1.45rem;margin-bottom:1.1rem}
.price-amt{font-family:var(--serif);font-size:2.7rem;color:var(--navy-deep);line-height:1}
.price-per{font-size:.85rem;color:var(--ink-soft);margin-bottom:1.3rem}
.price-card ul{display:grid;gap:.55rem;margin-bottom:1.8rem;padding-top:1.3rem;border-top:1px solid var(--line)}
.price-card.hot ul{border-top-color:rgba(250,247,242,.18)}
.price-card li{font-size:.92rem;color:var(--ink-soft);display:flex;gap:.6rem;align-items:baseline}
.price-card li::before{content:"✓";color:var(--gold-deep);font-weight:700;flex:none}
.price-card.hot li::before{color:var(--gold)}
.price-card .btn{margin-top:auto;width:100%}
.price-note{font-size:.85rem;color:var(--ink-soft)}
@media (max-width:920px){.price-grid{grid-template-columns:1fr}.price-card.hot{order:-1}}

/* ---------- FAQ ---------- */
.faq{max-width:760px;margin-inline:auto;border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  cursor:pointer;list-style:none;display:flex;justify-content:space-between;
  align-items:baseline;gap:1.5rem;padding:1.45rem .25rem;
  font-family:var(--serif);font-size:1.18rem;color:var(--navy-deep);
  transition:color .25s;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--gold-deep)}
.faq summary::after{
  content:"+";font-family:var(--sans);font-size:1.3rem;color:var(--gold-deep);
  flex:none;transition:transform .3s var(--ease);line-height:1;
}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 .25rem 1.5rem;color:var(--ink-soft);font-size:.98rem;max-width:640px}

/* ---------- confirmation pages ---------- */
.thanks{padding-block:clamp(5rem,10vw,8rem)}
.thanks-card{
  max-width:760px;margin-inline:auto;text-align:center;background:var(--white);
  border-top:3px solid var(--gold);box-shadow:var(--shadow-lg);
  padding:clamp(2.2rem,5vw,3.6rem);
}
.thanks-mark{
  display:grid;place-items:center;width:58px;height:58px;margin:0 auto 1.4rem;
  border:1px solid var(--gold);border-radius:50%;color:var(--gold-deep);
  font-size:1.5rem;line-height:1;
}
.thanks-card .eyebrow{justify-content:center}
.thanks-card .lead{margin-top:1rem}
.thanks-steps{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;
  text-align:left;margin-top:2.8rem;padding-top:2.4rem;border-top:1px solid var(--line);
}
.thanks-steps .step h3{font-size:1.1rem;margin-bottom:.35rem}
.thanks-steps .step p{font-size:.94rem;color:var(--ink-soft);line-height:1.6}
.thanks-phone{margin-top:2.4rem;font-size:.95rem;color:var(--ink-soft)}
.thanks-phone a{color:var(--gold-deep);border-bottom:1px solid var(--gold)}
@media (max-width:760px){.thanks-steps{grid-template-columns:1fr;gap:1.4rem}}

/* ---------- trial request form (book-a-trial) ---------- */
.trial-form{max-width:none;box-shadow:var(--shadow-md)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.ap-form select{
  width:100%;font-family:inherit;font-size:1rem;color:var(--ink);background:var(--cream);
  border:1px solid var(--line);border-radius:3px;padding:.8rem 2.4rem .8rem .9rem;
  appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23a17f3c' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .9rem center;background-size:12px;
}
.ap-form select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,169,110,.25);background-color:var(--white)}
.opt.consent{align-items:flex-start;font-size:.86rem;line-height:1.55;color:var(--ink-soft);margin-top:.4rem}
.opt.consent a{color:var(--gold-deep);border-bottom:1px solid var(--gold)}
@media (max-width:560px){.field-row{grid-template-columns:1fr;gap:0}}

/* ---------- live Google review widget (HighLevel) ----------
   The widget is a cross-origin iframe, so none of this reaches inside it — its
   colours and font are set in HighLevel's widget editor. What we control is the
   framing: width, rhythm, and a min-height so the page doesn't jump while the
   widget's own script measures and resizes it. */
.gh-reviews{margin-top:3.4rem}
/* when the widget leads the section (no static cards above it) it needs less air */
.gh-reviews-lead{margin-top:.5rem}
.gh-reviews-label{
  text-align:center;font-size:.78rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gold-deep);margin-bottom:1.4rem;
}
.gh-reviews iframe{
  display:block;width:100%;border:0;background:transparent;
  min-height:340px;   /* it paints short, then its script grows it */
}
@media (max-width:700px){.gh-reviews iframe{min-height:460px}}

/* ---------- teacher application form ---------- */
.ap-form{
  max-width:760px;margin-inline:auto;background:var(--white);
  box-shadow:var(--shadow-lg);border-top:3px solid var(--gold);
  padding:clamp(1.5rem,4vw,2.6rem);
}
/* honeypot: off-screen rather than display:none so bots still fill it */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.ap-form .field{border:0;padding:0;margin:0 0 1.9rem;min-width:0}
.flabel{
  display:block;font-size:.78rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--gold-deep);margin-bottom:.55rem;padding:0;
}
.flabel.sub{margin-top:1.1rem}
.req{color:var(--gold-deep)}
.fhint{font-size:.88rem;color:var(--ink-soft);margin:-.15rem 0 .6rem}
.fhint a{color:var(--gold-deep);border-bottom:1px solid var(--gold)}
.ap-form input[type=text],.ap-form input[type=email],
.ap-form input[type=tel],.ap-form textarea{
  width:100%;font-family:inherit;font-size:1rem;line-height:1.5;color:var(--ink);
  background:var(--cream);border:1px solid var(--line);border-radius:3px;
  padding:.8rem .9rem;transition:border-color .2s var(--ease),box-shadow .2s var(--ease);
}
.ap-form input:focus,.ap-form textarea:focus{
  outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,169,110,.25);background:var(--white);
}
.ap-form textarea{resize:vertical;min-height:112px}
.opts{display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.opt{
  display:flex;align-items:flex-start;gap:.65rem;cursor:pointer;
  font-size:.97rem;line-height:1.45;padding:.6rem .75rem;
  background:var(--cream);border:1px solid var(--line);border-radius:3px;
  transition:border-color .2s var(--ease),background .2s var(--ease);
}
.opt:hover{border-color:var(--gold-soft)}
.opt input{flex:none;margin-top:.22rem;accent-color:var(--gold-deep)}
.opt:has(input:checked){border-color:var(--gold);background:var(--white)}
.ap-form .field.invalid input:not([type=checkbox]):not([type=radio]),
.ap-form .field.invalid textarea{border-color:#b4453c;background:#fdf7f6}
.ap-form .field.invalid .flabel{color:#b4453c}
.ap-error{
  margin-top:1.4rem;padding:.9rem 1.1rem;border-left:3px solid #b4453c;
  background:#fdf7f6;color:#8d332c;font-size:.95rem;
}
.ap-done{text-align:center;max-width:660px;margin-inline:auto}
.ap-done .eyebrow{justify-content:center}
.ap-done .lead{margin-top:1rem}
.ap-done a[href^="tel"]{color:var(--gold-deep);border-bottom:1px solid var(--gold)}
@media (max-width:560px){.opts{grid-template-columns:1fr}}

/* ---------- CTA band ---------- */
.cta-band{position:relative;overflow:hidden}
.cta-band .wrap{position:relative;z-index:2;text-align:center;max-width:820px}
.cta-band .h2{color:var(--cream);margin-bottom:1.1rem}
.cta-band .lead{margin-inline:auto;margin-bottom:2.4rem}
.cta-phone{margin-top:1.8rem;font-size:.95rem;color:rgba(250,247,242,.75)}
.cta-phone a{color:var(--gold-soft);border-bottom:1px solid rgba(221,196,146,.4);transition:color .25s}
.cta-phone a:hover{color:var(--gold)}

/* ---------- areas ---------- */
/* ---------- service-area map ---------- */
.areamap{margin:0}
.areamap svg{width:100%;height:auto;display:block}
.am-county path{fill:var(--cream-2);stroke:var(--navy);stroke-width:1.1;stroke-opacity:.30;fill-opacity:.6}
.am-water path{fill:none;stroke:var(--navy);stroke-width:2.6;stroke-opacity:.28;stroke-linecap:round;stroke-linejoin:round}
.am-cover{fill:var(--gold);opacity:.16}
.am-pin-body{fill:var(--gold);stroke:var(--navy-deep);stroke-width:1.3;stroke-linejoin:round}
.am-pin-note{fill:var(--navy-deep);font-family:var(--sans);font-size:15px;font-weight:700;text-anchor:middle}
.am-label{fill:var(--navy-deep);font-family:var(--sans);font-size:17px;font-weight:700;letter-spacing:.01em}
.am-compass path{fill:var(--gold-deep)}
.am-compass text{fill:var(--ink-soft);font-family:var(--sans);font-size:13px;letter-spacing:.14em;text-anchor:middle}
@media (max-width:860px){.am-label{font-size:20px}.am-pin-note{font-size:17px}}

.area-list{display:grid;gap:0;border-top:1px solid var(--line)}
.area-list li{
  display:flex;align-items:baseline;gap:1.1rem;padding:1.05rem .25rem;
  border-bottom:1px solid var(--line);font-family:var(--serif);
  font-size:clamp(1.25rem,2vw,1.6rem);color:var(--navy-2);
}
.area-list li::before{content:"♪";font-size:.85rem;color:var(--gold)}
.area-list .area-note{font-family:var(--sans);font-size:.82rem;color:var(--ink-soft);margin-left:auto;letter-spacing:.08em;text-transform:uppercase}

/* ---------- footer ---------- */
.footer{background:var(--navy-deep);color:rgba(250,247,242,.75);padding:0 0 2.5rem}
.footer-staff{display:flex;flex-direction:column;gap:9px;padding-block:2.6rem;opacity:.35}
.footer-staff span{height:1px;background:rgba(201,169,110,.5)}
.footer-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:2.5rem;
  padding-bottom:3rem;border-bottom:1px solid rgba(250,247,242,.12);
}
.footer .brand-name{color:var(--cream)}
.footer .brand-mark{color:var(--gold);border-color:var(--gold)}
.footer-tag{margin-top:1.1rem;font-size:.92rem;line-height:1.7;max-width:300px;color:rgba(250,247,242,.6)}
.footer h4{
  font-family:var(--sans);font-size:.75rem;font-weight:700;letter-spacing:.2em;
  text-transform:uppercase;color:var(--gold-soft);margin-bottom:1.2rem;
}
.footer ul{display:grid;gap:.55rem}
.footer a{font-size:.93rem;color:rgba(250,247,242,.75);transition:color .25s}
.footer a:hover{color:var(--gold-soft)}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;
  padding-top:2rem;font-size:.82rem;color:rgba(250,247,242,.45);
}
.footer-legal a{color:rgba(250,247,242,.6);transition:color .25s}
.footer-legal a:hover{color:var(--gold-soft)}

/* ---------- legal pages ---------- */
.legal-head{background:linear-gradient(160deg,var(--navy) 0%,var(--navy-deep) 100%);
  color:var(--cream);text-align:center;padding:clamp(7rem,15vh,9rem) 0 clamp(2.5rem,5vw,3.5rem)}
.legal-head h1{color:var(--cream)}
.legal-head .legal-date{margin-top:.8rem;font-size:.85rem;letter-spacing:.04em;color:var(--gold-soft)}
.legal{max-width:760px;margin-inline:auto}
.legal h2{font-size:clamp(1.25rem,2.2vw,1.55rem);margin:2.4rem 0 .7rem;color:var(--navy-deep)}
.legal h3{font-family:var(--sans);font-size:.82rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--gold-deep);margin:1.5rem 0 .5rem}
.legal p{margin-bottom:1rem;color:var(--ink-soft);line-height:1.75}
.legal ul{margin:0 0 1.1rem 1.2rem;list-style:disc}
.legal li{margin-bottom:.45rem;color:var(--ink-soft);line-height:1.7}
.legal strong{color:var(--navy-deep);font-weight:700}
.legal a{color:var(--gold-deep);border-bottom:1px solid var(--gold);word-break:break-word}
.legal .legal-callout{background:var(--cream-2);border-left:3px solid var(--gold);
  padding:1.1rem 1.3rem;margin:0 0 2rem;border-radius:2px}
.legal .legal-callout p{margin:0;color:var(--ink)}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr}}

/* ---------- booking page ---------- */
.book-grid{display:grid;grid-template-columns:.82fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
.book-aside .h3{margin-bottom:1.6rem}
.book-steps{display:grid;gap:1.5rem;margin-bottom:2.2rem}
.book-assure{display:grid;gap:.75rem;margin:0 0 2rem;padding-top:1.7rem;border-top:1px solid var(--line)}
.book-assure li{display:flex;gap:.7rem;align-items:baseline;font-size:.97rem;color:var(--ink)}
.book-assure li::before{content:"✓";color:var(--gold-deep);font-weight:700;flex:none}
.book-assure strong{color:var(--navy-deep);font-weight:700}
.book-phone{font-size:.96rem;color:var(--ink-soft)}
.book-phone a{color:var(--gold-deep);border-bottom:1px solid var(--gold);white-space:nowrap}
.form-card{background:var(--white);box-shadow:var(--shadow-lg);border-top:3px solid var(--gold);padding:.5rem}
.form-label{
  font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gold-deep);padding:1rem 1.1rem .2rem;
}
.form-card iframe{display:block;width:100%;min-height:900px;border:0;border-radius:2px;background:var(--white)}
@media (max-width:900px){
  .book-grid{grid-template-columns:1fr;gap:2.5rem}
}

/* ---------- reveal (fail-visible: only hides once JS marks <html class="js">) ---------- */
html.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
html.js .reveal.in{opacity:1;transform:none}
.d1{transition-delay:.12s}.d2{transition-delay:.24s}.d3{transition-delay:.36s}

@media (max-width:640px){
  .brand-name{font-size:.95rem;white-space:nowrap}
  .scroll-cue{display:none}
  .hero{min-height:88vh}
}

/* ---------- tone game launcher ---------- */
.tone-fab{
  position:fixed;left:1.25rem;bottom:1.25rem;z-index:60;
  display:inline-flex;align-items:center;gap:.55rem;
  padding:.72rem 1.05rem;border-radius:999px;
  background:var(--navy-deep);color:var(--cream);
  border:1px solid rgba(201,169,110,.55);
  box-shadow:var(--shadow-lg);
  font-size:.86rem;letter-spacing:.02em;line-height:1;
  text-decoration:none;transition:transform .25s var(--ease),background .25s,border-color .25s;
}
.tone-fab:hover{transform:translateY(-2px);background:var(--navy);border-color:var(--gold)}
.tone-fab-ico{color:var(--gold);font-size:1.05rem;line-height:1}
@media (max-width:560px){
  /* Shrink to the mark alone so it never crowds the chat bubble on a phone. */
  .tone-fab{padding:.7rem;gap:0}
  .tone-fab-label{display:none}
}
@media print{.tone-fab{display:none}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
  .reveal{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
