:root {
  --ink: #17201d;
  --muted: #65736d;
  --line: #dfe5df;
  --surface: #f7f8f4;
  --paper: #ffffff;
  --sage: #62786b;
  --sage-dark: #33483d;
  --clay: #b7795f;
  --mist: #eef3ed;
  --charcoal: #202323;
  --shadow: 0 22px 70px rgba(23, 32, 29, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 48px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 42px rgba(23, 32, 29, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 10px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 36px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  min-width: 112px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--paper);
}

.site-header.is-scrolled .header-cta,
.site-header.is-open .header-cta {
  color: var(--paper);
  background: var(--sage-dark);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 740px;
  height: 100svh;
  color: var(--paper);
  overflow: hidden;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 29, 25, 0.78) 0%, rgba(18, 29, 25, 0.42) 44%, rgba(18, 29, 25, 0.1) 100%),
    linear-gradient(0deg, rgba(18, 29, 25, 0.42) 0%, rgba(18, 29, 25, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, calc(100% - 40px));
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding-top: 96px;
  transform: translateX(-180px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e9c5b7;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.2vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-width: 156px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--paper);
  background: var(--sage-dark);
}

.hero .button.primary {
  color: var(--ink);
  background: var(--paper);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--paper);
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
}

.quick-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(560px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.quick-panel div {
  padding: 22px 20px;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.quick-panel div:last-child {
  border-right: 0;
}

.quick-panel strong,
.quick-panel span {
  display: block;
}

.quick-panel strong {
  font-size: 27px;
  line-height: 1;
}

.quick-panel span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.intro-band {
  padding: 34px 0;
  color: var(--paper);
  background: var(--sage-dark);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.intro-grid p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.intro-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.intro-list span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 800;
}

.section-heading {
  max-width: 810px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.instructor-copy p,
.contact-grid p {
  color: var(--muted);
  font-size: 18px;
}

.class-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: stretch;
}

.class-photo,
.split-media,
.instructor-photo,
.equipment-image {
  min-height: 460px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.class-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  min-height: 218px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.card-kicker {
  display: block;
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card p,
.equipment-list p,
.result-grid p,
.contact-card span,
.profile-list span,
.check-list {
  color: var(--muted);
}

.studio-section,
.equipment-section {
  background: var(--mist);
}

.split,
.instructor-grid,
.equipment-layout,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--clay);
}

.instructor-photo {
  min-height: 620px;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.instructor-profile-card {
  margin-top: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(23, 32, 29, 0.09);
}

.profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  color: var(--paper);
  background: var(--sage-dark);
}

.profile-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.profile-head strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.profile-table {
  display: grid;
  margin: 0;
}

.profile-table div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
}

.profile-table dt,
.profile-table dd {
  margin: 0;
}

.profile-table dt {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.profile-table dd {
  color: var(--muted);
  font-weight: 700;
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.profile-list strong {
  color: var(--sage-dark);
}

.equipment-layout {
  align-items: stretch;
}

.equipment-image {
  min-height: 560px;
}

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

.equipment-list article {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.result-band {
  color: var(--paper);
  background: var(--charcoal);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.result-grid div {
  min-height: 230px;
  padding: 34px;
  background: var(--charcoal);
}

.result-grid span {
  display: block;
  margin-bottom: 28px;
  color: #e9c5b7;
  font-weight: 900;
}

.result-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.24;
}

.result-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-card div {
  padding: 28px;
  background: var(--paper);
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
}

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

.site-footer {
  padding: 34px 0 84px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--charcoal);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.floating-cta {
  position: fixed;
  z-index: 25;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--paper);
  background: var(--sage-dark);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(23, 32, 29, 0.24);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .hero-content {
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle span + span {
    margin-top: -12px;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 45px rgba(23, 32, 29, 0.1);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-content {
    justify-content: flex-start;
    min-height: auto;
    padding-top: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(18, 29, 25, 0.8) 0%, rgba(18, 29, 25, 0.52) 50%, rgba(18, 29, 25, 0.18) 100%),
      linear-gradient(0deg, rgba(18, 29, 25, 0.62) 0%, rgba(18, 29, 25, 0) 46%);
  }

  .quick-panel {
    right: 20px;
    left: 20px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .quick-panel div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 15px 18px;
  }

  .quick-panel div:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .class-layout,
  .split,
  .instructor-grid,
  .equipment-layout,
  .contact-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .intro-list {
    justify-content: flex-start;
  }

  .class-cards,
  .equipment-list {
    grid-template-columns: 1fr;
  }

  .class-photo,
  .split-media,
  .equipment-image {
    min-height: 360px;
  }

  .instructor-photo {
    min-height: 520px;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-head,
  .profile-table div {
    grid-template-columns: 1fr;
  }

  .profile-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .info-card,
  .equipment-list article,
  .result-grid div,
  .contact-card div {
    padding: 24px;
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}
