:root {
  --ink: #14131a;
  --muted: #5b5866;
  --line: #d9d4de;
  --paper: #f4f1ea;
  --white: #ffffff;
  --purple: #3a1f81;
  --magenta: #c92b91;
  --forest: #1f4d3a;
  --gold: #b45312;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand-lab { font-size: 12px; font-weight: 700; letter-spacing: 0.28em; color: var(--purple); }

.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover,
.nav a:focus-visible { color: var(--ink); }

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.header-cta:hover,
.header-cta:focus-visible { background: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 18, 0.78) 0%, rgba(12, 10, 18, 0.42) 46%, rgba(12, 10, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 10, 18, 0.18) 0%, rgba(12, 10, 18, 0.08) 40%, rgba(12, 10, 18, 0.55) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  max-width: 760px;
  padding: 96px 28px 72px;
}
.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero .kicker { color: #f3c6e4; }
.about-copy .kicker { color: var(--magenta); }
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.08;
  font-weight: 800;
}
.hero-lead {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.btn-primary { background: var(--magenta); color: var(--white); }
.btn-primary:hover,
.btn-primary:focus-visible { background: #a31f76; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-ghost:hover,
.btn-ghost:focus-visible { background: var(--white); color: var(--ink); }

.section { padding: 88px 28px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2,
.band h2,
.contact h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}
.lede { margin: 0; color: var(--muted); font-size: 17px; }

.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program {
  display: grid;
  grid-template-rows: 210px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
}
.program img { width: 100%; height: 210px; object-fit: cover; }
.program-body { padding: 22px 22px 26px; }
.program h3 { margin: 0 0 10px; font-size: 22px; }
.program p { margin: 0; color: var(--muted); }
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.audience li { padding: 6px 10px; background: var(--paper); font-size: 13px; font-weight: 600; }

.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-copy h2 { margin: 8px 0 16px; }
.about-copy p { margin: 0 0 14px; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 28px; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--purple); }
.facts dd { margin: 4px 0 0; }
.about-visual { position: relative; }
.about-visual img.portrait { width: 100%; height: 540px; object-fit: cover; }
.about-visual .lockup {
  width: min(420px, 92%);
  margin-top: 24px;
  padding: 12px 8px 4px 0;
}

.band { background: var(--paper); }
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.method article { padding-top: 8px; border-top: 3px solid var(--purple); }
.method article:nth-child(2) { border-top-color: var(--magenta); }
.method article:nth-child(3) { border-top-color: var(--forest); }
.method article:nth-child(4) { border-top-color: var(--gold); }
.method h3 { margin: 16px 0 10px; font-size: 20px; }
.method p { margin: 0; color: var(--muted); }

.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video-block h3 { margin: 14px 0 6px; font-size: 20px; }
.video-block p { margin: 0; color: var(--muted); }
.video { position: relative; aspect-ratio: 16 / 9; background: #111; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-poster {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--white);
  text-decoration: none;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster .play,
.video-poster .video-label {
  position: absolute;
  left: 50%;
  z-index: 1;
}
.video-poster .play {
  top: 46%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: #ff0000;
}
.video-poster .play::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 26px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.video-poster .video-label {
  bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(12, 10, 18, 0.72);
  font-size: 13px;
  font-weight: 700;
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 18, 0.45) 100%);
}
.video-list { display: grid; gap: 12px; }
.video-list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.video-list a:hover,
.video-list a:focus-visible { color: var(--purple); }
.video-list span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  text-decoration: none;
  min-height: 148px;
}
.contact-card:hover,
.contact-card:focus-visible { border-color: var(--purple); }
.contact-card strong { font-size: 20px; }
.contact-card span { color: var(--muted); font-size: 14px; }
.contact-card em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--purple); }
.address { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.address p { margin: 0 0 6px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: var(--ink); }

@media (max-width: 960px) {
  .programs,
  .method,
  .about,
  .videos,
  .contact-grid { grid-template-columns: 1fr; }
  .nav {
    display: flex;
    gap: 14px;
    font-size: 13px;
    overflow-x: auto;
    max-width: 52vw;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .about-visual img.portrait { height: 380px; }
  .hero,
  .hero-copy {
    min-height: calc(100vh - 148px);
    min-height: calc(100dvh - 148px);
  }
  .hero-copy { padding-bottom: 48px; }
}

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer { padding-left: 18px; padding-right: 18px; }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand cta" "nav nav";
    gap: 8px 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .brand { grid-area: brand; }
  .header-cta { grid-area: cta; justify-self: end; }
  .nav {
    grid-area: nav;
    max-width: none;
    width: 100%;
    padding-bottom: 4px;
  }
  .hero-copy { padding: 96px 18px 56px; }
  .header-cta { font-size: 13px; }
  .facts { grid-template-columns: 1fr; }
}
