/* Home page. Desktop values are Wix pixels at 1440px; phone values (rem) are Wix's 320px mobile pixels. */

/* Wix sets "Joyful Creating" in Snell Roundhand, which is licensed to Wix.
   Pinyon Script (SIL OFL) is the closest open script. */
/* Pinyon Script is loaded by the page front matter (fonts: Pinyon+Script). */

.h-button-w { min-width: 187px; }
.h-button-light { font-size: 17px; font-weight: 400; letter-spacing: 0.1em; }

/* ---------- Hero ---------- */

.h-hero { background: var(--cream); padding: 0 70px 98px; }
.h-hero__col {
  position: relative;
  height: 767px;
  background: rgb(167, 134, 120);
  color: var(--white);
  text-align: center;
  overflow: clip;
}
/* Wix "reveal" background: the photo stays put while the page scrolls past it. */
.h-hero__bg { position: absolute; inset: 0; overflow: clip; }
.h-hero__media { height: calc(100% + 200vh); margin-top: -100vh; }
.h-hero__media img { position: sticky; top: 0; width: 100%; height: 100vh; max-width: none; object-fit: cover; opacity: 0.81; }

.h-hero__title, .h-hero__name, .h-hero__role, .h-hero__line { position: absolute; left: 0; right: 0; }
.h-hero__title { top: 184px; margin: 0; font-weight: 400; color: var(--white); }
.h-hero__made {
  display: block;
  font-family: var(--font-body);
  font-size: 55px;
  line-height: 66px;
  letter-spacing: 0.03em;
  transform: translateX(4px);
}
.h-hero__joy {
  display: block;
  margin-top: 12px;
  font-family: "Pinyon Script", "Snell Roundhand", cursive;
  font-size: 97px;
  line-height: 116.4px;
  letter-spacing: 0.03em;
  transform: translateX(-5px);
  animation: h-reveal-right 2750ms 1ms cubic-bezier(0.645, 0.045, 0.355, 1) backwards;
}
.h-hero__line {
  top: 409px;
  left: 649px;
  width: 1px;
  height: 177px;
  background: rgba(253, 246, 235, 0.7);
  animation: h-reveal-down 2200ms 1500ms cubic-bezier(0.645, 0.045, 0.355, 1) backwards;
}
.h-hero__name {
  top: 610px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 21px;
  line-height: 27.3px;
  letter-spacing: 0.15em;
}
.h-hero__role {
  top: 652px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.15em;
}

@keyframes h-reveal-right { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes h-reveal-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .h-hero__joy, .h-hero__line { animation: none; } }

/* ---------- Your story starts with joy ---------- */

.h-intro { background: var(--white); }
.h-intro__wrap { position: relative; width: min(980px, 100% - 32px); margin: 0 auto; padding: 83px 0 71px 38px; }
.h-intro h2 { max-width: 360px; font-size: 44px; line-height: 52.8px; }
.h-intro__art { position: absolute; top: 13px; left: 622px; width: 233px; height: 171px; object-fit: cover; }
.h-intro__text { margin-top: 43px; max-width: 712px; font-size: 17px; line-height: 23.8px; }
.h-intro__text p + p { margin-top: 27px; }

/* ---------- You bring the dream ---------- */

