:root{
--red:#981F24;--red-dark:#741419;--black:#171616;--ink:#25201d;--muted:#746b63;--cream:#F2D0A0;--paper:#FFF9F0;--line:#dedbd5;
--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;--radius:20px;--shadow:0 20px 60px rgba(17,18,20,.10)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--sans);background:var(--paper);line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(1160px,calc(100% - 40px));margin:auto}
.topbar{background:var(--red);color:#fff;font-size:13px}.topbar-inner{min-height:40px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;text-align:center;padding:7px 0}.topbar-tag{background:rgba(255,255,255,.18);font-weight:700;font-size:10px;letter-spacing:.08em;padding:3px 10px;border-radius:999px;text-transform:uppercase;flex:0 0 auto}.topbar-msg{font-weight:500}.topbar-msg strong{font-weight:700}.topbar-link{font-weight:700;color:var(--cream);border-bottom:1px solid rgba(242,208,160,.5);flex:0 0 auto}.topbar-link:hover{color:#fff;border-color:#fff}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);box-shadow:0 1px 0 rgba(0,0,0,.06)}.nav{height:82px;display:flex;align-items:center;justify-content:space-between}.brand img{width:176px;height:auto}.nav-links{display:flex;align-items:center;gap:25px;font-size:14px;font-weight:600}.nav-links a:not(.nav-cta){position:relative}.nav-links a:not(.nav-cta):after{content:"";position:absolute;left:0;bottom:-9px;width:0;height:2px;background:var(--red);transition:.25s}.nav-links a:hover:after,.nav-links .active:after{width:100%}.nav-cta{background:var(--red);color:#fff;padding:11px 19px;border-radius:999px}.nav-cta:hover{background:var(--red-dark)}.menu-toggle{display:none;border:0;background:none;font-size:27px}
.hero{background:linear-gradient(120deg,#fff9ed 0%,#f6d3a5 58%,#efbd83 100%);min-height:650px;display:flex;align-items:center;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(165,31,42,.13);border-radius:50%;right:-170px;top:-150px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:center;padding:70px 0}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--red);display:flex;align-items:center;gap:8px;margin-bottom:17px}.eyebrow span{display:inline-block;font-size:15px;line-height:1;font-weight:700}.eyebrow span:first-child::before{content:"\203A"}.eyebrow.light{color:#e6b0b5}.hero h1,.page-hero h1{font:800 clamp(48px,6vw,78px)/1.03 var(--serif);letter-spacing:-.045em;margin:0 0 22px;color:var(--black)}h1 em,h2 em{color:var(--red);font-style:normal}.hero h1 strong{font-weight:800}.lead{font-size:18px;max-width:580px;color:#595b60}.hero-actions{display:flex;gap:12px;margin:32px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:13px 21px;border-radius:999px;font-weight:700;font-size:14px;border:1px solid transparent;cursor:pointer;transition:.2s}.btn-primary{background:var(--red);color:#fff}.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px)}.btn-dark{background:var(--black);color:#fff}.btn-dark:hover{background:#292a2c}.btn-ghost{border-color:#bfc0c2;background:#fff}.btn-light{background:#fff;color:var(--black)}.btn-white{background:#fff;color:var(--black)}.hero-proof{display:flex;align-items:center;gap:14px;margin-top:28px;font-size:13px}.hero-proof small{display:block;color:var(--muted);font-size:12px}.avatars{display:flex}.avatars span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--black);color:#fff;border:3px solid #f7f3ed;margin-left:-7px}.avatars span:first-child{margin-left:0;background:var(--red)}
.hero-art{min-height:440px;position:relative;display:grid;place-items:center}.art-card{width:min(430px,100%);height:450px;background:var(--black);border-radius:28px;position:relative;overflow:hidden;box-shadow:var(--shadow);transform:rotate(2deg)}.art-card:before{content:"";position:absolute;inset:30px;border:1px solid rgba(255,255,255,.13);border-radius:20px}.art-top{position:absolute;top:25px;left:30px;right:30px;display:flex;justify-content:space-between;color:#aaa;font-size:10px;letter-spacing:.14em}.instrument-orbit{position:absolute;inset:85px 45px;display:grid;place-items:center}.vinyl{width:255px;height:255px;border-radius:50%;background:repeating-radial-gradient(circle,#1b1c1e 0,#1b1c1e 3px,#26272a 4px,#151618 8px);border:13px solid #242528;box-shadow:0 0 0 1px #555}.vinyl:after{content:"";width:48px;height:48px;border-radius:50%;background:var(--red);position:absolute}.music-mark{position:absolute;font:130px/1 var(--serif);color:#eee;transform:rotate(-12deg);text-shadow:8px 10px 0 rgba(165,31,42,.9)}.small-note{position:absolute;color:#fff;font-size:34px}.n-a{top:18px;right:30px}.n-b{bottom:35px;left:15px;color:#d99aa0}.art-caption{position:absolute;bottom:25px;left:30px;right:30px;display:flex;gap:18px;color:#aaa;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.art-caption b{color:#fff}.floating-card{position:absolute;right:-5px;bottom:38px;background:#fff;padding:15px 20px;border-radius:16px;display:flex;gap:12px;align-items:center;box-shadow:var(--shadow);font-size:13px}.floating-card small{display:block;color:var(--muted)}.float-icon{width:42px;height:42px;border-radius:12px;background:#f2e0e1;color:var(--red);display:grid;place-items:center;font-size:22px}.hero-note{position:absolute;color:rgba(165,31,42,.14);font:100px var(--serif)}.note-1{left:4%;bottom:7%}.note-2{right:42%;top:5%}
.ticker{background:var(--red);color:#fff;overflow:hidden}.ticker-track{height:58px;display:flex;align-items:center;justify-content:center;gap:25px;white-space:nowrap;font-weight:700;font-size:12px;letter-spacing:.16em}.ticker i{font-style:normal;opacity:.7}
.section{padding:92px 0}.section-heading{margin-bottom:42px}.section-heading.split{display:flex;justify-content:space-between;align-items:end;gap:30px}.section h2,.story-copy h2,.support-box h2{font:700 clamp(36px,4vw,54px)/1.08 var(--serif);letter-spacing:-.035em;margin:0}.text-link{font-weight:700;font-size:13px;border-bottom:1px solid var(--red);padding-bottom:4px}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.course-card{border:1px solid var(--line);border-radius:var(--radius);padding:32px;min-height:330px;display:flex;flex-direction:column;transition:.25s;background:#fff}.course-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.course-card.featured{background:var(--black);color:#fff;border-color:var(--black)}.course-number{font-size:12px;color:var(--red);font-weight:700}.course-icon{font-size:45px;margin:28px 0 15px}.course-card h3{font:700 25px var(--serif);margin:0 0 10px}.course-card p{color:#777;font-size:14px}.featured p{color:#bbb}.card-link{margin-top:auto;font-size:13px;font-weight:700}.dark-section{background:var(--black);color:#fff}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.story-visual{height:480px;background:#191a1c;position:relative;border-radius:26px;overflow:hidden}.red-panel{position:absolute;width:65%;height:85%;background:var(--red);right:0;top:7%;border-radius:140px 0 0 140px}.quote-card{position:absolute;left:30px;bottom:35px;width:70%;background:#fff;color:#222;padding:26px;border-radius:18px;font:600 20px/1.35 var(--serif);box-shadow:var(--shadow)}.quote-card span{display:block;font:11px var(--sans);margin-top:13px;color:#777}.vertical-word{position:absolute;top:35px;left:30px;writing-mode:vertical-rl;font-weight:700;letter-spacing:.35em;color:#fff;font-size:12px}.story-copy p{color:#bbb;max-width:560px}.stats{display:flex;gap:40px;border-top:1px solid #333;border-bottom:1px solid #333;margin:30px 0;padding:20px 0}.stats strong{display:block;font:700 27px var(--serif)}.stats span{display:block;color:#aaa;font-size:11px;max-width:100px}.event-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.event-card{border:1px solid var(--line);border-radius:18px;padding:28px;display:grid;grid-template-columns:72px 1fr;gap:20px}.event-date{width:66px;height:78px;background:var(--black);color:#fff;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.event-date b{font:700 25px var(--serif)}.event-date span{font-size:9px;letter-spacing:.12em}.tag{font-size:10px;font-weight:800;color:var(--red);letter-spacing:.12em}.event-card h3{font:700 25px var(--serif);margin:6px 0}.event-card p{font-size:13px;color:#777}.event-card a{font-size:12px;font-weight:700}.cta-band{background:var(--red);color:#fff;padding:62px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-band h2{font:700 clamp(34px,4vw,52px)/1.1 var(--serif);margin:0}.cta-band h2 em{color:#ffd8dc}
.footer{background:#0b0c0e;color:#b4b5b8;padding:70px 0 20px}.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;gap:45px}.footer-logo{width:190px;margin-bottom:15px;filter:brightness(0) invert(1)}.footer p{font-size:13px}.footer h4{color:#fff;margin-top:0}.footer-grid>div>a{display:block;font-size:13px;margin:8px 0}.footer a:hover{color:#fff}.footer-bottom{border-top:1px solid #28292b;margin-top:45px;padding-top:18px;display:flex;justify-content:space-between;font-size:11px}
.page-hero{padding:90px 0 80px}.page-hero h1{font-size:clamp(48px,6vw,70px);max-width:800px}.page-hero p{max-width:650px;color:#666;font-size:18px}.lesson-feature{display:grid;grid-template-columns:120px 1fr;gap:50px;padding:55px 0;border-bottom:1px solid var(--line)}.lesson-feature.reverse{background:#fff3df;padding:55px 45px;margin:0 -45px;border-radius:24px}.lesson-num{font:700 48px var(--serif);color:var(--red)}.lesson-feature h2{font:700 40px var(--serif);margin:5px 0 12px}.lesson-feature p{max-width:780px;color:#666}.instrument-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.instrument-list span{background:#f2efea;border-radius:999px;padding:7px 13px;font-size:12px}
.teacher-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.teacher-card{border:1px solid var(--line);border-radius:18px;padding:18px;display:grid;grid-template-columns:130px 1fr;gap:22px;align-items:center}.teacher-avatar{height:155px;border-radius:14px;background:linear-gradient(135deg,#242528,#9e1e29);color:#fff;display:grid;place-items:center;position:relative;font:700 38px var(--serif)}.teacher-body h3{font:700 23px var(--serif);margin:7px 0}.teacher-body p{font-size:13px;color:#777}.teacher-body a{font-size:12px;font-weight:700}
.fee-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fee-card{border:1px solid var(--line);border-radius:20px;padding:30px}.fee-card.featured{border:2px solid var(--red)}.fee-card h2{font:700 28px var(--serif);margin:12px 0 4px}.muted{color:#777;font-size:13px}.price{font:700 34px var(--serif);margin:25px 0;color:var(--red)}.fee-card ul{list-style:none;padding:0;margin:0 0 28px;border-top:1px solid var(--line)}.fee-card li{padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.event-list{display:grid;gap:18px}.event-row{display:grid;grid-template-columns:100px 1fr auto;align-items:center;gap:28px;border:1px solid var(--line);border-radius:20px;padding:25px}.event-date.large{width:90px;height:100px}.event-main h2{font:700 30px var(--serif);margin:6px 0}.event-main p{color:#666;margin:5px 0 12px}.event-meta{font-size:11px;color:#777}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:100px}.about-grid p{color:#666}.values-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.value-list>div{border-bottom:1px solid #333;padding:20px 0;display:grid;grid-template-columns:40px 1fr;column-gap:20px}.value-list b{color:#c76b72}.value-list h3{margin:0;color:#fff}.value-list p{grid-column:2;color:#aaa;font-size:13px;margin:4px 0}.support-box{border:1px solid var(--line);border-radius:24px;padding:45px;display:flex;justify-content:space-between;align-items:center;gap:40px}.support-box p{color:#666;max-width:650px}.job-strip{padding-top:0;display:flex}.job-strip .container{border-top:1px solid var(--line);padding-top:55px;display:flex;justify-content:space-between;align-items:center}.job-strip h2{margin:5px 0}
.about-grid.about-grid-stacked{grid-template-columns:1fr;gap:24px}
.about-story-text{text-align:justify;text-justify:inter-word}
.about-story-text p{max-width:none}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.contact-info h2{font:700 40px var(--serif)}.contact-info>p{color:#666;margin:20px 0 35px}.contact-item{border-top:1px solid var(--line);padding:17px 0}.contact-item span{display:block;font-size:9px;letter-spacing:.14em;color:#999;font-weight:700}.contact-item a{font-weight:700}.contact-item p{margin:5px 0}.contact-form{background:#f7f4ef;padding:35px;border-radius:22px}.contact-form label{display:block;font-size:12px;font-weight:700;margin-bottom:15px}.contact-form input,.contact-form textarea,.contact-form select{display:block;width:100%;margin-top:7px;border:1px solid #d6d2cb;background:#fff;border-radius:10px;padding:13px 14px;font:14px var(--sans);outline:none}.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{border-color:var(--red)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-note{font-size:12px;color:var(--red);min-height:20px}
@media(max-width:900px){.nav-links{display:none;position:absolute;left:20px;right:20px;top:118px;background:#fff;padding:20px;border-radius:16px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav-links.open{display:flex}.nav-cta{text-align:center}.menu-toggle{display:block}.hero-grid,.story-grid,.about-grid,.contact-grid,.values-grid{grid-template-columns:1fr}.hero{min-height:auto}.hero-art{min-height:420px}.course-grid,.fee-grid{grid-template-columns:1fr}.teacher-grid{grid-template-columns:1fr}.event-grid{grid-template-columns:1fr}.story-grid{gap:40px}.footer-grid{grid-template-columns:1fr 1fr}.support-box{flex-direction:column;align-items:flex-start}.job-strip .container{flex-direction:column;align-items:flex-start;gap:20px}}
@media(max-width:600px){.container{width:min(100% - 28px,1160px)}.topbar-inner{font-size:11px;gap:8px}.nav{height:72px}.nav-links{top:108px}.brand img{width:150px}.hero-grid{padding:55px 0}.hero h1{font-size:50px}.hero-actions{flex-direction:column;align-items:stretch}.hero-art{min-height:370px}.art-card{height:370px}.home-hero-photo{height:280px}.vinyl{width:200px;height:200px}.music-mark{font-size:100px}.floating-card{right:-3px}.section{padding:65px 0}.section-heading.split,.cta-inner{align-items:flex-start;flex-direction:column}.story-visual{height:400px}.quote-card{width:80%;font-size:17px}.stats{gap:15px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:8px}.page-hero{padding:65px 0}.page-hero h1{font-size:48px}.lesson-feature{grid-template-columns:1fr;gap:5px}.lesson-feature.reverse{margin:0;padding:35px 20px}.teacher-card{grid-template-columns:95px 1fr}.teacher-avatar{height:120px}.event-row{grid-template-columns:75px 1fr}.event-row>.btn{grid-column:2}.event-date.large{width:70px;height:85px}.form-row{grid-template-columns:1fr}.contact-grid{gap:40px}}

/* --- KMS poster-inspired theme overrides --- */
body{background:var(--paper)}
.site-header{background:rgba(255,249,240,.96)}
.nav-cta{background:var(--red);box-shadow:0 5px 0 rgba(116,20,25,.25)}
.hero{background:var(--cream)}
.hero:after{content:"";position:absolute;right:-120px;top:-160px;width:390px;height:390px;border:2px solid rgba(152,31,36,.12);border-radius:50%}
.hero h1{color:var(--red)}
.hero h1 em,.hero h1 strong{color:var(--red)}
.hero-copy{position:relative;z-index:2}
.hero-art{z-index:2}
.art-card{background:var(--red);box-shadow:0 22px 55px rgba(91,24,18,.25);transform:rotate(1deg)}
.art-card:before{border-color:rgba(255,235,210,.35)}
.vinyl{background:repeating-radial-gradient(circle,#241817 0,#241817 3px,#4a2521 4px,#171313 8px);border-color:#5b2b26}
.music-mark{text-shadow:8px 10px 0 rgba(76,13,16,.65)}
.floating-card{background:#fff8ed}
.ticker{background:var(--red)}
.section{background:var(--paper)}
.courses{background:#fff9f0}
.course-card{background:#fff7e9;border-color:#e3c9a5}
.course-card.featured{background:var(--red);border-color:var(--red)}
.course-icon{color:var(--red)}
.featured .course-icon,.featured .course-number{color:#ffd9ae}
.dark-section{background:var(--black)}
.story-visual{background:#2a1716}
.red-panel{background:var(--red)}
.event-card{background:#fffaf2;border-color:#e3c9a5}
.event-date{background:var(--red)}
.lesson-feature.reverse{background:#f4d8af}
.instrument-list span{background:#ead0a8}
.fee-card{background:#fffaf2;border-color:#e3c9a5}
.fee-card.featured{border-color:var(--red)}
.contact-form{background:#f4d8af}
.support-box{background:#fffaf2;border-color:#e3c9a5}
.btn-primary{background:var(--red);box-shadow:0 4px 0 rgba(116,20,25,.22)}
.btn-primary:hover{background:var(--red-dark)}
.btn-ghost{background:#fff7ea;border-color:#cdb899}
.footer{background:#171616}
.footer-bottom{border-color:#3a302d}
.tag,.eyebrow{color:var(--red)}
@media(max-width:600px){.hero{background:var(--cream)}}


/* === VIBRANT HEADER & COMPACT FOOTER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 4px 20px rgba(152, 31, 36, 0.08);
}
.nav-cta {
  background: var(--red);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s ease;
}
.nav-cta:hover {
  background: var(--red-dark);
}

.footer {
  background: #0b0c0e;
  color: #b4b5b8;
  padding: 35px 0 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.2fr;
  gap: 25px;
  align-items: start;
}
.footer-grid > div{position:relative}
.footer-grid > div:not(:first-child)::before{
  content:"";
  position:absolute;
  left:-13px;
  top:0;
  bottom:0;
  width:1px;
  background:rgba(255,255,255,.14);
}
@media(max-width:900px){.footer-grid > div:not(:first-child)::before{content:none}}
.footer{overflow-x:hidden}
.footer-logo {
  width: 105px;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}
.footer h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer p, .footer a {
  font-size: 12px;
  margin: 4px 0;
}
.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-social-item {
  color: #b4b5b8;
  text-decoration: none;
  font-size: 12px;
}
.footer-social-item strong {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid #28292b;
  margin-top: 20px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 2px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.why-kms-hero {
  padding: 50px 0 70px;
}
.why-kms-hero .hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 24px;
}


/* === OPTION 1: MODERN EDITORIAL & DYNAMIC RHYTHMS === */
:root {
  --gold-glow: #E5B235;
  --gold-dark: #C49120;
}

/* Radiant Radial Hero Gradient & Top Accent Ribbon */
.why-kms-hero {
  background: radial-gradient(circle at 85% 15%, rgba(242, 208, 160, 0.45) 0%, rgba(255, 249, 240, 0.95) 60%, #FFF9F0 100%) !important;
  position: relative;
  overflow: hidden;
}

.why-kms-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold-glow) 50%, var(--red) 100%);
}

/* Pulsing Soundwave Orbit for Hero Art */
.instrument-orbit {
  box-shadow: 0 0 0 12px rgba(152, 31, 36, 0.06), 0 0 0 24px rgba(242, 208, 160, 0.2);
  animation: audioPulse 3s infinite ease-in-out;
}

@keyframes audioPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(152, 31, 36, 0.06), 0 0 0 24px rgba(242, 208, 160, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 18px rgba(152, 31, 36, 0.1), 0 0 0 32px rgba(242, 208, 160, 0.35);
  }
}

.gallery-card {
  border-bottom: 3px solid var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(152, 31, 36, 0.15);
}


/* =========================================================
   KMS PHOTO-FIRST REDESIGN
   Replace files in assets/images/ with the school's real photos.
   ========================================================= */
.brand img{width:205px;height:68px;object-fit:contain;object-position:left center}
.photo-placeholder{position:relative;overflow:hidden;border-radius:24px;background:#f2d0a0;box-shadow:var(--shadow)}
.photo-placeholder img{width:100%;height:100%;object-fit:cover}
.photo-placeholder::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(23,22,22,0) 45%,rgba(23,22,22,.48) 100%);pointer-events:none}
.photo-label{position:absolute;left:22px;bottom:18px;z-index:2;color:#fff;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.photo-label strong{display:block;font:700 25px var(--serif);letter-spacing:0;text-transform:none;margin-bottom:2px}
.image-note{font-size:11px;color:var(--muted);margin-top:8px}

.page-hero{position:relative;overflow:hidden;padding:120px 0 95px;isolation:isolate}
.page-hero-bg{position:absolute;inset:0;z-index:0}
.page-hero-bg img{width:100%;height:100%;object-fit:cover;filter:blur(22px) brightness(.82) saturate(1.05);transform:scale(1.15)}
.page-hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(120deg,rgba(23,22,22,.86) 15%,rgba(152,31,36,.58) 100%)}
.page-hero>.container{position:relative;z-index:2}
.page-hero h1{color:#fff}
.page-hero h1 em{color:var(--cream)}
.page-hero p{color:rgba(255,255,255,.88)}
.page-hero .eyebrow{color:#fff}
.page-hero-copy{max-width:850px}
.page-hero-copy h1,.page-hero>.container>h1{margin-bottom:16px}

.home-hero-photo{height:520px}
.home-hero-photo img{width:100%;height:100%;object-fit:cover}
.home-hero-photo .photo-label strong{font-size:30px}

.course-grid{grid-template-columns:repeat(3,1fr);gap:22px}
.course-card{padding:0;overflow:hidden;min-height:0;background:#fff;border:1px solid #e5d9cb}
.course-card .course-photo{height:220px;position:relative;overflow:hidden}
.course-card .course-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.course-card:hover .course-photo img{transform:scale(1.06)}
.course-card .course-content{padding:25px 28px 29px;display:flex;flex-direction:column;min-height:265px}
.course-card .course-icon{display:none}
.course-card.featured{background:var(--red);border-color:var(--red)}
.course-card.featured .course-content{background:var(--red)}
.course-card.featured p{color:#f0dfe0}
.course-card.featured .course-number,.course-card.featured .card-link{color:#ffd9ae}
.course-card .course-number{margin-bottom:8px}

.event-grid{grid-template-columns:repeat(2,1fr);gap:22px}
.event-card{padding:0;display:block;overflow:hidden}
.event-photo{height:210px;overflow:hidden;position:relative}
.event-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.event-card:hover .event-photo img{transform:scale(1.05)}
.event-card-body{padding:24px 26px 28px;display:grid;grid-template-columns:72px 1fr;gap:20px}
.event-card-body .event-date{margin-top:2px}

.events-page-hero{padding-bottom:55px}

.event-list{gap:24px}
.event-row{padding:0;overflow:hidden;grid-template-columns:300px 1fr auto;gap:0}
.event-row .event-row-photo{height:230px;overflow:hidden}
.event-row .event-row-photo img{width:100%;height:100%;object-fit:cover}
.event-row .event-main{padding:28px 26px}
.event-row>.btn{margin:28px}
.event-row .event-date.large{display:none}

.lesson-photo{height:250px;border-radius:20px;overflow:hidden;margin:24px 0}
.lesson-photo img{width:100%;height:100%;object-fit:cover}
.lesson-feature{grid-template-columns:80px 1fr;gap:38px}
.lesson-feature.reverse{padding:45px}
.lesson-feature.reverse .lesson-photo{margin-top:0}

.teacher-grid{grid-template-columns:repeat(4,1fr);gap:20px}
.teacher-card{padding:0;display:block;overflow:hidden}
.teacher-avatar{aspect-ratio:3/4;height:auto;border-radius:0;background:none;color:transparent;overflow:hidden}
.teacher-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.teacher-avatar::before,.teacher-avatar::after{content:none}
.teacher-body{padding:16px 18px 20px}
.teacher-body h3{font-size:19px}
.teacher-body p{margin-bottom:0}

.about-photo-grid,.support-photo-grid,.contact-photo-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:22px;margin-bottom:75px}
.about-photo-grid .photo-placeholder:first-child,.support-photo-grid .photo-placeholder:first-child{height:430px}
.about-photo-grid .photo-placeholder:last-child,.support-photo-grid .photo-placeholder:last-child{height:430px}
.mosaic-small{display:grid;gap:22px}
.mosaic-small .photo-placeholder{height:204px}
.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}
.photo-strip .photo-placeholder{height:220px}

.fees-visual{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:0 0 70px}
.fees-visual .photo-placeholder{height:320px}

.contact-grid{align-items:start}
.contact-photo{height:500px}
.contact-form{border-radius:24px}

.support-photo{height:370px}

.gallery-heading{margin-bottom:28px}

.enrol-visual{height:310px;margin-bottom:48px}
.enrol-visual img{width:100%;height:100%;object-fit:cover;border-radius:26px}

.btn.primary{background:var(--red);color:#fff;padding:13px 21px;border-radius:999px;font-weight:700}
.btn.secondary{background:#fff;border:1px solid #c9b9a5;padding:13px 21px;border-radius:999px;font-weight:700}
.btn.primary:hover{background:var(--red-dark)}

@media(max-width:900px){
 .course-grid{grid-template-columns:1fr 1fr}
 .teacher-grid{grid-template-columns:repeat(3,1fr)}
 .event-grid{grid-template-columns:1fr}
 .event-row{grid-template-columns:220px 1fr}
 .event-row>.btn{grid-column:2;margin:0 26px 26px;justify-self:start}
 .about-photo-grid,.support-photo-grid{grid-template-columns:1fr}
 .home-hero-photo{height:400px}
}
@media(max-width:700px){
 .brand img{width:170px;height:58px}
 .course-grid,.fees-visual{grid-template-columns:1fr}
 .teacher-grid{grid-template-columns:repeat(2,1fr);gap:14px}
 .course-card .course-photo{height:230px}
 .event-card-body{grid-template-columns:60px 1fr}
 .event-row{grid-template-columns:1fr}
 .event-row .event-row-photo{height:230px}
 .event-row>.btn{grid-column:auto;margin:0 26px 26px}
 .lesson-feature{grid-template-columns:1fr;gap:8px}
 .lesson-feature.reverse{padding:28px 22px}
 .about-photo-grid .photo-placeholder:first-child,.support-photo-grid .photo-placeholder:first-child{height:300px}
 .about-photo-grid .photo-placeholder:last-child,.support-photo-grid .photo-placeholder:last-child{height:300px}
 .photo-strip{grid-template-columns:1fr}
 .photo-strip .photo-placeholder{height:220px}
 .contact-photo{height:320px}
 .fees-visual .photo-placeholder{height:240px}
 .event-photo{height:170px}
 .lesson-photo{height:190px}
 .enrol-visual{height:230px}
 .support-photo{height:260px}
}


.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px}
.contact-photo{grid-row:1;min-height:500px}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr}.contact-photo{min-height:300px}}
.nav{min-height:84px;height:auto}
.brand img{width:118px;height:auto}
@media(max-width:700px){.nav{min-height:70px}.brand img{width:96px;height:auto}}

/* === Contact page refinements === */
.contact-location-section{padding-top:62px}
.contact-location-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:58px;align-items:stretch}
.contact-location-copy{padding:12px 0}
.contact-location-copy h2{font:700 40px var(--serif);margin:0}
.contact-location-copy>p{color:#666;max-width:480px;margin:20px 0 32px}
.map-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.map-card-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 26px;border-bottom:1px solid var(--line)}
.map-card-header h3{font:700 24px var(--serif);margin:5px 0 0}
.map-directions{font-size:12px;font-weight:700;color:var(--red);white-space:nowrap;border-bottom:1px solid var(--red);padding-bottom:3px}
.map-frame{height:410px;background:#e9e5df}
.map-frame iframe{width:100%;height:100%;border:0;display:block}
.map-card-footer{padding:13px 20px;font-size:12px;color:#746b63;background:#faf8f4}
.contact-enquiry-section{padding-top:22px}
.contact-enquiry-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:28px}
.contact-enquiry-heading h2{font:700 clamp(34px,4vw,48px)/1.08 var(--serif);margin:5px 0 0}
.contact-enquiry-heading>p{color:#666;max-width:420px;margin:0}
.contact-form-wide{padding:38px}
.contact-form-wide .form-row{grid-template-columns:1fr 1fr}

/* === Teachers: preserve the two-column grid, but put all text below the portrait === */
.teacher-card{display:block;padding:18px}
.teacher-avatar{width:100%;height:330px;border-radius:15px;overflow:hidden;background:#f2d0a0}
.teacher-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.teacher-body{padding:18px 4px 4px}
.teacher-body h3{margin:7px 0 6px}
.teacher-body p{margin:0}
.teacher-body .tag{display:inline-block}

/* === Fees: one aligned introductory section, without the redundant GOOD TO KNOW heading === */
.fees-intro{padding:64px 0 58px}
.fees-intro-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:start}
.fees-intro-grid.fees-intro-stacked{grid-template-columns:1fr;gap:30px}
.fees-intro-stacked .fees-intro-main{max-width:600px;margin-left:0;margin-right:auto;justify-self:start;text-align:left}
.fees-intro-stacked .fees-how-card{max-width:600px}
@media (max-width:900px){
  .fees-intro-stacked .fees-intro-main{max-width:none}
  .fees-intro-stacked .fees-how-card{max-width:100%}
}
.fees-intro-main h1{margin-bottom:18px}
.fees-intro-main>p{max-width:690px;color:#666;font-size:17px}
.fees-instruments-box{margin-top:24px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:30px;max-width:600px}
.fees-instruments-box>p{font-size:14px;color:var(--muted);margin:0 0 18px}
.fees-instruments{list-style:disc;padding-left:20px;display:block;margin:0}
.fees-instruments li{font-size:15px;line-height:1.9;color:var(--ink)}
.fees-how-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}
.fees-how-card>.tag{display:block;margin-bottom:10px}
.fees-how-card>p{color:#666;font-size:13px;margin:0 0 18px}
.fees-how-card .info-list{max-width:none;gap:10px}
.fees-how-card .info-list li{padding:15px 17px}
.fees-how-card .info-list li strong{font-size:16px;margin-bottom:3px}
.fees-how-card .info-list li span{display:block;color:var(--muted);font-size:13px}

/* Responsive refinements */
@media(max-width:900px){
  .contact-location-grid,.fees-intro-grid{grid-template-columns:1fr}
  .map-frame{height:360px}
  .contact-enquiry-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .teacher-card{display:block}
}
@media(max-width:600px){
  .map-card-header{align-items:flex-start;flex-direction:column}
  .map-frame{height:320px}
  .contact-form-wide{padding:24px}
  .contact-form-wide .form-row{grid-template-columns:1fr}
  .fees-intro{padding:52px 0 45px}
  .fees-instruments{grid-template-columns:1fr}
  .teacher-avatar{height:300px}
}

/* === Lessons page: picture-free programme grid === */
.lessons-overview{padding-top:68px}
.lessons-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:34px}
.lessons-heading h2{font:700 clamp(34px,4vw,48px)/1.08 var(--serif);margin:6px 0 0}
.lessons-heading>p{max-width:430px;color:#666;margin:0}
.lessons-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lesson-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.lesson-card .tag{align-self:flex-start}
.lesson-card h3{font:700 28px/1.12 var(--serif);margin:13px 0 12px}
.lesson-card>p{color:#666;font-size:14px;line-height:1.7}
.lesson-time{font-size:15px!important;font-weight:700;color:var(--red)!important;margin-top:-3px}
.lesson-detail,.lesson-highlight{border-top:1px solid var(--line);margin-top:17px;padding-top:16px}
.lesson-detail strong,.lesson-highlight strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.lesson-detail p,.lesson-highlight p{font-size:13px;color:#666;line-height:1.65;margin:6px 0 0}
.lesson-highlight{background:#faf7f1;border-radius:14px;border-top:0;padding:15px 16px;margin-top:18px}
.lesson-highlight p{margin:0}
.term-section{padding-top:35px}
.term-layout{display:grid;grid-template-columns:.72fr 1.28fr;gap:55px;align-items:center}
.term-intro h2{font:700 44px var(--serif);margin:5px 0 13px}
.term-intro>p{color:#666;line-height:1.7;max-width:460px;margin-bottom:25px}
.term-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.term-card{background:#171616;color:#fff;border-radius:20px;padding:26px}
.term-card .tag{color:#f0c889}
.term-card h3{font:700 24px var(--serif);margin:12px 0 15px}
.term-card p{font-size:13px;line-height:1.65;color:#ddd;margin:0}
.practice-section{padding-top:20px}
.practice-card{display:flex;justify-content:space-between;align-items:center;gap:35px;border:1px solid var(--line);border-radius:22px;padding:30px;background:#fff}
.practice-card h2{font:700 31px var(--serif);margin:5px 0 8px}
.practice-card p{color:#666;margin:0}
.practice-rates{display:flex;gap:28px;flex-shrink:0}
.practice-rates div{display:flex;flex-direction:column}
.practice-rates strong{font:700 25px var(--serif)}
.practice-rates span{font-size:11px;color:#777;margin-top:3px}
.cta-actions{display:flex;gap:10px}
.btn-outline-white{border:1px solid rgba(255,255,255,.7);color:#fff;background:transparent}
@media(max-width:950px){
  .lessons-grid{grid-template-columns:1fr 1fr}
  .term-layout{grid-template-columns:1fr}
  .practice-card{align-items:flex-start;flex-direction:column}
}
@media(max-width:650px){
  .lessons-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .lessons-grid,.term-cards{grid-template-columns:1fr}
  .practice-rates{flex-direction:column;gap:16px}
  .cta-actions{flex-direction:column;width:100%}
}

/* === FAQ ACCORDION === */
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.faq-group{max-width:820px;margin:0 auto 46px}
.faq-group:last-child{margin-bottom:0}
.faq-group h3{font-family:var(--serif);font-size:22px;margin:4px 0 18px;color:var(--black)}
.faq-item{border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow:hidden}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;font-family:var(--serif);font-weight:700;font-size:17px;color:var(--black)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--red)}
.faq-icon{flex:0 0 auto;width:30px;height:30px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;position:relative;transition:.25s}
.faq-icon:before,.faq-icon:after{content:"";position:absolute;background:var(--red);transition:.25s}
.faq-icon:before{width:12px;height:2px}
.faq-icon:after{width:2px;height:12px}
.faq-item[open] .faq-icon{background:var(--red);border-color:var(--red)}
.faq-item[open] .faq-icon:before,.faq-item[open] .faq-icon:after{background:#fff}
.faq-item[open] .faq-icon:after{transform:rotate(90deg);opacity:0}
.faq-answer{padding:0 24px 22px;color:var(--muted);font-size:15px;line-height:1.7}
.faq-answer p{margin:0 0 12px}
.faq-answer p:last-child{margin-bottom:0}
.faq-answer ul{margin:0 0 12px;padding-left:20px}
.faq-answer table{border-collapse:collapse;width:100%;margin:12px 0;font-size:13px}
.faq-answer table td{padding:6px 10px;border:1px solid var(--line)}
table.fees{border-collapse:collapse;width:100%;margin:18px 0;background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;font-family:var(--sans);box-shadow:var(--shadow)}
table.fees thead th{background:var(--red);color:#fff;text-align:left;padding:14px 16px;font-weight:700;font-size:13px;letter-spacing:.02em}
table.fees thead th:first-child{border-top-left-radius:14px}
table.fees thead th:last-child{border-top-right-radius:14px}
table.fees tbody td{padding:12px 16px;border-top:1px solid var(--line);font-size:14px;color:var(--ink)}
table.fees tbody td:first-child{font-weight:600}
table.fees tbody tr:nth-child(even){background:rgba(152,31,36,.04)}
@media (max-width:640px){table.fees{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:650px){
  .faq-item summary{padding:16px 18px;font-size:15.5px;gap:12px}
  .faq-answer{padding:0 18px 18px}
}

/* === HOMEPAGE: FULL-WIDTH NEXT EVENT BANNER === */
.next-event{position:relative;height:440px;overflow:hidden;background:var(--black)}
.next-event-media,.next-event-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.next-event-scrim{position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,8,8,.90) 8%,rgba(10,8,8,.35) 48%,rgba(10,8,8,.05) 75%)}
.next-event-content{position:absolute;left:0;right:0;bottom:0;padding-bottom:44px;color:#fff}
.next-event-content .eyebrow{color:#fff}
.next-event-content h2{font:800 clamp(30px,4.2vw,46px)/1.08 var(--serif);margin:8px 0 10px;max-width:720px}
.next-event-content p{font-size:16px;color:rgba(255,255,255,.9);margin:0 0 22px}
@media(max-width:900px){.next-event{height:360px}}
@media(max-width:600px){.next-event{height:300px}.next-event-content{padding-bottom:28px}}

/* Server-side form feedback (added for the WordPress conversion) */
.kms-form-notice{padding:14px 18px;border-radius:10px;font:600 14px/1.4 var(--sans);margin-bottom:18px}
.kms-form-notice--success{background:#e6f4ea;color:#1e7a34;border:1px solid #b7e0c3}
.kms-form-notice--error{background:#fdecea;color:#9e1e29;border:1px solid #f3c1bf}

/* =========================================================
   ENROL NOW PAGE FORM
   Scoped to prevent conflicts with theme/global form styles
   ========================================================= */

.kms-page-enrol-now .form-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 42px;
    background: #fffaf2;
    border: 1px solid #e3c9a5;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* Two-column fields */
.kms-page-enrol-now .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
}

/* Individual form groups */
.kms-page-enrol-now .form-group {
    width: 100%;
    margin: 0 0 22px;
}

/* Labels */
.kms-page-enrol-now .form-group label {
    display: block;
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* Inputs / Selects / Textarea */
.kms-page-enrol-now .form-group input,
.kms-page-enrol-now .form-group select,
.kms-page-enrol-now .form-group textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;

    padding: 14px 16px;

    box-sizing: border-box;

    border: 1px solid #d6d2cb;
    border-radius: 10px;

    background: #fff;
    color: var(--ink);

    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.5;

    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Consistent input height */
.kms-page-enrol-now .form-group input,
.kms-page-enrol-now .form-group select {
    min-height: 52px;
}

/* Textarea */
.kms-page-enrol-now .form-group textarea {
    min-height: 135px;
    resize: vertical;
}

/* Focus */
.kms-page-enrol-now .form-group input:focus,
.kms-page-enrol-now .form-group select:focus,
.kms-page-enrol-now .form-group textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(152, 31, 36, .10);
}

/* Placeholder */
.kms-page-enrol-now .form-group input::placeholder,
.kms-page-enrol-now .form-group textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Select */
.kms-page-enrol-now .form-group select {
    cursor: pointer;
}

/* Turnstile */
.kms-page-enrol-now .cf-turnstile {
    margin: 8px 0 24px !important;
}

/* Submit button */
.kms-page-enrol-now .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 56px;

    padding: 14px 24px;

    border: 0;
    border-radius: 999px;

    background: var(--red);
    color: #fff;

    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 4px 0 rgba(116, 20, 25, .22);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.kms-page-enrol-now .submit-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 rgba(116, 20, 25, .20);
}

.kms-page-enrol-now .submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 0 rgba(116, 20, 25, .20);
}

/* Server-side messages */
.kms-page-enrol-now .kms-form-notice {
    margin-bottom: 25px;
}

/* =========================================================
   ENROL NOW - TABLET
   ========================================================= */

@media (max-width: 800px) {

    .kms-page-enrol-now .form-card {
        padding: 32px 26px;
    }

    .kms-page-enrol-now .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

/* =========================================================
   ENROL NOW - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .kms-page-enrol-now .form-card {
        padding: 25px 18px;
        border-radius: 18px;
    }

    .kms-page-enrol-now .form-group {
        margin-bottom: 20px;
    }

    .kms-page-enrol-now .form-group label {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .kms-page-enrol-now .form-group input,
    .kms-page-enrol-now .form-group select,
    .kms-page-enrol-now .form-group textarea {
        font-size: 16px;
    }

    .kms-page-enrol-now .submit-btn {
        min-height: 54px;
        font-size: 14px;
    }

}


/* =========================================================
   WORDPRESS CONVERSION FIXES — consolidated
   Classes below were present in the page markup but had no
   matching CSS rule anywhere, so they were silently falling
   back to unstyled/default browser rendering.
   ========================================================= */

/* --- Fees page: section spacing (scoped to WP's own
   auto-generated template body class, not a hand-added one) --- */
.kms-page-fees .section{padding-top:12px!important;padding-bottom:12px!important}
.kms-page-fees .section-heading{margin-bottom:12px}
.kms-page-fees .section-heading p{margin-bottom:0}
@media (max-width:800px){.kms-page-fees .section{padding-top:8px!important;padding-bottom:8px!important}}

/* --- Fees page: centered section headings, table wrapper,
   the repairs "split" layout, and the plain info-list used
   for String Instrument Repairs. This is what was making the
   Instalment/Online-fees/Repairs sections look structureless. --- */
.section-heading.center{text-align:center}
.section-heading.center .eyebrow{justify-content:center}
.fees-note{color:var(--muted);font-size:14px;max-width:600px}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:18px 0}
.table-wrap table.fees{margin:0}
.split-fees{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.info-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.info-list li{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 17px}
.info-list li strong{display:block;font-size:16px;margin-bottom:3px}
.info-list li span{display:block;color:var(--muted);font-size:13px}
@media (max-width:800px){.split-fees{grid-template-columns:1fr;gap:20px}}

/* --- Footer: restore responsive column collapse on tablet/
   mobile (a later rule forces 5 columns at every width) --- */
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .footer-grid > div:not(:first-child)::before{content:none}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center}
}

/* --- Support page: letter card, payment box, support list --- */
.letter-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:40px;margin-bottom:50px}
.letter-card p{color:var(--ink);line-height:1.7;margin:0 0 16px}
.letter-card p:last-of-type{margin-bottom:0}
.payment-box{background:#fffaf2;border:1px solid #e3c9a5;border-radius:18px;padding:28px 32px;margin-top:28px}
.payment-box h3{font:700 18px var(--serif);margin:0 0 18px}
.payment-methods{display:flex;gap:20px;flex-wrap:wrap}
.payment-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 24px;flex:1;min-width:180px}
.payment-card strong{display:block;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}
.code{font:700 26px var(--serif);color:var(--red);letter-spacing:.02em}
.support-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.support-list>li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 28px;color:var(--muted);line-height:1.6}
.support-list>li>strong{display:block;font:700 18px var(--serif);color:var(--black);margin-bottom:8px}
.support-list ul{list-style:disc;margin-top:10px;padding-left:20px;font-size:14px}
.support-list ul li{margin:6px 0}
@media (max-width:600px){.letter-card{padding:26px}.payment-box{padding:22px}.payment-methods{flex-direction:column}.support-list>li{padding:20px}}

/* --- Homepage: hero "proof" stats (20+ Years / Various
   Instruments / All Ages) — was rendering as plain inline text --- */
.proof-item{display:flex;flex-direction:column;gap:2px}
.proof-item b{font:700 16px var(--serif);color:var(--black)}
.proof-item span{font-size:11px;color:var(--muted)}

/* --- Footer: social icon buttons (replaces plain text links
   in the "Connect with Us" column, now moved earlier in the
   footer for visibility) --- */
.footer-social-list{display:flex;gap:10px;flex-wrap:wrap}
.footer-social-icon{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:.2s}
.footer-social-icon:hover{background:var(--red)}
.footer-social-icon svg{width:17px;height:17px;fill:#fff}
.footer-phones{margin:0}
.footer-phones a{display:block}

/* Footer social: icon + handle name on one row */
.footer-social-list{display:flex;flex-direction:column;gap:9px}
.footer-social-item{display:flex!important;align-items:center;gap:9px;color:#b4b5b8;text-decoration:none;font-size:12px;margin:0!important}
.footer-social-item:hover{color:#fff}
.footer-social-item:hover .footer-social-icon{background:var(--red)}
.footer-social-icon{width:28px;height:28px;min-width:28px;border-radius:50%;background:rgba(255,255,255,.10);display:flex;align-items:center;justify-content:center;transition:.2s}
.footer-social-icon svg{width:14px;height:14px}
.footer-social-handle{white-space:nowrap}

/* =========================================================
   TEACHER PROFILE PAGE (single-kms_teacher.php)
   ========================================================= */
.teacher-profile-hero-grid{display:grid;grid-template-columns:280px 1fr;gap:50px;align-items:center}
.teacher-profile-photo{aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:var(--line)}
.teacher-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.teacher-profile-back{display:inline-block;font-size:13px;font-weight:700;color:var(--muted);margin-bottom:14px}
.teacher-profile-back:hover{color:var(--red)}
.teacher-profile-intro .tag{display:block;margin-bottom:10px}
.teacher-profile-intro h1{font:700 clamp(34px,4vw,50px)/1.1 var(--serif);letter-spacing:-.03em;margin:0 0 10px}
.teacher-profile-role{font-size:16px;color:var(--muted)}
.teacher-profile-body-grid{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}
.teacher-profile-bio{margin-bottom:0}
.teacher-profile-bio p{font-size:15px}
.teacher-profile-contact{position:sticky;top:100px;padding-top:40px;margin-top:0}
.teacher-profile-contact h3{font:700 17px var(--serif);margin:0 0 14px}
.teacher-profile-contact p{font-size:14px;color:var(--ink);margin:0 0 16px}
.teacher-profile-contact .btn{display:block;text-align:center;margin-bottom:10px}
@media (max-width:800px){
  .teacher-profile-hero-grid{grid-template-columns:1fr;gap:26px}
  .teacher-profile-photo{max-width:220px}
  .teacher-profile-body-grid{grid-template-columns:1fr}
  .teacher-profile-contact{position:static}
}

/* Teacher grid: avatar and name are now links to the profile page —
   avatar needs to behave as a block (it wraps an image), and the name
   needs to keep the h3's own size/weight instead of the smaller
   .teacher-body a rule meant for the "read more" style link. */
.teacher-avatar{display:block}
.teacher-body h3 a{color:inherit;font:inherit;text-decoration:none}
.teacher-body h3 a:hover{color:var(--red)}