/* Homepage: reference 2's layout with reference 1's palette. */
:root {
  --color-page: #faf8f5;
  --color-section-alt: #edf4f6;
  --color-ink: #12263e;
  --color-muted: #435164;
  --color-brand: #285581;
  --color-brand-hover: #193d61;
  --color-accent: #138799;
  --color-line: #dce3e5;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --site-width: 1200px;
  --section-space: 64px;
  --button-radius: 999px;
}
html { scroll-padding-top: 110px; }
img { max-width: 100%; }
.section + .section { border: 0; }
.section h2, .hero h1 { font-weight: 400; letter-spacing: -.035em; }
.section h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.12; margin-bottom: 18px; }
.section p, .hero p { line-height: 1.65; }
.section .section-eyebrow, .hero .section-eyebrow { color: #466074; font-size: .68rem; letter-spacing: .24em; font-weight: 600; margin: 0 0 15px; }
.site-header { padding-block: 12px; background: #faf8f5f5; box-shadow: none; border: 0; }
.nav { gap: 28px; }
.academy-logo { display: block; width: 135px; height: 61px; object-fit: contain; }
.nav-links { gap: 26px; margin-inline: auto; }
.nav-links a { font-size: .85rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.nav-location { color: var(--color-brand); font-size: .8rem; text-decoration: none; white-space: nowrap; }
.nav-location::before { content: '\25CF'; margin-right: 8px; font-size: .65rem; }
.button { margin-top: 0; padding: 14px 23px; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: none; line-height: 1.25; }
.nav-action .button { padding: 13px 24px; font-size: .85rem; white-space: nowrap; }
.home-hero { background: #f4f1ec; padding-block: 0; }
.home-hero .inner { position: relative; padding-block: 58px; }
.hero-photo { position: absolute; right: 0; top: 0; width: 65%; height: 100%; object-fit: cover; object-position: center 58%; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f4f1ec 0%, #f4f1ec 35%, #f4f1ecd9 42%, #f4f1ec00 58%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; width: 48%; }
.hero h1 { max-width: 540px; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1.04; margin-bottom: 22px; }
.home-hero p:not(.section-eyebrow) { max-width: 435px; font-size: .96rem; }
.hero-copy p a { color: inherit; text-decoration-color: #9dabb5; text-underline-offset: 3px; }
.hero-actions { gap: 12px; margin-top: 27px; }
.hero-actions .button { padding: 13px 19px; font-size: .8rem; }
.button span { margin-left: 8px; }
.button-piano { background: #138799; }
.button-piano:hover { background: #0d6d7c; }
.button-voice { background: #cb6370; }
.button-voice:hover { background: #b04756; }
.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.section-photo img { width: 100%; height: 310px; object-fit: cover; display: block; }
.home-intro { padding-block: 38px; background: var(--color-page) !important; }
.home-intro .section-photo img { border-radius: 48% 49% 39% 28% / 56% 54% 35% 37%; }
.section-copy p a { color: #168192; text-underline-offset: 4px; }
.home-services { background: #eaf2f5 !important; padding-block: 46px; }
.home-services > .inner > h2, .home-services > .inner > p { text-align: center; max-width: none; }
.home-services > .inner > h2 { margin-bottom: 8px; }
.home-services .service-list { gap: 24px; margin-top: 28px; }
.home-services .service-item { display: grid; grid-template-columns: 36% 1fr; padding: 7px; border: 0; border-radius: 14px; box-shadow: none; background: #ffffffc9; overflow: hidden; }
.service-item:hover { transform: none; }
.lesson-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; border-radius: 10px; }
#piano-lessons .lesson-photo img { object-position: 37% center; }
#voice-lessons .lesson-photo img { object-position: 81% center; }
.lesson-copy { padding: 24px 20px; }
.service-item h3 { margin: 0 0 14px; font-size: 1.65rem; font-weight: 400; letter-spacing: -.035em; }
.service-item p { margin: 0; font-size: .88rem; line-height: 1.5; }
.service-bullets { margin: 16px 0; gap: 7px; font-size: .8rem; line-height: 1.45; }
.service-bullets li { position: relative; padding-left: 20px; }
.service-bullets li::before { content: '\2713'; display: grid; place-items: center; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; font-size: 9px; color: white; background: #138799; }
#voice-lessons .service-bullets li::before { background: #cb6370; }
.card-link { margin: 4px 0 0; color: white; background: #138799; border-radius: 40px; padding: 11px 15px; font-size: .78rem; text-decoration: none; letter-spacing: 0; text-transform: none; font-weight: 500; }
#voice-lessons .card-link { background: #cb6370; }
.service-item:hover .card-link { color: white; }
.card-link::after { content: ' \2192'; margin-left: 5px; }
.home-business-showcase { background: var(--color-page) !important; padding-block: 48px; }
.home-business-showcase .inner { margin-bottom: 0; }
.review-layout { display: grid; grid-template-columns: 1.1fr 1fr .55fr; gap: 36px; align-items: center; }
.review-intro h2 { font-size: 2rem; }
.review-intro p, .review-quote p { font-size: .87rem; }
.review-quote { border-left: 1px solid var(--color-line); padding-left: 32px; }
.quote-mark { font: 3.5rem/.7 Georgia, serif; color: var(--color-brand); }
.review-quote blockquote { margin: 12px 0; font-style: italic; }
.review-quote .review-note { font-size: .75rem; color: #657080; }
.review-photo img { height: 200px; width: 100%; object-fit: cover; object-position: 40% center; border-radius: 35% 42% 30% 20%; }
.home-bio { background: #f0eeea !important; padding-block: 0; }
.home-bio .photo-split { grid-template-columns: .8fr 1.4fr; gap: 60px; }
.home-bio .section-photo img { height: 355px; object-position: center 35%; border-radius: 0 110px 110px 0; }
.home-bio .section-copy { padding-block: 40px; }
.home-bio h2 { font-size: 2rem; }
.home-why-us { background: var(--color-page) !important; }
.home-why-us .section-copy { grid-column: 1; grid-row: 1; }
.home-why-us .section-photo { grid-column: 2; }
.home-why-us .section-photo img { border-radius: 90px 20px 90px 20px; }
.faq { background: #edf4f6 !important; }
.faq-layout { grid-template-columns: .7fr 1.3fr; align-items: start; gap: 70px; }
.faq-list details { background: transparent; border: 0; border-bottom: 1px solid #d0dee2; border-radius: 0; padding: 18px 0; }
.faq-list summary { font-size: .95rem; font-weight: 500; padding-right: 24px; }
.faq-list p { font-size: .9rem; }
.faq-list a { color: #126f81; }
.location-contact { background: #f7f1eb !important; }
.contact-copy .button { margin-top: 25px; }
.visit-media { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; }
.academy-exterior { width: 100%; height: 300px; object-fit: cover; border-radius: 60px 6px 6px 6px; }
.visit-media .map-placeholder, .visit-media iframe { min-height: 300px; height: 300px; border: 0; border-radius: 6px; }
.site-footer { background: #152c44; color: #f7f8fa; padding-top: 45px; }
.site-footer p, .site-footer a, .site-footer address, .footer-lockup em { color: #d3dde5; }
.footer-brand .academy-logo { background: #faf8f5; border-radius: 8px; padding: 8px; width: 150px; height: 76px; }
.footer-lockup { flex-wrap: wrap; }
.footer-lockup strong, .footer-column h2 { color: white; }
.footer-bottom-wrap { background: transparent; border-color: #ffffff20; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #138799; outline-offset: 5px; }
@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .nav-links { gap: 18px; }
  .nav-location { display: none; }
  .photo-split { gap: 38px; }
  .hero-copy { width: 53%; }
  .home-services .service-item { grid-template-columns: 32% 1fr; }
  .lesson-copy { padding: 18px 14px; }
  .review-layout { grid-template-columns: 1fr 1fr; }
  .review-photo { display: none; }
}
@media (max-width: 720px) {
  :root { --gutter: 22px; --section-space: 44px; }
  html { scroll-padding-top: 90px; }
  .academy-logo { width: 115px; height: 52px; }
  .nav-links { margin: 0; gap: 0; }
  .nav-action .button { padding: 11px 16px; font-size: .78rem; }
  .home-hero .inner { padding-block: 32px 34px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.45rem, 8vw, 3.4rem); max-width: 550px; }
  .home-hero p:not(.section-eyebrow) { max-width: 100%; }
  .home-hero { display: flex; flex-direction: column; }
  .hero-photo { position: static; order: 2; width: calc(100% + 44px); max-width: none; margin-left: -22px; height: 300px; object-position: center 58%; }
  .home-hero::after { display: none; }
  .photo-split, .home-bio .photo-split, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .home-intro .section-photo img { height: 270px; }
  .home-services .service-list { grid-template-columns: 1fr; }
  .home-services .service-item { grid-template-columns: 35% 1fr; }
  .lesson-photo img { min-height: 290px; }
  .lesson-copy { padding: 22px 16px; }
  .review-layout { grid-template-columns: 1fr; gap: 28px; }
  .review-quote { padding-left: 24px; }
  .home-bio { padding-block: 36px; }
  .home-bio .section-photo img { height: 330px; border-radius: 12px 80px 12px 12px; }
  .home-bio .section-copy { padding: 0; }
  .home-why-us .section-copy, .home-why-us .section-photo { grid-column: auto; grid-row: auto; }
  .home-why-us .section-copy { order: -1; }
  .footer-content { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Larger branding, testimonials, and interactive mockup details. */
.academy-logo { width: 270px; height: 122px; }
.footer-brand .academy-logo { width: 300px; height: 152px; }
html { scroll-padding-top: 160px; }
.nav { gap: 18px; }
.nav-links { gap: 20px; }
.brand { flex-shrink: 0; }
.reviews-heading { text-align: center; margin-bottom: 34px; }
.reviews-heading h2, .reviews-heading p { margin-inline: auto; }
.testimonial-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.testimonial-card { margin: 0; padding: 36px; border: 1px solid #e0e6e8; border-radius: 20px; background: #fff; }
.featured-review { display: flex; flex-direction: column; background: #eaf3f5; }
.testimonial-quote-mark { color: #138799; font: 5rem/.9 Georgia, serif; }
.featured-review blockquote { margin: 8px 0 28px; }
.featured-review blockquote p { font: 400 clamp(1.35rem, 2.3vw, 1.8rem)/1.45 var(--font-display); color: var(--color-ink); }
.featured-review figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review-avatar { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #138799; font-size: 1.5rem; }
.featured-review figcaption strong, .featured-review figcaption small { display: block; }
.featured-review figcaption strong { font-size: .9rem; font-weight: 600; }
.featured-review figcaption small { color: var(--color-muted); font-size: .76rem; margin-top: 2px; }
.review-highlights h3 { font: 400 2.2rem/1.13 var(--font-display); letter-spacing: -.025em; margin: 0 0 18px; }
.review-highlights > p:not(.section-eyebrow) { font-size: .94rem; }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.review-tags span { border-radius: 30px; background: #f8eeed; color: #87464d; padding: 6px 11px; font-size: .75rem; }
.review-highlights .review-summary-label { margin-top: 24px; font-size: .73rem !important; color: #687481; }
.section .reviews-closing { max-width: 760px; text-align: center; margin: 26px auto 0; font-size: .85rem; }
.card-link { border: 0; cursor: pointer; font-family: inherit; }
.lead-modal-panel { width: min(480px, calc(100% - 32px)); border: 0; border-radius: 22px; padding: 38px; background: #faf8f5; box-shadow: 0 25px 100px #10243c40; }
.lead-modal-panel .lead-capture-placeholder { padding: 0; border: 0; background: transparent; min-height: 0; }
.lead-modal-close { border-radius: 50%; background: #eaf0f2; color: var(--color-ink); right: 14px; top: 14px; }
.lead-heading { margin-bottom: 24px; }
.lead-heading .section-eyebrow { font-size: .6rem; letter-spacing: .16em; padding-right: 15px; }
.lead-heading h2 { font: 400 2.3rem/1.08 var(--font-display); letter-spacing: -.035em; margin: 10px 0 14px; }
.lead-heading > p:last-child { font-size: .9rem; color: var(--color-muted); }
.lead-capture-form { gap: 16px; }
.lead-capture-form .form-field { gap: 6px; font-size: .84rem; font-weight: 600; }
.lead-capture-form input { background: #fff; border: 1px solid #ccd7dc; border-radius: 9px; padding: 13px 14px; min-width: 0; width: 100%; font: 400 .95rem var(--font-body); }
.lead-capture-form input:focus { outline: 2px solid #138799; outline-offset: 2px; }
.lead-capture-form .button { margin-top: 6px; width: 100%; }
.form-demo-note { margin: 0; font-size: .74rem; color: #687481; text-align: center; }
.lead-form-status[data-status="success"] { padding: 13px; border-radius: 8px; background: #e3f1eb; color: #235c47; font-size: .87rem; }
.mock-chat { position: fixed; bottom: 24px; right: 24px; z-index: 90; font-family: var(--font-body); }
.chat-launcher { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 50px; background: #285581; color: #fff; padding: 16px 22px; cursor: pointer; box-shadow: 0 5px 24px #10243c30; font: 600 .9rem var(--font-body); margin-left: auto; }
.chat-launcher svg { width: 24px; height: 24px; }
.chat-panel { width: min(355px, calc(100vw - 32px)); margin-bottom: 14px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 70px #10243c30; border: 1px solid #e0e6e8; }
.chat-header { display: flex; gap: 12px; justify-content: space-between; align-items: start; padding: 22px 20px; color: #fff; background: #285581; }
.chat-header strong { display: block; max-width: 230px; font-size: 1rem; line-height: 1.35; }
.chat-header span { display: block; font-size: .7rem; margin-top: 7px; color: #d5e5f4; }
.chat-close { border: 0; background: transparent; color: white; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.chat-messages { padding: 18px 18px 4px; max-height: min(260px, 30vh); overflow-y: auto; overscroll-behavior: contain; }
.chat-bubble { margin: 0 22px 12px 0; padding: 13px; border-radius: 12px 12px 12px 2px; background: #edf4f6; color: var(--color-ink); font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat-bubble.from-user { margin: 0 0 12px 22px; border-radius: 12px 12px 2px 12px; background: #285581; color: #fff; }
.chat-topics { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 18px 16px; }
.chat-topics button { font: 500 .72rem var(--font-body); border: 1px solid #c9dbdf; border-radius: 30px; background: white; color: #126f81; padding: 8px 10px; cursor: pointer; }
.chat-form { display: flex; gap: 8px; margin: 0 18px; padding-top: 14px; border-top: 1px solid #e0e6e8; }
.chat-form input { width: 100%; min-width: 0; border: 1px solid #ccd7dc; border-radius: 8px; padding: 11px; font: .85rem var(--font-body); }
.chat-form button { border: 0; border-radius: 8px; padding: 5px 14px; background: #138799; color: white; font-size: 1.2rem; cursor: pointer; }
.chat-disclaimer { margin: 12px 18px 16px; color: #637182; font-size: .65rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.modal-open .mock-chat { visibility: hidden; }
.button, .card-link, .chat-launcher, .chat-topics button, .nav-links a, .section-photo img, .lesson-photo img, .testimonial-card, .faq-list details { transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease; }
.section-photo, .lesson-photo { overflow: hidden; }
@media (hover: hover) {
  .button:hover, .card-link:hover, .chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 7px 20px #17345024; }
  .nav-links a:hover { color: #138799; transform: translateY(-2px); }
  .testimonial-card:hover, .testimonial-card.reveal.is-visible:hover { transform: translateY(-5px); box-shadow: 0 15px 35px #1734500d; }
  .section-photo:hover img, .service-item:hover .lesson-photo img { transform: scale(1.025); }
  .chat-topics button:hover { background: #eaf3f5; }
  .faq-list details:hover { background: #ffffff70; }
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-copy { animation: enter-soft .65s ease both; }
.lead-modal:not([hidden]) .lead-modal-panel, .chat-panel:not([hidden]) { animation: enter-soft .25s ease both; }
@keyframes enter-soft { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) and (min-width: 721px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: .76rem; }
  .nav { gap: 12px; flex-wrap: wrap; }
  .nav-action .button { padding: 12px 18px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 196px; }
  .academy-logo { width: 230px; height: 104px; }
  .nav { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .nav-toggle { grid-column: 2; grid-row: 1; }
  .nav-action { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .nav-action .button { width: 100%; }
  .nav-links { grid-row: 3; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 26px; }
  .mock-chat { bottom: 16px; right: 16px; }
  .chat-launcher { padding: 14px; }
  .chat-launcher span { display: none; }
  .lead-modal { padding: 16px; }
  .lead-modal-panel { width: 100%; padding: 38px 24px 24px; }
  .lead-heading h2 { font-size: 2rem; }
  .footer-brand .academy-logo { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.google-reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.google-review { display: flex; flex-direction: column; padding: 26px; border: 1px solid #e3e6e8; border-radius: 12px; box-shadow: 0 3px 12px #152c4406; font-family: Arial, sans-serif; }
.google-review-header { display: flex; gap: 12px; align-items: center; }
.google-review-avatar { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 50%; font-size: 1.2rem; color: #fff; }
.avatar-blue { background: #4778a7; }
.avatar-green { background: #508465; }
.avatar-coral { background: #b26b75; }
.google-review h3 { font: 600 .95rem/1.35 Arial, sans-serif; color: #202124; margin: 0 0 4px; }
.google-review .review-origin { font-size: .72rem; line-height: 1.4; color: #70757a; }
.google-word { font: 600 1rem Arial, sans-serif; letter-spacing: -.7px; white-space: nowrap; }
.review-origin .google-word { font-size: .8rem; }
.google-word span:nth-child(1), .google-word span:nth-child(4) { color: #4285f4; }
.google-word span:nth-child(2), .google-word span:nth-child(6) { color: #ea4335; }
.google-word span:nth-child(3) { color: #fbbc05; }
.google-word span:nth-child(5) { color: #34a853; }
.google-review-rating { display: flex; align-items: center; gap: 10px; margin: 22px 0 16px; }
.review-stars { color: #fbbc04; font-size: 1.12rem; letter-spacing: 1px; line-height: 1; }
.google-review-rating > span:last-child { color: #70757a; font-size: .72rem; }
.google-review blockquote { margin: 0 0 26px; }
.google-review blockquote p { font: 400 .9rem/1.65 Arial, sans-serif; color: #3c4043; }
.google-review-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid #eef0f2; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.google-review-footer > span:last-child { font-size: .65rem; color: #70757a; }
.google-review-footer .sample-review-badge { background: #f7efdf; color: #795c28; padding: 6px 9px; border-radius: 5px; }
@media (max-width: 900px) { .google-reviews-grid { grid-template-columns: 1fr; } }

/* Adapt the reference design to this site's additional programs and native form. */
.home-services article.service-item { padding: 7px; }
.home-services .service-item > .lesson-copy:only-child { grid-column: 1 / -1; }
.nav-dropdown summary { font-size: .85rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
/* Keep the menu reachable across the space below its trigger. */
@media (hover: hover) and (min-width: 721px) {
  .nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -19px;
    left: 0;
    width: 100%;
    height: 19px;
  }
}
.lead-capture-form select, .lead-capture-form textarea { background: #fff; border: 1px solid #ccd7dc; border-radius: 9px; padding: 13px 14px; width: 100%; min-width: 0; font: 400 .95rem var(--font-body); }
.lead-capture-form select:focus, .lead-capture-form textarea:focus { outline: 2px solid #138799; outline-offset: 2px; }
@media (max-width: 380px) {
  .home-services .service-item { grid-template-columns: 1fr; }
  .lesson-photo img { height: 220px; min-height: 0; }
  .visit-media { grid-template-columns: 1fr; }
}
