:root {
  --green-950: #073b2c;
  --green-900: #064a35;
  --green-800: #075f42;
  --green-700: #087651;
  --green-600: #0b8b5d;
  --green-300: #a9d7c1;
  --green-200: #d0e9dd;
  --green-100: #e8f4ed;
  --cream: #f6faf2;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --ink: #10241d;
  --muted: #60716a;
  --line: rgba(7, 95, 66, 0.14);
  --line-strong: rgba(7, 95, 66, 0.26);
  --shadow: 0 18px 48px rgba(18, 72, 52, 0.09);
  --shadow-hover: 0 22px 55px rgba(18, 72, 52, 0.15);
  --radius-panel: 24px;
  --radius-card: 8px;
  --container-max: 1320px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(153, 216, 181, 0.28), transparent 28rem),
    radial-gradient(circle at 5% 62%, rgba(211, 235, 219, 0.38), transparent 26rem),
    linear-gradient(180deg, #fbfff8 0%, var(--cream) 46%, #f3f8ef 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Pretendard, "Noto Sans KR", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  overflow: hidden;
}

.top-banner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1rem;
  background: linear-gradient(90deg, var(--green-950), var(--green-800));
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 250, 242, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  max-width: var(--container-max);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 0.92rem 1.25rem;
}

.logo {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
  color: var(--green-950);
  font-size: clamp(1.16rem, 2.2vw, 1.48rem);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.logo span {
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.logo-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(8, 118, 81, 0.2);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 24px rgba(7, 59, 42, 0.14);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  color: var(--green-800);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.48rem 0.74rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(8, 118, 81, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: var(--green-950);
}

.nav-links a.nav-kakao {
  border-color: rgba(8, 118, 81, 0.18);
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 10px 22px rgba(7, 59, 42, 0.14);
}

.nav-links a.nav-kakao:hover {
  border-color: transparent;
  background: var(--green-950);
  color: #fff;
  transform: translateY(-1px);
}

.section,
.hero,
.page-hero {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(470px, 0.75fr);
  gap: 42px;
  align-items: stretch;
  padding-top: 3.8rem;
  padding-bottom: 4rem;
}

.hero > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.page-hero {
  padding-top: 4.2rem;
  padding-bottom: 1.35rem;
}

.section {
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}

.page-hero + .section {
  padding-top: 0.85rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.hero-actions {
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1.08rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-950);
  box-shadow: 0 9px 24px rgba(18, 72, 52, 0.05);
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 13px 30px rgba(18, 72, 52, 0.10);
}

.btn-primary,
.btn-dark {
  border-color: var(--green-700);
  background: var(--green-700);
  color: white;
}

.btn-dark {
  background: var(--green-950);
  border-color: var(--green-950);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 100%;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(8, 118, 81, 0.14);
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  background: rgba(232, 244, 237, 0.82);
  color: var(--green-800);
  font-size: 0.84rem;
  font-weight: 850;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.15rem;
  color: var(--green-950);
  font-size: clamp(2.45rem, 5.2vw, 4.7rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  word-break: keep-all;
}

.page-hero h1 {
  max-width: 1050px;
  margin-bottom: 0.85rem;
  font-size: clamp(2.35rem, 4vw, 3.9rem);
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
  word-break: keep-all;
}

.page-hero .lead {
  margin-bottom: 0;
}

.quick-menu-heading {
  margin-bottom: 1.2rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
  word-break: keep-all;
}

.quick-links,
.link-hub,
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quick-links,
.home-link-hub {
  margin-top: 0;
}

.quick-link-card,
.hub-card,
.feature,
.teacher-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(18, 72, 52, 0.055);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.quick-link-card,
.hub-card,
.feature,
.teacher-card {
  padding: 1.25rem;
}

.quick-link-card::before,
.hub-card::before,
.feature::before,
.teacher-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), rgba(169, 215, 193, 0.68));
  content: "";
}

.quick-link-card:hover,
.hub-card:hover,
.feature:hover,
.teacher-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 118, 81, 0.34);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-hover);
}

.hub-card {
  min-height: 186px;
  justify-content: space-between;
}

.quick-link-card span,
.card-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(8, 118, 81, 0.14);
  border-radius: var(--radius-card);
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 900;
}

