.pg--home .court--portrait {
  display:none;
}

.pg--home .court rect,
.pg--home .court line:not(:last-child) {
  stroke-dasharray:1000;
  stroke-dashoffset:1000;
  animation:court-line-draw 0.9s ease-out forwards;
}
.pg--home .court line:nth-of-type(1) {
  animation-delay:0.08s;
}
.pg--home .court line:nth-of-type(2) {
  animation-delay:0.16s;
}
.pg--home .court line:nth-of-type(3) {
  animation-delay:0.24s;
}
.pg--home .court line:nth-of-type(4) {
  animation-delay:0.32s;
}
.pg--home .court line:nth-of-type(5) {
  animation-delay:0.4s;
}
.pg--home .court line:nth-of-type(6) {
  animation-delay:0.48s;
}
.pg--home .court line:nth-of-type(7) {
  animation-delay:0.56s;
}
.pg--home .court line:nth-of-type(8) {
  animation-delay:0.64s;
}
.pg--home .court line:last-child {
  opacity:0;
  animation:court-centerline-appear 0.5s ease-out 0.8s forwards;
}

@keyframes court-line-draw {
  to {
    stroke-dashoffset:0;
  }
}

@keyframes court-centerline-appear {
  to {
    opacity:1;
  }
}

.pg--home .home-hero > * {
  opacity:0;
  animation:home-hero-reveal 0.7s ease-out 1.6s forwards;
}
.pg--home .home-hero > :nth-child(2) {
  animation-delay:1.75s;
}

@keyframes home-hero-reveal {
  to {
    opacity:1;
    transform:translateY(0);
  }
}

