:root {
  --forest: #254d34;
  --deep: #14291d;
  --sage: #dfe8d8;
  --mist: #f6f2e8;
  --paper: #fffaf0;
  --gold: #bd7416;
  --amber: #d38a23;
  --ink: #21322a;
  --soft-line: rgba(37, 77, 52, 0.16);
  --shadow: 0 18px 42px rgba(30, 43, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0 0%, #eef4e8 48%, #fffaf0 100%);
  font-family: "Manrope", Arial, sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 8px clamp(18px, 5vw, 88px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(16px);
}

.brand img,
footer img {
  display: block;
  width: 150px;
  mix-blend-mode: multiply;
}

.topbar nav,
footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 0.9rem;
  font-weight: 800;
}

.topbar nav a {
  position: relative;
  padding: 10px 0;
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.topbar nav a:hover::after,
.topbar nav a:first-child::after {
  transform: scaleX(1);
}

.book-button,
.hero-actions a,
.cards a,
.booking-actions a,
.banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  box-shadow: 0 10px 24px rgba(37, 77, 52, 0.2);
  font-weight: 900;
}

.book-button,
.hero-actions .gold,
.cards a.gold,
.booking-actions .email-us {
  background: linear-gradient(135deg, var(--amber), var(--gold));
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(30px, 5vw, 72px) clamp(20px, 7vw, 110px);
  border-bottom: 1px solid var(--soft-line);
  background: var(--paper);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.9) 34%, rgba(255, 250, 240, 0.25) 62%, rgba(255, 250, 240, 0.03) 100%),
    linear-gradient(0deg, rgba(255, 250, 240, 0.76) 0%, rgba(255, 250, 240, 0) 25%);
}

.leaf {
  position: absolute;
  z-index: 2;
  opacity: 0.8;
  pointer-events: none;
}

.leaf-left {
  left: -38px;
  top: 88px;
  width: 170px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
}

h1,
.benefits h2,
.section-kicker,
.banner p {
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 480px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.9;
}

.script {
  max-width: 520px;
  margin: 8px 0 16px;
  color: var(--gold);
  font-family: "Caveat", cursive;
  font-size: clamp(3.3rem, 6vw, 5.6rem);
  line-height: 0.82;
}

.intro {
  max-width: 520px;
  margin: 0 0 24px;
  color: #22352b;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.45;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.note {
  margin: 18px 0 0 52px;
  color: var(--deep);
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
}

.circle-note {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 6vw, 120px);
  top: 150px;
  display: grid;
  place-items: center;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: rgba(37, 77, 52, 0.94);
  border: 6px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
  transform: rotate(-5deg);
}

.circle-note span {
  max-width: 130px;
  font-family: "Caveat", cursive;
  font-size: 1.85rem;
  line-height: 0.98;
}

.top-note {
  position: absolute;
  z-index: 4;
  right: 40px;
  top: 22px;
  color: var(--deep);
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  line-height: 0.94;
  transform: rotate(-10deg);
}

.benefits {
  position: relative;
  padding: 42px clamp(18px, 6vw, 88px) 46px;
  background: linear-gradient(180deg, #e8efe2, #f5f2e7);
}

.benefits h2 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 30px;
  padding: 9px 46px;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  box-shadow: var(--shadow);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-grid article {
  min-height: 230px;
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--soft-line);
}

.benefit-grid article:last-child {
  border-right: 0;
}

.benefit-grid img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 12px;
}