.quick-link-card h3,
.hub-card h3,
.feature h3,
.teacher-card h3 {
  margin-bottom: 0.36rem;
  color: var(--green-950);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.quick-link-card p,
.hub-card p,
.feature p,
.teacher-card p,
td {
  color: var(--muted);
}

.hub-card p,
.feature p,
.teacher-card p {
  font-size: 0.92rem;
  line-height: 1.66;
  word-break: keep-all;
}

.hub-card .arrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  margin-top: 1.15rem;
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-card,
.image-panel,
.reservation-info {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  box-shadow: 0 27px 65px rgba(10, 75, 53, 0.20);
  color: white;
  isolation: isolate;
}

.hero-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.35rem;
  padding: 2.1rem;
  background:
    linear-gradient(
      112deg,
      rgba(4, 53, 39, 0.96) 0%,
      rgba(5, 84, 57, 0.86) 48%,
      rgba(10, 144, 89, 0.54) 100%
    ),
    url("KakaoTalk_20260709_195817266.jpg") center / cover no-repeat;
}

.hero-card::before,
.image-panel::before,
.reservation-info::before {
  position: absolute;
  inset: 1.15rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.hero-card::after,
.image-panel::after,
.reservation-info::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(3, 51, 36, 0.30));
  content: "";
  pointer-events: none;
}

.hero-card h2,
.image-panel h2,
.reservation-info h2 {
  position: relative;
  max-width: 560px;
  margin-bottom: 0.9rem;
  color: white;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  word-break: keep-all;
}

.hero-card p,
.image-panel p,
.reservation-info p {
  position: relative;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.78;
}

.studio-overlay-card .stats {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-top: auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.stat {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  color: white;
  font-size: clamp(1.04rem, 1.6vw, 1.36rem);
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: keep-all;
}

.stat small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 700px;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 430px;
  color: var(--muted);
}

.video-section {
  padding-top: 0.9rem;
}

.video-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  min-height: auto;
  padding: 0 0 0.2rem;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
}

.section-link:hover {
  color: var(--green-950);
}

.section-link span {
  font-size: 0.88em;
}

.video-section > .video-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  width: 100%;
}

.video-section > .video-grid > .video-embed {
  aspect-ratio: 16 / 9;
  flex: 0 0 calc((100% - 1rem) / 2);
  width: calc((100% - 1rem) / 2);
  max-width: calc((100% - 1rem) / 2);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 95, 66, 0.10);
  border-radius: var(--radius-card);
  background: #0c2119;
  box-shadow: var(--shadow);
}

.video-section > .video-grid > .video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-grid,
.reservation,
.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: stretch;
}

.about-panel {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-panel);
  padding: 2rem;
  background: var(--green-950);
  color: white;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.schedule-wrap,
form,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.schedule-wrap {
  overflow: hidden;
}

.schedule-controls {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(232, 244, 237, 0.74);
  padding: 1rem;
}

.timetable-scroll {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timetable-table {
  min-width: 980px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid rgba(15, 122, 79, 0.10);
  padding: 1rem 0.85rem;
  text-align: center;
  vertical-align: top;
  word-break: keep-all;
}

th {
  background: rgba(232, 244, 237, 0.72);
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 900;
}

td {
  color: var(--green-950);
  font-size: 0.92rem;
}

td strong,
td span {
  display: block;
}

td strong {
  color: var(--green-950);
}

.timetable-table td:first-child {
  background: rgba(232, 244, 237, 0.50);
  color: var(--green-800);
  white-space: nowrap;
}

.empty-slot {
  color: rgba(96, 113, 106, 0.52);
}

.slot-stack {
  display: grid;
  gap: 0.45rem;
}

.class-entry {
  border-radius: var(--radius-card);
  background: rgba(232, 244, 237, 0.75);
  padding: 0.45rem 0.55rem;
}

.timetable-table td.is-filtered,
.timetable-table tr.is-filtered,
.class-entry.is-filtered {
  display: none;
}

.schedule-filter-row {
  gap: 0.35rem;
  font-size: 0.88rem;
}

.schedule-select {
  border-color: rgba(15, 122, 79, 0.2);
  background: white;
  font-weight: 800;
}

.schedule-empty {
  display: none;
  padding: 1.1rem 1.25rem;
  color: var(--muted);
  font-weight: 800;
}

.schedule-empty.is-visible {
  display: block;
}

.schedule-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
}

.tab {
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: white;
  color: var(--green-800);
  font-weight: 850;
  white-space: nowrap;
}

.tab.active {
  background: var(--green-800);
  color: white;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 850;
}

.image-panel {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(7, 59, 42, 0.88), rgba(34, 181, 115, 0.72)),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.reservation-info {
  min-height: 520px;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(7, 59, 42, 0.92), rgba(15, 122, 79, 0.86)),
    url("https://images.unsplash.com/photo-1535525153412-5a42439a210d?auto=format&fit=crop&w=900&q=80") center / cover;
}

.reservation-info ul {
  position: relative;
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  list-style: none;
}