.pg--home .home-hero {
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:48px;
  padding-top:88px;
  padding-bottom:88px;
}
.pg--home .home-hero > .panel {
  min-height:460px;
}
.pg--home .home-hero > .panel {
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-left:6px solid #FFD23F;
  background:var(--color-deep-blue);
}
.pg--home .home-hero-address {
  margin-top:-12px;
  margin-bottom:16px;
  font-size:13px;
  line-height:1.4;
}
.pg--home .home-hero-tagline {
  display:block;
  margin-left:1em;
}
.pg--home .home-hero > :nth-child(2) {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:460px;
}
.pg--home .home-hero-photo {
  position:absolute;
  inset:0;
  padding:0;
}
.pg--home .hero-slide {
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0;
  transition:opacity 500ms ease;
}
.pg--home .hero-slide.is-active {
  z-index:1;
  opacity:1;
}
.pg--home .hero-slide > img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.pg--home .hero-slide-name {
  position:absolute;
  top:0;
  right:0;
  left:0;
  z-index:1;
  padding:12px 16px;
  /* background:rgba(11,47,79,.82); */
  color:#fff;
  font-family:'Barlow Condensed','Barlow',Helvetica,Arial,sans-serif;
  font-size:clamp(32px,2.2vw,26px);
  font-weight:400;
  line-height:1;
  letter-spacing:.06em;
  text-shadow:0 2px 6px rgba(0,0,0,.4);
  text-align:left;
}
.pg--home .hero-slide-person,
.pg--home .hero-slide-role {
  display:block;
}
.pg--home .hero-slide-person {
  margin-bottom:4px;
  font-size:1.2em;
}
.pg--home .hero-slide-person {
  color:#FFD23F;
}
.pg--home .hero-slide-role {
  color:#fff;
  font-weight:400;
}
.pg--home .hero-carousel-controls:not([hidden]) {
  position:absolute;
  z-index:2;
  right:16px;
  bottom:16px;
  display:flex;
  gap:10px;
  align-items:center;
}
.pg--home .hero-carousel-arrow:not([hidden]) {
  position:absolute;
  z-index:2;
  top:50%;
  display:grid;
  width:44px;
  height:56px;
  place-items:center;
  padding:0;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.8);
  background:rgba(11,47,79,.75);
  color:#fff;
  font-size:36px;
  line-height:1;
  cursor:pointer;
  opacity:0;
  transition:opacity 180ms ease, background-color 180ms ease;
}
.pg--home .hero-carousel-previous {
  left:12px;
}
.pg--home .hero-carousel-next {
  right:12px;
}
.pg--home .hero-carousel:hover .hero-carousel-arrow,
.pg--home .hero-carousel-arrow:focus-visible {
  opacity:1;
}
.pg--home .hero-carousel-arrow:hover {
  background:var(--color-deep-blue);
}
.pg--home .hero-carousel-arrow:focus-visible {
  outline:3px solid #FFD23F;
  outline-offset:3px;
}
.pg--home .hero-carousel-dot {
  width:14px;
  height:14px;
  padding:0;
  border:2px solid #fff;
  border-radius:50%;
  background:rgba(11,47,79,.75);
  cursor:pointer;
}
.pg--home .hero-carousel-dot.is-active {
  background:#FFD23F;
  border-color:#FFD23F;
}
.pg--home .hero-carousel-dot:focus-visible {
  outline:3px solid #fff;
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce) {
  .pg--home .hero-slide {
    transition:none;
  }
  .pg--home .hero-carousel-arrow {
    transition:none;
  }
}
.pg--home .home-about-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:"photo content";
  align-items:center;
  gap:48px;
}
.pg--home .home-about-content {
  grid-area:content;
  min-width:0;
  text-align:left;
}
.pg--home .home-about-content .lead {
  max-width:none;
}
.pg--home .home-about-content .row {
  justify-content:flex-start;
}
.pg--home .home-about-photo {
  grid-area:photo;
  min-height:0;
  padding:0;
}
.pg--home .home-about-photo > img {
  display:block;
  width:100%;
  height:auto;
}
.pg--home .home-programs {
  grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));
  gap:32px;
}
.pg--home .home-programs > .box {
  display:flex;
  flex-direction:column;
}
.pg--home .program-photo {
  min-height:0;
  padding:0;
  aspect-ratio:4 / 3;
}
.pg--home .program-photo > img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.pg--home .gallery-photo > img {
  position:static;
  display:block;
  width:100%;
  height:auto;
}
.pg--home .home-gallery-preview {
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-rows:min(201px,max(90px,calc(18.75vw - 24px)));
  grid-auto-flow:dense;
}
.pg--home .gallery-photo {
  min-height:0;
  padding:0;
}
.pg--home .gallery-photo > img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.pg--home .home-gallery-featured {
  grid-column:span 2;
  grid-row:span 2;
}
.pg--home .home-gallery-kids {
  grid-row:span 2;
}
@media (max-width:900px) {
  .pg--home .home-gallery-preview {
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-auto-rows:max(90px,calc(25vw - 28px));
  }
}
@media (max-width:700px) {
  .pg--home .home-gallery-preview {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:max(90px,calc(37.5vw - 24px));
  }
}
@media (max-width:420px) {
  .pg--home .home-gallery-preview {
    grid-template-columns:minmax(0,1fr);
    grid-auto-rows:auto;
  }
  .pg--home .home-gallery-featured {
    grid-column:auto;
    grid-row:auto;
  }
  .pg--home .home-gallery-kids {
    grid-row:auto;
  }
  .pg--home .gallery-photo > img {
    height:auto;
    object-fit:initial;
  }
}
.pg--home .program-card-content {
  display:flex;
  flex:1;
  flex-direction:column;
}
.pg--home .program-card-content > .row {
  margin-top:auto;
  padding-top:32px;
}
.pg--home .program-details {
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:24px;
}
.pg--home .home-sponsor-callout {
  background:#FFD23F;
  text-align:center;
}

@media (max-width: 900px) {
  .pg--home .home-hero {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:repeat(2,minmax(0,1fr));
  }
  .pg--home .home-about-layout {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"photo" "content";
    gap:32px;
  }
  .pg--home .court--landscape {
    display:none;
  }
  .pg--home .court--portrait {
    display:block;
  }
}

@media (max-width: 700px) {
  .pg--home .home-hero > .panel {
    min-height:520px;
  }
  .pg--home .home-hero > :nth-child(2),
  .pg--home .home-hero-photo {
    min-height:520px;
  }
}

@media (max-width: 600px) {
  .pg--home .program-details {
    grid-template-columns:minmax(0,1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg--home .court rect,
  .pg--home .court line:not(:last-child),
  .pg--home .court line:last-child {
    animation:none;
    opacity:1;
    stroke-dasharray:none;
    stroke-dashoffset:0;
  }
  .pg--home .home-hero > * {
    opacity:1;
    animation:none;
    transform:none;
  }
}
