/* Campaign LP corrections */

/* This LP is published inside the official site, so duplicate company chrome is unnecessary. */
.utility,
.company{
  display:none !important;
}
.footer-main p{
  display:none;
}

/* Keep the hero copy aligned with the same centered 1180px grid as the header and body. */
.hero-content{
  width:min(1180px,calc(100% - 48px));
  margin-inline:auto;
}

/* ABOUT: remove the fragile absolute collage. The main photo must always be visible. */
.overview-grid{
  align-items:center;
}
.overview-visual{
  position:relative;
  min-height:0;
  display:block;
}
.overview-main,
.overview-main.overview-autumn{
  position:relative;
  inset:auto;
  width:100%;
  aspect-ratio:4/3;
  margin:0;
  overflow:hidden;
  background:#e9e4d8;
  box-shadow:0 24px 64px rgba(27,38,33,.12);
}
.overview-main img,
.overview-main.overview-autumn img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 52%;
  background:transparent;
  transform:scale(1.025);
  transition:transform 1.15s cubic-bezier(.2,.7,.2,1),filter .6s ease;
}
.overview-visual.is-visible .overview-main img,
.overview-visual:hover .overview-main img{
  transform:scale(1);
}
/* The small overlapping image caused the blank/partial-photo appearance on desktop. */
.overview-sub{
  display:none !important;
}

/* Hero uses a landscape course image; keep the fairway and clubhouse visible. */
.hero-media img{
  object-position:center 48%;
}

/* Phone numbers remain visually consistent while being directly callable. */
.phone-text,
.phone-inline-link{
  color:inherit;
  text-decoration:none;
  font-weight:inherit;
}
.phone-text:hover,
.phone-inline-link:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Restrained, contemporary motion: no glow, bounce or exaggerated 3D. */
.js .reveal{
  opacity:0;
  transform:translate3d(0,22px,0);
  transition:opacity .72s ease,transform .82s cubic-bezier(.2,.7,.2,1);
  will-change:opacity,transform;
}
.js .reveal.from-left{
  transform:translate3d(-24px,0,0);
}
.js .reveal.from-right{
  transform:translate3d(24px,0,0);
}
.js .reveal.is-visible{
  opacity:1 !important;
  transform:translate3d(0,0,0) !important;
}
.course-card,
.flow-step,
.poster-box,
.faq-list details{
  transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease;
}
.course-card:hover{
  transform:translateY(-4px);
}
.btn,
.header-cta,
.course-cta,
.final-phone{
  transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease;
}
.btn:hover,
.header-cta:hover,
.final-phone:hover{
  transform:translateY(-2px);
}

@media(max-width:820px){
  .overview-grid{
    align-items:start;
  }
  .overview-main,
  .overview-main.overview-autumn{
    aspect-ratio:16/10;
  }
  .overview-main img,
  .overview-main.overview-autumn img{
    object-position:center 50%;
  }
  .hero-media img{
    object-position:58% 50%;
  }
}

@media(max-width:600px){
  .hero-content{
    width:min(100% - 30px,1180px);
  }
  .overview-main,
  .overview-main.overview-autumn{
    aspect-ratio:4/3;
  }
  .hero-media img{
    object-position:61% 50%;
  }
}

@media(prefers-reduced-motion:reduce){
  .js .reveal,
  .overview-main img,
  .overview-main.overview-autumn img,
  .course-card,
  .btn,
  .header-cta,
  .final-phone{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}
