/* ==========================================================================
   Intro Month landing page
   Loaded only on the Intro Month page templates (see lib/framework.php).

   Everything here is namespaced .intro-* so it can't reach the rest of the
   site. Buttons, headings, .section and .inner-wrapper are inherited from
   main.min.css on purpose — this file only adds what the page needs.

   Palette: black #000 / blue #5fc7fb / mint #95fdca / accent #14adf9
   Breakpoints follow the theme: 1440 / 1200 / 992 / 768 / 439
   ========================================================================== */


/* --------------------------------------------------------------------------
   Buttons — on-black variant of the existing .btn__primary
   -------------------------------------------------------------------------- */

.intro-btn {
  margin-top: 12px;
  margin-left: 0; /* .btn__secondary picks up a 30px indent further down the cascade */
  margin-right: 45px; /* the theme's arrow sits outside the border at -36px */
}

.btn__primary--on-black {
  color: #fff;
  border: 3px solid #fff;
  margin-right: 45px;
}

.btn__primary--on-black:after {
  background-image: url(../img/icon-arrow-white.svg);
}

.btn__primary--on-black:hover {
  border: 3px solid #95fdca;
}


/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */

.intro-header__description {
  width: 42%;
}

.intro-header__eyebrow {
  color: #95fdca;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: lowercase;
  margin: 0 0 40px;
  padding-bottom: 13px;
  position: relative;
}

.intro-header__eyebrow:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 37px;
  height: 3px;
  background: #5fc7fb;
}

.intro-header__title {
  color: #fff;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: lowercase;
  margin: 0 0 26px;
}

.intro-header__sub {
  color: #5fc7fb;
  font-size: 19px;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 0 40px;
}


/* --------------------------------------------------------------------------
   Alternating rows — circular photo one side, copy the other
   -------------------------------------------------------------------------- */

.intro-rows {
  padding: 110px 0;
}

.intro-rows--community {
  padding-top: 0;
}

.intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro-row + .intro-row {
  margin-top: 120px;
}

.intro-row--reverse {
  flex-direction: row-reverse;
}

.intro-row__media {
  position: relative;
  flex: 0 0 420px;
  width: 420px;
}

/* Offset outline ring — the brand colour that replaces the diamonds. */
.intro-row__media:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #5fc7fb;
  transform: translate(22px, 22px);
  z-index: 0;
}

.intro-row__media--mint:after {
  border-color: #95fdca;
}

.intro-row--reverse .intro-row__media:after {
  transform: translate(-22px, 22px);
}

.intro-row__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  object-fit: cover;
}

.intro-row__body {
  flex: 1 1 auto;
  max-width: 520px;
  margin-left: 70px;
}

.intro-row--reverse .intro-row__body {
  margin-left: 0;
  margin-right: 70px;
}

.intro-row__title {
  text-transform: lowercase;
  padding-bottom: 22px;
  margin: 0 0 24px;
  position: relative;
}

.intro-row__title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 37px;
  height: 3px;
  background: #5fc7fb;
}

.intro-row--reverse .intro-row__title:after {
  background: #95fdca;
}

.intro-row__body p {
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  margin: 0 0 14px;
}

.intro-row__price {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px !important;
}

.intro-row__price span {
  color: #14adf9;
}

.intro-row__kicker {
  font-size: 19px !important;
  font-weight: 600;
  margin-bottom: 20px !important;
}

.intro-list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.intro-list li {
  position: relative;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  padding: 10px 0 10px 22px;
}

.intro-list li:before {
  content: "";
  position: absolute;
  left: 1px;
  top: 19px;
  width: 6px;
  height: 6px;
  background: #5fc7fb;
}


/* --------------------------------------------------------------------------
   Questions — staggered blocks with an offset colour panel behind
   -------------------------------------------------------------------------- */

.intro-faq {
  padding: 0 0 120px;
}

.intro-faq__heading {
  text-transform: lowercase;
  padding-bottom: 22px;
  margin: 0;
  position: relative;
}

.intro-faq__heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 37px;
  height: 3px;
  background: #5fc7fb;
}

.intro-faq__list {
  margin-top: 70px;
}

.intro-faq__item {
  position: relative;
  margin-bottom: 130px;
}

.intro-faq__item:last-child {
  margin-bottom: 0;
}

.intro-faq__block {
  position: relative;
  z-index: 1;
  width: 62%;
  background: #fff;
  border: 3px solid #000;
  padding: 48px 55px;
}

.intro-faq__item--right .intro-faq__block {
  margin-left: auto;
}

.intro-faq__panel {
  position: absolute;
  z-index: 0;
  top: 36px;
  width: 260px;
  height: calc(100% - 40px);
}

