/* Home presentation. Keep the announcement and motto rules in style.css. */
.gsharp-home {
  --home-navy: #101a30;
  --home-midnight: #0b1325;
  --home-ivory: #faf8f2;
  --home-gold: #d7b376;
  --home-rule: #dcd2be;
}

html:has(.gsharp-home) { scroll-padding-top: 94px; }

.gsharp-home > header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 78px;
  padding-inline: clamp(18px, 3.5vw, 64px);
  gap: clamp(16px, 2vw, 32px);
  background: var(--home-midnight);
  border-bottom: 1px solid #d7b37655;
  box-shadow: 0 6px 22px #09111c24;
}

.gsharp-home > header .brand-seal { width: 48px; height: 48px; }
.gsharp-home > header nav { gap: clamp(10px, 1.15vw, 22px); align-items: center; }
.gsharp-home > header nav a { white-space: nowrap; }
.gsharp-home > header nav .btn { padding: 8px 10px; white-space: nowrap; }
.gsharp-home > header > .header-booking { display: inline-flex; white-space: nowrap; }
.gsharp-home .btn:not(.light) {
  border: 1px solid #c39b57;
  border-radius: 4px;
  background: linear-gradient(165deg, #f2d69d, #d4ab66);
  color: #171c28;
  box-shadow: inset 0 1px #fff3d29c, 0 3px 9px #10192a1a;
}
.gsharp-home .btn:not(.light):hover { background: #f3d69d; }
.gsharp-home .btn:focus-visible,
.gsharp-home #menu:focus-visible,
.gallery-toggle:focus-visible { outline: 2px solid #b1874b; outline-offset: 4px; }

.gsharp-home main { background: var(--home-ivory); color: #20283a; }
.gsharp-home .section { padding-block: clamp(60px, 7vw, 116px); }
.gsharp-home main h2 { font-size: clamp(36px, 4.4vw, 70px); letter-spacing: -.045em; text-wrap: balance; }
.gsharp-home main h2 em { color: #85602f; }
.gsharp-home .section-top { margin-bottom: clamp(30px, 4vw, 62px); }
.gsharp-home .section-top h2 { margin-bottom: 0; }

.gsharp-home .hero { background: var(--home-midnight); }
.gsharp-home .brand-banner { max-width: 1120px; padding: 0; }
.gsharp-home .hero-copy {
  background: radial-gradient(ellipse at 78% 0, #243451, transparent 70%), var(--home-midnight);
  padding-block: clamp(42px, 6vw, 92px);
  box-shadow: 0 -18px 60px #0005;
}
.gsharp-home .hero-copy h1 { font-size: clamp(43px, 5.1vw, 83px); line-height: 1.04; letter-spacing: -.045em; }
.gsharp-home .hero-copy .eyebrow { align-self: end; }
.gsharp-home .hero-copy > p:not(.hero-brandline) { grid-row: 2; font-size: 15px; }
.gsharp-home .hero-copy > .hero-brandline { color: #edd096; }
.gsharp-home .family { background: #f1ebdf; border-bottom-color: var(--home-rule); }

.gsharp-home :is(.academy, .musical-range, .ensembles, .faq) { background: var(--home-ivory); }
.gsharp-home :is(.first-session, .academy-details, .next-step, .contact) { background: #f0eadf; }
.gsharp-home :is(.performance, .partners, .media-spotlight) { background: var(--home-navy); color: #faf7ee; }
.gsharp-home :is(.performance, .partners) h2 em { color: #e3c48a; }
.gsharp-home .performance { padding-bottom: 24px; }
.gsharp-home .performance-layout { display: block; }
.gsharp-home .stage-portrait img { height: clamp(210px, 36vw, 490px); object-position: center 34%; }
.media-spotlight { border-top: 1px solid #d7b37639; }
.media-spotlight h2 { margin-bottom: clamp(26px, 4vw, 50px); }
.gsharp-home .media-spotlight .performance-clips { gap: clamp(16px, 3vw, 44px); }
.media-spotlight .performance-clips article { min-width: 0; border: 1px solid #d7b37650; }
.gsharp-home .media-spotlight video { height: clamp(285px, 41vw, 600px); }
.gsharp-home .media-spotlight .performance-clips p {
  padding: 16px 18px;
  margin: 0;
  color: #e7d1a9;
  font-size: 13px;
  border-top: 1px solid #d7b37650;
}

.voice-scheduler {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 760px;
  border: 1px solid var(--home-rule);
  border-radius: 6px;
  background: white;
  margin-top: 8px;
}

.portrait-gallery { position: relative; overflow: hidden; padding-block: 16px; background: var(--home-midnight); }
.portrait-gallery-track { display: flex; width: max-content; }
.portrait-gallery-set { display: flex; gap: 14px; padding-inline-end: 14px; }
.portrait-gallery img {
  display: block;
  width: clamp(180px, 24vw, 375px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
}
.portrait-gallery.is-animated .portrait-gallery-track { animation: portraits 64s linear infinite; }
.portrait-gallery:is(:hover, .is-paused) .portrait-gallery-track { animation-play-state: paused; }
@keyframes portraits { to { transform: translateX(-50%); } }
.gallery-toggle {
  position: absolute;
  bottom: 25px;
  right: 14px;
  width: 42px;
  height: 42px;
  background: var(--home-midnight);
  color: #fff1d5;
  border: 1px solid #d7b376;
  border-radius: 50%;
}
.portrait-gallery:not(.is-animated) { overflow-x: auto; }
.portrait-gallery:not(.is-animated) [aria-hidden="true"] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .home-reveal { opacity: 0; transform: translateY(13px); transition: opacity .65s ease, transform .65s ease; }
  .home-reveal:is(.is-visible, :focus-within, :target) { opacity: 1; transform: none; }
  .gsharp-home .brand-banner { animation: banner-depth 1.3s ease-out both; }
  @keyframes banner-depth { from { transform: scale(1.022); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.gsharp-home) { scroll-behavior: auto; }
  .portrait-gallery.is-animated .portrait-gallery-track { animation: none; }
}

@media (max-width: 1370px) {
  .gsharp-home > header #menu { display: block; margin-left: auto; padding: 9px 11px; border: 1px solid #d7b37664; background: transparent; color: #faf7ee; font-size: 12px; }
  .gsharp-home > header nav { display: none; position: absolute; inset: 100% 0 auto; margin: 0; padding: 20px 6%; background: var(--home-navy); flex-direction: column; align-items: flex-start; font-size: 14px; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .gsharp-home > header nav.open { display: flex; }
}
@media (max-width: 680px) {
  html:has(.gsharp-home) { scroll-padding-top: 74px; }
  .gsharp-home > header { height: 64px; padding-inline: 12px; gap: 8px; }
  .gsharp-home > header .brand { gap: 6px; }
  .gsharp-home > header .brand-name { font-size: 10px; letter-spacing: .8px; }
  .gsharp-home > header .brand-name small { font-size: 6px; letter-spacing: 0; }
  .gsharp-home > header .brand-seal { width: 34px; height: 34px; }
  .gsharp-home > header #menu { padding: 7px 6px; font-size: 10px; }
  .gsharp-home > header > .header-booking { white-space: normal; text-align: center; line-height: 1.25; padding: 8px; font-size: 10px; min-height: 38px; }
  .gsharp-home > header nav { max-height: calc(100dvh - 64px); }
  .gsharp-home .hero-copy h1 { font-size: clamp(36px, 9vw, 54px); }
  .gsharp-home .section-top h2 { margin-bottom: 16px; }
  .gsharp-home .media-spotlight .performance-clips { grid-template-columns: 1fr; }
  .voice-scheduler { height: 790px; }
}

/* Academy lesson pricing and prepaid bundles. */
.gsharp-home .academy-details {
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
}

#lesson-pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

#lesson-pricing .pricing-card {
  display: grid;
  align-content: space-between;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: clamp(14px, 1.6vw, 25px);
  border: 1px solid var(--home-rule);
  border-radius: 5px;
  background: var(--home-ivory);
  color: var(--home-navy);
}

#lesson-pricing .pricing-discovery {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 20px;
  padding: clamp(20px, 3vw, 38px);
  border-color: #b58e4e;
  background: linear-gradient(125deg, #faf0d5, #e7c68c);
  box-shadow: inset 0 1px #fff9e8, 0 5px 18px #4c361419;
}

.pricing-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(16px, 1.45vw, 23px);
  line-height: 1.3;
}

.pricing-card strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1.1;
}

.pricing-discovery .pricing-name { font-size: clamp(23px, 3vw, 43px); }
.pricing-discovery strong { grid-area: 1 / 2 / 4; }
.pricing-duration, .pricing-note { grid-column: 1; font-size: 13px; }
.pricing-separator { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pricing-arrangement { font-size: 14px; }
.pricing-bundle-term { margin: 28px 0 0; font-size: 14px; }
.pricing-policy { margin: 24px 0 0; font-size: 14px; }

@media (max-width: 960px) {
  .gsharp-home .academy-details { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  #lesson-pricing .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Student sponsorship cards: scoped to the Partnerships support section. */
.student-support{grid-column:1/-1;min-width:0;background:#101a2e;color:#faf7ee;padding:clamp(24px,4vw,56px);border:1px solid #c9a22766}
.student-support .support-eyebrow{color:#c9a227;font-size:14px;letter-spacing:.22em;font-weight:600;margin:0 0 14px}
.student-support h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(34px,4vw,52px);line-height:1.15;font-weight:400;letter-spacing:-.025em;margin:0 0 18px}
.student-support .support-intro{font-size:16px;color:#dedbd2;margin:0 0 32px}
.student-support .support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.student-support .support-tier{border:1px solid #c9a22780;background:linear-gradient(145deg,#19263b,#101a2e);padding:28px 20px;display:flex;flex-direction:column;text-align:center;align-items:center}
.student-support .support-amount{font-family:'Playfair Display',Georgia,serif;font-size:clamp(42px,4.5vw,60px);line-height:1.15;color:#d8b851;margin:0 0 14px}
.student-support .support-tier h4{font-family:inherit;font-size:14px;letter-spacing:.19em;font-weight:600;color:#e7d39c;margin:0 0 16px}
.student-support .support-description{font-size:16px;line-height:1.6;color:#dedbd2;margin:0 0 24px}
.student-support .support-button{display:inline-flex;justify-content:center;align-items:center;text-align:center;min-height:48px;padding:13px 18px;background:linear-gradient(115deg,#e7cd87,#c9a227);color:#111a2b;border:1px solid #dfbf67;font-size:14px;font-weight:700;letter-spacing:.06em;text-decoration:none;margin-top:auto;transition:background .2s}
.student-support .support-tier .support-button{width:100%}
.student-support .support-button:hover{background:#ecd28c}
.student-support .support-button:focus-visible{outline:3px solid #fff2c9;outline-offset:4px}
.student-support .support-any{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #c9a22780;background:linear-gradient(110deg,#1c293c,#101a2e);padding:26px 30px;margin-top:20px}
.student-support .support-any h4{font:400 32px/1.2 'Playfair Display',Georgia,serif;color:#d8b851;margin:0 0 8px}
.student-support .support-any p{font-size:16px;color:#dedbd2;margin:6px 0 0}
.student-support .support-any .support-minimum{font-size:14px;letter-spacing:.16em;color:#e7d39c}
.student-support .support-any .support-button{margin-top:0;flex-shrink:0}
.student-support .support-closing{font-size:13px;line-height:1.8;color:#c6c5c4;margin:24px 0 0;text-align:center}
@media(max-width:900px){.student-support .support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.student-support .support-grid{grid-template-columns:1fr}.student-support .support-any{flex-direction:column;align-items:stretch;padding:24px;text-align:center}}
