:root {
  --sky: #edf3f2;
  --paper: #ffffff;
  --spruce: #15302a;
  --meadow: #3e6b34;
  --rose: #a63d62;
  --rose-deep: #8a2f50;
  --plume: #f3d9df;
  --stone: #55615c;
  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --measure: 38rem;
  --gutter: max(clamp(1.25rem, 5vw, 4rem), calc((100vw - 74rem) / 2));
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12 Q20 -6 40 12 T80 12' fill='none' stroke='%23a63d62' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--spruce);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--rose);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rose-deep);
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

p,
ul {
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--spruce);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-family: var(--sans);
}

.skip:focus {
  top: 0;
  color: var(--paper);
}

/* Header */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.25rem var(--gutter);
}

.site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--spruce);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--spruce);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--rose);
}

.site-nav a.button {
  padding: 0.5rem 1.2rem;
  border-bottom: 0;
  color: var(--paper);
}

/* Buttons */

.button {
  display: inline-block;
  background: var(--rose);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
}

.button:hover {
  background: var(--rose-deep);
  color: var(--paper);
}

/* Page frame */

main {
  padding: 0 var(--gutter);
}

.page-title {
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.prose {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose > h2 {
  margin-top: 2.2em;
}

.prose > h3 {
  margin-top: 2em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--rose);
}

.plain-list {
  list-style: none;
  padding-left: 0 !important;
}

.with-aside {
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.with-aside > figure {
  margin: 0;
  position: sticky;
  top: 2rem;
}

.with-aside > figure img {
  width: 100%;
  max-width: 24rem;
  border-radius: 2rem;
}

.round img {
  border-radius: 50% !important;
  aspect-ratio: 1;
  object-fit: cover;
  max-width: 22rem;
}

.cta {
  margin-top: 2em;
}

/* Home hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--meadow);
}

.hero h1 span {
  display: block;
}

.hero .statement {
  margin-top: 0.6rem;
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero .button {
  margin-top: 2.25rem;
}

.breath {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.breath::before,
.breath::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--plume);
  opacity: 0.55;
  animation: breathe 10s ease-in-out infinite;
}

.breath::after {
  inset: 7%;
  opacity: 1;
}

.breath img {
  position: relative;
  z-index: 1;
  width: 76%;
  border-radius: 50%;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
}

/* The connected breath: one unbroken wave, in and out without a pause */

.wave {
  height: 24px;
  background: var(--wave) repeat-x left center / 80px 24px;
}

.hero-wave {
  margin: 0 calc(var(--gutter) * -1);
  animation: drift 7s linear infinite;
}

@keyframes drift {
  to {
    background-position-x: 80px;
  }
}

.page-title h1::after {
  content: "";
  display: block;
  width: 10rem;
  height: 24px;
  margin-top: 1.25rem;
  background: var(--wave) repeat-x left center / 80px 24px;
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.site-name::before {
  content: "";
  width: 44px;
  height: 14px;
  background: var(--wave) no-repeat left center / 44px 14px;
}

.site-footer::before {
  content: "";
  flex: 0 0 100%;
  height: 24px;
  background: var(--wave) repeat-x left center / 80px 24px;
  filter: brightness(2.1) saturate(0.6);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .breath::before,
  .breath::after,
  .hero-wave {
    animation: none;
  }
}

/* Home sections */

.band {
  margin: 0 calc(var(--gutter) * -1);
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.band-paper {
  background: var(--paper);
}

.offerings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem);
}

.offering img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
}

.offering > * + * {
  margin-top: 1rem;
}

.voice {
  max-width: 46rem;
  margin: 0 auto;
}

.voice blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  line-height: 1.35;
}

.voice figcaption,
.voice > p {
  margin-top: 1.25rem;
  font-family: var(--sans);
}

.meet {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, var(--measure));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.meet img {
  border-radius: 50%;
}

.meet > div > * + * {
  margin-top: 1rem;
}

/* Lists on Breathwork and About */

.benefits {
  columns: 2 18rem;
  column-gap: 3rem;
  max-width: 60rem;
  padding-left: 1.2em;
  margin-top: 1.25rem;
}

.benefits li {
  break-inside: avoid;
  margin-bottom: 0.7em;
}

.benefits li::marker {
  color: var(--rose);
}

.wide-photo {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.wide-photo img {
  width: 100%;
  max-width: 52rem;
  max-height: 26rem;
  object-fit: cover;
  border-radius: 2rem;
}

.lineage {
  font-style: italic;
}

.prose > .lineage-start {
  margin-top: 3.5em;
  padding-top: 2em;
  border-top: 2px solid var(--plume);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 2.5rem clamp(2rem, 5vw, 4rem);
  max-width: 62rem;
  margin-top: 2rem;
}

.facts h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--meadow);
  margin-bottom: 0.75rem;
}

.facts ul {
  list-style: none;
  padding: 0;
}

.facts li + li {
  margin-top: 0.35em;
}

.policy {
  max-width: var(--measure);
}

.policy > * + * {
  margin-top: 1.15em;
}

.policy blockquote {
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
}

/* Testimonials */

.testimonials {
  columns: 2 24rem;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: 2.5rem;
}

.testimonials figure {
  break-inside: avoid;
  margin: 0 0 3rem;
}

.testimonials blockquote {
  margin: 0;
}

.testimonials figcaption {
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--stone);
}

.testimonials figcaption strong {
  color: var(--spruce);
}

/* Contact and scheduling */

.big-link {
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  overflow-wrap: anywhere;
}

.scheduler {
  background: var(--paper);
  border-radius: 1.5rem;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}

.scheduler iframe {
  display: block;
  width: 100%;
  min-height: 60rem;
  border: 0;
  border-radius: 1rem;
}

/* Footer */

.site-footer {
  margin-top: clamp(3rem, 8vw, 6rem);
  background: var(--spruce);
  color: var(--sky);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 4rem;
  font-family: var(--sans);
  font-size: 1.1rem;
}

.site-footer a {
  color: var(--sky);
}

.site-footer a:hover {
  color: var(--plume);
}

.site-footer :focus-visible {
  outline-color: var(--plume);
}

.site-footer .footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
}

main > .band:last-child {
  margin-bottom: calc(clamp(3rem, 8vw, 6rem) * -1);
}

@media (max-width: 52rem) {
  body {
    font-size: 1.15rem;
  }

  .hero,
  .with-aside,
  .offerings,
  .meet {
    grid-template-columns: minmax(0, 1fr);
  }

  .breath {
    grid-row: 1;
    width: min(100%, 17rem);
  }

  .with-aside > figure {
    position: static;
    max-width: 26rem;
  }

  .meet img {
    max-width: 14rem;
  }

  .site-nav ul {
    gap: 0.25rem 1.15rem;
  }
}
