:root {
  --bg: #f4f5f2;
  --panel: #ffffff;
  --ink: #17191a;
  --muted: #62686a;
  --line: rgba(23, 25, 26, 0.13);
  --accent: #28706d;
  --accent-dark: #164f4c;
  --copper: #b2764f;
  --charcoal: #171715;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(20, 26, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

.site-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  display: flex;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "HarmonyOS Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.01em;
}

.brand span {
  white-space: nowrap;
}

.brand img {
  height: 48px;
  max-width: 188px;
  object-fit: contain;
  width: auto;
}

.nav-toggle {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.nav-toggle span {
  background: var(--panel);
  border-radius: 999px;
  height: 2px;
  transition: transform 0.2s ease;
  width: 16px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.site-nav {
  background: #ffffff;
  border-bottom: 1px solid transparent;
  display: grid;
  gap: 2px;
  left: 0;
  padding: 14px 18px 20px;
  position: fixed;
  right: 0;
  top: 68px;
  transform: translateY(-130%);
  transition: transform 0.22s ease;
  z-index: 19;
}

.site-nav.is-open {
  transform: translateY(0);
}

.site-nav a {
  border-radius: var(--radius);
  color: #171717;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "HarmonyOS Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 12px;
}

.site-nav a:hover {
  background: rgba(40, 112, 109, 0.1);
  color: var(--accent-dark);
}

.section {
  scroll-margin-top: 84px;
}

.anchor-target {
  scroll-margin-top: 84px;
}

.hero {
  color: #fff;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  place-items: end start;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0.32), rgba(18, 17, 15, 0.76)),
    linear-gradient(90deg, rgba(18, 17, 15, 0.72), rgba(18, 17, 15, 0.08));
  content: "";
  inset: 0;
  position: absolute;
}

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

.hero-content {
  padding: 118px 20px 46px;
  position: relative;
  width: min(680px, 100%);
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9bd2cc;
  text-transform: none;
}

.intro .eyebrow {
  text-transform: none;
}

.intro-title {
  font-size: clamp(30px, 5.8vw, 50px);
  letter-spacing: 0.03em;
  line-height: 1.18;
  margin-bottom: 18px;
}

.intro-title span {
  display: block;
}

.intro-title span:nth-child(2) {
  margin-left: clamp(28px, 8vw, 112px);
}

.intro-title span:nth-child(3) {
  margin-top: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
}

h1 {
  font-size: clamp(40px, 10vw, 70px);
  margin-bottom: 18px;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(28px, 7vw, 52px);
  margin-bottom: 14px;
}

.course-title {
  line-height: 1.24;
}

@media (min-width: 1024px) {
  .course-title {
    font-size: clamp(28px, 4.4vw, 48px);
    white-space: nowrap;
  }
}

h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  max-width: 620px;
}

@media (max-width: 520px) {
  .hero-copy-break {
    display: none;
  }

  .intro-title {
    font-size: clamp(28px, 8.4vw, 36px);
    letter-spacing: 0.01em;
  }

  .intro-title span:nth-child(2) {
    margin-left: clamp(12px, 5vw, 24px);
  }

  .course-title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero-actions {
    justify-content: center;
  }

  .course-card {
    grid-template-columns: 1fr;
  }

  .course-card-image {
    max-height: 260px;
    order: -1;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
}

.button.primary {
  background: #ffffff;
  color: var(--ink);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
}

.intro,
.courses,
.style,
.teacher,
.students,
.studio,
.contact {
  padding: 74px 20px;
}

.section-heading {
  margin: 0 auto 30px;
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.intro-grid,
.course-grid,
.style-layout,
.teacher,
.contact {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.intro-grid {
  display: grid;
  gap: 14px;
}

.intro-grid article,
.course-card,
.style-panel,
.style-list div,
.contact-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.intro-grid article {
  border-color: rgba(31, 31, 31, 0.1);
  padding: 22px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.intro-grid article:hover {
  border-color: rgba(31, 31, 31, 0.18);
  box-shadow:
    0 14px 30px rgba(31, 31, 31, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
  transform: translateY(-2px);
}

.intro-grid span {
  color: var(--accent);
  display: block;
  font-family: "Times New Roman", "Songti SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.intro-grid h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

#audience .eyebrow {
  text-transform: none;
}

#audience .section-heading {
  max-width: 840px;
}

#audience .section-heading h2 {
  word-break: keep-all;
}

#audience .section-heading p {
  max-width: 780px;
}

#audience .intro-grid {
  gap: 16px;
}

#audience .intro-grid article {
  border-color: rgba(31, 31, 31, 0.1);
  min-height: 238px;
  position: relative;
}

#audience .intro-grid article::before {
  background: rgba(31, 31, 31, 0.1);
  content: "";
  height: 1px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 54px;
}

