:root {
  --text: #2d292b;
  --muted: #6d686a;
  --paper: #ffffff;
  --surface: #faf9f8;
  --surface-rose: #fff5f8;
  --surface-green: #f8faf3;
  --line: #e8e3e0;
  --rose: #e5205d;
  --rose-deep: #b71848;
  --green: #8bba24;
  --green-deep: #557820;
  --max-width: 72rem;
  --radius-small: 0.8rem;
  --radius: 1.5rem;
  --shadow-soft: 0 1.25rem 3.5rem rgba(68, 51, 57, 0.09);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: ui-rounded, "SF Pro Rounded", "Trebuchet MS", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 0.2rem solid var(--rose);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: var(--radius-small);
  background: var(--text);
  color: var(--paper);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--rose-deep);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 8vw, 5.1rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.85rem, 5vw, 2.8rem);
  letter-spacing: -0.025em;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 227, 224, 0.8);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: block;
  flex: 0 1 11.25rem;
  width: 11.25rem;
}

.brand img {
  width: 100%;
}

.header-contact {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  color: var(--text);
  line-height: 1.2;
  text-decoration: none;
}

.header-contact span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-contact strong {
  font-size: 1rem;
}

.header-contact:hover strong {
  color: var(--rose-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero::before {
  position: absolute;
  top: 3rem;
  right: -5rem;
  width: 10rem;
  height: 10rem;
  border: 1.7rem solid rgba(139, 186, 36, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 5.5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-lead {
  margin-bottom: 1.5rem;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  font-style: italic;
  line-height: 1.3;
}

.trial-highlight {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: 0.65rem 0.9rem;
  border-left: 0.22rem solid var(--rose);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: var(--surface-rose);
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border: 0.1rem solid transparent;
  border-radius: var(--radius-small);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

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

.button-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  border-color: var(--text);
  background: var(--text);
  color: var(--paper);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  width: min(100%, 26rem);
  aspect-ratio: 5 / 4;
  margin: 0 auto;
  border: 0.5rem solid var(--paper);
  border-radius: 2.25rem 2.25rem 5rem 2.25rem;
  background: #e7dfd4;
  box-shadow: var(--shadow-soft);
}

.hero-visual::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.section-heading {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

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

.program-grid {
  display: grid;
  gap: 1.25rem;
}

.program {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0.8rem 2.2rem rgba(68, 51, 57, 0.045);
}

.program::before {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 4rem;
  height: 0.22rem;
  border-radius: 0 0 999px 999px;
  background: var(--rose);
  content: "";
}

.program-pilates::before {
  background: var(--green);
}

.program-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.program-number {
  order: 2;
  margin: 0;
  color: #ddd8d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 10vw, 5rem);
  font-style: italic;
  line-height: 0.85;
}

.location {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
}

.schedule {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.schedule li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.schedule li > :first-child {
  color: var(--muted);
  font-weight: 650;
}

.schedule li > :last-child {
  flex: 0 0 auto;
  color: var(--text);
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 750;
  letter-spacing: -0.015em;
}

.barbara-section {
  background: var(--paper);
}

.barbara-layout {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-block: 1px solid var(--line);
}

.barbara-copy {
  max-width: 48rem;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  border-left: 0.2rem solid var(--rose);
}

.barbara-lead {
  margin-bottom: 0.75rem;
  color: var(--green-deep);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 650;
}

.barbara-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-section {
  background: var(--surface-rose);
}

.contact-inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.contact-trial {
  margin-bottom: 0.65rem;
  color: var(--green-deep);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
}

.contact-inner > div > p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.eyebrow-light {
  color: var(--rose-deep);
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: clamp(1.4rem, 4vw, 2.1rem);
  border: 1px solid #f2dce3;
  border-radius: var(--radius);
  background: var(--paper);
  font-style: normal;
}

.contact-name {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-weight: 650;
}

.contact-details a {
  color: var(--rose-deep);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.flyer-section {
  background: var(--paper);
}

.flyer-layout {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.flyer-copy p:not(.eyebrow) {
  max-width: 30rem;
  color: var(--muted);
}

.text-link {
  color: var(--rose-deep);
  font-weight: 700;
}

.flyer {
  margin: 0;
}

.flyer > a {
  display: block;
  overflow: hidden;
  border: 0.4rem solid var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.flyer img {
  width: 100%;
}

.flyer figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.donations {
  background: var(--surface-green);
}

.donation-inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.donation-copy p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--muted);
}

.qr-link {
  display: block;
  width: fit-content;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 0.8rem 2.2rem rgba(68, 51, 57, 0.07);
}

.qr-link img {
  width: 11.25rem;
  aspect-ratio: 1;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p span {
  color: var(--muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-contact a {
  color: var(--rose-deep);
  font-weight: 650;
}

@media (min-width: 30rem) {
  .button {
    width: auto;
  }
}

@media (max-width: 29.999rem) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (min-width: 42rem) {
  .shell {
    width: min(100% - 3rem, var(--max-width));
  }

  .header-inner {
    min-height: 6rem;
  }

  .brand {
    width: 15rem;
    flex-basis: 15rem;
  }

  .header-contact strong {
    font-size: 1.16rem;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  }

  .flyer-layout {
    grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(2.5rem, 7vw, 6rem);
  }

  .donation-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-inner,
  .footer-contact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-contact {
    gap: 1.5rem;
  }
}

@media (min-width: 58rem) {
  .brand {
    width: 16rem;
    flex-basis: 16rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(23rem, 0.95fr);
    min-height: 39rem;
    padding-block: 4.5rem;
  }

  .hero-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

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