.refined-r03 {
  --curve-depth: clamp(16px, 3vw, 40px);
  font-family: Anuphan, sans-serif;
  font-weight: 400;
}

.refined-r03 :is(h1, h2, .quote) { font-weight: 700; }
.refined-r03 .eyebrow { font-weight: 600; }
.refined-r03 :is(.button, .font-tools button, .home-link) {
  font-family: Anuphan, sans-serif;
}

.refined-r03 .hero.wrap {
  position: relative;
  padding-bottom: calc(clamp(48px, 6vw, 90px) + var(--curve-depth));
}
.refined-r03 .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: var(--curve-depth);
  background: var(--ivory);
  border-radius: 44% 56% 0 0 / 100% 88% 0 0;
  pointer-events: none;
}
.refined-r03 #story { border-top: 0; }
.refined-r03 #practice {
  background: var(--ivory);
  border-top: 0;
  padding-top: 0;
}
.refined-r03 #practice > .wrap {
  background: var(--sky);
  border-radius: 20px;
  padding: clamp(23px, 4vw, 54px);
}
.refined-r03 #practice .narrow > :last-child { margin-bottom: 0; }
.refined-r03 main > section:not(.hero) { border-color: color-mix(in srgb, var(--cherry) 14%, transparent); }
.refined-r03 #practice + section h2 { color: var(--ink); }
.refined-r03 .list li { background: color-mix(in srgb, var(--sky) 55%, var(--ivory)); }
.refined-r03 .cta {
  position: relative;
  border-top: 0;
}
.refined-r03 .cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--curve-depth) * .65);
  background: var(--ivory);
  border-radius: 0 0 57% 43% / 0 0 100% 75%;
  pointer-events: none;
}
@media (max-width: 700px) {
  .refined-r03 .hero.wrap { padding-bottom: calc(49px + var(--curve-depth)); }
  .refined-r03 #practice > .wrap { border-radius: 14px; }
}

/* R05: use the surrounding ivory to shape the top and bottom of each sky area. */
.refined-r03 {
  --seam-depth: clamp(19px, 3.2vw, 45px);
}
.refined-r03 :is(.hero, .cta, #practice > .wrap) {
  position: relative;
  isolation: isolate;
}
.refined-r03 :is(.hero, .cta, #practice > .wrap)::before,
.refined-r03 :is(.hero, .cta, #practice > .wrap)::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  width: auto;
  height: var(--seam-depth);
  margin: 0;
  background: var(--ivory);
  pointer-events: none;
}
.refined-r03 :is(.hero, .cta, #practice > .wrap)::before {
  top: -1px;
  bottom: auto;
  border-radius: 0 0 64% 36% / 0 0 88% 30%;
}
.refined-r03 :is(.hero, .cta, #practice > .wrap)::after {
  top: auto;
  bottom: -1px;
  border-radius: 46% 54% 0 0 / 87% 34% 0 0;
}
.refined-r03 #practice > .wrap { border-radius: 0; --seam-depth: clamp(14px, 2.1vw, 29px); }
.refined-r03 .cta + * { border-top-color: transparent; }
html.cherry-about:has(.refined-r03) header { border-bottom-color: transparent; }
