:root {
  --text: #0c2657;
  --soft-text: #65718b;
  --pale: #f6f1e8;
  --paper: #fbf7ee;
  --line: #dfd3bd;
  --coral: #b8842a;
  --coral-soft: #f1dfbd;
  --rose-line: #c5953d;
  --footer: #051f4b;
  --navy: #05255a;
  --blue: #05255a;
  --navy-soft: #e6edf7;
  --gold: #c5953d;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0) 0 45%, rgba(197, 149, 61, 0.12) 45% 46%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 88% 14%, rgba(33, 88, 159, 0.16), transparent 29%),
    radial-gradient(circle at 12% 28%, rgba(197, 149, 61, 0.14), transparent 28%),
    var(--paper);
  font-family: Manrope, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

main,
.hero__inner > *,
.coach__layout > *,
.program-head > *,
.program,
.philosophy > *,
.trial__form > *,
.footer > * {
  min-width: 0;
}

h1,
h2,
h3,
p,
a,
span,
small,
dt,
dd {
  overflow-wrap: break-word;
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: grid;
  grid-template-columns: 165px 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 18px 0;
  color: var(--navy);
  font-size: 13px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__image {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.menu__logo {
  display: none;
}

.logo__emblem {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-style: italic;
}

.logo__text b,
.logo__text small {
  display: block;
}

.logo__text b {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-style: italic;
  line-height: 0.95;
}

.logo__text small {
  color: #54637f;
  font-size: 9px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

.header__contacts {
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}

.header__contacts a {
  font-weight: 700;
}

.header__contacts span {
  color: #61708b;
  font-size: 11px;
}

.menu-button {
  display: none;
}

.hero {
  min-height: 680px;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  width: min(1180px, calc(100% - 56px));
  min-height: 680px;
  margin: 0 auto;
  padding-top: 76px;
}

.hero__copy {
  max-width: 560px;
}

.script,
.section-title {
  font-family: "Great Vibes", "Cormorant Garamond", serif;
  font-weight: 400;
}

.script {
  margin: 0 0 -4px;
  color: var(--gold);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.6vw, 76px);
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
}

.hero__subtitle {
  margin: 20px 0 2px;
  color: var(--navy);
  font-size: 16px;
}

.hero__name {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 600;
}

.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.button,
.pill--solid {
  padding: 11px 22px;
  color: #fff8e8;
  background: linear-gradient(135deg, var(--navy), #0b3474);
  box-shadow: 0 12px 30px rgba(5, 37, 90, 0.18);
}

.pill--soft {
  padding: 11px 18px;
  color: var(--navy);
  background: var(--coral-soft);
}

.hero__figure {
  position: relative;
  align-self: stretch;
  margin: 0;
}

.hero__figure img {
  position: absolute;
  right: 6%;
  top: 84px;
  width: min(470px, 86%);
  height: 560px;
  object-fit: cover;
  object-position: center 46%;
  border: 1px solid rgba(197, 149, 61, 0.35);
  border-radius: 240px 240px 44px 44px;
  box-shadow: 0 26px 80px rgba(5, 37, 90, 0.12);
}

.hero__figure::before {
  content: "";
  position: absolute;
  right: 1%;
  top: 120px;
  width: min(420px, 78%);
  height: 500px;
  border: 2px solid rgba(197, 149, 61, 0.42);
  border-radius: 240px 240px 44px 44px;
}

.hero__figure::after {
  display: none;
}

.hero__figure figcaption {
  position: absolute;
  right: -36px;
  bottom: 42px;
  width: 235px;
  padding: 14px 18px;
  border: 1px solid rgba(197, 149, 61, 0.24);
  border-radius: 24px;
  color: var(--navy);
  background: rgba(251, 247, 238, 0.76);
  font-size: 13px;
  font-style: italic;
}

.section {
  width: min(980px, calc(100% - 56px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-title {
  margin: 0 0 54px;
  color: var(--gold);
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.coach {
  padding-top: 112px;
}

.coach__layout {
  display: grid;
  grid-template-columns: 1fr 310px 0.8fr;
  gap: 52px;
  align-items: center;
}

.coach__bio h3 {
  margin: 0 0 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
}

.coach__bio p {
  color: #52617c;
  font-size: 15px;
}

.coach__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.coach__facts span {
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 12px;
  text-align: center;
}

.coach__photo {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 68%;
  filter: saturate(0.9);
  border-radius: 34px;
  box-shadow: 0 22px 70px rgba(5, 37, 90, 0.09);
}

.coach__note {
  align-self: end;
  padding: 30px;
  border: 1px solid rgba(197, 149, 61, 0.24);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.5);
}

.coach__note span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.coach__note p {
  margin: 12px 0 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.2;
}

.program-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.program-head .section-title {
  margin-bottom: 0;
}

.program-head p {
  margin: 0;
  color: #65718b;
}

.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  padding: 32px 26px 30px;
  border: 1px solid rgba(197, 149, 61, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(246, 241, 232, 0.74)),
    rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 54px rgba(5, 37, 90, 0.07);
}

.program::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(197, 149, 61, 0.32);
  border-radius: 50%;
}

.program::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(230, 237, 247, 0.64);
}

.program > * {
  position: relative;
  z-index: 1;
}

.program > span {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-style: italic;
}

.program h3 {
  margin: 34px 0 8px;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.05;
}

.program p {
  margin: 0 0 26px;
  color: #6b7590;
}

.program dl {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
}

.program dl div {
  min-height: 42px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(223, 211, 189, 0.86);
}

.program dt {
  color: #7c7f8a;
  font-size: 12px;
}

.program dd {
  margin: 2px 0 0;
  color: var(--navy);
  font-weight: 600;
}

.program-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: #65718b;
  font-size: 13px;
  text-align: center;
}

.philosophy {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 76px;
  align-items: center;
  padding-top: 50px;
}

.philosophy__photo {
  position: relative;
}

.philosophy__photo::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -28px;
  width: 170px;
  height: 170px;
  border: 3px solid var(--rose-line);
  border-radius: 50%;
}

.philosophy img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 60%;
  filter: saturate(0.88);
  border-radius: 34px;
  box-shadow: 0 22px 70px rgba(5, 37, 90, 0.08);
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
}

.principles article {
  min-height: 155px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
}

.principles b,
.principles span {
  display: block;
}

.principles b {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
}

.principles span {
  color: #63708a;
  font-size: 13px;
}

.school-life {
  padding-top: 40px;
}

.school-life__gallery {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 60px;
  --drag-shift: 0px;
}

.school-life__stage {
  position: relative;
  height: 350px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.school-life__photo {
  position: absolute;
  top: 50%;
  width: 190px;
  height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  box-shadow: 0 18px 54px rgba(5, 37, 90, 0.07);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    left 0.48s ease,
    right 0.48s ease,
    width 0.48s ease,
    height 0.48s ease,
    border-radius 0.48s ease,
    opacity 0.35s ease,
    transform 0.48s ease;
}

.school-life__photo.is-active {
  left: 50%;
  width: min(58%, 560px);
  height: 310px;
  border-radius: 34px;
  opacity: 1;
  z-index: 2;
  transform: translate(calc(-50% + var(--drag-shift)), -50%);
}

.school-life__photo.is-prev,
.school-life__photo.is-next {
  opacity: 1;
  z-index: 1;
}

.school-life__photo.is-prev {
  left: 0;
  transform: translate(var(--drag-shift), -50%);
}

.school-life__photo.is-next {
  right: 0;
  transform: translate(var(--drag-shift), -50%);
}

.school-life__gallery.is-dragging .school-life__stage {
  cursor: grabbing;
}

.school-life__gallery.is-dragging .school-life__photo {
  transition: none;
}

.school-life__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(206, 152, 45, 0.45);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
  color: var(--blue);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(5, 37, 90, 0.08);
  transform: translateY(-50%);
}

.school-life__nav--prev {
  left: 0;
}

.school-life__nav--next {
  right: 0;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.dots button,
.dots span {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5b287;
  cursor: pointer;
  transition:
    width 0.28s ease,
    background-color 0.28s ease;
}

.dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--gold);
}

