/*
 * Coming-soon studio page: the hero and the promotional terms block that closes
 * it. Scoped entirely under .locations--coming-soon / .coming-soon-terms, both of
 * which only exist on a pre-opening studio page, so no other page is affected.
 *
 * Design frame: 1440x586, padding 80/40, teal #009da3 on #002729.
 */
.locations--coming-soon .coming-soon-hero {
  background-color: #002729;
  padding: 80px 40px;
}

/*
 * Thin inset outline that frames the whole hero. The design has it Fill the
 * 1440px frame minus the 40px side padding; capped here so it does not sprawl
 * on ultra-wide monitors. min-height is the design's 586px minus the 80px
 * top/bottom padding.
 */
.locations--coming-soon .coming-soon-hero__frame {
  display: flex;
  align-items: center;
  max-width: 1360px;
  min-height: 426px;
  margin: 0 auto;
  padding: 40px 60px;
  border: 1px solid rgba(0, 157, 163, 0.5);
}

.locations--coming-soon .coming-soon-hero__frame > .row {
  width: 100%;
}

.locations--coming-soon .coming-soon-hero__pill {
  display: inline-block;
  background-color: #0d1a19;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 11px 24px;
  margin-bottom: 26px;
}

.locations--coming-soon .coming-soon-hero__heading {
  color: #fff;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.locations--coming-soon .coming-soon-hero__promo {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.45;
  max-width: 660px;
  margin-bottom: 32px;
}

.locations--coming-soon .coming-soon-hero__cta {
  display: inline-block;
  background-color: #009da3;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 13px 26px;
}

.locations--coming-soon .coming-soon-hero__cta:hover,
.locations--coming-soon .coming-soon-hero__cta:focus {
  background-color: #006f74;
  color: #fff;
}

/*
 * Opening-day badge: solid white disc with a thin outer ring separated by a
 * gap. The gap is faked with a background-coloured box-shadow ring, so the
 * badge stays a single element and keeps working on any background width.
 */
.locations--coming-soon .coming-soon-hero__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 215px;
  height: 215px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 0 7px #002729, 0 0 0 8px rgba(255, 255, 255, 0.7);
}

.locations--coming-soon .coming-soon-hero__badge-month {
  color: #009da3;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.locations--coming-soon .coming-soon-hero__badge-day {
  color: #009da3;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0 8px;
}

