/* =========================================================
   Page-specific layouts (measurements from the live site @1440)
   ========================================================= */

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50; background: var(--green-900); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  font-size: 28px; font-weight: 500;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease-framer), transform .35s var(--ease-framer), visibility .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__close { position: absolute; top: 24px; right: 24px; color: var(--white); }
.mobile-menu__logo { position: absolute; top: 24px; left: 24px; height: 30px; width: auto; }
.mobile-menu .btn { margin-top: 16px; font-size: 16px; }

/* =========================================================
   HOME
   ========================================================= */
.offer__inner { padding: 50px 0 75px; display: flex; flex-direction: column; gap: 90px; align-items: center; }
.offer-grid { display: flex; gap: 30px; justify-content: center; width: 100%; }
.offer-left { width: 816px; display: flex; flex-direction: column; gap: 30px; }
.offer-row1 { display: grid; grid-template-columns: 1fr 1fr; height: 439px; border-radius: 24px; overflow: hidden; }
.offer-row1__img { overflow: hidden; }
.offer-row1__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.offer-row1:hover .offer-row1__img img { transform: scale(1.05); }
.offer-row1__panel {
  background: var(--green-900); padding: 20px 34px; color: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 50px;
}
.offer-row1__panel h3 { color: var(--white); max-width: 270px; }
.offer-row1__panel p { color: var(--sage); max-width: 270px; margin-top: 10px; }
.offer-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; height: 393px; }
.offer-right { width: 394px; display: flex; flex-direction: column; gap: 30px; }