.faq-section {
  padding-top: 54px;
}

.faq-section__head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.faq-section__head .section-title {
  margin-bottom: 18px;
}

.faq-section__head p {
  margin: 0;
  color: #65718b;
  font-size: 14px;
}

.faq {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
}

.faq__question {
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 0 18px 0 24px;
  border: 1px solid rgba(197, 149, 61, 0.28);
  border-radius: 34px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 42px rgba(5, 37, 90, 0.06);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq__question b {
  color: var(--coral);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
}

.faq__question span {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.faq__question small {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid rgba(197, 149, 61, 0.5);
  border-radius: 50%;
  color: var(--coral);
  background: #fff9ed;
  font-size: 21px;
  line-height: 1;
  text-align: center;
}

.faq__answer {
  display: none;
  margin: -2px 34px 10px 100px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(197, 149, 61, 0.28);
  color: #65718b;
  font-size: 14px;
}

.faq__question[aria-expanded="true"] + .faq__answer {
  display: block;
}

.trial {
  padding-top: 40px;
}

.trial__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  padding: 30px;
  border: 1px solid rgba(197, 149, 61, 0.34);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 241, 232, 0.74)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 60px rgba(5, 37, 90, 0.08);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(197, 149, 61, 0.34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  outline: none;
}

select {
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus {
  border-color: rgba(197, 149, 61, 0.76);
  box-shadow: 0 0 0 4px rgba(197, 149, 61, 0.14);
}

.trial__form .button {
  grid-column: 4;
  justify-self: stretch;
}

.trial__consent {
  grid-column: 1 / 4;
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
  color: #65718b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.trial__consent input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  border-radius: 6px;
  accent-color: var(--navy);
}

.trial__consent a {
  color: var(--navy);
  text-decoration-color: rgba(197, 149, 61, 0.56);
  text-underline-offset: 3px;
}

.trial__form p {
  grid-column: 1 / -1;
  margin: 0;
  color: #65718b;
  font-size: 12px;
}

.trial__form p:empty {
  display: none;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.45fr 1fr;
  gap: 34px;
  margin-top: 30px;
  padding: 56px max(28px, calc((100% - 980px) / 2));
  background: var(--footer);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.footer .logo__emblem {
  border-color: var(--gold);
  color: var(--gold);
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.78);
}

.footer__brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer__brand > b {
  max-width: 240px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
}

.footer__brand p {
  margin: 0;
  max-width: 250px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer__trial {
  width: fit-content;
  margin-top: 4px;
  color: #fff8e8;
  font-weight: 700;
  border-bottom: 1px solid rgba(197, 149, 61, 0.72);
}

.footer nav,
.footer address,
.footer__locations {
  display: grid;
  gap: 8px;
  align-content: start;
  font-style: normal;
}

.footer__locations p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer__locations strong {
  color: #fff8e8;
  font-weight: 700;
}

.footer b {
  margin-bottom: 5px;
  color: var(--gold);
}

.policy {
  padding-top: 130px;
}

.policy__back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 24px;
  padding: 9px 18px;
  border: 1px solid rgba(197, 149, 61, 0.32);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(5, 37, 90, 0.06);
}

.policy__content {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid rgba(197, 149, 61, 0.24);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 70px rgba(5, 37, 90, 0.07);
}

.policy__content h2 {
  margin: 18px 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.1;
}

.policy__content p {
  margin: 0;
  color: #405173;
}

.policy__content a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(197, 149, 61, 0.56);
  text-underline-offset: 3px;
}

.location-page {
  padding-top: 88px;
}

.location-hero {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 62px;
  align-items: center;
  padding-top: 80px;
}

.location-hero__copy {
  display: grid;
  justify-items: start;
}

.location-hero h1 {
  margin: -8px 0 22px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(46px, 5.6vw, 76px);
  font-style: italic;
  font-weight: 500;
  line-height: 0.95;
}

.location-hero__copy > p:not(.script) {
  max-width: 520px;
  margin: 0 0 28px;
  color: #405173;
  font-size: 16px;
}

.location-hero__photo {
  width: 100%;
  height: min(560px, 58vw);
  object-fit: cover;
  border-radius: 160px 34px 34px 34px;
  box-shadow: 0 28px 80px rgba(5, 37, 90, 0.12);
}

.location-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 24px;
}