#audience .intro-grid article:hover {
  border-color: rgba(31, 31, 31, 0.18);
  box-shadow:
    0 14px 30px rgba(31, 31, 31, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.55) inset;
  transform: translateY(-2px);
}

#audience .intro-grid span {
  color: rgba(31, 31, 31, 0.56);
  font-family: "Times New Roman", "Songti SC", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

#audience .intro-grid h3 {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: 0.01em;
  line-height: 1.32;
  margin-bottom: 12px;
}

#audience .intro-grid p {
  line-height: 1.78;
}

.intro-grid p,
.course-card p,
.style-layout p,
.teacher-content p,
.teacher-points,
.studio-copy,
.contact-content p {
  color: var(--muted);
}

.courses {
  background: #f5f5f2;
}

#courses {
  padding-top: 32px;
  scroll-margin-top: 76px;
}

#courses .section-heading {
  margin-bottom: 24px;
}

#courses .section-heading {
  max-width: 980px;
}

.studio {
  background: #ffffff;
}

#results .eyebrow {
  text-transform: none;
}

.results-title span {
  display: block;
  word-break: keep-all;
}

#environment {
  padding-top: 32px;
  scroll-margin-top: 76px;
}

#environment .section-heading {
  margin-bottom: 22px;
}

#environment .environment-showcase {
  gap: 40px;
}

.course-grid {
  display: grid;
  gap: 18px;
}

.course-card {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.95fr);
  padding: 24px;
}

.course-index {
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.course-card-image {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f7f7f5;
  border: 1px solid rgba(23, 25, 26, 0.08);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
  width: 100%;
}

.course-card-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  width: 100%;
}

.style-layout {
  display: grid;
  gap: 14px;
}

#style .section-heading {
  max-width: 980px;
}

#style .section-heading h2 {
  font-size: clamp(28px, 4.8vw, 46px);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.style-panel {
  background: var(--charcoal);
  color: #fff;
  min-height: 300px;
  padding: 28px;
}

.style-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  margin-bottom: 18px;
}

.style-panel p:last-child {
  margin-bottom: 0;
}

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

.style-list div {
  padding: 20px;
}

.style-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.teacher {
  display: grid;
  gap: 28px;
}

.teacher-media {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 0.78fr;
}

