html, body { overscroll-behavior-y: none; }

:root {
  --primary: #12c3da;
  --white: #fff;
  --yellow: #fac51c;
  --pale: #f0f3bd;
  --ink: #3e3e3e;
  --muted: #6a6a6a;
  --coral: #eb6b56;
  --coral-hover: #e25041;
  --shell: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  width: min(90%, var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:focus-visible,
.gallery-image:focus-visible,
.scroll-top:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

.button-coral {
  color: #fff;
  background: var(--coral);
  font-family: "Hammersmith One", sans-serif;
}

.button-coral:hover {
  background: var(--coral-hover);
}

.hero {
  position: relative;
  height: 645px;
  overflow: hidden;
  background: var(--primary);
}

.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 49% 51%;
  height: 100%;
}

.hero-copy {
  padding-top: 103px;
}

.hero h1,
.hero h2,
.story-heading h2,
.proof h3,
.price-card h3,
.contact-copy h2 {
  margin: 0;
  font-weight: 400;
}

.hero h1 {
  max-width: 513px;
  color: var(--pale);
  font-family: "Playfair Display", serif;
  font-size: 72px;
  font-style: italic;
  line-height: 1;
}

.hero h2 {
  max-width: 513px;
  margin-top: 26px;
  color: var(--white);
  font-family: Merriweather, serif;
  font-size: 42px;
  line-height: 1.2;
}

.hero h2 em {
  color: var(--pale);
  font-style: italic;
}

.hero-button {
  max-width: 100%;
  margin-top: 27px;
  padding: 24px 48px;
  border-radius: 5px;
  box-shadow: -8px 6px 15px rgba(0, 0, 0, .135);
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.hero-image-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-image-wrap img {
  width: min(480px, 100%);
  height: auto;
  aspect-ratio: 445 / 594;
  object-fit: cover;
  box-shadow: 7px -3px 12px 3px rgba(106, 106, 106, .854);
}

.hero-wave {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 18.08vw;
  pointer-events: none;
}

.story-heading {
  display: flex;
  min-height: 106px;
  align-items: center;
  background: #fff;
}

.story-heading h2 {
  font-family: Merriweather, serif;
  font-size: 42px;
  line-height: 1;
  text-align: center;
}

.story {
  min-height: 810px;
  padding-top: 21px;
  background: #fff;
}

.story-copy {
  width: min(90%, 550px);
  margin-inline: auto;
}

.story p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 24px;
}

.social-gallery {
  background: #fff;
}

.gallery-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.gallery-row-one {
  height: auto;
  aspect-ratio: 1100 / 651;
}

.gallery-row-two {
  height: auto;
  aspect-ratio: 1100 / 573;
}

.gallery-row-three {
  height: auto;
  aspect-ratio: 1100 / 464;
}

.gallery-row-four {
  height: auto;
  aspect-ratio: 1100 / 465;
}

.gallery-row-five {
  height: auto;
  aspect-ratio: 1100 / 515;
}

.gallery-image {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  aspect-ratio: var(--cell-aspect);
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-image img {
  flex: none;
  width: var(--image-width);
  max-width: var(--image-max-width);
  height: auto;
  object-fit: contain;
}

.gallery-row-one .gallery-image:nth-child(1) {
  --cell-aspect: 363 / 621;
  --cell-max-height: 621px;
  --image-width: 79.1185%;
  --image-max-width: 287.2px;
  width: 33%;
}

.gallery-row-one .gallery-image:nth-child(2) {
  --cell-aspect: 374 / 625;
  --cell-max-height: 625px;
  --image-width: 125.3342%;
  --image-max-width: 468.75px;
  width: 34%;
}

.gallery-row-one .gallery-image:nth-child(3) {
  --cell-aspect: 363 / 620;
  --cell-max-height: 620px;
  --image-width: 80.853%;
  --image-max-width: 293.5px;
  width: 33%;
}

.gallery-row-two .gallery-image:nth-child(1) {
  --cell-aspect: 363 / 543;
  --cell-max-height: 543px;
  --image-width: 100%;
  --image-max-width: 363px;
  width: 33%;
}

.gallery-row-two .gallery-image:nth-child(2) {
  --cell-aspect: 374 / 535;
  --cell-max-height: 535px;
  --image-width: 100%;
  --image-max-width: 374px;
  width: 34%;
}

.gallery-row-two .gallery-image:nth-child(3) {
  --cell-aspect: 363 / 543;
  --cell-max-height: 543px;
  --image-width: 100%;
  --image-max-width: 363px;
  width: 33%;
}

.gallery-row-three .gallery-image:nth-child(1) {
  --cell-aspect: 326.7 / 368.6;
  --cell-max-height: 368.6px;
  --image-width: 100%;
  --image-max-width: 326.7px;
  width: 29.7%;
  margin-left: 1.6455%;
}

.gallery-row-three .gallery-image:nth-child(2) {
  --cell-aspect: 355.3 / 360;
  --cell-max-height: 360px;
  --image-width: 99.4371%;
  --image-max-width: 353.3px;
  width: 32.3%;
  margin-left: 1.6636%;
}

.gallery-row-three .gallery-image:nth-child(3) {
  --cell-aspect: 363 / 434;
  --cell-max-height: 434px;
  --image-width: 99.6749%;
  --image-max-width: 361.8px;
  width: 33%;
  margin-left: 1.6909%;
}

.gallery-row-four .gallery-image:nth-child(1) {
  --cell-aspect: 363 / 420;
  --cell-max-height: 420px;
  --image-width: 100%;
  --image-max-width: 363px;
  width: 33%;
}

.gallery-row-four .gallery-image:nth-child(2) {
  --cell-aspect: 363 / 439;
  --cell-max-height: 439px;
  --image-width: 96.4738%;
  --image-max-width: 350.2px;
  width: 33%;
  margin-left: 1%;
}

.gallery-row-four .gallery-image:nth-child(3) {
  --cell-aspect: 363 / 435;
  --cell-max-height: 435px;
  --image-width: 100%;
  --image-max-width: 363px;
  width: 33%;
}

.gallery-row-five .gallery-image:nth-child(1) {
  --cell-aspect: 363 / 399;
  --cell-max-height: 399px;
  --image-width: 100%;
  --image-max-width: 363px;
  width: 33%;
}

.gallery-row-five .gallery-image:nth-child(2) {
  --cell-aspect: 374 / 429;
  --cell-max-height: 429px;
  --image-width: 100%;
  --image-max-width: 374px;
  width: 34%;
}

.gallery-row-five .gallery-image:nth-child(3) {
  --cell-aspect: 363 / 485;
  --cell-max-height: 485px;
  --image-width: 100%;
  --image-max-width: 363px;
  width: 33%;
}

.proof {
  position: relative;
  min-height: 201px;
  padding-bottom: 100px;
  background: #fff;
}

.proof-card {
  position: relative;
  z-index: 2;
  top: -30px;
  display: flex;
  min-height: 136px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #444;
  background: #fff;
  box-shadow: 0 0 15px #3e3e3e;
}

.proof-card img {
  width: 150px;
  height: 24px;
  object-fit: contain;
}

.proof-card h3 {
  margin-top: 8px;
  font-family: Merriweather, serif;
  font-size: 32px;
  line-height: 1;
  text-align: center;
}

.triangle {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

.pricing {
  position: relative;
  min-height: 691px;
  padding-bottom: 100px;
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.price-card {
  min-height: 590px;
  padding: 12px 56px 45px;
  border: 1px solid #444;
  background: #fff;
}

.price-card-featured {
  border-color: var(--primary);
  background: var(--primary);
}

.price-card img {
  width: 238px;
  height: 173px;
  margin: 0 auto 3px;
  object-fit: contain;
}

.price-card img.group-dolls {
  width: 251px;
  height: 84px;
  margin-top: 51px;
  margin-bottom: 41px;
}

.price-card h3 {
  font-family: Merriweather, serif;
  font-size: 32px;
  line-height: .95;
}

.price-card-featured h3 {
  color: var(--pale);
}

.price-card > p:not(.price) {
  min-height: 48px;
  margin: 26px 0 4px;
  font-size: 15px;
  line-height: 24px;
}

.price-card-featured > p:not(.price) {
  color: #fff;
  font-weight: 700;
}

.price {
  margin: 0 0 21px;
  color: var(--primary);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.price span {
  font-size: 28px;
}

.price-white {
  color: #fff;
}

.price-white span {
  font-size: 24px;
}

.price-start span {
  font-size: 22px;
}

.price-card .button {
  min-width: 183px;
  padding: 17px 28px;
  font-size: 17px;
  white-space: nowrap;
}

.button-blue {
  color: #fff;
  background: var(--primary);
}

.button-white {
  color: var(--primary);
  background: #fff;
}

.button-blue:hover,
.button-white:hover {
  transform: translateY(-1px);
}

.button-arrow::after {
  content: "➜";
  font-weight: 700;
}

.triangle-up {
  transform: rotate(180deg);
}

.contact-section {
  position: relative;
  min-height: 701px;
  padding-top: 19px;
  background: var(--primary);
}

.rough-edge {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 0;
  width: 100%;
  height: 18px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 34%, 96% 46%, 92% 35%, 88% 52%, 83% 36%, 78% 57%, 73% 39%, 68% 58%, 62% 42%, 56% 57%, 50% 38%, 44% 60%, 38% 43%, 32% 57%, 27% 40%, 21% 56%, 15% 38%, 10% 52%, 5% 36%, 0 53%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 45% 2% 53%;
  min-height: 682px;
  align-items: start;
}

.contact-copy {
  grid-column: 1;
  padding-top: 51px;
}

.contact-copy h2 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 72px;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
}

.contact-copy > p {
  margin: 24px 0 19px;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #666;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
}

.contact-form input {
  height: 56px;
  padding: 0 20px;
}

.contact-form textarea {
  height: 74px;
  padding: 20px;
  resize: vertical;
}

.contact-button {
  width: 100%;
  min-height: 64px;
  padding: 20px;
  font-size: 18px;
  letter-spacing: .02em;
}

.form-status {
  min-height: 1.4em;
  margin: -12px 0 0;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.contact-image-wrap {
  grid-column: 3;
  position: relative;
  z-index: 3;
  top: -30px;
}

.contact-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.scroll-top {
  position: fixed;
  z-index: 20;
  right: 40px;
  bottom: 40px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(62, 62, 62, .78);
  color: #fff;
  font-size: 38px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.scroll-top::before {
  content: "⌃";
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  height: min(92vh, 900px);
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .82);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -6px;
  right: -6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 34px;
  line-height: 1;
}

/* Checkout and special pages intentionally retain the original ThriveCart embed. */
.checkout-page {
  min-height: 100vh;
  background: #fff;
}

.checkout-shell {
  width: min(100%, 1100px);
  min-height: 100vh;
  margin-inline: auto;
}

/* Thank-you pages */
.thank-you-page,
.thank-you-page main {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
}

.thank-you-page main,
.thank-you-page .thanks-contact {
  flex: 1;
}

.thanks-hero {
  height: 357px;
  background: #080808 url("../images/cathedral.webp") center center / cover no-repeat;
}

.thanks-main {
  min-height: 614px;
  background: #fff;
}

.thanks-card {
  position: relative;
  top: -65px;
  width: min(64.8%, 792px);
  min-height: 614px;
  margin-inline: auto;
  padding: 0 44px 70px;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, .12);
}

.thanks-heart {
  display: grid;
  width: 100%;
  height: 74px;
  place-items: center;
  color: var(--primary);
  font-size: 48px;
  text-decoration: none;
}

.thanks-heart::before {
  content: "♡";
}

.thanks-card h1 {
  margin: 24px 0 61px;
  font-family: Merriweather, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.thanks-card p {
  margin: 0 0 24px;
  font-size: 15px;
  font-style: italic;
  line-height: 24px;
}

.thanks-card p:not(:first-of-type) {
  font-style: normal;
}

.thanks-card .signature {
  font-style: italic;
}

.thanks-contact {
  min-height: 701px;
}

@media (max-width: 1100px) {
  .price-card {
    padding-inline: 5%;
  }
}

@media (max-width: 1199px) and (min-width: 1025px) {
  .hero {
    height: calc(885px - 20vw);
  }

  .hero h1 {
    font-size: clamp(61.5px, 6vw, 72px);
  }

  .hero h2 {
    font-size: clamp(35.875px, 3.5vw, 42px);
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .hero-image-wrap img {
    transform: translateY(clamp(0px, calc(111.5px - 9.3vw), 40px));
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .hero {
    height: calc(439.1px + 23.52vw);
  }

  .hero-inner {
    width: 96%;
    grid-template-columns: 46% 54%;
  }

  .hero-copy {
    padding-top: 70px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 6vw, 61.5px);
  }

  .hero h2 {
    max-width: 100%;
    font-size: clamp(30px, 3.5vw, 35.875px);
  }

}

@media (max-width: 768px) {
  .hero {
    height: 1222px;
  }

  .hero-inner {
    display: block;
    height: 100%;
  }

  .hero-copy {
    padding-top: 114px;
  }

  .hero h1,
  .hero h2 {
    max-width: none;
  }

  .hero h2 {
    margin-top: 31px;
  }

  .hero-button {
    margin-top: 30px;
  }

  .hero-image-wrap {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    margin-top: 0;
  }

  .hero-image-wrap img {
    width: 445px;
    height: 594px;
  }

  .story-heading {
    min-height: 123px;
  }

  .story {
    min-height: 1112px;
    padding-top: 18px;
  }

  .story-copy {
    width: 90%;
  }

  .gallery-row {
    width: 90%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    flex-direction: column;
    gap: 35px;
  }

  .gallery-row + .gallery-row {
    margin-top: 35px;
  }

  .gallery-row .gallery-image,
  .gallery-row-one .gallery-image:nth-child(1),
  .gallery-row-one .gallery-image:nth-child(2),
  .gallery-row-one .gallery-image:nth-child(3),
  .gallery-row-two .gallery-image:nth-child(1),
  .gallery-row-two .gallery-image:nth-child(2),
  .gallery-row-two .gallery-image:nth-child(3),
  .gallery-row-three .gallery-image:nth-child(1),
  .gallery-row-three .gallery-image:nth-child(2),
  .gallery-row-three .gallery-image:nth-child(3),
  .gallery-row-four .gallery-image:nth-child(1),
  .gallery-row-four .gallery-image:nth-child(2),
  .gallery-row-four .gallery-image:nth-child(3),
  .gallery-row-five .gallery-image:nth-child(1),
    .gallery-row-five .gallery-image:nth-child(2),
    .gallery-row-five .gallery-image:nth-child(3) {
    width: 100%;
    height: auto;
    max-height: var(--cell-max-height);
    margin-left: 0;
  }

  .gallery-row .gallery-image img {
    width: var(--image-width);
    max-width: var(--image-max-width);
    height: auto;
  }

  .gallery-row-one .gallery-image:nth-child(2) {
    --cell-max-height: 800px;
    --image-max-width: 750px;
    align-items: flex-start;
  }

  .gallery-row-four .gallery-image:nth-child(2) {
    width: 99%;
  }

  .gallery-row-four .gallery-image:nth-child(3) {
    margin-top: 10px;
  }

  .proof {
    min-height: 208px;
  }

  .proof-card {
    width: 90%;
    min-height: 190px;
    padding: 28px 20px;
  }

  .proof-card h3 {
    max-width: 620px;
  }

  .pricing {
    min-height: 1503px;
    padding-bottom: 100px;
  }

  .pricing-grid {
    display: block;
  }

  .price-card {
    min-height: 0;
    padding: 28px 5% 36px;
  }

  .price-card img,
  .price-card img.group-dolls {
    width: min(100%, 360px);
    height: auto;
    margin: 0 auto 10px;
  }

  .price-card h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    line-height: 1;
  }

  .price-card > p:not(.price) {
    min-height: 0;
  }

  .price-card .button {
    margin-bottom: 0;
  }

  .contact-section,
  .thanks-contact {
    min-height: 1120px;
  }

  .contact-grid {
    display: block;
    min-height: 0;
  }

  .contact-copy {
    padding-top: 50px;
  }

  .contact-image-wrap {
    top: 0;
    margin-top: 54px;
  }

  .contact-image-wrap img {
    width: 100%;
    height: auto;
  }

  .thanks-card {
    width: 90%;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .hero {
    height: min(calc(614.3px + 73.95vw), calc(993.2px + 10.7vw));
    min-height: 0;
  }

  .hero-inner {
    height: 100%;
  }

  .hero-copy {
    padding-top: 84px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero-button {
    margin-top: 19px;
  }

  .hero-image-wrap {
    margin-top: 0;
  }

  .hero-image-wrap img {
    width: min(445px, 84%);
    height: auto;
  }
}

@media (max-width: 480px) {
  .shell {
    width: 90%;
  }

  .hero {
    height: clamp(899px, calc(44.375vw + 757px), 970px);
  }

  .hero-inner {
    height: 100%;
  }

  .hero-copy {
    padding-top: 84px;
  }

  .hero h1,
  .hero h2,
  .story-heading h2,
  .proof-card h3,
  .contact-copy h2 {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1;
  }

  .hero h2 {
    margin-top: 20px;
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-button {
    width: auto;
    margin-top: 19px;
    padding: 24px clamp(20px, 10vw, 48px);
    font-size: clamp(18px, 5.87vw, 22px);
  }

  .hero-image-wrap {
    margin-top: 0;
  }

  .hero-image-wrap img {
    width: 84%;
    height: auto;
  }

  .story-heading h2 {
    font-size: 32px;
    line-height: 1;
  }

  .story {
    padding-top: 18px;
  }

  .story p {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 22.4px;
  }

  .gallery-row {
    gap: 35px;
  }

  .gallery-row + .gallery-row {
    margin-top: 35px;
  }

  .proof-card {
    top: -1px;
    min-height: 190px;
  }

  .proof-card img {
    width: 60px;
    height: auto;
  }

  .proof-card h3 {
    margin-top: 13px;
    font-size: 26px;
    line-height: 1;
  }

  .price-card {
    padding: 24px 5% 34px;
  }

  .price-card h3 {
    font-size: 28px;
  }

  .price-card > p:not(.price) {
    margin-top: 24px;
    font-size: 15px;
    line-height: 24px;
  }

  .price {
    font-size: 30px;
  }

  .price span,
  .price-white span,
  .price-start span {
    font-size: 22px;
  }

  .contact-copy h2 {
    font-size: 48px;
    line-height: 1.2;
  }

  .contact-copy > p {
    margin: 28px 0 29px;
    font-size: 18px;
  }

  .contact-form {
    gap: 18px;
  }

  .contact-button {
    min-height: 65px;
  }

  .scroll-top {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }

  .thanks-hero {
    height: 250px;
  }

  .thanks-main {
    min-height: 620px;
  }

  .thanks-card {
    top: -45px;
    width: 90%;
    min-height: 560px;
    padding: 0 20px 45px;
  }

  .thanks-card h1 {
    margin-bottom: 42px;
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    line-height: 1.15;
  }

  .thanks-card p {
    font-size: 14px;
    line-height: 22.4px;
  }
}

@media (max-width: 340px) {
  .hero-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