.offer-card {
  position: relative; border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.offer-card--peach { background: var(--peach); padding: 33px; }
.offer-card--peach h3 { color: var(--green-900); max-width: 220px; }
.offer-card--dark { background: var(--black); height: 345px; padding: 33px; }
.offer-card--dark h3 { color: var(--white); }
.offer-card__circle { position: absolute; top: 33px; left: 33px; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; }
.offer-card__circle img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.offer-card:hover .offer-card__circle img { transform: scale(1.08); }
.offer-card--image > img, .offer-card--tall > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.offer-card--image:hover > img, .offer-card--tall:hover > img { transform: scale(1.05); }
.offer-card--tall { height: 487px; }
.offer-card__bar { position: relative; background: var(--green); padding: 52.5px 33px; display: flex; align-items: center; }
.offer-card__bar h3 { color: var(--grey-900); }
.offer-card__bar .btn:not(.btn--ghost):not(.btn--outline) { background: var(--grey-900); color: var(--white); }
.offer-card__bar .btn:not(.btn--ghost):not(.btn--outline):hover { background: var(--grey-700); color: var(--white); }
.offer-card__bar--peach { background: var(--peach); padding: 48px 33px; }
.offer-card__bar--peach h3 { color: var(--green-900); }

/* notch badge (white cut-out corner with lime arrow) */
.notch {
  position: absolute; top: 0; right: 0; z-index: 2;
  width: 72px; height: 72px; background: var(--white);
  border-bottom-left-radius: 28px;
  display: flex; align-items: center; justify-content: center;
}
.notch::before { content: ""; position: absolute; top: 0; left: -24px; width: 24px; height: 24px; background: radial-gradient(circle at 0 100%, transparent 24px, var(--white) 24.5px); }
.notch::after { content: ""; position: absolute; right: 0; bottom: -24px; width: 24px; height: 24px; background: radial-gradient(circle at 0 100%, transparent 24px, var(--white) 24.5px); }
.notch .round { background: var(--green); border-color: var(--green); color: var(--on-green); }
.offer-card:hover .notch .round { transform: rotate(45deg); }

.plans { background: var(--white); }
.plans__inner { padding: 75px 0; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.plans__inner .sec-head { margin-bottom: 10px; }
.plans__toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.cta-wrap { padding: 145px 0; }
.cta-green { background: var(--green); border-radius: 36px; padding: 77px; display: flex; align-items: center; justify-content: center; gap: 40px; }
.cta-green__img { width: 538px; height: 366px; border-radius: 28px; overflow: hidden; flex: none; }
.cta-green__img img { width: 100%; height: 100%; object-fit: cover; }
.cta-green__copy { width: 508px; display: flex; flex-direction: column; gap: 44px; align-items: flex-start; color: var(--grey-900); }
.cta-green__copy h3 { color: var(--grey-900); max-width: 435px; }
.cta-green__copy p { color: var(--grey-700); max-width: 450px; margin-top: 30px; }
.cta-green .btn:not(.btn--ghost):not(.btn--outline) { background: var(--grey-900); color: var(--white); }
.cta-green .btn:not(.btn--ghost):not(.btn--outline):hover { background: var(--grey-700); color: var(--white); }

.events-sec { background: var(--mist); }
.events-sec__inner { padding: 120px 0; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.events-sec__inner .events-list { width: 100%; }

.video-sec { padding: 150px 0 75px; display: flex; flex-direction: column; align-items: center; gap: 80px; }

.team-sec { padding: 75px 0 150px; }
.team-sec__inner { padding-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 80px; }

.contact-cta-wrap { padding: 0 0 75px; }

.insights { padding: 75px 0 60px; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.insights__grid { position: relative; width: 100%; padding-bottom: 100px; }
.insights__more-wrap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }

/* =========================================================
   INNER PAGES — shared
   ========================================================= */
.page-hero { padding: 150px 0 72px; display: flex; flex-direction: column; gap: 80px; }
.page-hero--classes { padding: 150px 0 85px; gap: 100px; align-items: center; }
.page-hero--trainers { padding: 150px 0 75px; }
.page-hero--trainers .page-hero__text { align-items: flex-end; }
.page-hero--trainers .page-hero__text p { max-width: 470px; text-align: right; }
.page-hero--trainers .page-hero__text h1 { align-self: stretch; }

.stats--page { padding: 25px 0; }

.mission { padding: 75px 0 100px; display: flex; flex-direction: column; align-items: center; gap: 72px; }
.mission__cards { display: grid; grid-template-columns: repeat(3, 362px); gap: 35px; justify-content: center; }
.mission__card { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mission__card h2 { font-family: var(--font-alt); font-size: 32px; line-height: 41.6px; font-weight: 500; }
.mission__card p { color: var(--muted); }

.path { padding: 100px 0; display: flex; gap: 137px; align-items: flex-start; }
.path__copy { width: 522px; display: flex; flex-direction: column; gap: 80px; }
.path__copy .sec-head { align-items: flex-start; text-align: left; gap: 16px; }
.path__copy .sec-head p { max-width: none; }
.path__stats { display: flex; flex-direction: column; gap: 50px; }
.path-stat { display: flex; gap: 20px; align-items: center; }
.ring {
  width: 85px; height: 85px; border-radius: 50%; flex: none; position: relative;
  background: conic-gradient(var(--green) calc(var(--pct) * 1%), var(--grey-100) 0);
  display: flex; align-items: center; justify-content: center;
}
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--white); }
.ring span { position: relative; font-size: 16px; font-weight: 500; }
.path-stat__text { display: flex; flex-direction: column; gap: 15px; }
.path-stat__text h3 { font-size: 20px; line-height: 28px; font-weight: 500; }
.path-stat__text p { color: var(--muted); }
.cluster { display: flex; gap: 33px; align-items: flex-start; }
.cluster__col { width: 201px; display: flex; flex-direction: column; gap: 3px; padding-top: 8px; }
.cluster__circle { width: 201px; height: 201px; border-radius: 50%; overflow: hidden; }
.cluster__pill { width: 201px; height: 331px; border-radius: 283px; overflow: hidden; }
.cluster__tall { width: 347px; height: 552px; border-radius: 283px; overflow: hidden; }
.cluster img { width: 100%; height: 100%; object-fit: cover; }

.team-page { padding: 100px 0 75px; display: flex; flex-direction: column; align-items: center; gap: 70px; }
.team-page .h2 { align-self: flex-start; }
.team-rows { display: flex; flex-direction: column; gap: 60px; }
.team-row { display: flex; gap: 20px; justify-content: center; }
.team-cta {
  width: 400px; height: 470px; border-radius: 30px; background: var(--green-900); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; text-align: center; padding: 40px;
}
.team-cta h3 { font-size: 32px; line-height: 40px; font-weight: 600; max-width: 280px; }
.team-cta p { color: var(--sage); font-size: 14px; line-height: 20px; max-width: 260px; margin-top: -16px; }
.team-intro { width: 320px; display: flex; flex-direction: column; justify-content: flex-end; gap: 60px; padding: 97px 0 0; }
.team-intro h2 { max-width: 320px; }
.team-intro__img { width: 320px; height: 195px; border-radius: 30px; overflow: hidden; }
.team-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.team-row--mid { margin-top: -97px; }

/* =========================================================
   CLASSES
   ========================================================= */
.class-ticker { --ticker-gap: 24px; }
.class-card {
  position: relative; width: 352px; height: 520px; border-radius: 1000px; overflow: hidden; display: block;
}
.class-card__img { width: 352px; height: 352px; overflow: hidden; }
.class-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.class-card:hover .class-card__img img { transform: scale(1.06); }
.class-card__panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 268px;
  background: var(--green-900); color: var(--white);
  padding: 50px 20px 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
}
.class-card__panel h3 { font-size: 32px; line-height: 40px; font-weight: 500; }
.class-card__panel p { color: var(--sage); font-size: 14px; line-height: 20px; max-width: 250px; }

.schedule { padding: 85px 0 110px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.schedule__list { width: 1160px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.sched {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 55px 40px; border-bottom: 1px solid var(--line);
}
.sched__body { display: flex; flex-direction: column; gap: 40px; }
.sched__meta { display: flex; align-items: center; gap: 95px; }
.sched__who { display: flex; align-items: center; gap: 15px; }
.sched__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sched__who span { font-size: 20px; line-height: 30px; }
.sched__time { font-size: 20px; line-height: 30px; color: var(--muted); }
.sched .round { border-color: var(--line); color: var(--ink); }
.sched:hover .round { background: var(--green-900); border-color: var(--green-900); color: var(--white); }

/* =========================================================
   TRAINERS / newsletter
   ========================================================= */
.news-wrap { padding: 75px 0; }
.news-banner { border-radius: 36px; padding: 67px 70px; display: flex; align-items: center; justify-content: space-between; gap: 60px; color: var(--white); }
.news-banner h3 { font-size: 40px; line-height: 48px; font-weight: 600; width: 456px; }
.news-banner__form { width: 456px; display: flex; flex-direction: column; gap: 16px; }
.news-banner__input { position: relative; height: 89px; border: 1px solid rgba(255,255,255,.6); border-radius: 63px; display: flex; align-items: center; padding: 15px 0 15px 24px; }
.news-banner__input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--white); font-size: 16px; }
.news-banner__input input::placeholder { color: var(--white); }
.news-banner__input .btn { position: absolute; right: 15px; top: 15px; height: 59px; }
.news-banner small { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 16.8px; font-weight: 300; color: var(--white); }
.news-banner small i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--white); display: inline-block; }