.locations--coming-soon .coming-soon-hero__badge-label {
  color: #009da3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/*
 * The base theme pulls the address/map block up -250px to overlap the tall
 * hero image (see _locations.scss __map-container-margin). Our coming-soon
 * hero has no image to overlap into, so cancel that pull-up — but only when
 * it directly follows our hero, never touching the normal hero's layout.
 */
.locations--coming-soon + .locations__map-container-margin {
  margin-top: 0;
}

/*
 * Wide map, inset 40px so its edges line up with the hero frame above. Only
 * the FIRST .container in this block wraps the map — the second one holds the
 * address + estimate form and must stay inside the grid, hence the
 * :first-child. Scoped by the adjacent-sibling selector above, so every
 * already-open studio page keeps its boxed map.
 *
 * Mobile runs the map edge to edge (per the mobile design) with only the
 * vertical inset, so the side padding is added back at lg.
 */
.locations--coming-soon + .locations__map-container-margin > .container:first-child {
  max-width: 100%;
  padding: 32px 0;
}

@media (min-width: 992px) {
  .locations--coming-soon + .locations__map-container-margin > .container:first-child {
    padding: 40px;
  }
}

.locations--coming-soon + .locations__map-container-margin > .container:first-child > .row {
  margin-left: 0;
  margin-right: 0;
}

.locations--coming-soon + .locations__map-container-margin > .container:first-child > .row > * {
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/*
 * The template drops its aspect-ratio padding for coming-soon pages, so the
 * height is set here instead — a percentage would make a full-width map
 * absurdly tall on desktop.
 */
.locations--coming-soon + .locations__map-container-margin .google-map__map {
  height: 260px;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .locations--coming-soon + .locations__map-container-margin .google-map__map {
    height: 380px;
  }
}

@media (min-width: 992px) {
  .locations--coming-soon + .locations__map-container-margin .google-map__map {
    height: 515px;
  }
}

@media (max-width: 1199px) {
  .locations--coming-soon .coming-soon-hero__heading {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .locations--coming-soon .coming-soon-hero {
    padding: 48px 16px;
  }
  .locations--coming-soon .coming-soon-hero__frame {
    min-height: 0;
    padding: 36px 24px;
  }
  .locations--coming-soon .coming-soon-hero__heading {
    font-size: 32px;
  }
  .locations--coming-soon .coming-soon-hero__promo {
    font-size: 16px;
  }
  .locations--coming-soon .coming-soon-hero__badge {
    width: 165px;
    height: 165px;
  }
  .locations--coming-soon .coming-soon-hero__badge-month {
    font-size: 17px;
  }
  .locations--coming-soon .coming-soon-hero__badge-day {
    font-size: 54px;
  }
  .locations--coming-soon .coming-soon-hero__badge-label {
    font-size: 11px;
  }
}

/*
 * Mobile design frame: 390 wide, height hugs the content, padding 32/16.
 * Everything centres and the pill goes full-bleed inside the frame. Scoped to
 * the md breakpoint and down; 768-991px keeps the stacked-but-left-aligned
 * treatment above, which the design does not cover.
 */
@media (max-width: 767px) {
  .locations--coming-soon .coming-soon-hero {
    padding: 32px 16px;
  }
  .locations--coming-soon .coming-soon-hero__frame {
    padding: 32px 22px;
  }
  .locations--coming-soon .coming-soon-hero__frame .row {
    text-align: center;
  }
  .locations--coming-soon .coming-soon-hero__pill {
    display: block;
    width: 100%;
    font-size: 16px;
    padding: 11px 16px;
    margin-bottom: 24px;
  }
  .locations--coming-soon .coming-soon-hero__heading {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .locations--coming-soon .coming-soon-hero__promo {
    font-size: 16px;
    line-height: 1.5;
    max-width: none;
    margin-bottom: 32px;
  }
  .locations--coming-soon .coming-soon-hero__cta {
    font-size: 16px;
    padding: 14px 28px;
  }
  .locations--coming-soon .coming-soon-hero__badge {
    width: 200px;
    height: 200px;
    margin-top: 12px;
  }
  .locations--coming-soon .coming-soon-hero__badge-month {
    font-size: 24px;
  }
  .locations--coming-soon .coming-soon-hero__badge-day {
    font-size: 64px;
  }
  .locations--coming-soon .coming-soon-hero__badge-label {
    font-size: 14px;
  }
}

/*
 * From lg up the .site-header is position:fixed and the theme only reserves
 * body { padding-top: 55px } for it, but the header is 123px tall to xl and
 * 99px above it — so it covers the top of any section that starts at the very
 * top of the page. Add the difference back so the design's 80px of top
 * padding stays visible. Below lg the header is sticky and in the flow, so
 * there is nothing to compensate for and the design values apply as-is.
 *
 * (Not specific to this hero: the same gap affects any full-bleed section
 * placed first on a page.)
 */
@media (min-width: 992px) {
  .locations--coming-soon .coming-soon-hero {
    padding-top: 148px; /* 80 + (123 - 55) */
  }
}

@media (min-width: 1200px) {
  .locations--coming-soon .coming-soon-hero {
    padding-top: 124px; /* 80 + (99 - 55) */
  }
}

/*
 * Promotional terms block, last thing above the footer. Centred fine print on the
 * page's own white background, so it sets no colours of its own beyond the black
 * heading. The text column is capped at 1200px: the copy is deliberately narrow
 * lines and would turn into a single unreadable band on a wide monitor.
 */
.coming-soon-terms {
  padding: 64px 16px 72px;
}

.coming-soon-terms__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-terms__heading {
  color: #000;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
}

/*
 * Fine print runs as continuous lines, not spaced-out paragraphs — hence the zero
 * margin between them; the field's line breaks only control where lines start.
 */
.coming-soon-terms__line {
  font-size: 15px;
  line-height: 25px;
  margin: 0;
}

@media (max-width: 991px) {
  .coming-soon-terms {
    padding: 48px 16px 56px;
  }
  .coming-soon-terms__heading {
    font-size: 40px;
    margin-bottom: 28px;
  }
}

@media (max-width: 767px) {
  .coming-soon-terms__heading {
    font-size: 32px;
  }
  .coming-soon-terms__line {
    font-size: 14px;
    line-height: 22px;
  }
}
