/* Block 04: the day inside the big house. Approved blocks stay isolated. */
.gd37-big-home {
  position: relative;
  min-height: 1000px;
  overflow: hidden;
  color: var(--gd37-ink);
  background: var(--gd37-cream);
}

.gd37-big-home__inner {
  position: relative;
  z-index: 2;
  padding-top: 67px;
  padding-bottom: 80px;
}

.gd37-big-home__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr);
  align-items: start;
  gap: 70px;
}

.gd37-big-home__kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 14px;
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--gd37-ink);
  background: #d9f3f6;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.gd37-big-home__kicker span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gd37-blue);
}

.gd37-big-home__title {
  margin: 0;
  font-family: "Adigiana 2", cursive;
  font-size: clamp(48px, 4.1vw, 59px);
  font-weight: 400;
  line-height: 1.08;
}

.gd37-big-home__title span { color: var(--gd37-orange-strong); }

.gd37-big-home__underline {
  display: block;
  width: 510px;
  max-width: 90%;
  height: 14px;
  margin-top: 5px;
  border-bottom: 6px solid var(--gd37-yellow);
  border-radius: 0 0 70% 45%;
  transform: rotate(-.7deg);
}

.gd37-big-home__intro {
  margin: 55px 0 0;
  color: var(--gd37-ink);
  font-size: 17px;
  line-height: 1.55;
}

.gd37-big-home__blob {
  position: absolute;
  top: 240px;
  right: -130px;
  width: 455px;
  height: 545px;
  border-radius: 52% 0 0 46% / 31% 0 0 56%;
  background: #dff6f8;
  transform: rotate(-2deg);
}

.gd37-big-home__rays {
  position: absolute;
  top: 67px;
  right: 66px;
  z-index: 3;
  width: 96px;
  height: 96px;
}

.gd37-big-home__stage {
  position: relative;
  height: 660px;
  margin-top: 18px;
}

.gd37-big-home__route {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gd37-big-home-card {
  --big-home-accent: var(--gd37-yellow);
  --big-home-mask: none;
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0;
  background: transparent;
}

.gd37-big-home-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--big-home-accent);
  content: "";
  -webkit-mask: var(--big-home-mask) center / 100% 100% no-repeat;
  mask: var(--big-home-mask) center / 100% 100% no-repeat;
}

.gd37-big-home-card__media {
  position: absolute;
  inset: 9px;
  z-index: 1;
  overflow: hidden;
  background: #e3e7df;
  -webkit-mask: var(--big-home-mask) center / 100% 100% no-repeat;
  mask: var(--big-home-mask) center / 100% 100% no-repeat;
}

.gd37-big-home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd37-big-home-card figcaption {
  position: absolute;
  z-index: 3;
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 35px 52px 35px 42px;
  background: rgba(255, 253, 248, .95);
}

.gd37-big-home-card figcaption > span:first-child {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--big-home-accent);
}

.gd37-big-home-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.gd37-big-home-card__copy strong {
  font-family: "Adigiana 2", cursive;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.gd37-big-home-card__copy small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.gd37-big-home-card--study {
  --big-home-mask: url("masks/big-home-study.svg");
  top: 0;
  left: -13px;
  width: 350px;
  height: 300px;
}
.gd37-big-home-card--study .gd37-big-home-card__media img { object-position: center 45%; }
.gd37-big-home-card--study figcaption { right: 31px; bottom: 21px; left: 31px; }

.gd37-big-home-card--create {
  --big-home-accent: var(--gd37-orange-strong);
  --big-home-mask: url("masks/big-home-create.svg");
  top: -7px;
  left: 330px;
  width: 265px;
  height: 295px;
}
.gd37-big-home-card--create .gd37-big-home-card__media img { object-position: center 48%; }
.gd37-big-home-card--create figcaption { right: 18px; bottom: 20px; left: 18px; }

.gd37-big-home-card--move {
  --big-home-accent: var(--gd37-blue);
  --big-home-mask: url("masks/big-home-move.svg");
  top: -8px;
  left: 590px;
  width: 390px;
  height: 312px;
}
.gd37-big-home-card--move .gd37-big-home-card__media img { object-position: center 50%; }
.gd37-big-home-card--move figcaption { right: 44px; bottom: 23px; left: 57px; }

.gd37-big-home-card--walk {
  --big-home-accent: var(--gd37-blue);
  --big-home-mask: url("masks/big-home-walk.svg");
  bottom: 10px;
  left: -22px;
  width: 600px;
  height: 310px;
}
.gd37-big-home-card--walk .gd37-big-home-card__media img { object-position: center 50%; }
.gd37-big-home-card--walk figcaption { bottom: 21px; left: 37px; min-width: 250px; }

.gd37-big-home-card--swim {
  --big-home-mask: url("masks/big-home-swim.svg");
  right: -5px;
  bottom: 54px;
  width: 350px;
  height: 288px;
}
.gd37-big-home-card--swim .gd37-big-home-card__media img { object-position: center 45%; }
.gd37-big-home-card--swim figcaption { right: 28px; bottom: 20px; left: 38px; }

.gd37-big-home-rest {
  position: absolute;
  bottom: 67px;
  left: 595px;
  z-index: 2;
  width: 295px;
  min-height: 245px;
  padding: 43px 46px;
  border-radius: 46% 54% 48% 52% / 42% 48% 52% 58%;
  color: var(--gd37-ink);
  background: var(--gd37-paper);
}

.gd37-big-home-rest__dot {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--gd37-green);
}

.gd37-big-home-rest h3 {
  margin: 0;
  font-family: "Adigiana 2", cursive;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.gd37-big-home-rest p {
  margin: 12px 0 0;
  color: var(--gd37-copy);
  font-size: 14px;
  line-height: 1.65;
}

.gd37-big-home__footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 405px;
  align-items: center;
  gap: 40px;
  margin-top: -20px;
}