.intro-faq__item--left .intro-faq__panel {
  left: calc(62% - 160px);
}

.intro-faq__item--right .intro-faq__panel {
  right: calc(62% - 160px);
}

.intro-faq__panel--mint { background: #95fdca; }
.intro-faq__panel--blue { background: #5fc7fb; }
.intro-faq__panel--dark { background: #000; }

.intro-faq__q {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 14px;
}

.intro-faq__lead {
  font-size: 18px !important;
  font-weight: 700;
  margin: 0 0 16px !important;
}

.intro-faq__block p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 14px;
}

.intro-faq__note {
  font-size: 17px !important;
  font-weight: 700;
  text-transform: lowercase;
  margin-top: 26px !important;
}

.intro-classes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.intro-classes li {
  border: 2px solid #5fc7fb;
  padding: 20px 18px;
  margin: 0 -1px -1px 0;
}

.intro-classes h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: lowercase;
  margin: 0 0 8px;
}

.intro-classes p {
  font-size: 13px !important;
  line-height: 1.5;
  color: #444;
  margin: 0 !important;
}


/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */

.intro-cta {
  background: #000;
  padding: 130px 0 120px;
  text-align: center;
}

.intro-cta__eyebrow {
  color: #95fdca;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: lowercase;
  margin: 0 0 26px;
}

.intro-cta__title {
  color: #fff;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 700;
  text-transform: lowercase;
  margin: 0 0 46px;
}

.intro-cta__price {
  display: inline-flex;
  align-items: center;
  margin-bottom: 46px;
}

.intro-cta__amount {
  color: #95fdca;
  font-size: 110px;
  line-height: 1;
  font-weight: 700;
}

.intro-cta__unit {
  color: #5fc7fb;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: lowercase;
  text-align: left;
  border-left: 3px solid #5fc7fb;
  margin-left: 22px;
  padding-left: 22px;
}

.intro-cta__btn {
  font-size: 18px;
  padding: 20px 40px;
}

.intro-cta__btn:after {
  top: 26px;
}

.intro-cta__fine {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  margin: 34px 0 0;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .intro-row__media,
  .intro-row__img {
    width: 340px;
  }

  .intro-row__media {
    flex: 0 0 340px;
  }

  .intro-row__img {
    height: 340px;
  }

  .intro-row__body {
    margin-left: 50px;
  }

  .intro-row--reverse .intro-row__body {
    margin-right: 50px;
  }

  .intro-header__title {
    font-size: 54px;
  }

  .intro-cta__title {
    font-size: 54px;
  }

  .intro-cta__amount {
    font-size: 92px;
  }
}

@media (max-width: 992px) {
  .intro-header__description {
    width: 100%;
  }

  .intro-header__sub {
    max-width: none;
  }

  .intro-rows {
    padding: 70px 0;
  }

  .intro-row,
  .intro-row--reverse {
    display: block;
    flex-direction: row;
  }

  .intro-row + .intro-row {
    margin-top: 80px;
  }

  .intro-row__media {
    width: 300px;
    margin: 0 auto 50px;
  }

  .intro-row__img {
    width: 300px;
    height: 300px;
  }

  .intro-row--reverse .intro-row__media:after {
    transform: translate(22px, 22px);
  }

  .intro-row__body,
  .intro-row--reverse .intro-row__body {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .intro-faq__block,
  .intro-faq__item--right .intro-faq__block {
    width: 100%;
    margin-left: 0;
    padding: 34px 26px;
  }

  .intro-faq__panel {
    display: none;
  }

  .intro-faq__item {
    margin-bottom: 60px;
  }

  .intro-classes {
    grid-template-columns: 1fr;
  }

  .intro-classes li {
    margin: 0 0 -2px;
  }
}

@media (max-width: 768px) {
  .intro-header__title {
    font-size: 40px;
  }

  .intro-header__eyebrow {
    font-size: 20px;
  }

  .intro-cta {
    padding: 80px 0 70px;
  }

  .intro-cta__title {
    font-size: 38px;
  }

  .intro-cta__price {
    display: block;
  }

  .intro-cta__amount {
    display: block;
    font-size: 84px;
  }

  .intro-cta__unit {
    display: block;
    text-align: center;
    border-left: 0;
    border-top: 3px solid #5fc7fb;
    margin: 16px auto 0;
    padding: 16px 0 0;
    max-width: 200px;
  }
}

@media (max-width: 439px) {
  .intro-row__media,
  .intro-row__img {
    width: 240px;
  }

  .intro-row__img {
    height: 240px;
  }

  .intro-cta__amount {
    font-size: 68px;
  }
}
