:root {
  --cream: #fffaf7;
  --paper: #fffefd;
  --ink: #2d2538;
  --clay: #ad4774;
  --sage: #536b84;
  --line: #e7d9e7;
}

body {
  background: var(--cream);
}

main {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse 46rem 34rem at -8% 9%, rgba(67, 132, 226, 0.2), transparent 68%),
    radial-gradient(ellipse 42rem 30rem at 108% 18%, rgba(232, 91, 137, 0.19), transparent 68%),
    radial-gradient(ellipse 40rem 34rem at -8% 38%, rgba(141, 86, 195, 0.17), transparent 69%),
    radial-gradient(ellipse 45rem 32rem at 108% 54%, rgba(239, 141, 62, 0.17), transparent 68%),
    radial-gradient(ellipse 42rem 34rem at -9% 73%, rgba(40, 164, 190, 0.15), transparent 69%),
    radial-gradient(ellipse 46rem 32rem at 109% 91%, rgba(218, 73, 139, 0.18), transparent 68%),
    var(--cream);
}

.brand,
.quote {
  color: #30243e;
}

.sage .quote {
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo--header {
  width: auto;
  height: 3.8rem;
  object-position: left center;
}

.brand-logo--footer {
  width: min(17rem, 72vw);
  height: auto;
  object-position: left center;
}

.eyebrow {
  color: #a43d70;
}

.site-header {
  background: rgba(255, 252, 249, 0.94);
  border-bottom-color: rgba(72, 47, 91, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px;
  height: 4px;
  background: linear-gradient(90deg, transparent 1%, #568cda 17%, #9267cc 34%, #d95592 51%, #ee8c5c 70%, #e5b44e 84%, transparent 99%);
  filter: blur(1px);
  opacity: 0.72;
  pointer-events: none;
}

.btn.fill {
  border-color: transparent;
  background: linear-gradient(115deg, #285f91, #397eaa);
  box-shadow: 0 11px 30px rgba(40, 95, 145, 0.24);
}

.btn.fill:hover {
  background: linear-gradient(115deg, #204d77, #2d688f);
  box-shadow: 0 15px 36px rgba(40, 95, 145, 0.32);
}

.facts {
  background: linear-gradient(110deg, #30254a, #315d82 51%, #6c3f72);
}

/* Reusable flowing color stages */
.wc-stage {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.wc-stage > * {
  position: relative;
  z-index: 2;
}

.wc-stage::before,
.wc-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  display: none;
  width: clamp(27rem, 54vw, 56rem);
  aspect-ratio: 1.35;
  border-radius: 50%;
  pointer-events: none;
}

.wc-stage--cool::before,
.wc-stage--paired::before {
  display: block;
  left: clamp(-30rem, -27vw, -14rem);
  top: 50%;
  background:
    radial-gradient(circle at 34% 40%, rgba(59, 128, 227, 0.34), transparent 34%),
    radial-gradient(circle at 57% 57%, rgba(132, 77, 196, 0.26), transparent 48%),
    radial-gradient(circle at 68% 31%, rgba(216, 80, 155, 0.14), transparent 44%);
  transform: translateY(-50%) rotate(-7deg);
  filter: blur(13px);
}

.wc-stage--warm::after,
.wc-stage--paired::after {
  display: block;
  right: clamp(-30rem, -27vw, -14rem);
  top: 50%;
  background:
    radial-gradient(circle at 62% 34%, rgba(241, 135, 61, 0.32), transparent 36%),
    radial-gradient(circle at 42% 58%, rgba(226, 72, 127, 0.28), transparent 49%),
    radial-gradient(circle at 70% 69%, rgba(239, 183, 62, 0.16), transparent 42%);
  transform: translateY(-50%) rotate(6deg);
  filter: blur(13px);
}

.wc-stage--soft::before,
.wc-stage--soft::after {
  opacity: 0.66;
}

.wc-divider-top,
.wc-divider-bottom {
  background-repeat: no-repeat;
  background-size: 100% 2px;
}

.wc-divider-top {
  background-image: linear-gradient(90deg, transparent 4%, rgba(73, 135, 218, 0.42), rgba(160, 87, 193, 0.38), rgba(222, 78, 137, 0.34), rgba(235, 150, 61, 0.36), transparent 96%);
  background-position: center top;
}

.wc-divider-bottom {
  background-image: linear-gradient(90deg, transparent 4%, rgba(73, 135, 218, 0.42), rgba(160, 87, 193, 0.38), rgba(222, 78, 137, 0.34), rgba(235, 150, 61, 0.36), transparent 96%);
  background-position: center bottom;
}

.wc-bottom-transition {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 35rem 17rem at 4% 104%, rgba(92, 117, 218, 0.26), transparent 70%),
    radial-gradient(ellipse 34rem 18rem at 48% 110%, rgba(41, 168, 188, 0.2), transparent 70%),
    radial-gradient(ellipse 37rem 19rem at 98% 104%, rgba(229, 83, 135, 0.28), transparent 70%),
    #fffaf7;
}

.portfolio-intro,
.page-hero {
  background-color: transparent;
}

.about-family-portrait {
  position: relative;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  isolation: isolate;
}

.about-family-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% -2% -5% 2%;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 24% 34%, rgba(76, 138, 222, 0.25), transparent 43%),
    radial-gradient(circle at 77% 66%, rgba(223, 75, 139, 0.23), transparent 46%),
    rgba(240, 151, 70, 0.12);
  filter: blur(24px);
}

.about-family-portrait img {
  height: auto;
  aspect-ratio: 1500 / 844;
  border-radius: 9rem 9rem 1.4rem 1.4rem;
  box-shadow: 0 28px 70px rgba(39, 48, 78, 0.2);
}

.about-family-portrait figcaption {
  margin-top: 1rem;
  color: rgba(45, 37, 56, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cinema-grid {
  /* Let the page-wide color field show through the photo gutters so the
     gallery and the following story section remain one continuous canvas. */
  background: transparent;
  gap: 0.7rem;
  padding: 0.7rem;
}

.cinema-grid figure,
.masonry figure,
.split-image {
  box-shadow: 0 18px 48px rgba(55, 40, 73, 0.11);
}

.split-image {
  outline: 1px solid rgba(183, 100, 144, 0.15);
  outline-offset: 7px;
}

.split-image--arched {
  border-radius: 9rem 9rem 1.4rem 1.4rem;
  box-shadow: 0 28px 70px rgba(39, 48, 78, 0.2);
}

.split-image--arched img {
  border-radius: inherit;
}

.testimonial-section {
  padding-block: clamp(5.5rem, 10vw, 10rem);
}

.testimonial-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(24rem, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.testimonial-artwork {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.testimonial-artwork::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% -8% -6% 8%;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 26% 28%, rgba(76, 138, 222, 0.3), transparent 43%),
    radial-gradient(circle at 76% 72%, rgba(223, 75, 139, 0.26), transparent 46%),
    rgba(240, 151, 70, 0.12);
  filter: blur(22px);
}

.testimonial-artwork img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 9rem 9rem 1.4rem 1.4rem;
  box-shadow: 0 28px 70px rgba(39, 48, 78, 0.2);
}

.testimonial-artwork figcaption {
  margin-top: 1rem;
  color: rgba(45, 37, 56, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.testimonial-quote {
  position: relative;
  max-width: 760px;
  margin: 0;
  text-align: left;
  font-size: clamp(2.35rem, 4.3vw, 4.5rem);
}

.testimonial-mark {
  position: absolute;
  z-index: -1;
  top: -0.55em;
  left: -0.22em;
  color: rgba(61, 123, 187, 0.13);
  font-size: 3.2em;
  line-height: 1;
}

.testimonial-quote cite {
  color: #315d82;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 12%, rgba(72, 143, 217, 0.52), transparent 35%),
    radial-gradient(circle at 96% 88%, rgba(209, 71, 139, 0.42), transparent 38%),
    linear-gradient(125deg, #354d6d, #58446f 62%, #70455e);
}

.sage > * {
  position: relative;
  z-index: 1;
}

.step {
  border-top: 0;
  position: relative;
  padding-top: 1.8rem;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #5c87d3, #9869cb 32%, #da588d 62%, #e89a54 83%, transparent);
  filter: blur(0.5px);
  opacity: 0.68;
}

.blog-card,
.contact-panel,
.card {
  border-color: rgba(166, 102, 148, 0.2);
  box-shadow: 0 18px 56px rgba(64, 45, 82, 0.08);
}

.cta:not(.image-cta) {
  color: var(--ink);
}

.cta:not(.image-cta) .btn {
  color: #fff;
  border-color: #214f78 !important;
  background: #214f78;
}

.article-hero {
  background-color: transparent;
}

.article-cta {
  background:
    radial-gradient(circle at 8% 12%, rgba(64, 139, 221, 0.42), transparent 37%),
    radial-gradient(circle at 92% 88%, rgba(213, 69, 137, 0.4), transparent 39%),
    #2f5878;
}

.footer {
  position: relative;
  margin-top: 0;
  padding-top: 6rem;
  background: #152c40;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3rem;
  height: 4rem;
  background:
    radial-gradient(ellipse 30rem 8rem at 8% 86%, rgba(72, 138, 218, 0.34), transparent 70%),
    radial-gradient(ellipse 32rem 8rem at 42% 88%, rgba(139, 88, 197, 0.28), transparent 70%),
    radial-gradient(ellipse 31rem 8rem at 72% 88%, rgba(217, 75, 140, 0.3), transparent 70%),
    radial-gradient(ellipse 28rem 8rem at 98% 86%, rgba(237, 147, 64, 0.32), transparent 70%);
  filter: blur(5px);
  pointer-events: none;
}

.footer-bottom {
  color: #cfc5d8;
}

.social-links a:hover {
  color: #ffd4e3;
}

@media (max-width: 700px) {
  .brand-logo--header {
    height: 3.15rem;
  }

  main {
    background:
      radial-gradient(ellipse 27rem 22rem at -26% 12%, rgba(67, 132, 226, 0.18), transparent 69%),
      radial-gradient(ellipse 26rem 22rem at 128% 34%, rgba(232, 91, 137, 0.17), transparent 69%),
      radial-gradient(ellipse 26rem 22rem at -28% 67%, rgba(141, 86, 195, 0.15), transparent 70%),
      radial-gradient(ellipse 27rem 22rem at 130% 90%, rgba(239, 141, 62, 0.15), transparent 69%),
      var(--cream);
  }

  .wc-stage::before,
  .wc-stage::after {
    width: 38rem;
  }

  .wc-stage--cool::before,
  .wc-stage--paired::before {
    left: -29rem;
    filter: blur(11px);
  }

  .wc-stage--warm::after,
  .wc-stage--paired::after {
    right: -30rem;
    filter: blur(11px);
  }

  .wc-stage--paired::after {
    display: none;
  }

  .testimonial-layout {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }

  .testimonial-artwork {
    width: min(88%, 28rem);
    margin-inline: auto;
  }

  .testimonial-artwork img {
    border-radius: 7rem 7rem 1.2rem 1.2rem;
  }

  .about-family-portrait img {
    border-radius: 4.5rem 4.5rem 1.2rem 1.2rem;
  }

  .split-image--arched {
    border-radius: 7rem 7rem 1.2rem 1.2rem;
  }

  .testimonial-quote {
    font-size: clamp(2rem, 9.4vw, 3rem);
    text-align: center;
  }

  .testimonial-mark {
    left: 50%;
    transform: translateX(-58%);
  }

  .footer {
    margin-top: 0;
  }
}