.teacher-media img {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.teacher-media img:last-child {
  margin-top: 44px;
}

.teacher-content {
  align-self: center;
}

.teacher-points {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.teacher-points li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.gallery {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 1120px;
}

.gallery figure {
  background: var(--charcoal);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
  bottom: 0;
  font-size: 14px;
  font-weight: 700;
  left: 0;
  padding: 34px 16px 14px;
  position: absolute;
  right: 0;
}

.studio-copy {
  display: grid;
  gap: 12px;
  margin: 28px auto 0;
  max-width: 1120px;
}

.studio-copy p {
  background: rgba(23, 25, 26, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  padding: 18px;
}

.environment-showcase {
  display: grid;
  gap: 56px;
  margin: 0 auto;
  max-width: 1240px;
}

.gear-group {
  display: grid;
  gap: 18px;
}

.gear-group-header {
  max-width: 720px;
}

.gear-group-header h3 {
  font-size: clamp(24px, 5vw, 34px);
  margin-bottom: 6px;
}

.gear-group-header p {
  color: var(--muted);
  margin-bottom: 0;
}

.gear-grid {
  display: grid;
  gap: 18px;
}

.gear-card {
  background: #fff;
  border: 1px solid rgba(23, 25, 26, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 26, 27, 0.08);
  margin: 0;
  overflow: hidden;
  padding: 12px;
}

.gear-media {
  align-items: center;
  background: #f5f5f2;
  border-radius: calc(var(--radius) - 2px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.equipment-card .gear-media {
  background: #fff;
  height: 430px;
}

.studio-card .gear-media {
  aspect-ratio: 16 / 9;
  min-height: 300px;
}

.gear-media img {
  height: 100%;
  width: 100%;
}

.equipment-image-wrap {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.equipment-image-wrap img {
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}

.equipment-card .equipment-image-wrap img {
  height: 92%;
  width: 92%;
}

.studio-card .gear-media img {
  object-fit: cover;
}

.gear-card figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 4px 2px;
}

.gear-card figcaption strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.gear-card figcaption span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact {
  background: var(--charcoal);
  color: #fff;
  display: grid;
  gap: 28px;
}

.contact-content {
  max-width: 620px;
}

.contact-content > h2,
.contact-notes strong {
  color: #fff;
  display: block;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "HarmonyOS Sans", Arial, sans-serif;
  font-size: clamp(22px, 4.5vw, 28px);
  font-weight: 700;
  line-height: 1.28;
}

.contact-content > h2 {
  margin-bottom: 14px;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-notes {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 22px;
}

.contact-notes strong {
  margin-top: 4px;
}

.contact-notes p {
  margin-bottom: 14px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  display: grid;
  padding: 8px;
}

.contact-card a {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 12px;
}

.contact-card a:last-of-type {
  border-bottom: 0;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-card strong {
  font-size: 16px;
}

.payment-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 14px;
  padding: 20px 12px 12px;
}

.payment-block > span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.payment-qr-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-qr-grid figure {
  align-items: center;
  background: #f7f7f5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius) - 2px);
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
  padding: 14px 10px 12px;
}

.payment-qr-grid img {
  background: #fff;
  display: block;
  height: clamp(120px, 12vw, 148px);
  object-fit: contain;
  padding: 6px;
  width: clamp(120px, 12vw, 148px);
}

.payment-qr-grid figcaption {
  color: rgba(23, 25, 26, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  align-items: center;
  background: #11100f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 24px 20px;
}

.site-footer img {
  height: 28px;
  opacity: 0.72;
}

@media (min-width: 720px) {
  .site-header {
    padding: 0 32px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    gap: 4px;
    padding: 0;
    position: static;
    transform: none;
  }

  .site-nav a {
    font-size: 15px;
    padding: 7px 8px;
  }

  .hero-content {
    padding: 140px 40px 74px;
    width: min(760px, 100%);
  }

  .intro,
  .courses,
  .style,
  .teacher,
  .students,
  .studio,
  .contact {
    padding: 96px 36px;
  }

  #courses {
    padding-top: 40px;
  }

  #environment {
    padding-top: 40px;
  }

  .intro-grid,
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card-image {
    min-height: 260px;
  }

  .style-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .style-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-three {
    grid-template-columns: repeat(3, 1fr);
  }

  .gear-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .equipment-card .gear-media {
    height: 430px;
  }

  .studio-card .gear-media {
    min-height: 320px;
  }

  .gear-group:last-child .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery .wide {
    grid-column: span 2;
  }

  .contact {
    grid-template-columns: 1fr minmax(320px, 440px);
    padding-bottom: 108px;
    padding-top: 108px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 38px;
  }
}

@media (min-width: 1080px) {
  .site-header {
    padding: 0 54px;
  }

  .gear-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gear-group:last-child .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-card .gear-media {
    min-height: 350px;
  }

  .hero-content {
    margin-left: max(54px, calc((100vw - 1120px) / 2));
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  body {
    min-width: 0;
  }

  .site-header {
    height: 64px;
    padding: 0 14px;
  }

  .brand {
    flex: 1 1 auto;
    font-size: 13px;
    gap: 8px;
    min-width: 0;
  }

  .brand img {
    height: 38px;
    max-width: 120px;
  }

  .brand span {
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    background: #fff;
    border-bottom: 1px solid rgba(23, 25, 26, 0.08);
    display: grid;
    gap: 6px;
    left: 0;
    padding: 12px 14px 16px;
    position: fixed;
    right: 0;
    top: 64px;
    transform: translateY(-130%);
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 15px;
    min-height: 42px;
    padding: 9px 12px;
  }

  .site-nav a:last-child {
    background: var(--ink);
    color: #fff;
    text-align: center;
  }

  .section,
  .anchor-target,
  #courses,
  #environment {
    scroll-margin-top: 76px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding: 104px 18px 34px;
    width: 100%;
  }

  .hero-copy {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    max-width: 100%;
  }

  .hero-actions .button.primary {
    grid-column: 1 / -1;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
  }

  .intro,
  .courses,
  .style,
  .teacher,
  .students,
  .studio,
  .contact {
    padding: 60px 16px;
    width: 100%;
  }

  #courses,
  #environment {
    padding-top: 30px;
  }

  .section-heading {
    max-width: 100%;
  }

  #style .section-heading h2 {
    font-size: clamp(24px, 6.8vw, 34px);
    line-break: strict;
    white-space: normal;
    word-break: keep-all;
  }

  #audience .section-heading h2,
  #audience .intro-grid h3 {
    word-break: keep-all;
  }

  #audience .section-heading h2 {
    font-size: clamp(24px, 6.4vw, 31px);
    line-height: 1.3;
    max-width: 100%;
    overflow: visible;
    text-wrap: balance;
    white-space: normal;
    word-break: normal;
  }

  #audience .intro-grid article {
    min-height: 0;
  }

  .intro-grid,
  .course-grid,
  .style-layout,
  .teacher,
  .contact,
  .gallery,
  .gear-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
  }

  .course-card {
    gap: 18px;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .course-card-image {
    max-height: 260px;
    min-height: 0;
    order: -1;
    padding: 12px;
  }

  .course-title {
    white-space: normal;
  }

  .style-panel {
    min-height: 0;
    padding: 22px;
  }

  .teacher-media {
    gap: 10px;
    grid-template-columns: 1fr 0.8fr;
    max-width: 100%;
  }

  .teacher-media img:last-child {
    margin-top: 28px;
  }

  .gallery img {
    aspect-ratio: 4 / 3;
  }

  .environment-showcase {
    gap: 34px;
    max-width: 100%;
  }

  .equipment-card .gear-media {
    height: min(330px, 78vw);
  }

  .studio-card .gear-media {
    min-height: 0;
  }

  .gear-card {
    padding: 10px;
  }

  .contact {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  #contact,
  #contact .contact-content,
  #contact .contact-notes,
  #contact .contact-card,
  #contact .contact-card a,
  #contact .payment-block,
  #contact .payment-qr-grid,
  #contact .payment-qr-grid figure,
  #contact .payment-qr-grid img,
  #contact .payment-qr-grid figcaption {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #contact {
    align-items: start;
    display: flex;
    flex-direction: column;
    grid-auto-rows: auto;
    min-height: auto !important;
  }

  .contact-card {
    align-content: start;
    align-self: stretch;
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
    width: 100%;
  }

  .payment-block {
    display: block;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-bottom: 80px;
  }

  .payment-block > span {
    display: block;
    margin-bottom: 16px;
  }

  .payment-qr-grid {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-items: center;
    overflow: visible !important;
  }

  .payment-qr-grid figure {
    box-sizing: border-box;
    flex: 0 0 auto;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    overflow: visible !important;
    width: min(100%, 252px);
  }

  .payment-qr-grid img {
    box-sizing: border-box;
    height: clamp(180px, 56vw, 220px) !important;
    max-height: none !important;
    width: clamp(180px, 56vw, 220px);
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 12px;
  }

  .brand img {
    height: 34px;
    max-width: 104px;
  }

  .intro,
  .courses,
  .style,
  .teacher,
  .students,
  .studio,
  .contact {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    font-size: 14px;
    padding: 0 12px;
  }

  .course-card,
  .intro-grid article,
  .style-list div {
    padding: 18px;
  }

  #audience .intro-grid article::before {
    left: 18px;
    right: 18px;
  }

  .payment-qr-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .payment-block {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 80px;
  }

  .payment-qr-grid figure {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: min(100%, 252px);
  }

  .equipment-card .gear-media {
    height: min(280px, 76vw);
  }
}