/* =========================================================
   EVENTS page
   ========================================================= */
.events-hero { padding: 150px 0 75px; display: flex; align-items: center; justify-content: center; gap: 60px; }
.events-hero__text { width: 640px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.events-hero__text h1 { max-width: 515px; }
.events-hero__text p { color: var(--muted); max-width: 435px; }
.bubbles { width: 300px; height: 300px; display: flex; gap: 30px; align-items: center; flex: none; }
.bubbles__col { display: flex; flex-direction: column; gap: 30px; }
.bubble { width: 135px; height: 135px; border-radius: 50%; overflow: hidden; }
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.events-page { padding: 0 0 60px; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-hero { padding: 150px 0 200px; }
.blog-featured { position: relative; }
.blog-featured__img { width: 100%; height: 600px; border-radius: 1000px; overflow: hidden; }
.blog-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__card {
  position: absolute; left: 50%; bottom: -130px; transform: translateX(-50%);
  width: 936px; background: var(--mist); border-radius: 16px; padding: 38px;
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.blog-featured__meta { display: flex; align-items: center; gap: 46px; }
.blog-featured__card h1 { max-width: 860px; }
.blog-featured__card p { color: var(--muted); max-width: 692px; margin-top: -12px; }
.byline--lg img { width: 38px; height: 38px; }
.byline--lg span { font-size: 18px; line-height: 27px; font-weight: 500; color: var(--ink); }

.blog-list { padding: 50px 0; display: flex; flex-direction: column; gap: 20px; }
.post-row {
  display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 20px; border: 1px solid var(--line);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.post-row:hover { box-shadow: 0 24px 50px rgba(25,25,25,.08); transform: translateY(-4px); }
.post-row__body { width: 544px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.post-row__title { display: flex; flex-direction: column; gap: 16px; }
.post-row__title p { color: var(--muted); }
.post-row__meta { display: flex; align-items: center; gap: 46px; }
.post-row__meta .byline img { width: 42px; height: 42px; }
.post-row__meta .byline span { font-size: 18px; line-height: 27px; font-weight: 500; color: var(--ink); }
.post-row__meta time { color: var(--muted); }
.post-row__img { flex: 1; height: 323px; border-radius: 16px; overflow: hidden; }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-row:hover .post-row__img img { transform: scale(1.04); }
.btn--text { background: transparent; color: var(--black); padding: 0 32px; }
.btn--text:hover { background: var(--mist); color: var(--black); }

.discover { padding: 75px 0 100px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 50px; padding: 4px; }
.tabs button { height: 51px; padding: 0 24px; border-radius: 50px; font-weight: 500; color: var(--muted); transition: background-color .3s, color .3s; }
.tabs button.is-active { background: var(--white); color: var(--black); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.discover .blog-grid { width: 100%; margin-top: 40px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 150px 0 115px; display: flex; flex-direction: column; align-items: center; gap: 70px; }
.contact__row { display: flex; gap: 178px; align-items: flex-start; width: 100%; justify-content: center; }
.contact__form { width: 531px; display: flex; flex-direction: column; gap: 40px; }
.contact__form .fields { display: flex; flex-direction: column; gap: 30px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 16px; line-height: 24px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px 20px;
  font-size: 16px; line-height: 19.2px; color: var(--muted); outline: none; background: var(--white);
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { height: 154px; resize: vertical; }
.contact__submit { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 16.8px; color: var(--muted); }
.check input { width: 12px; height: 12px; margin: 0; accent-color: var(--green-900); }
.contact__side { width: 531px; display: flex; flex-direction: column; gap: 80px; }
.contact__side .sec-head { align-items: flex-start; text-align: left; gap: 16px; }
.contact__side .sec-head h2 { font-family: var(--font-alt); font-size: 32px; line-height: 41.6px; font-weight: 500; }
.contact__links { display: flex; flex-direction: column; gap: 23px; align-items: flex-start; }
.contact__links a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 16.8px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact__links svg { width: 17px; height: 17px; color: var(--green-900); }
.contact__cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 15px; border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .3s, box-shadow .3s;
}
.contact-card:hover { border-color: var(--green-900); box-shadow: 0 12px 30px rgba(25,25,25,.08); }
.contact-card__left { display: flex; align-items: center; gap: 15px; }
.contact-card__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--mist); display: inline-flex; align-items: center; justify-content: center; color: var(--green-900); }
.contact-card__icon svg { width: 18px; height: 18px; }
.contact-card__title { font-size: 18px; line-height: 27px; font-weight: 500; }
.contact-card__sub { color: var(--muted); }
.contact-card .round { width: 35px; height: 35px; border-color: var(--line); color: var(--ink); }
.contact-card .round svg { width: 14px; height: 14px; }
.contact-card:hover .round { background: var(--green-900); border-color: var(--green-900); color: var(--white); }

/* =========================================================
   CLASS DETAIL
   ========================================================= */
.class-hero { padding: 150px 0; display: flex; gap: 90px; align-items: flex-start; justify-content: space-between; }
.class-hero__copy { width: 569px; padding-top: 50px; display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.class-hero__copy > div { display: flex; flex-direction: column; gap: 30px; }
.class-hero__copy p { color: var(--muted); }
.experience { background: var(--mist); border-radius: 16px; padding: 100px 20px; display: flex; flex-direction: column; align-items: center; gap: 82px; }
.experience .sec-head { gap: 16px; }
.experience .sec-head p { max-width: 420px; }
.experience__items { width: 920px; max-width: 100%; display: flex; gap: 60px; justify-content: center; }
.experience__item { width: 267px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.experience__item svg { width: 24px; height: 24px; color: var(--green-900); }
.experience__item p { font-size: 18px; line-height: 28px; }
.class-details { padding: 150px 0; display: flex; flex-direction: column; gap: 48px; }
.class-details__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.class-details__head span { font-size: 20px; line-height: 30px; }
.class-details__img { width: 100%; height: 460px; border-radius: 16px; overflow: hidden; margin-top: 2px; }
.class-details__img img { width: 100%; height: 100%; object-fit: cover; }
.class-details__row { display: flex; gap: 40px; align-items: center; }
.class-details__left { width: 400px; flex: none; }
.class-details__right { width: 800px; display: flex; flex-direction: column; gap: 50px; }
.facts { display: flex; gap: 80px; }
.facts small { display: block; font-size: 14px; line-height: 16.8px; color: var(--muted); margin-bottom: 6px; }
.facts span { font-size: 20px; line-height: 30px; }
.class-details__right > p { color: var(--muted); }
.bring { display: flex; flex-direction: column; gap: 16px; }
.bring h4 { font-size: 18px; line-height: 27px; font-weight: 500; }
.bring p { color: var(--muted); }
.bring ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* =========================================================
   BLOG POST
   ========================================================= */
.post { padding: 150px 0 85px; display: flex; flex-direction: column; gap: 70px; }
.post__head { display: flex; flex-direction: column; align-items: center; gap: 50px; }
.post__meta { display: flex; align-items: center; gap: 50px; }
.post__meta .byline img { width: 30px; height: 30px; }
.post__meta .byline span { font-size: 18px; line-height: 27px; font-weight: 500; }
.post__meta time, .post__meta small { font-size: 14px; line-height: 16.8px; color: var(--muted); }
.post__head h1 { text-align: center; max-width: 882px; margin-top: -20px; }
.post__hero { width: 100%; height: 460px; border-radius: 30px; overflow: hidden; }
.post__hero img { width: 100%; height: 100%; object-fit: cover; }
.article { width: 100%; }
.article h2 { font-size: 48px; line-height: 57.6px; font-weight: 600; }
.article h3 { font-size: 40px; line-height: 48px; font-weight: 600; margin-top: 40px; }
.article h4 { font-family: var(--font-alt); font-size: 32px; line-height: 41.6px; font-weight: 500; margin-top: 40px; }
.article p { color: var(--muted); margin-top: 20px; }
.article ul, .article ol { margin-top: 32px; padding-left: 21px; color: var(--muted); }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article li + li { margin-top: 0; }
.article li ul { margin-top: 0; list-style: circle; }
.article strong { font-weight: 600; color: var(--ink); }
.article em { font-style: italic; }
.article figure { margin: 32px 0 0; }
.article figure img { width: 100%; border-radius: 30px; }
.article figure--narrow img { width: 1160px; max-width: 100%; }
.insights--post { padding: 85px 0 60px; }

/* ---------- responsive for page layouts ---------- */
@media (max-width: 1340px) {
  .offer-grid { flex-direction: column; align-items: center; }
  .offer-left, .offer-right { width: 100%; max-width: 816px; }
  .offer-right { flex-direction: row; }
  .offer-right .offer-card { flex: 1; }
  .cta-green { padding: 50px; }
  .cta-green__img { width: 45%; height: auto; aspect-ratio: 538/366; }
  .cta-green__copy { width: auto; flex: 1; }
  .path { gap: 60px; }
  .path__copy { width: 50%; }
  .cluster { transform: scale(.85); transform-origin: top left; }
  .mission__cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .team-row { flex-wrap: wrap; }
  .team-cta, .team-intro { width: 100%; max-width: 400px; }
  .contact__row { gap: 60px; }
  .contact__form, .contact__side { width: 50%; }
  .class-hero { flex-direction: column; align-items: stretch; }
  .class-details__right { width: auto; flex: 1; }
  .blog-featured__card { width: 90%; }
  .post-row__body { width: 50%; }
}
@media (max-width: 1024px) {
  .offer-row1 { grid-template-columns: 1fr; height: auto; }
  .offer-row1__img { height: 320px; }
  .offer-row1__panel { padding: 40px 34px; }
  .offer-row2 { height: auto; }
  .offer-card { min-height: 340px; }
  .offer-right { flex-direction: column; }
  .cta-green { flex-direction: column; align-items: flex-start; }
  .cta-green__img { width: 100%; }
  .path { flex-direction: column; align-items: stretch; }
  .path__copy { width: 100%; }
  .cluster { align-self: center; }
  .mission__cards { grid-template-columns: 1fr; }
  .events-hero { flex-direction: column; align-items: stretch; }
  .bubbles { display: none; }
  .contact__row { flex-direction: column; align-items: stretch; }
  .contact__form, .contact__side { width: 100%; }
  .post-row { flex-direction: column-reverse; align-items: stretch; }
  .post-row__body { width: 100%; }
  .post-row__img { height: 260px; }
  .blog-featured__img { height: 420px; border-radius: 200px; }
  .class-details__row { flex-direction: column; align-items: flex-start; }
  .facts { flex-wrap: wrap; gap: 30px; }
  .experience__items { flex-direction: column; align-items: center; }
  .news-banner { flex-direction: column; align-items: flex-start; }
  .news-banner h3, .news-banner__form { width: 100%; }
  .schedule__list { width: 100%; }
  .sched { padding: 32px 16px; }
  .sched__meta { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 640px) {
  .offer-row2 { grid-template-columns: 1fr; }
  .offer-card--peach h3, .offer-card--dark h3 { font-size: 28px; line-height: 34px; }
  .offer-card__circle { width: 110px; height: 110px; }
  .offer-card__bar, .offer-card__bar--peach { padding: 32px 24px; }
  .cta-wrap { padding: 80px 0; }
  .cta-green { padding: 28px; border-radius: 24px; }
  .events-sec__inner { padding: 70px 0; }
  .video-sec { padding: 80px 0 40px; gap: 40px; }
  .team-sec { padding: 40px 0 80px; }
  .cluster { transform: none; flex-direction: column; }
  .cluster__col, .cluster__circle, .cluster__pill, .cluster__tall { width: 100%; }
  .cluster__tall { height: 360px; }
  .blog-featured__card { position: static; transform: none; width: 100%; margin-top: 20px; padding: 24px; }
  .blog-featured__meta { flex-wrap: wrap; gap: 16px; }
  .blog-hero { padding: 120px 0 40px; }
  .contact { padding: 120px 0 60px; }
  .contact__submit { flex-direction: column; align-items: flex-start; }
  .class-hero__copy { width: 100%; padding-top: 0; }
  .class-details { padding: 80px 0; }
  .class-details__head { flex-direction: column; align-items: flex-start; }
  .class-details__img { height: 240px; }
  .experience { padding: 50px 16px; gap: 40px; }
  .article h2 { font-size: 32px; line-height: 40px; }
  .article h3 { font-size: 28px; line-height: 36px; }
  .article h4 { font-size: 22px; line-height: 30px; }
  .post__hero { height: 240px; border-radius: 16px; }
  .post__meta { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .news-wrap { padding: 40px 0; }
  .news-banner h3 { font-size: 28px; line-height: 36px; }
  .class-card { width: 280px; height: 420px; }
  .class-card__img { width: 280px; height: 280px; }
  .class-card__panel { height: 220px; padding: 40px 16px 50px; }
  .class-card__panel h3 { font-size: 26px; line-height: 32px; }
  .team-intro { padding-top: 0; }
  .team-row--mid { margin-top: 0; }
}