.benefit-grid h3 {
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.benefit-grid p {
  margin: 8px auto 0;
  max-width: 170px;
  line-height: 1.35;
  font-weight: 700;
}

.class-info {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(240px, 0.8fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  padding: 38px clamp(18px, 6vw, 88px);
  background: linear-gradient(180deg, #fffaf0, #edf3e8);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.class-info > div {
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(30, 43, 35, 0.08);
}

.class-info-copy {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.class-info-copy::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 82px;
  aspect-ratio: 1;
  background: url("/assets/heart.png") center / contain no-repeat;
  opacity: 0.18;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-info h2 {
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.class-info-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 20px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.45;
  font-weight: 750;
}

.practice-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.practice-points span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 999px;
  color: var(--forest);
  background: #f3ead9;
  font-weight: 900;
  text-align: center;
}

.schedule-card,
.contact-card {
  padding: 26px;
}

.schedule-card h3,
.contact-card h3 {
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.times {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.times p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-line);
  font-size: 1.1rem;
  font-weight: 850;
}

.times span {
  color: var(--gold);
}

.schedule-card b,
.schedule-card small {
  display: block;
}

.schedule-card b {
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 900;
}

.schedule-card small {
  margin-top: 5px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 18px 0 0;
  line-height: 1.45;
  font-weight: 700;
}

.classes {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(28px, 5vw, 64px);
  padding: 44px clamp(18px, 6vw, 88px);
  background: var(--paper);
}

.space-copy {
  position: relative;
  padding: 26px 24px 28px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
}

.space-copy img {
  width: min(100%, 380px);
  margin-bottom: 14px;
}

.space-copy p {
  margin: 8px 0;
  color: #31453a;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.35;
  font-weight: 700;
}

.section-kicker {
  margin: 2px 0 20px;
  color: var(--forest);
  font-size: 1.55rem;
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cards article {
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cards article > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.cards article div {
  padding: 18px 18px 20px;
  text-align: center;
}

.cards h3 {
  color: var(--forest);
  font-size: 1.35rem;
  line-height: 1.1;
}

.cards span {
  display: block;
  margin-top: 2px;
  color: #46594d;
  font-weight: 800;
}

.cards p {
  min-height: 76px;
  margin: 10px 0 16px;
  line-height: 1.38;
  font-weight: 650;
}

.cards a {
  min-height: 38px;
  padding: 0 24px;
}

.about {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 42px clamp(18px, 6vw, 88px);
  background: #e8efe2;
}

.photo-card {
  padding: 12px 12px 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

.photo-card p {
  margin: 10px 0 0;
  color: var(--forest);
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  line-height: 0.9;
}

.photo-card span {
  color: var(--deep);
  font-size: 1.05rem;
}

.about-copy h2,
.families h2 {
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  text-transform: uppercase;
}

.about-copy p {
  max-width: 560px;
  margin: 10px 0 0;
  line-height: 1.55;
  font-weight: 700;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 18px;
}

.about-gallery img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  border: 8px solid rgba(255, 250, 240, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(30, 43, 35, 0.12);
}

.about-gallery img:first-child {
  object-position: center 62%;
}

.about-gallery img:last-child {
  object-position: center 72%;
}

.about blockquote {
  margin: 0;
  padding: 28px 34px;
  color: var(--gold);
  background: rgba(255, 250, 240, 0.78);
  border-radius: 10px;
  font-family: "Caveat", cursive;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1;
  text-align: center;
}

.about blockquote strong {
  display: block;
  margin-top: 8px;
}

.families {
  padding: 32px clamp(18px, 6vw, 88px) 28px;
  background: var(--paper);
  text-align: center;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 22px auto 0;
}

.quotes blockquote {
  margin: 0;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 43, 35, 0.08);
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  line-height: 1.08;
}

.booking {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 7vw, 110px);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(223, 232, 216, 0.96)),
    var(--paper);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.booking-copy,
.booking-panel {
  position: relative;
  z-index: 1;
}

.booking-copy h2 {
  max-width: 720px;
  margin: 8px 0 16px;
  color: var(--forest);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.9;
}

.booking-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.booking-panel {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(37, 77, 52, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.booking-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.booking-actions a {
  min-height: 54px;
  padding: 0 24px;
  font-size: 1.02rem;
}

.booking-panel dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 18px;
}

.booking-panel dl div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--soft-line);
}

.booking-panel dt,
.booking-panel dd {
  margin: 0;
}

.booking-panel dt {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.booking-panel dd {
  color: var(--deep);
  font-weight: 800;
}

.email-line {
  display: block;
  color: var(--forest);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: center;
}

.booking-leaf {
  position: absolute;
  width: clamp(90px, 13vw, 180px);
  opacity: 0.26;
  pointer-events: none;
}

.booking-leaf.left {
  left: -24px;
  bottom: 10px;
}

.booking-leaf.right {
  top: 12px;
  right: -20px;
  transform: scaleX(-1) rotate(-14deg);
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  padding: 20px;
  color: #fff;
  background: var(--forest);
}

.banner img {
  width: 32px;
  filter: brightness(0) invert(1);
}

.banner p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.banner a {
  background: var(--paper);
  color: var(--forest);
}

footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(18px, 6vw, 88px);
  background: #fffaf0;
  border-top: 1px solid var(--soft-line);
}

footer strong {
  color: var(--forest);
  font-size: 1.5rem;
}

.policy-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.policy-page main {
  max-width: 760px;
  padding: 42px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.policy-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.policy-page p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.policy-page a {
  color: var(--forest);
  font-weight: 900;
}

@media (max-width: 980px) {
  .topbar,
  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .topbar {
    position: relative;
  }

  .hero {
    min-height: auto;
    padding-top: 460px;
  }

  .hero-image {
    height: 460px;
    object-position: center top;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, rgba(255, 250, 240, 0.94) 58%, rgba(255, 250, 240, 1) 100%);
  }

  .circle-note,
  .top-note,
  .leaf-left {
    display: none;
  }

  .hero-copy {
    max-width: 700px;
  }

  .benefit-grid,
  .cards,
  .quotes,
  .class-info,
  .booking {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: auto;
    padding: 22px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .classes,
  .about {
    grid-template-columns: 1fr;
  }

  .photo-card {
    width: min(210px, 70vw);
    justify-self: center;
  }

  .banner,
  .topbar nav,
  footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .topbar nav {
    gap: 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 350px 18px 34px;
  }

  .hero-image {
    height: 360px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .script {
    font-size: 3.2rem;
  }

  .hero-actions a,
  .book-button,
  .booking-actions a,
  .banner a {
    width: 100%;
  }

  .note {
    margin-left: 0;
  }

  .benefits h2 {
    width: 100%;
    padding: 10px 18px;
    text-align: center;
  }

  .classes,
  .class-info,
  .booking,
  .about,
  .families {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .times p {
    display: grid;
    gap: 4px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .booking-panel dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