.h-split { display: grid; grid-template-columns: 576px 1fr; min-height: 711px; background: var(--cream); }
.h-split__img { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.h-split__text { padding: 93px 40px 20px 135px; font-size: 17px; line-height: 23.8px; }
.h-split__text h2 { max-width: 460px; font-size: 44px; line-height: 52.8px; }
.h-split__text p { max-width: 594px; }
.h-split__text h2 + p { margin-top: 25px; }
.h-split__text p + p { margin-top: 23.8px; }
.h-split__text .button { margin-top: 35px; vertical-align: top; }

/* ---------- Press logos ---------- */

.h-press { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 6px; }
.h-press div { height: 144px; display: flex; align-items: flex-start; justify-content: center; }
.h-press img { object-fit: cover; }
.h-press__elle { width: 156px; height: 93px; margin-top: 20px; }
.h-press__tiff { width: 193px; height: 58px; margin-top: 38px; }
.h-press__nsi { width: 250px; height: 136px; }
.h-press__mp { width: 118px; height: 114px; margin-top: 11px; }
.h-press__wgc { width: 125px; height: 86px; margin-top: 27px; }

/* ---------- About Kate ---------- */

.h-about { border-top: 1px solid var(--blush); border-bottom: 1px solid var(--cream); padding: 40px 0 113px; }
.h-about__wrap { display: grid; grid-template-columns: 454px 1fr; gap: 38px; align-items: start; width: min(1044px, 100% - 32px); margin: 0 auto; }
.h-about__photo {
  justify-self: center;
  width: 400px;
  margin: 107px 0 0;
  padding: 5px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transform: rotate(-8.316deg);
}
.h-about__photo img { width: 390px; height: 389px; object-fit: cover; }
.h-about__text { max-width: 552px; font-size: 17px; line-height: 23.8px; }
.h-about__text h2 { font-size: 44px; line-height: 52.8px; }
.h-about__text h2 + p { margin-top: 28px; }
.h-about__text p + p { margin-top: 23.8px; }

/* ---------- Kate's Offers ---------- */

.h-offers { padding: 53px 0 103px; text-align: center; }
.h-offers h2 { font-size: 44px; line-height: 52.8px; }
.h-offers__cards {
  display: grid;
  grid-template-columns: repeat(3, 296px);
  justify-content: center;
  column-gap: 88.5px;
  margin-top: 44px;
  position: relative;
  left: -1.5px;
}
.h-offer { display: flex; flex-direction: column; align-items: center; padding-top: 33px; }
.h-offer__img { display: none; }
.h-offer h3 { font-size: 24px; line-height: 33.6px; }
.h-offer p { align-self: flex-start; margin-top: 12.4px; font-size: 17px; line-height: 23.8px; }
.h-offer:nth-child(1) p { width: 266px; margin-left: 14px; }
.h-offer:nth-child(2) p { width: 274px; margin-left: 11px; }
.h-offer:nth-child(3) p { width: 281px; margin-left: 15px; }
.h-offer .button { margin-top: 17px; }

/* ---------- Newsletter ---------- */

.h-news { display: grid; grid-template-columns: 576px 1fr; min-height: 506px; background: var(--cream); }
.h-news__img { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.h-news__text { padding: 65px 16px 50px; text-align: center; font-size: 17px; line-height: 23.8px; }
.h-news__text h2 { max-width: 300px; margin: 0 auto; font-size: 44px; line-height: 52.8px; }
.h-news__text p { max-width: 323px; margin: 25.6px auto 0; }
.h-news__text .button { margin-top: 36px; }

/* ---------- Testimonials ---------- */

.h-reviews { padding: 104px 0 90px; text-align: center; }
.h-reviews h2 { font-size: 44px; line-height: 52.8px; }
.h-reviews__row { display: flex; align-items: flex-end; width: 1240px; max-width: 100%; margin: 36px auto 0; }
.h-review img { width: 100%; height: 100%; object-fit: cover; }
.h-review--1 { width: 287px; height: 348px; margin-left: 74px; }
.h-review--2 { width: 323px; height: 329px; margin-left: 102px; }
.h-review--3 { width: 329px; height: 340px; margin-left: 70px; }

/* ---------- Narrower desktops ---------- */

@media (max-width: 1100px) and (min-width: 761px) {
  .h-hero__line { left: calc(50% - 1px); }
  .h-intro__art { left: auto; right: 0; }
  .h-split, .h-news { grid-template-columns: 40% 1fr; }
  .h-split__text { padding: 64px 40px; }
  .h-about__wrap { grid-template-columns: 1fr 1fr; }
  .h-about__photo { width: 85%; margin-top: 60px; }
  .h-press div { align-items: center; }
  .h-press img { max-width: 85%; height: auto; margin-top: 0; object-fit: contain; }
  .h-about__photo img { width: 100%; height: auto; aspect-ratio: 1; }
  .h-offers__cards { grid-template-columns: repeat(3, minmax(0, 296px)); column-gap: 24px; left: 0; }
  .h-offer p { width: auto !important; margin-left: 0 !important; align-self: auto; }
  .h-reviews__row { justify-content: space-evenly; }
  .h-review { margin-left: 0 !important; width: 30% !important; height: auto !important; }
}

/* ---------- Phones (1rem = 1/320 of the screen width) ---------- */

@media (max-width: 760px) {
  .h-button-w { min-width: 200rem; }
  .h-button-light { font-size: 18rem; }

  .h-hero { padding: 0; }
  .h-hero__col { height: 397rem; }
  .h-hero__media { height: 100%; margin: 0; }
  .h-hero__media img { position: static; height: 100%; }
  .h-hero__title { top: 62rem; }
  .h-hero__made { font-size: 27rem; line-height: 32.4rem; transform: none; }
  .h-hero__joy { margin-top: 2rem; font-size: 46rem; line-height: 55.2rem; transform: none; }
  .h-hero__line { top: 175rem; left: calc(50% - 2rem); height: 103rem; }
  .h-hero__name { top: 302rem; font-size: 21rem; line-height: 27.3rem; }
  .h-hero__role { top: 331rem; font-size: 17rem; line-height: 25.5rem; }

  .h-intro__wrap { display: flex; flex-direction: column; width: auto; padding: 23rem 20rem 18rem; }
  .h-intro h2 { max-width: 223rem; font-size: 30rem; line-height: 33rem; }
  .h-intro__text { margin-top: 20rem; max-width: 281rem; font-size: 17rem; line-height: 23.8rem; }
  .h-intro__text p + p { margin-top: 32.4rem; }
  .h-intro__text p + p + p { margin-top: 26.5rem; }
  .h-intro__art { position: static; order: 3; align-self: center; width: 189rem; height: 134rem; margin-top: 29.6rem; object-position: 50% 54%; }

  .h-split { display: block; min-height: 0; }
  .h-split__img { height: 277rem; min-height: 0; }
  .h-split__text { padding: 20rem 20rem 40rem; font-size: 17rem; line-height: 23.8rem; text-align: left; }
  .h-split__text h2 { max-width: 280rem; font-size: 30rem; line-height: 36rem; }
  .h-split__text h2 br { display: none; }
  .h-split__text h2 + p { margin-top: 10rem; }
  .h-split__text p + p { margin-top: 23.8rem; }
  .h-split__text .button { display: flex; width: 200rem; margin: 20rem auto 0; }

  .h-press { grid-template-columns: 1fr; margin-bottom: 20rem; }
  .h-press div { height: auto; padding: 20rem 0; }
  .h-press img { margin-top: 0; }
  .h-press__elle { width: 110rem; height: 66rem; }
  .h-press__tiff { width: 140rem; height: 42rem; }
  .h-press__nsi { width: 180rem; height: 98rem; }
  .h-press__mp { width: 80rem; height: 77rem; }
  .h-press__wgc { width: 90rem; height: 62rem; }

  .h-about { padding: 0 0 20rem; border-bottom: 0; }
  .h-about__wrap { display: block; width: auto; padding: 0 20rem; }
  .h-about__photo { width: 280rem; margin: 54rem auto 0; padding: 5rem; }
  .h-about__photo img { width: 270rem; height: 269rem; }
  .h-about__text { margin-top: 59rem; font-size: 17rem; line-height: 23.8rem; }
  .h-about__text h2 { font-size: 30rem; line-height: 36rem; }
  .h-about__text h2 + p { margin-top: 10rem; }
  .h-about__text p + p { margin-top: 23.8rem; }

  .h-offers { padding: 26rem 20rem 40rem; }
  .h-offers h2 { font-size: 30rem; line-height: 36rem; }
  .h-offers__cards { display: block; margin: 0; left: 0; }
  .h-offer { padding-top: 0; }
  .h-offer__img { display: block; object-fit: cover; }
  .h-offer__img--coaching { width: 320rem; max-width: none; height: 213rem; margin-top: 14rem; }
  .h-offer__img--books { width: 320rem; max-width: none; height: 390rem; margin-top: 56rem; }
  .h-offer__img--speaking { width: 320rem; max-width: none; height: 260rem; margin-top: 56rem; }
  .h-offer h3 { margin-top: 20rem; font-size: 24rem; line-height: 33.6rem; }
  .h-offer:nth-child(3) h3 { margin-top: 9rem; }
  .h-offer p,
  .h-offer:nth-child(n) p { align-self: center; width: 280rem; margin: 20rem 0 0; font-size: 17rem; line-height: 23.8rem; }
  .h-offer:nth-child(3) p { width: 267rem; }
  .h-offer .button { margin-top: 20rem; }

  .h-news { display: block; min-height: 0; }
  .h-news__img { height: 277rem; min-height: 0; }
  .h-news__text { padding: 21rem 20rem 38rem; font-size: 17rem; line-height: 23.8rem; }
  .h-news__text h2 { max-width: 240rem; font-size: 30rem; line-height: 36rem; }
  .h-news__text p { max-width: 280rem; margin-top: 20rem; }
  .h-news__text .button { margin-top: 10rem; }

  .h-reviews { padding: 41rem 0 35rem; }
  .h-reviews h2 { max-width: 287rem; margin: 0 auto; font-size: 30rem; line-height: 36rem; }
  .h-reviews__row { display: block; width: auto; margin: 0; }
  .h-review { display: block; }
  .h-review--1 { width: 280rem; height: 296rem; margin: 40rem 0 0 20rem; }
  .h-review--2 { width: 294rem; height: 271rem; margin: 56rem 0 0 12rem; }
  .h-review--3 { width: 295rem; height: 309rem; margin: 51rem 0 0 11rem; }
}