.reservation-info li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--green-950);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 122, 79, 0.18);
  border-radius: var(--radius-card);
  padding: 0.85rem 0.95rem;
  background: #fcfffb;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(34, 181, 115, 0.14);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-result {
  display: none;
  border-radius: var(--radius-card);
  padding: 1rem;
  background: var(--green-100);
  color: var(--green-950);
  font-weight: 750;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--green-950), var(--green-900));
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  max-width: var(--container-max);
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.site-footer h2,
.site-footer h3 {
  color: white;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--green-300);
}

.admin-page {
  display: grid;
  min-height: calc(100vh - 184px);
  place-items: center;
  padding: 5rem 1.25rem;
}

.admin-panel {
  display: grid;
  width: min(520px, 100%);
  gap: 1rem;
  padding: 1.5rem;
}

.admin-panel h1 {
  margin-bottom: 0.4rem;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.95;
}

.admin-panel p {
  color: var(--muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1rem;
  background: rgba(232, 244, 237, 0.58);
}

.admin-metric strong {
  display: block;
  color: var(--green-950);
  font-size: 1.8rem;
  line-height: 1;
}

.admin-metric span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.8rem;
  }

  .hero-card {
    min-height: 500px;
    order: -1;
  }

  .quick-links,
  .link-hub,
  .class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .reservation,
  .split-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .schedule-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .top-banner {
    min-height: 34px;
    padding: 0.5rem 0.75rem;
    font-size: 0.74rem;
  }

  .nav {
    align-items: center;
    flex-direction: row;
    gap: 0.65rem;
    padding: 0.72rem 1rem;
  }

  .logo {
    gap: 0.55rem;
    font-size: 1.04rem;
    letter-spacing: 0.035em;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0.2rem;
    font-size: 0.88rem;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0.35rem 0.56rem;
  }

  .nav-links a.nav-kakao {
    padding-inline: 0.64rem;
  }

  .section,
  .hero,
  .page-hero {
    padding-inline: 1rem;
    padding-top: 2.45rem;
    padding-bottom: 2.45rem;
  }

  .page-hero {
    padding-bottom: 0.65rem;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.3vw, 2.65rem);
    line-height: 1.08;
  }

  .lead,
  .page-hero .lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero {
    gap: 1.35rem;
  }

  .hero-card {
    min-height: 390px;
    border-radius: 18px;
    padding: 1.28rem;
  }

  .hero-card h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-card p {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .hero-card::before,
  .image-panel::before,
  .reservation-info::before {
    inset: 0.8rem;
    border-radius: 14px;
  }

  .quick-links,
  .feature-list,
  .link-hub,
  .form-grid,
  .admin-metrics,
  .class-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    margin-bottom: 1.45rem;
  }

  .hero-actions .btn,
  .button-row .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
  }

  .quick-menu-heading {
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
    line-height: 1.12;
  }

  .hub-card {
    min-height: 148px;
    padding: 1.05rem 1.1rem;
  }

  .hub-card .arrow {
    margin-top: 0.85rem;
  }

  .hub-card p,
  .feature p,
  .teacher-card p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .studio-overlay-card .stats {
    margin-top: auto;
  }

  .stat {
    padding: 0.68rem;
  }

  .stat strong {
    font-size: clamp(0.96rem, 4vw, 1.12rem);
  }

  .stat small {
    font-size: 0.76rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .section-link {
    font-size: 0.84rem;
  }

  th,
  td {
    padding: 0.75rem 0.55rem;
  }

  .timetable-table {
    min-width: 640px;
  }

  .timetable-table td {
    font-size: 0.8rem;
  }

  .timetable-table td:first-child {
    min-width: 96px;
  }

  .timetable-scroll::after {
    position: sticky;
    right: 0;
    display: block;
    width: 34px;
    height: 0;
    margin-top: -1px;
    margin-left: auto;
    box-shadow: -16px 0 22px rgba(246, 250, 242, 0.92);
    content: "";
    pointer-events: none;
  }

  .schedule-controls {
    gap: 0.85rem;
    padding: 0.9rem;
  }

  input,
  select,
  textarea {
    min-height: 48px;
  }

  .admin-page {
    min-height: auto;
    padding: 2.35rem 1rem;
  }

  .admin-panel {
    padding: 1.25rem;
  }

  .admin-metric {
    padding: 0.9rem;
  }

  .footer-inner {
    padding: 2.4rem 1rem;
  }
}

@media (max-width: 380px) {
  .nav {
    flex-wrap: wrap;
  }

  .logo {
    font-size: 0.98rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    width: 100%;
    font-size: 0.82rem;
    justify-content: flex-start;
  }

  .nav-links a {
    padding-inline: 0.46rem;
  }

  .hero-card {
    min-height: 410px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
