:root {
  --ink: #20201d;
  --muted: #69675f;
  --paper: #fbfaf6;
  --sage: #7f927c;
  --sage-dark: #526652;
  --clay: #a86b4d;
  --gold: #bf862c;
  --mist: #edf0e7;
  --line: rgba(32, 32, 29, 0.14);
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

main > section {
  scroll-margin-top: 86px;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(20, 22, 18, 0.52), rgba(20, 22, 18, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(32, 32, 29, 0.18);
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.header-action {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 27, 20, 0.66), rgba(24, 27, 20, 0.24) 48%, rgba(24, 27, 20, 0.08)),
    linear-gradient(0deg, rgba(251, 250, 246, 0.94), rgba(251, 250, 246, 0) 25%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 110px);
  padding-top: 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ead7c7;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.03;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  font-size: clamp(64px, 14vw, 156px);
}

h2 {
  font-size: clamp(36px, 6vw, 74px);
}

h3 {
  font-size: 24px;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 30px;
  font-size: clamp(18px, 2.4vw, 25px);
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

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

.button {
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button.primary {
  background: var(--sage-dark);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
}

.intro,
.brand-story,
.origin,
.gallery,
.offer-band,
.pricing,
.childcare,
.registration,
.studio,
.contact {
  padding: clamp(56px, 9vw, 118px) clamp(18px, 6vw, 90px);
}

.flow-note {
  padding: 0 clamp(18px, 6vw, 90px);
  background: linear-gradient(180deg, rgba(251, 250, 246, 0), rgba(244, 239, 230, 0.76), rgba(251, 250, 246, 0));
}

.flow-note p {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid rgba(168, 107, 77, 0.16);
  border-bottom: 1px solid rgba(168, 107, 77, 0.16);
  color: var(--sage-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3.3vw, 42px);
  line-height: 1.18;
  text-align: center;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.intro p:last-child,
.brand-story-copy p,
.studio-text p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: #f4efe6;
}

.brand-story-image {
  overflow: hidden;
  border-radius: 8px;
}

.brand-story-image img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.brand-story-copy > img {
  width: 116px;
  height: 116px;
  margin-bottom: 28px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(32, 32, 29, 0.12);
}

.brand-story-copy p:last-child {
  max-width: 620px;
}

.origin {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--paper);
}

.origin-copy {
  max-width: 860px;
}

.origin-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.origin-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(32, 32, 29, 0.12);
  box-shadow: 0 24px 60px rgba(32, 32, 29, 0.1);
}

.origin-card img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: center 32%;
}

.origin-card div {
  padding: 24px;
}

.origin-card h3 {
  margin-bottom: 12px;
}

.origin-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.origin,
.gallery,
.offer-band,
.pricing,
.childcare,
.registration,
.studio,
.contact {
  position: relative;
}

.gallery::before,
.offer-band::before,
.pricing::before,
.childcare::before,
.registration::before,
.studio::before,
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(18px, 6vw, 90px);
  right: clamp(18px, 6vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 107, 77, 0.24), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1.15fr;
  gap: 16px;
  align-items: stretch;
}

.gallery figure {
  min-height: 330px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
}

.gallery figure:nth-child(2),
.gallery figure:nth-child(3) {
  min-height: 420px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.offer-band {
  background: var(--mist);
}

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

.childcare {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(244, 239, 230, 0.95), rgba(255, 253, 248, 0.98)),
    #fff8ec;
  border-top: 1px solid rgba(168, 107, 77, 0.12);
  border-bottom: 1px solid rgba(168, 107, 77, 0.12);
}

.childcare-copy p {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
}

.childcare-copy p strong {
  color: var(--ink);
}

