:root {
  --ink: #211f22;
  --muted: #666069;
  --line: #e9e2dd;
  --paper: #fffdf9;
  --soft: #f6f1ec;
  --rose: #d85b91;
  --rose-dark: #b83c75;
  --charcoal: #343036;
  --shadow: 0 18px 50px rgba(35, 31, 32, 0.12);
  font-family:
    "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic",
    system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  min-height: 112px;
  padding: 22px clamp(24px, 5vw, 76px);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 253, 249, 0.88));
  border-bottom: 1px solid rgba(216, 91, 145, 0.12);
  box-shadow: 0 18px 46px rgba(32, 28, 32, 0.07);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(220px, 20vw, 320px);
  min-width: 220px;
}

.brand img {
  filter: drop-shadow(0 10px 18px rgba(33, 31, 34, 0.08));
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(233, 226, 221, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #2c292d;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a {
  padding: 13px 16px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover {
  color: var(--rose-dark);
  background: rgba(216, 91, 145, 0.09);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-cta,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  box-shadow: 0 16px 32px rgba(216, 91, 145, 0.28);
}

.button.ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

main {
  overflow: hidden;
}

section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 128px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 112px);
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: clamp(54px, 8vw, 110px);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.84) 42%, rgba(255, 253, 249, 0.1) 72%),
    linear-gradient(0deg, rgba(255, 253, 249, 0.42), rgba(255, 253, 249, 0.02));
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-content {
  width: min(900px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(46px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.hero-copy,
.intro-copy p,
.program p,
.director-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  line-height: 1.8;
}

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

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.keyword-list span {
  min-width: 112px;
  padding: 13px 18px;
  border: 1px solid rgba(216, 91, 145, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fff8fb);
  color: #2f2a30;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(216, 91, 145, 0.1);
}

.wide-image img,
.image-pair img,
.program img,
.director figure img,
.map-frame {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-image {
  margin: 0;
}

.system {
  background: var(--soft);
}

.system-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 auto 34px;
  max-width: 1120px;
  border: 1px solid var(--line);
  background: var(--line);
}

.system-step {
  min-height: 230px;
  padding: 34px;
  background: var(--paper);
}

.system-step strong {
  display: block;
  margin-bottom: 26px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 950;
}

.system-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.image-pair img {
  height: clamp(260px, 30vw, 420px);
  object-fit: cover;
}

.programs {
  padding: 0;
  background: #fff;
}

.program {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.program h2 {
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1.14;
}

.program.reverse {
  direction: rtl;
  background: var(--paper);
}

.program.reverse > * {
  direction: ltr;
}

.program img {
  height: clamp(360px, 45vw, 560px);
  object-fit: cover;
}

.program ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.program li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid rgba(216, 91, 145, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fff8fb);
  box-shadow: 0 10px 26px rgba(216, 91, 145, 0.1);
  color: #2f2a30;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.strength {
  background: var(--charcoal);
  color: #fff;
}

.strength .eyebrow {
  color: #f3a4c7;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.strength-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 900;
  line-height: 1.28;
  text-align: center;
}

.director {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  background: #fff;
}

.director figure {
  margin: 0;
}

.director figure img {
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
}

.director dl {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.director dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.director dt {
  color: var(--rose-dark);
  font-weight: 900;
}

.director dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 800;
  line-height: 1.6;
}

.faq {
  background: #fff;
}

.faq-list {
  max-width: 960px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 24px 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--rose);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
}

.sns {
  padding-top: clamp(46px, 5vw, 72px);
  padding-bottom: clamp(46px, 5vw, 72px);
  background: var(--soft);
}

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

.sns-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.sns-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.sns-link:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 91, 145, 0.42);
  box-shadow: 0 12px 26px rgba(35, 31, 32, 0.1);
}

.sns-link svg {
  display: block;
  width: 28px;
  height: 28px;
  color: #4d494f;
  fill: currentColor;
  transition: color 180ms ease;
}

.sns-link.youtube:hover svg {
  color: #ff0000;
}

.sns-link.instagram:hover svg {
  color: #c13584;
}

.sns-link.naver:hover svg {
  color: #03c75a;
}

.contact {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(300px, 0.95fr);
  align-items: stretch;
  gap: clamp(26px, 5vw, 70px);
  background: var(--paper);
}

.map-frame {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background: var(--soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-panel h2 {
  font-size: clamp(34px, 3.1vw, 50px);
  line-height: 1.14;
}

address {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--charcoal);
  font-style: normal;
  font-size: 17px;
  font-weight: 850;
}

footer {
  padding: 44px clamp(20px, 5vw, 72px) 56px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

footer img {
  width: min(280px, 74vw);
  margin: 0 auto 20px;
}

footer p {
  margin-bottom: 8px;
  font-weight: 750;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.footer-links a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: var(--paper);
  font-size: 13px;
  font-weight: 850;
}

footer small {
  color: #8b858c;
}

.section-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .header-cta,
  .button,
  .main-nav a,
  .sns-link {
    transition: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 92px;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand {
    width: 214px;
    min-width: 0;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-grid;
    gap: 6px;
    width: 48px;
    height: 48px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.menu-open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding-top: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border-top: 1px solid var(--line);
  }

  .site-header.menu-open .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid,
  .program,
  .director,
  .contact {
    grid-template-columns: 1fr;
  }

  .program.reverse {
    direction: ltr;
  }

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

@media (max-width: 720px) {
  section,
  .program {
    padding-right: 20px;
    padding-left: 20px;
    scroll-margin-top: 104px;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.16) 0%, rgba(255, 253, 249, 0.88) 48%, rgba(255, 253, 249, 0.98) 100%),
      linear-gradient(90deg, rgba(255, 253, 249, 0.82), rgba(255, 253, 249, 0.1));
  }

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

  h1 {
    font-size: 27px;
    line-height: 1.14;
  }

  h2 {
    font-size: 33px;
  }

  .intro h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .program h2 {
    font-size: 23px;
    line-height: 1.18;
  }

  .director h2 {
    font-size: 24px;
    line-height: 1.18;
  }

  .contact-panel h2 {
    font-size: 22px;
    line-height: 1.16;
  }

  .hero-copy,
  .intro-copy p,
  .program p,
  .director-copy p,
  .contact-panel p {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .keyword-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .keyword-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
  }

  .system-layout,
  .image-pair,
  .program ul {
    grid-template-columns: 1fr;
  }

  .system-step {
    min-height: auto;
    padding: 26px;
  }

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

  .strength-grid div {
    min-height: 118px;
  }

  .map-frame {
    min-height: 300px;
  }

  .director dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