.location-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(197, 149, 61, 0.28);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 52px rgba(5, 37, 90, 0.06);
}

.location-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-card h2 {
  margin: 22px 0 14px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.location-card p {
  margin: 0;
  color: #405173;
}

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at 88% 10%, rgba(33, 88, 159, 0.08), transparent 32%),
      radial-gradient(circle at 10% 28%, rgba(197, 149, 61, 0.09), transparent 30%),
      var(--paper);
  }

  .header {
    position: fixed;
    grid-template-columns: 1fr auto;
    width: 100%;
    min-height: 70px;
    padding: 10px 22px;
    background: transparent;
  }

  .menu-button {
    grid-column: 2;
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 38px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
  }

  .menu-button span {
    width: 100%;
    height: 1px;
    background: var(--navy);
  }

  .nav,
  .header__contacts,
  .menu__logo {
    display: none;
  }

  .header.is-open .nav,
  .header.is-open .header__contacts {
    grid-column: 1 / -1;
    display: grid;
    justify-content: start;
    text-align: left;
  }

  .header.is-open {
    background: rgba(251, 247, 238, 0.985);
    box-shadow: 0 16px 42px rgba(5, 37, 90, 0.08);
    backdrop-filter: blur(16px);
  }

  .header.is-open .nav {
    gap: 10px;
    padding-top: 10px;
  }

  .header.is-open .nav a {
    padding: 7px 0;
  }

  .header.is-open .menu__logo {
    grid-column: 1 / -1;
    display: block;
    width: min(190px, 52vw);
    height: auto;
    margin-top: 8px;
  }

  .hero__inner,
  .program-head,
  .programs,
  .philosophy,
  .coach__layout,
  .location-hero,
  .location-details,
  .trial__form,
  .footer {
    grid-template-columns: 1fr;
  }

  .trial__form .button {
    grid-column: auto;
  }

  .trial__consent {
    grid-column: auto;
  }

  .hero {
    min-height: 720px;
  }

  .hero__inner {
    min-height: 720px;
    padding-top: 92px;
    gap: 22px;
    align-content: start;
  }

  .hero__figure {
    min-height: 450px;
  }

  .hero__figure img {
    right: auto;
    left: 50%;
    width: min(400px, 90%);
    height: 430px;
    top: 10px;
    transform: translateX(-50%);
  }

  .hero__figure::before {
    right: auto;
    left: 50%;
    top: 38px;
    width: min(330px, 80%);
    height: 370px;
    transform: translateX(-50%);
  }

  .hero__figure figcaption {
    right: auto;
    left: 50%;
    bottom: 18px;
    width: min(250px, 72vw);
    transform: translateX(-50%);
  }

  .coach__note {
    padding: 24px;
  }

  .coach__layout,
  .philosophy {
    gap: 34px;
  }

  .coach__photo,
  .philosophy img {
    height: 360px;
  }

  .philosophy__photo::after {
    right: 4px;
    bottom: -18px;
    width: 128px;
    height: 128px;
  }

  .school-life__gallery {
    padding: 0 48px;
  }

  .school-life__stage {
    height: 310px;
  }

  .school-life__photo.is-active {
    width: 100%;
    height: 310px;
    object-position: center;
  }

  .school-life__photo.is-prev,
  .school-life__photo.is-next {
    display: none;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
    background:
      radial-gradient(circle at 90% 4%, rgba(33, 88, 159, 0.06), transparent 34%),
      radial-gradient(circle at 4% 22%, rgba(197, 149, 61, 0.08), transparent 34%),
      var(--paper);
  }

  .header {
    min-height: 64px;
    padding: 8px 15px;
  }

  .logo {
    display: none;
  }

  .logo__emblem {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .logo__text b {
    font-size: 17px;
  }

  .logo__text small {
    font-size: 8px;
  }

  .section,
  .hero__inner {
    width: calc(100% - 44px);
    max-width: 980px;
  }

  .hero {
    min-height: 760px;
  }

  .hero__inner {
    min-height: 760px;
    padding-top: 92px;
  }

  .hero__copy {
    display: grid;
    justify-items: center;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .script {
    font-size: 35px;
  }

  h1 {
    max-width: 280px;
    font-size: 32px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .hero__subtitle {
    max-width: 260px;
    margin-top: 16px;
    font-size: 13px;
  }

  .hero__name {
    margin-bottom: 22px;
    font-size: 26px;
  }

  .button,
  .pill {
    width: 100%;
    min-height: 44px;
  }

  .hero .button {
    width: auto;
    max-width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero__figure {
    min-height: 390px;
  }

  .hero__figure img {
    width: min(270px, 78vw);
    height: 336px;
    border-radius: 180px 180px 34px 34px;
  }

  .hero__figure::before {
    top: 30px;
    width: min(250px, 72vw);
    height: 304px;
    border-radius: 170px 170px 34px 34px;
  }

  .hero__figure figcaption {
    bottom: 6px;
    padding: 12px 15px;
    font-size: 12px;
  }

  .section {
    padding: 62px 0;
  }

  .section-title {
    max-width: 330px;
    margin: 0 auto 36px;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-title--left,
  .program-head .section-title {
    text-align: center;
  }

  .coach {
    padding-top: 72px;
  }

  .coach__layout {
    gap: 26px;
  }

  .coach__bio h3 {
    font-size: 31px;
    text-align: center;
  }

  .coach__bio p,
  .program-head p {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .coach__facts {
    border-radius: 22px;
  }

  .coach__note {
    padding: 22px;
    text-align: center;
  }

  .coach__note p {
    max-width: 260px;
    margin-right: auto;
    margin-left: auto;
    font-size: 24px;
  }

  .program-head {
    gap: 18px;
    margin-bottom: 28px;
  }

  .programs {
    gap: 16px;
  }

  .faq-section__head {
    margin-bottom: 30px;
  }

  .faq__question {
    grid-template-columns: 34px 1fr 34px;
    gap: 10px;
    min-height: 58px;
    padding: 12px 12px 12px 16px;
    border-radius: 28px;
  }

  .faq__question b {
    font-size: 19px;
  }

  .faq__question span {
    font-size: 19px;
  }

  .faq__answer {
    margin: 0 16px 10px;
    padding: 0 0 16px;
  }

  .coach__facts,
  .principles {
    grid-template-columns: 1fr;
  }

  .program {
    min-height: 0;
    padding: 26px 20px;
    border-radius: 24px;
  }

  .program h3 {
    margin-top: 24px;
    font-size: 28px;
  }

  .program dl div {
    min-height: 0;
  }

  .philosophy {
    gap: 28px;
    padding-top: 24px;
  }

  .philosophy__photo::after {
    right: 10px;
    bottom: -20px;
    width: 94px;
    height: 94px;
    border-width: 2px;
  }

  .principles {
    border-radius: 24px;
  }

  .principles article {
    min-height: 0;
    padding: 20px;
  }

  .school-life {
    padding-top: 24px;
  }

  .school-life__gallery {
    padding: 0 36px;
  }

  .school-life__stage {
    height: 260px;
  }

  .school-life__photo.is-active {
    height: 260px;
    border-radius: 28px;
  }

  .school-life__nav {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .dots {
    margin-top: 24px;
  }

  .trial__form {
    gap: 14px;
    padding: 20px;
    border-radius: 24px;
  }

  input,
  select {
    min-height: 46px;
    padding-left: 14px;
    padding-right: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .trial__form p {
    text-align: center;
  }

  .trial__consent {
    align-items: flex-start;
    text-align: left;
  }

  .policy {
    padding-top: 96px;
  }

  .location-page {
    padding-top: 64px;
  }

  .location-hero {
    gap: 28px;
    padding-top: 58px;
  }

  .location-hero__copy {
    justify-items: center;
    text-align: center;
  }

  .location-hero h1 {
    max-width: 620px;
  }

  .location-hero__photo {
    height: 420px;
    border-radius: 120px 28px 28px 28px;
  }

  .location-details {
    padding-top: 0;
  }

  .location-card {
    min-height: 0;
  }

  .policy__content {
    padding: 24px 20px;
    border-radius: 26px;
  }

  .philosophy img,
  .coach__photo {
    height: 300px;
    border-radius: 28px;
  }

  .footer {
    gap: 22px;
    margin-top: 8px;
    padding: 38px 20px;
    text-align: center;
  }

  .footer__brand {
    justify-items: center;
  }

  .footer nav,
  .footer address,
  .footer__locations {
    justify-items: center;
  }
}

@media (max-width: 380px) {
  .section,
  .hero__inner {
    width: calc(100% - 36px);
    max-width: 980px;
  }

  .logo__text b {
    font-size: 15px;
  }

  .logo__text small {
    max-width: 150px;
    font-size: 7px;
  }

  .header.is-open .menu__logo {
    width: min(170px, 58vw);
  }

  .menu-button {
    width: 38px;
    height: 36px;
  }

  h1 {
    font-size: 36px;
  }

  .script {
    font-size: 31px;
  }

  .section-title {
    font-size: 31px;
  }

  .hero__figure img {
    width: min(270px, 82vw);
    height: 326px;
  }

  .hero__figure::before {
    width: min(248px, 76vw);
    height: 294px;
  }

  .school-life__gallery {
    padding: 0 28px;
  }

  .school-life__nav {
    width: 34px;
    height: 34px;
  }
}