.gd37-big-home__sequence {
  margin: 0;
  padding-top: 8px;
  border-top: 3px solid var(--gd37-yellow);
  color: var(--gd37-ink);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.gd37-big-home__cta {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px 0 42px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--gd37-orange-strong);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.gd37-big-home__cta span { font-size: 31px; font-weight: 400; }
.gd37-big-home__cta:hover { background: #e96c12; }

.gd37-big-home__corner-waves {
  position: absolute;
  bottom: 53px;
  left: 27px;
  z-index: 3;
  width: 94px;
}

.gd37-big-home__bottom-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 43px;
}

@media (max-width: 1220px) and (min-width: 981px) {
  .gd37-big-home__stage {
    width: 118%;
    margin-bottom: -90px;
    transform: scale(.84);
    transform-origin: top left;
  }
}

@media (max-width: 980px) {
  .gd37-big-home { min-height: 0; }
  .gd37-big-home__inner { width: min(100% - 32px, 720px); padding-top: 55px; padding-bottom: 76px; }
  .gd37-big-home__header { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gd37-big-home__header > *,
  .gd37-big-home__heading,
  .gd37-big-home__intro { min-width: 0; width: 100%; }
  .gd37-big-home__kicker { padding: 10px 14px; font-size: 10px; }
  .gd37-big-home__title { font-size: clamp(38px, 9vw, 50px); }
  .gd37-big-home__underline { width: 410px; max-width: 94%; }
  .gd37-big-home__intro { margin: 0; font-size: 15px; line-height: 1.65; }
  .gd37-big-home__intro br { display: none; }
  .gd37-big-home__blob { top: 37%; right: -42%; width: 90%; height: 38%; }
  .gd37-big-home__rays { top: 46px; right: 14px; width: 67px; opacity: .85; }
  .gd37-big-home__route { display: none; }
  .gd37-big-home__stage { display: grid; width: 100%; min-width: 0; height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
  .gd37-big-home-card,
  .gd37-big-home-card--study,
  .gd37-big-home-card--create,
  .gd37-big-home-card--move,
  .gd37-big-home-card--walk,
  .gd37-big-home-card--swim,
  .gd37-big-home-rest { position: relative; inset: auto; width: 100%; min-width: 0; max-width: 100%; }
  .gd37-big-home-card--study { aspect-ratio: 340 / 281; }
  .gd37-big-home-card--create { aspect-ratio: 248 / 278; }
  .gd37-big-home-card--move { grid-column: 1 / -1; aspect-ratio: 369 / 296; }
  .gd37-big-home-rest { min-height: 230px; align-self: center; padding: 36px 40px; }
  .gd37-big-home-card--swim { aspect-ratio: 336 / 276; }
  .gd37-big-home-card--walk { grid-column: 1 / -1; aspect-ratio: 581 / 300; }
  .gd37-big-home-card figcaption,
  .gd37-big-home-card--study figcaption,
  .gd37-big-home-card--create figcaption,
  .gd37-big-home-card--move figcaption,
  .gd37-big-home-card--walk figcaption,
  .gd37-big-home-card--swim figcaption { right: 22px; bottom: 24px; left: 22px; min-width: 0; max-width: calc(100% - 44px); padding: 9px 15px; }
  .gd37-big-home-card__copy small { max-width: 100%; overflow-wrap: anywhere; }
  .gd37-big-home-card__copy strong { font-size: 23px; }
  .gd37-big-home-card__copy small { font-size: 9px; }
  .gd37-big-home__footer { grid-template-columns: 1fr; gap: 23px; margin-top: 25px; }
  .gd37-big-home__sequence { font-size: 10px; line-height: 1.55; }
  .gd37-big-home__cta { width: min(100%, 405px); min-height: 64px; justify-self: end; }
}

@media (max-width: 520px) {
  .gd37-big-home__title { font-size: 35px; }
  .gd37-big-home__stage { grid-template-columns: 1fr; gap: 16px; }
  .gd37-big-home-card--study,
  .gd37-big-home-card--create,
  .gd37-big-home-card--move,
  .gd37-big-home-card--walk,
  .gd37-big-home-card--swim,
  .gd37-big-home-rest { grid-column: 1; }
  .gd37-big-home-card--study { aspect-ratio: 1.2; }
  .gd37-big-home-card--create { aspect-ratio: 248 / 278; }
  .gd37-big-home-card--move { aspect-ratio: 369 / 296; }
  .gd37-big-home-rest { min-height: 205px; padding: 30px 34px; }
  .gd37-big-home-rest__dot { width: 42px; height: 42px; }
  .gd37-big-home-card--swim { aspect-ratio: 336 / 276; }
  .gd37-big-home-card--walk { aspect-ratio: 581 / 300; }
  .gd37-big-home-card figcaption,
  .gd37-big-home-card--study figcaption,
  .gd37-big-home-card--create figcaption,
  .gd37-big-home-card--move figcaption,
  .gd37-big-home-card--walk figcaption,
  .gd37-big-home-card--swim figcaption { right: 25px; bottom: 26px; left: 25px; min-height: 53px; max-width: calc(100% - 50px); padding: 9px 14px; }
  .gd37-big-home-card--create figcaption { bottom: 46px; }
  .gd37-big-home-card--walk figcaption { bottom: 65px; }
  .gd37-big-home-card__copy strong { font-size: 22px; }
  .gd37-big-home-card__copy small { font-size: 8.5px; }
  .gd37-big-home__cta { padding-right: 23px; padding-left: 27px; font-size: 11px; }
  .gd37-big-home__corner-waves { display: none; }
}
