html:has(.index-page) { background: #080909 !important; padding-top: 0; }
.index-page { background: #080909 !important; text-shadow: none; }
/* Scope overrides to the homepage: the legacy theme forces transparent sections
   and yellow headings globally, including elements on yellow surfaces. */
.index-page .home-title, .index-page .home-program h3 { color: #fff !important; }
.index-page .home-eyebrow { color: var(--vrt-yellow) !important; }
.index-page .court-aside :is(h3, p, small), .index-page .home-cta :is(h2, p) { color: #161606 !important; text-shadow: none; }
.index-page .home-schedule { background: #101111 !important; }
.index-page .home-cta { background: var(--vrt-yellow) !important; }
.index-page .home-hero { background: #111 url('../img/resume/tennisles.png') center/cover !important; }
.index-page :is(.home-heading, .home-analysis-intro) { text-align: left; }
.index-page :is(.home-heading, .home-analysis-intro, .home-program) p:not(.home-eyebrow) { color: #aaa !important; }
.home-section { padding: 88px 0; }
.home-eyebrow { color: var(--vrt-yellow); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.home-title { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.04em; color: #fff; text-transform: none; text-shadow: none; }
.home-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.home-heading > p { max-width: 360px; color: #aaa; line-height: 1.8; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 680px; min-height: min(850px, 90svh); display: flex; align-items: center; background: #111 url('../img/resume/tennisles.png') center/cover; }
.home-hero .video-background { position: absolute; inset: 0; min-height: 0; z-index: -2; background: transparent; }
.home-hero .video-foreground iframe { width: 100%; height: 100%; min-height: 0; min-width: 0; border: 0; }
.home-hero .video-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, #0b0d0c 0%, rgba(11,13,12,.65) 5%, transparent 22%),
    linear-gradient(0deg, #080909 0%, rgba(8,9,9,.65) 9%, transparent 36%),
    linear-gradient(90deg, rgba(8,9,9,.78) 0%, rgba(8,9,9,.54) 28%, rgba(8,9,9,.18) 62%, rgba(8,9,9,.12) 80%, rgba(8,9,9,.45) 100%),
    radial-gradient(ellipse at 60% 45%, transparent 40%, rgba(8,9,9,.28) 100%);
}
.home-hero-copy { padding-top: 70px; padding-bottom: 80px; }
.home-hero h1 { max-width: 850px; font-size: clamp(3.4rem, 7vw, 7rem); }
.home-hero-copy > p:not(.home-eyebrow) { max-width: 530px; color: #ccc; font-size: 1.1rem; line-height: 1.8; margin: 25px 0; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.home-link { color: var(--vrt-yellow); font-weight: 600; text-decoration: none; }
.home-link:hover { color: white; }
.home-motion { margin-top: 40px; color: #ccc; border: 1px solid #777; background: #1119; border-radius: 30px; padding: 8px 16px; font-size: .8rem; }
.home-programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-program { display: flex; flex-direction: column; padding: 32px; border: 1px solid #ffffff1c; border-radius: 16px; background: linear-gradient(140deg, #1c1c1c, #101111); }
.home-program:hover { border-color: #ffd44d80; }
.home-program-top { display: flex; justify-content: space-between; color: var(--vrt-yellow); font-size: .75rem; letter-spacing: .08em; margin-bottom: 40px; }
.home-program h3 { color: white; font-size: 1.6rem; line-height: 1.2; text-shadow: none; }
.home-program p { color: #aaa; line-height: 1.8; margin: 16px 0 28px; }
.home-program-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid #ffffff1c; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.home-price { color: white; font-size: 1.7rem; font-weight: 700; }
.home-price small { display: block; font-size: .7rem; color: #aaa; font-weight: 400; }
.home-schedule { background: #101111; border-block: 1px solid #ffffff10; }
.court-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); border: 1px solid #ffffff20; border-radius: 18px; overflow: hidden; }
.court-aside { background: var(--vrt-yellow); color: #161606; padding: 36px 28px; position: relative; overflow: hidden; }
.court-aside h3 { color: #161606; text-shadow: none; font-size: 2.8rem; letter-spacing: -.04em; line-height: 1.03; margin: 45px 0 24px; }
.court-aside p { line-height: 1.7; }
.court-aside small { display: block; margin-top: 50px; line-height: 1.7; }
.court-date { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.court-main { padding: 24px; min-width: 0; background: #090909; }
.court-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.court-tabs button { color: #bbb; border: 1px solid #ffffff30; border-radius: 30px; padding: 10px 18px; background: transparent; font: inherit; font-size: .85rem; }
.court-tabs button[aria-pressed="true"] { background: var(--vrt-yellow); color: #111; border-color: var(--vrt-yellow); }
#court-calendar { min-height: 620px; }
.court-calendar-shell { position: relative; }
.court-calendar-shell .vrt-loading { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.court-calendar-shell .vrt-loading[hidden] { display: none; }
.index-page #court-time { scroll-margin-top: 20px; }
#court-calendar { position: relative; z-index: 1; }
#court-calendar, #court-calendar cal-inline { height: auto; max-height: none; overflow: hidden; scrollbar-width: none; }
#court-calendar iframe { display: block; width: 100%; max-height: none; border: 0; }
.court-note { border-top: 1px solid #ffffff20; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: #aaa; }
.home-analysis-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: end; margin-bottom: 40px; }
.home-analysis-intro p:not(.home-eyebrow) { color: #aaa; line-height: 1.8; }
#tennalyze-grid > .vrt-loading { grid-column: 1 / -1; }
.home-cta { padding: 65px 0; background: var(--vrt-yellow); }
.home-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.home-cta h2 { color: #111; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; text-shadow: none; text-transform: none; }
.home-cta p { color: #343422; margin: 12px 0 0; }
.home-cta .mt-button { background: #111 !important; color: var(--vrt-yellow) !important; white-space: nowrap; }
.index-page :is(a, button):focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
@media (max-width: 767px) {
  .home-section { padding: 55px 0; }
  .home-heading, .home-cta .container { flex-direction: column; align-items: start; gap: 18px; }
  .home-programs, .home-analysis-intro, .court-layout { grid-template-columns: 1fr; }
  .home-analysis-intro { gap: 20px; }
  .home-hero { min-height: 680px; }
  .home-hero-copy { padding-top: 65px; }
  .court-aside { padding: 24px; }
  .court-aside h3 { margin: 20px 0 16px; font-size: 2rem; }
  .court-aside small { margin-top: 20px; }
  .court-main { padding: 16px 8px; }
  .home-program { padding: 26px; }
}
