/*
Theme Name: Middle Georgia Music Therapy
Theme URI: https://musictherapy.rocks/
Author: MGMT
Description: Custom responsive design for Middle Georgia Music Therapy. Includes importable editable service pages.
Version: 1.7
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mgmt-custom
License: GNU General Public License v2 or later
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
:root{--teal:#07494d;--teal2:#125d60;--sage:#91b9ae;--mint:#e8f2ee;--gold:#c89441;--ink:#183b40;--muted:#586b6b;--ivory:#fbfaf6;--line:#e2e6e0;--shadow:0 18px 48px rgba(21,65,61,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--ivory);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;line-height:1.65;font-size:16px}button,a{touch-action:manipulation}button{font:inherit}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #b67a20;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.18}h1,h2{font-family:'Libre Baskerville',Georgia,serif;letter-spacing:-.05em;font-weight:400}h1{font-size:clamp(2.7rem,5vw,5.15rem)}h2{font-size:clamp(2rem,3.25vw,3.4rem)}h3{font-size:1.25rem}p{color:var(--muted)}.container{width:min(1160px,calc(100% - 64px));margin:auto}.skip-link{position:absolute;left:12px;top:-60px;background:white;padding:10px;z-index:100}.skip-link:focus{top:8px}.site-header{background:rgba(251,250,246,.96);position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(28,78,70,.09);backdrop-filter:blur(14px)}.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;flex-shrink:0}.brand img{display:block;object-fit:contain}.brand-wordmark{display:flex;flex-direction:column;text-transform:uppercase;line-height:1.2;letter-spacing:.03em}.brand-wordmark strong{font-family:Georgia,serif;font-size:17px;color:var(--teal)}.brand-wordmark span{font-size:12px;color:#ad752c;letter-spacing:.16em;font-weight:700;margin-top:4px}.nav{display:flex;gap:clamp(13px,1.6vw,26px);align-items:center}.nav a{text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.nav a:hover,.footer a:hover{color:#bc8330}.nav-contact{border:1px solid #b9cdca;border-radius:50px;padding:9px 15px}.menu-toggle{display:none}.hero{overflow:hidden;background:linear-gradient(120deg,#fbfaf6 38%,#f0f6f2)}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:545px;gap:20px}.hero-copy{padding:72px 0 78px;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:.22em;color:#a9762b;font-size:11px;font-weight:700;margin-bottom:18px}.hero h1{color:var(--teal);margin-bottom:22px;max-width:650px}.hero h1 em,.mission-section h2 em{font-weight:400;color:#367b74}.hero-description{font-size:18px;max-width:530px;margin-bottom:29px}.button-row{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:19px;padding:13px 23px;border-radius:100px;text-decoration:none;font-weight:700;font-size:14px;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button-primary{background:var(--teal);color:white}.button-primary:hover{background:#126267}.button-outline{color:var(--teal);border:1.5px solid var(--teal)}.hero-art{position:relative;align-self:end;margin-right:-85px}.hero-art svg{display:block;width:100%;max-height:510px}.art-caption{position:absolute;right:21%;bottom:18px;font-family:Georgia,serif;font-size:15px;font-style:italic;color:#fdfaf0;text-shadow:0 1px 5px #13474a}.section{padding:102px 0}.section-intro{max-width:710px;margin:0 auto 42px;text-align:center}.section-intro h2{margin-bottom:15px;color:var(--teal)}.section-intro>p:last-child{max-width:630px;margin:auto}.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pillar{padding:39px 34px 32px;border-radius:18px;text-align:center;display:flex;flex-direction:column;align-items:center;min-height:365px}.pillar-therapy{background:#e7f0e8}.pillar-education{background:#f7eedc}.pillar-community{background:#e4f0f0}.pillar-icon{width:100px;height:100px;margin-bottom:19px}.pillar-icon svg{width:100%;height:100%}.pillar h3{font-family:'Libre Baskerville',Georgia,serif;font-size:22px;margin-bottom:12px;color:var(--teal)}.pillar p{font-size:15px;margin-bottom:22px;max-width:285px}.text-link{margin-top:auto;background:none;border:0;border-bottom:1px solid var(--gold);color:var(--teal);cursor:pointer;font-weight:700;font-size:14px;padding:0 0 5px}.text-link span{margin-left:8px}.service-detail{position:relative;background:white;border:1px solid var(--line);border-radius:18px;margin-top:20px;padding:28px 55px 24px 32px;box-shadow:var(--shadow)}.service-detail[hidden]{display:none}.service-detail h3{font-family:Georgia,serif;color:var(--teal);font-size:26px}.service-detail ul{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 24px;padding-left:19px;color:var(--ink)}.detail-close{position:absolute;top:15px;right:17px;background:#edf3f1;border:0;width:34px;height:34px;border-radius:50%;font-size:25px;cursor:pointer}.mission-section{text-align:center;background:linear-gradient(155deg,#ebf4ef,#f8f8f2 65%,#e5f0ee);position:relative}.mission-inner{max-width:850px}.mission-inner h2{color:var(--teal)}.mission-statement{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(18px,2vw,23px);line-height:1.65;color:var(--ink);margin:30px 0 20px}.mission-inner>p:last-child{max-width:780px;margin:auto}.two-col-header{display:grid;grid-template-columns:1.2fr .8fr;gap:65px;align-items:end;margin-bottom:38px}.two-col-header h2,.pathways-section h2,.partners-section h2,.contact-section h2{color:var(--teal)}.two-col-header>p{margin-bottom:8px}.program-list{border-top:1px solid var(--line)}.program-list>div{display:grid;grid-template-columns:60px 1fr 1fr;align-items:center;gap:20px;padding:21px 12px;border-bottom:1px solid var(--line)}.program-num{color:#ae7d39;font-size:13px}.program-list strong{font-family:Georgia,serif;font-size:20px;color:var(--teal)}.program-list div>span:last-child{color:var(--muted);font-size:14px}.audiences-section{background:#f0f5f1}.section-intro.compact{margin-bottom:40px}.audience-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;text-align:center}.audience-grid>div{font-weight:700;font-size:14px;color:var(--teal)}.audience-symbol{display:grid;place-items:center;width:82px;height:82px;margin:0 auto 15px;border-radius:50%;background:#d9e9e2;color:#387d79;font-family:Georgia,serif;font-size:45px;font-weight:400}.audience-grid>div:nth-child(2) .audience-symbol,.audience-grid>div:nth-child(5) .audience-symbol{background:#f4e8cd;color:#b78a44}.path-grid,.partners-grid,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.path-grid p,.partners-grid p,.contact-grid p{max-width:540px}.path-grid .button{margin-top:10px}.path-steps{border-left:1px solid #d8e5df;padding-left:35px}.path-steps>div{display:flex;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.path-steps b{color:#bd8a40;font-size:13px}.path-steps p{margin:0}.path-steps strong,.path-steps span{display:block}.path-steps strong{color:var(--teal);margin-bottom:5px}.path-steps span{font-size:14px;color:var(--muted)}.partners-section{background:#eaf2ee}.partners-panel{background:#fffdf9;padding:35px;border-radius:18px;border-left:4px solid var(--gold)}.partners-panel h3{color:var(--teal)}.partners-panel p{margin-bottom:0}.support-section{background:var(--teal);color:white;padding:64px 0}.support-inner{display:flex;justify-content:space-between;align-items:center;gap:60px}.support-inner>div{max-width:760px}.support-inner h2{color:white;margin-bottom:17px}.support-inner p{color:#deebe5;margin-bottom:0}.eyebrow-light{color:#e0b477!important}.button-gold{background:#daaa5a;color:#153e40;flex-shrink:0}.button-gold:hover{background:#efbe70}.contact-card{border:1px solid var(--line);padding:33px;border-radius:18px;background:white}.contact-card h3{color:var(--teal)}.small-note{font-size:13px}.footer{background:#eaf0eb;border-top:1px solid #d7e2dd;padding:30px 0}.footer-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:18px}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand strong,.footer-brand small{display:block}.footer-brand strong{color:var(--teal);font-family:Georgia,serif}.footer-brand small{font-size:11px;color:#927037;letter-spacing:.08em}.footer-links{display:flex;gap:18px;justify-content:flex-end;flex-wrap:wrap}.footer-links a{text-decoration:none;font-size:12px;font-weight:700}.footer-inner>p{grid-column:1/-1;font-size:12px;margin:0;color:#6b7d79}
@media(max-width:1080px){.brand-wordmark strong{font-size:14px}.nav{gap:12px}.nav a{font-size:12px}.hero-art{margin-right:-45px}.path-grid,.partners-grid,.contact-grid{gap:55px}}
@media(max-width:850px){.container{width:min(100% - 40px,700px)}.header-inner{min-height:80px}.brand img{width:52px;height:52px}.menu-toggle{display:flex;width:43px;height:43px;border:1px solid var(--line);border-radius:10px;background:transparent;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}.menu-toggle span{height:2px;width:20px;background:var(--teal)}.nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--ivory);padding:22px 25px 28px;border-bottom:1px solid var(--line);box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{padding:12px 5px;font-size:15px}.nav-contact{padding:12px 17px!important;text-align:center;margin-top:8px}.hero-grid{grid-template-columns:1fr;min-height:0;gap:0}.hero-copy{padding:66px 0 10px}.hero-art{width:min(600px,100%);margin:0 auto}.hero-art svg{max-height:360px}.section{padding:75px 0}.pillar-grid{gap:12px}.pillar{padding:24px 14px;min-height:360px}.pillar h3{font-size:19px}.pillar p{font-size:14px}.service-detail ul{grid-template-columns:repeat(2,1fr)}.two-col-header{gap:20px}.audience-grid{gap:12px}}
@media(max-width:610px){.container{width:calc(100% - 36px)}.brand-wordmark strong{font-size:12px}.brand-wordmark span{font-size:10px}.hero-copy{padding:48px 0 0}.hero h1{font-size:clamp(2.55rem,11vw,3.6rem)}.hero-description{font-size:16px}.hero-art svg{max-height:260px}.art-caption{font-size:11px}.section{padding:65px 0}.pillar-grid,.two-col-header,.path-grid,.partners-grid,.contact-grid{grid-template-columns:1fr}.pillar{min-height:0;padding:30px 25px}.pillar-icon{width:85px;height:85px}.service-detail ul{grid-template-columns:1fr}.program-list>div{grid-template-columns:35px 1fr;gap:6px 15px}.program-list div>span:last-child{grid-column:2}.program-list strong{font-size:18px}.audience-grid{grid-template-columns:repeat(2,1fr);row-gap:30px}.audience-grid>div:last-child{grid-column:1/-1}.audience-symbol{height:65px;width:65px;font-size:37px}.path-grid,.partners-grid,.contact-grid{gap:26px}.path-steps{padding-left:18px}.support-inner{align-items:flex-start;flex-direction:column;gap:25px}.footer-inner{grid-template-columns:1fr}.footer-links{justify-content:flex-start}.footer-inner>p{grid-column:auto}.button-row{gap:9px}.button{font-size:13px;padding:11px 17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* Inner pages: intentionally inherit the approved homepage's visual system */
.nav a[aria-current="page"]{color:#ab7227;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}
.interior-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#fbfaf6 38%,#eaf3ef);padding:94px 0 102px}.interior-hero .container{position:relative;z-index:1}.interior-hero .eyebrow{margin-bottom:14px}.interior-hero h1{color:var(--teal);max-width:940px;margin-bottom:24px}.interior-hero p:last-of-type{font-size:clamp(17px,2vw,21px);max-width:760px;line-height:1.7}.interior-wave{position:absolute;bottom:-86px;right:-90px;width:490px;height:240px;border-radius:60% 40% 0 0;background:rgba(115,172,156,.14);transform:rotate(-11deg)}
.page-section{padding:82px 0}.page-section.shade{background:#edf4ef}.page-section h2{color:var(--teal);max-width:840px;margin-bottom:26px}.page-section p{max-width:860px}.page-section .lead{font-family:Georgia,serif;font-size:clamp(19px,2.3vw,25px);line-height:1.7}.content-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:34px}.content-cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.info-card{padding:30px;border:1px solid #dae8e1;background:#fffefa;border-radius:16px}.info-card h3{font-family:Georgia,serif;color:var(--teal);font-size:22px}.info-card p{margin-bottom:0;font-size:15px}.pill-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;max-width:1020px;margin:28px 0 0}.pill-list li{border:1px solid #d6e5df;border-radius:10px;padding:12px 16px;background:#fffefa;color:var(--ink);font-size:15px}.page-cta{background:var(--teal);color:#fff;padding:57px 0}.page-cta>.container{display:flex;justify-content:space-between;align-items:center;gap:35px}.page-cta h2{color:white;margin-bottom:8px}.page-cta p{color:#e5eeec;margin-bottom:0}.text-button{display:inline-block;margin-top:15px;color:var(--teal);font-weight:700;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px}.steps-list{padding-left:25px;max-width:860px}.steps-list li{padding:12px 0}.notice{padding:28px;background:#f4eddd;border-left:4px solid var(--gold);border-radius:10px;max-width:800px}.notice p{margin-bottom:0}.service-detail .text-button{margin-top:16px}
@media(max-width:850px){.content-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pill-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.interior-hero{padding:55px 0 70px}.page-section{padding:58px 0}.content-cards,.content-cards.two,.pill-list{grid-template-columns:1fr}.info-card{padding:24px}.page-cta>.container{align-items:flex-start;flex-direction:column}}

.info-card .text-button{margin-top:20px}.info-card .text-button:focus-visible{outline:3px solid var(--gold);outline-offset:5px}

/* Leadership: quiet placeholders until approved photography is available */
.team-profiles{display:grid;gap:34px;margin-top:30px}.team-profile{display:grid;grid-template-columns:104px minmax(0,1fr);gap:26px;background:#fffefa;border:1px solid #dae8e1;border-radius:16px;padding:32px;scroll-margin-top:100px}.team-profile h3{font-family:Georgia,serif;color:var(--teal);font-size:clamp(24px,2.8vw,32px);margin:0 0 6px}.team-profile p{max-width:800px}.team-credentials{color:#456969;font-size:15px;font-weight:600;margin:0 0 18px}.team-avatar{width:90px;height:90px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#dfeee7,#bdd7cb);border:1px solid #a9cbbb;color:var(--teal);font-family:Georgia,serif;font-size:28px;letter-spacing:.04em;flex-shrink:0}.team-avatar-small{width:62px;height:62px;font-size:21px}.team-card-heading{display:flex;gap:18px;align-items:center;margin-bottom:18px}.team-card-heading h3{margin-bottom:4px}.team-card-heading .team-credentials{margin:0 0 5px}.team-card-heading strong{font-size:14px;color:var(--teal)}@media(max-width:610px){.team-profile{grid-template-columns:1fr;padding:24px}.team-profiles{gap:18px}}

/* v1.1: Deliver decorative artwork as theme SVG files, not inline post HTML.
   WordPress sanitizes inline SVG when importing page content. */
.hero-art { min-height: 440px; background: url('assets/hero-landscape.svg') center bottom / contain no-repeat; }
.hero-art svg { display: none; }
.pillar-icon { background-position: center; background-repeat: no-repeat; background-size: contain; }
.pillar-icon svg { display: none; }
.pillar-therapy .pillar-icon { background-image: url('assets/therapy-icon.svg'); }
.pillar-education .pillar-icon { background-image: url('assets/education-icon.svg'); }
.pillar-community .pillar-icon { background-image: url('assets/community-icon.svg'); }
@media (max-width: 850px) { .hero-art { min-height: 330px; } }
@media (max-width: 610px) { .hero-art { min-height: 245px; } }

/* MGMT v1.2: clinic details and directions in footer */
.footer-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.footer-links { align-self: center; }
.footer-location { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid #d7e2dd; font-size: 13px; color: #586b6b; }
.footer-location strong { display: block; color: #07494d; font-size: 14px; margin-bottom: 4px; }
.footer-location address { font-style: normal; line-height: 1.5; }
.footer-location span { display: block; margin-top: 5px; }
.footer-location a { display: inline-block; color: #07494d; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; margin-top: 6px; }
.footer-location a:hover { color: #9f6821; }
.footer-copyright { padding-top: 15px; border-top: 1px solid #d7e2dd; }
@media(max-width:610px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-location, .footer-copyright { grid-column: 1; }
}

/* MGMT v1.3: accessible Programs submenu in the main navigation */
.nav-programs { position:relative; font-size:13px; font-weight:700; }
.nav-programs summary { display:flex; align-items:center; gap:5px; cursor:pointer; list-style:none; white-space:nowrap; padding:8px 0; }
.nav-programs summary::-webkit-details-marker { display:none; }
.nav-programs summary::marker { content:""; }
.nav-programs summary:hover, .nav-programs summary.nav-programs-active { color:#bc8330; }
.nav-programs summary:focus-visible, .nav-programs-menu a:focus-visible {outline:3px solid #b67a20;outline-offset:3px;}
.nav-chevron { font-size:15px; line-height:1; transition:transform .18s ease; }
.nav-programs[open] .nav-chevron { transform:rotate(180deg); }
.nav-programs-menu { position:absolute; left:-14px; top:100%; min-width:245px; padding:9px; background:#fbfaf6; border:1px solid #d7e2dd; border-radius:12px; box-shadow:0 15px 35px rgba(21,65,61,.13); display:grid; gap:2px; z-index:30; }
.nav-programs-menu a { display:block; padding:10px 12px; border-radius:7px; text-decoration:none; color:#07494d; font-size:13px; font-weight:600; }
.nav-programs-menu a:hover, .nav-programs-menu a[aria-current="page"] { background:#e7f0e8; color:#07494d; }
@media(max-width:1080px) { .nav-programs { font-size:12px; } }
@media(max-width:850px) {
  .nav-programs { width:100%; font-size:15px; }
  .nav-programs summary { padding:12px 5px; }
  .nav-programs-menu { position:static; box-shadow:none; border:0; border-left:2px solid #d7e2dd; border-radius:0; padding:2px 0 4px 12px; min-width:0; background:transparent; }
  .nav-programs-menu a { padding:11px; font-size:14px; }
}

/* MGMT v1.4: Services overview link with accessible quick-access submenu */
.nav-services { position:relative; display:flex; align-items:center; gap:1px; }
.nav-services-link { display:inline-flex; align-items:center; }
.nav-services-toggle { border:0; background:transparent; color:var(--ink); padding:8px 5px; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; border-radius:5px; }
.nav-services-toggle:hover, .nav-services-toggle[aria-expanded="true"] { color:#a9762b; }
.nav-services-toggle:focus-visible { outline:3px solid #b67a20; outline-offset:2px; }
.nav-services-toggle .nav-chevron { display:inline-block; transition:transform .18s ease; }
.nav-services-toggle[aria-expanded="true"] .nav-chevron { transform:rotate(180deg); }
.nav-services-menu { position:absolute; top:100%; left:-10px; min-width:245px; padding:9px; background:#fbfaf6; border:1px solid #d7e2dd; border-radius:12px; box-shadow:0 15px 35px rgba(21,65,61,.13); z-index:30; }
.nav-services-menu[hidden] { display:none !important; }
.nav-services-menu a { display:block; padding:10px 12px; font-size:13px; font-weight:600; border-radius:7px; color:#07494d; }
.nav-services-menu a:hover, .nav-services-menu a[aria-current="page"] { color:#07494d; background:#e7f0e8; }
@media(max-width:850px) {
 .nav-services { width:100%; flex-wrap:wrap; justify-content:space-between; gap:0; }
 .nav-services-link { flex:1; }
 .nav-services-toggle { padding:12px 15px; min-width:44px; min-height:44px; }
 .nav-services-menu { flex-basis:100%; position:static; box-shadow:none; border:0; border-left:2px solid #d7e2dd; border-radius:0; padding:2px 0 4px 12px; min-width:0; background:transparent; }
 .nav-services-menu a { padding:11px; font-size:14px; }
}

/* v1.7: accessible gold text; keep original gold for decorative accents. */
.brand-wordmark span,
.eyebrow:not(.eyebrow-light),
.program-num,
.path-steps b,
.footer-brand small,
.nav a[aria-current="page"],
.nav-services-toggle:hover,
.nav-services-toggle[aria-expanded="true"],
.footer-location a:hover,
.nav a:hover,
.footer a:hover { color: #80551e; }
/* Explicit, visible focus for expanded service content and navigation. */
.service-detail:focus { outline: 3px solid #80551e; outline-offset: 3px; }
.menu-toggle:focus-visible,
.nav-services-toggle:focus-visible { outline: 3px solid #80551e; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-services-toggle .nav-chevron { transition: none; }
}
