/* Sweet Moments — course skin (shared by /zefir-course and /enrol)
   Tokens + buttons + form chrome live in base.css. This file adds the
   editorial course layout only. No shadows, per spec. */

/* ---------- page base ---------- */
body {
  background: var(--cream); /* homepage cream, per Natalia */
  color: var(--black);
  line-height: 1.8;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 56px); }
section, header, footer { scroll-margin-top: 96px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--brown); }
.label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--pink);
}
.script {
  font-family: var(--script); font-weight: 400; font-style: normal;
  color: var(--pink); line-height: 1;
}

/* ---------- nav (fixed 75px) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 250, 247, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 75px;
}
.wordmark {
  font-family: var(--display); font-size: 17px; line-height: 30.6px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--brown);
}
.nav-cta {
  font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brown); padding-bottom: 4px; border-bottom: 1px solid var(--brown);
  transition: color .3s ease, border-color .3s ease;
}
.nav-cta:hover { color: var(--pink-deep); border-color: var(--pink); }

/* ---------- hero (course landing) ---------- */
.hero {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(44px, 6vw, 56px); align-items: center;
  padding: clamp(130px, 18vh, 153px) 0 clamp(70px, 9vw, 110px);
}
.hero .label { display: block; margin-bottom: 28px; }
.hero h1 { display: flex; flex-direction: column; margin-bottom: 30px; }
.h1-top { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; letter-spacing: .01em; }
.h1-script { font-size: clamp(58px, 8vw, 104px); line-height: 1.08; padding-right: .15em; }
.hero p { max-width: 460px; font-size: 16px; line-height: 1.8; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.hero .btn-pink {
  width: 182px; height: 62px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0;
}
.hero-meta {
  margin-top: 34px; font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.hero-fig { position: relative; justify-self: center; }
.hero-fig img {
  width: 471px; max-width: 100%; height: 666px; object-fit: cover;
  border-radius: var(--r-frame);
}
.vertical-caption {
  position: absolute; left: -48px; bottom: 26px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; font-weight: 500; letter-spacing: .34em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 10vw, 140px) 0; }
.sec-head { max-width: 660px; margin: 0 auto; text-align: center; }
.sec-head .label { display: block; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(25px, 3vw, 35px); line-height: 1.25; }

/* what is zefir */
.statement { text-align: center; }
.statement .label { display: block; margin-bottom: 30px; }
.statement p {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 29px); line-height: 1.6;
  color: var(--brown); max-width: 628px; margin: 0 auto;
}
.statement .script { font-size: 1.3em; padding: 0 .1em; }

/* from the course */
.gallery { padding: 140px 0; }
.g-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px); margin-top: clamp(50px, 6vw, 80px);
  align-items: start;
}
.g-item img { width: 100%; aspect-ratio: 329 / 450; object-fit: cover; border-radius: var(--r-img); }
.g-item figcaption {
  margin-top: 18px; font-size: 10.5px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted); text-align: center;
}

/* what you'll learn */
.learn-grid {
  display: grid; grid-template-columns: 1fr 590px;
  gap: clamp(48px, 7vw, 110px); align-items: start;
}
.learn-side { position: sticky; top: 120px; }
.learn-side .label { display: block; margin-bottom: 24px; }
.learn-side h2 { font-size: clamp(25px, 2.9vw, 34px); line-height: 1.22; margin-bottom: 22px; }
.learn-side p { max-width: 34ch; font-size: 15px; }
.learn-item { border-top: 1px solid var(--line); padding: 34px 0; }
.learn-item:last-child { border-bottom: 1px solid var(--line); }
.learn-item h3 { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.8; margin-bottom: 12px; }
.learn-item p { max-width: 58ch; font-size: 16px; line-height: 1.8; }