.childcare-facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.childcare-facts div {
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid rgba(168, 107, 77, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 42px rgba(32, 32, 29, 0.06);
}

.childcare-facts div:nth-child(1),
.childcare-facts div:nth-child(2),
.childcare-facts div:nth-child(3) {
  grid-column: span 2;
}

.childcare-facts div:nth-child(4),
.childcare-facts div:nth-child(5),
.childcare-facts div:nth-child(6) {
  grid-column: span 3;
}

.childcare-facts span {
  display: block;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.childcare-facts strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.15;
}

.childcare-facts div:nth-child(4) strong,
.childcare-facts div:nth-child(5) strong,
.childcare-facts div:nth-child(6) strong {
  font-size: clamp(18px, 2vw, 24px);
}

.childcare-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(32, 32, 29, 0.14);
}

.childcare-image img {
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.offer-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(82, 102, 82, 0.18);
  border-radius: 8px;
  background: var(--white);
}

.offer-number {
  color: var(--clay);
  font-weight: 800;
}

.offer-card h3 {
  margin-top: 48px;
}

.offer-card p {
  color: var(--muted);
}

.offer-card strong {
  margin-top: auto;
  color: var(--sage-dark);
}

.pricing {
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 1), rgba(244, 239, 230, 0.74)),
    var(--paper);
}

.pricing .section-heading p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

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

.price-list article,
.ticket-card {
  border: 1px solid rgba(32, 32, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 42px rgba(32, 32, 29, 0.06);
}

.price-list article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.price-list span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-list strong {
  margin: 28px 0 10px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
}

.price-list p {
  margin: auto 0 0;
  color: var(--muted);
}

.ticket-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(82, 102, 82, 0.94), rgba(32, 32, 29, 0.92)),
    var(--sage-dark);
  color: var(--white);
}

.ticket-card .eyebrow {
  color: #ead7c7;
}

.ticket-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
}

.ticket-card p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.78);
}

.ticket-card .button {
  width: fit-content;
  margin-top: 16px;
  background: var(--white);
  color: var(--ink);
}

.registration .section-heading p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 560px);
  gap: clamp(24px, 6vw, 78px);
  align-items: start;
}

.date-list {
  display: grid;
  gap: 14px;
}

.date-list article {
  padding: 24px;
  border-left: 5px solid var(--clay);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(32, 32, 29, 0.07);
}

.date-list span {
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.date-list h3 {
  margin-top: 10px;
}

.date-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.registration-form .mail-link {
  background: var(--mist);
  color: var(--ink);
}

.studio {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.studio-list {
  border-top: 1px solid var(--line);
}

.studio-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.studio-list span {
  color: var(--clay);
  font-weight: 800;
}

.studio-list p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.quote-band {
  padding: clamp(54px, 10vw, 120px) clamp(18px, 7vw, 110px);
  background: var(--sage-dark);
  color: var(--white);
}

.quote-band p {
  width: min(980px, 100%);
  margin: 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 6vw, 82px);
  line-height: 1.08;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 560px);
  gap: clamp(30px, 7vw, 90px);
}

dl {
  margin: 32px 0 0;
}

dl div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--sage-dark);
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

label {
  display: grid;
  gap: 8px;
  color: var(--sage-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(32, 32, 29, 0.18);
  border-radius: 6px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--sage-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 90px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f4efe6;
}

.thanks {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 22px 60px rgba(32, 32, 29, 0.12);
}

.thanks img {
  width: 118px;
  height: 118px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
}

.thanks h1 {
  color: var(--ink);
}

.thanks p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    margin: 0 auto;
    align-self: end;
    padding-bottom: 86px;
  }

  .intro,
  .brand-story,
  .origin,
  .childcare,
  .studio,
  .contact,
  .registration-layout,
  .gallery-grid,
  .pricing-layout,
  .price-list,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3) {
    min-height: 300px;
  }

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

  .childcare-facts div,
  .childcare-facts div:nth-child(1),
  .childcare-facts div:nth-child(2),
  .childcare-facts div:nth-child(3),
  .childcare-facts div:nth-child(4),
  .childcare-facts div:nth-child(5),
  .childcare-facts div:nth-child(6) {
    grid-column: auto;
  }

  .offer-card {
    min-height: 240px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .header-action {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(58px, 20vw, 92px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-form {
    padding: 20px;
  }

  .childcare-facts {
    grid-template-columns: 1fr;
  }
}