/* curriculum accordion */
.curr { max-width: 820px; margin: 0 auto; }
.curr .sec-head { margin-bottom: clamp(44px, 6vw, 70px); }
.mods { border-bottom: 1px solid var(--line); }
.mod { border-top: 1px solid var(--line); }
.mod-head {
  width: 100%; display: grid;
  grid-template-columns: 64px 1fr auto 30px;
  align-items: center; gap: 14px;
  padding: 27px 0; background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit;
}
.mod-num { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .22em; color: var(--pink); }
.mod-title { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 2.2vw, 23px); color: var(--brown); line-height: 1.3; }
.mod-count {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.mod-icon { position: relative; width: 14px; height: 14px; justify-self: end; }
.mod-icon::before, .mod-icon::after {
  content: ""; position: absolute; background: var(--pink-deep);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.mod-icon::before { left: 0; top: 6px; width: 14px; height: 1px; }
.mod-icon::after { left: 6px; top: 0; width: 1px; height: 14px; }
.mod-head[aria-expanded="true"] .mod-icon::after { transform: scaleY(0); }
.mod-body {
  max-height: 0; overflow: hidden;
  transition: max-height .55s cubic-bezier(.4, 0, .2, 1);
}
.lessons {
  list-style: none; padding: 2px 0 36px 78px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  column-gap: 36px;
}
.lessons li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 8px 0; font-size: 15px; font-weight: 300; color: var(--black);
}
.lessons li b {
  font-family: var(--sans); font-weight: 500;
  font-size: 11px; letter-spacing: .08em; color: var(--pink); min-width: 20px;
}

/* your teacher */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 110px); align-items: center;
}
.about-fig img {
  width: 435px; max-width: 100%; height: 594px; object-fit: cover;
  border-radius: var(--r-frame);
}
.about-copy .label { display: block; margin-bottom: 24px; }
.about-copy h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.25; margin-bottom: 26px; max-width: 20ch; }
.about-copy p { max-width: 54ch; margin-bottom: 20px; font-size: 15px; }
.signature {
  font-family: var(--script); font-size: clamp(38px, 4vw, 48px);
  color: var(--pink); line-height: 1; margin: 6px 0 18px;
}
.ig-link {
  display: inline-block; font-size: 11.5px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--pink-deep); padding-bottom: 4px; border-bottom: 1px solid var(--pink);
  transition: color .3s ease;
}
.ig-link:hover { color: var(--brown); }

/* enrol cta band */
.cta { background: rgba(255, 255, 255, .55); text-align: center; }
.cta .label { display: block; margin-bottom: 26px; }
.cta h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.15; margin-bottom: 26px; }
.cta h2 .script { font-size: 1.45em; padding: 0 .12em; }
.cta p { max-width: 46ch; margin: 0 auto 44px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0; }
.foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.foot-links { display: flex; gap: 30px; }
.foot-links a { transition: color .3s ease; }
.foot-links a:hover { color: var(--pink-deep); }

/* ---------- enrol page ---------- */
.enrol-hero { text-align: center; padding: clamp(120px, 16vh, 150px) 0 clamp(56px, 7vw, 80px); }
.enrol-hero .label { display: block; margin-bottom: 24px; }
.enrol-hero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.15; margin-bottom: 18px; }
.enrol-hero h1 .script { display: block; font-size: 1.25em; margin-top: 6px; }
.enrol-hero .hero-meta { margin-top: 0; margin-bottom: 26px; }
.enrol-hero .lead { max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.8; }

/* enrolment form card */
.enrol-form-wrap { padding: 0 0 clamp(84px, 10vw, 140px); }
.enrol-card {
  background: #fff; border-radius: 30px;
  max-width: 560px; margin: 0 auto;
  padding: clamp(36px, 5vw, 48px) clamp(28px, 5vw, 44px);
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-family: var(--sans); font-weight: 500;
  font-size: 14px; color: var(--black); margin-bottom: 8px;
}
.form-field input {
  width: 100%; padding: 14px 16px; font-family: var(--sans); font-size: 16px;
  color: var(--black); background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
}
.form-field input:focus { outline: none; border-color: var(--pink); }
.form-field input::placeholder { color: rgba(60, 60, 60, .45); }
button.btn-pink { width: 100%; cursor: pointer; }
.form-error-global {
  display: none; margin-top: 14px; padding: 12px 16px;
  background: #FDECEA; color: #b00020; font-size: 13px;
  text-align: center; border-radius: 8px;
}
.form-error-global.show { display: block; }

/* what you'll get strip */
.gets { padding: 0 0 clamp(84px, 10vw, 140px); }
.gets .gets-head {
  text-align: center; font-size: clamp(25px, 3vw, 35px);
  line-height: 1.25; margin-bottom: clamp(40px, 5vw, 60px);
}
.gets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px); max-width: 900px; margin: 0 auto; text-align: center;
}
.gets-item { font-size: 15px; line-height: 1.7; color: var(--black); }

/* teacher line (enrol page) */
.teacher-line {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; padding: 0 0 clamp(84px, 10vw, 140px); text-align: left;
}
.teacher-line img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.teacher-line p { font-size: 15px; color: var(--black); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1160px) {
  .vertical-caption { display: none; }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero p { max-width: 58ch; }
  .hero-fig img { width: 100%; height: auto; aspect-ratio: 471 / 666; }
  .g-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .learn-grid { grid-template-columns: 1fr; gap: 44px; }
  .learn-side { position: static; }
  .learn-side p { max-width: 58ch; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-fig { max-width: 520px; margin: 0 auto; width: 100%; }
  .about-fig img { width: 100%; height: auto; aspect-ratio: 435 / 594; }
  .mod-head { grid-template-columns: 44px 1fr 26px; }
  .mod-count { display: none; }
  .lessons { padding-left: 58px; }
}
@media (max-width: 768px) {
  .mod-count { display: none; }
  .gets-grid { grid-template-columns: 1fr; }
  .teacher-line { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .lessons { padding-left: 0; grid-template-columns: 1fr; }
  .hero-actions { gap: 24px; }
}
