:root {
  --dark: #120f13;
  --dark-2: #1d131b;
  --plum: #372633;
  --rose: #ad7b86;
  --rose-light: #e0b7bd;
  --cream: #eadbd2;
  --white: #faf5f1;
  --sub: #a89ca5;
  --line: rgba(255,255,255,.09);
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--white);
  font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 20000; padding: 11px 18px; border-radius: 999px; background: #fff; color: #24161e; font-weight: 900; }
.skip-link:focus { top: 16px; }
.page-shell, .site-nav { width: min(var(--content), calc(100% - 28px)); margin-inline: auto; position: relative; z-index: 2; }

.site-nav {
  min-height: 72px;
  display: grid;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand-link, .brand-lockup { display: block; line-height: 0; }
.brand-lockup { width: 216px; }
.brand-lockup img { width: 100%; height: auto; }
.site-nav nav { justify-self: center; display: flex; gap: 28px; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.site-nav nav a { padding: 10px 0; color: #c7b5bb; transition: color .25s ease; }
.site-nav nav a:is(:hover,:focus-visible) { color: var(--cream); }
.site-nav small { color: #816f79; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 90% 5%,rgba(173,123,134,.18),transparent 25%),
    radial-gradient(circle at 7% 58%,rgba(91,74,118,.15),transparent 28%),
    linear-gradient(150deg,#0d0a0e,#1d131b 58%,#110d11);
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg,transparent 35%,rgba(255,255,255,.022) 50%,transparent 65%);
  background-size: 250% 100%;
  animation: backgroundSweep 10s linear infinite;
}
@keyframes backgroundSweep { to { background-position: -250% 0; } }

.hero { padding: 52px 0 40px; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.kicker, .section-heading > p { margin: 0; color: #c38f9b; font-family: Georgia, serif; font-size: 12px; font-style: italic; }
.hero h1 { margin: 14px 0 0; font-size: clamp(39px,6vw,72px); line-height: 1; letter-spacing: -3px; }
.hero-top aside { max-width: 390px; color: var(--sub); font-size: 14px; line-height: 1.9; text-align: right; }
.hero-stage { position: relative; margin: 34px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.hero-stage > img { width: 100%; height: auto; }
.hero-stage::before { position: absolute; inset: 0; z-index: 2; content: ""; background: linear-gradient(to top,rgba(15,9,13,.82),transparent 54%); pointer-events: none; }
.hero-stage::after { position: absolute; z-index: 3; top: -30%; left: -100%; width: 45%; height: 170%; content: ""; transform: rotate(17deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent); animation: heroShine 7s ease-in-out infinite; pointer-events: none; }
@keyframes heroShine { 0%,65% { left: -100%; } 100% { left: 145%; } }
.hero-stage figcaption { position: absolute; right: 28px; bottom: 25px; left: 28px; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero-stage figcaption b { color: #f2dfe1; font-size: 22px; }
.hero-stage figcaption span { color: #c7b5bb; font-size: 13px; }
.hero-under { padding-top: 34px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 35px; }
.hero-under p { margin: 0; color: #a99da5; font-size: 15px; line-height: 1.95; }
.actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.button { min-height: 55px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; font-size: 13px; font-weight: 950; cursor: pointer; transition: transform .3s ease; }
.button:hover { transform: translateY(-3px); }
.button.main { background: linear-gradient(135deg,var(--rose-light),#9e6875); color: #251218; }
.button.soft { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #ead7db; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: ticker 25s linear infinite; }
.ticker-track span { padding: 13px 27px; white-space: nowrap; color: #8e7e86; font-size: 11px; }
.ticker-track b { color: #c38e99; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding-top: 90px; }
.section-heading { max-width: 780px; margin: 0 auto; text-align: center; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(29px,4.5vw,44px); line-height: 1.23; letter-spacing: -1.4px; }
.section-heading > span { display: block; max-width: 650px; margin: 14px auto 0; color: var(--sub); font-size: 14px; line-height: 1.9; }
.program-grid { margin-top: 35px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.program-card { padding: 26px 22px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.035); backdrop-filter: blur(9px); transition: transform .35s ease, background .35s ease; }
.program-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.065); }
.program-card small { color: #947c84; font-size: 9px; letter-spacing: .12em; }
.program-card h3 { margin: 15px 0 11px; color: #f0d6d9; font-size: 20px; }
.program-card p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.85; }
.program-wide { margin-top: 12px; }
.price-list { margin-top: 35px; border-top: 1px solid var(--line); }
.price-row { min-height: 92px; display: grid; grid-template-columns: 220px repeat(3,1fr); align-items: center; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row h3 { margin: 0; color: #edcfd4; font-size: 17px; }
.price-row span { color: #a99da5; text-align: center; font-size: 13px; }
.price-row b { display: block; color: #fff3f2; font-size: 15px; }
.price-row:last-child span:last-child:nth-child(3) { grid-column: auto; }

.region-list { max-width: 980px; margin: 35px auto 0; }
.region-row { display: grid; grid-template-columns: 160px 1fr; gap: 25px; padding: 23px 0; border-top: 1px solid var(--line); }
.region-row:last-child { border-bottom: 1px solid var(--line); }
.region-row h3 { margin: 0; color: #edced3; font-size: 17px; }
.region-row h3 a:is(:hover,:focus-visible), .region-row p a:is(:hover,:focus-visible) { color: #f4c4cc; }
.region-row p { margin: 0; color: var(--sub); font-size: 13px; line-height: 2.05; }
.region-row a[aria-current="page"] { color: #f5d8dc; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.region-row p i { margin-inline: 6px; color: #66525d; font-style: normal; }

.contact { max-width: 850px; margin: 88px auto 0; padding: 44px 25px; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(circle at 50% 0,rgba(173,123,134,.14),transparent 43%),rgba(255,255,255,.035); text-align: center; }
.contact h2 { margin: 0; font-size: 32px; }
.contact p { max-width: 650px; margin: 13px auto 18px; color: var(--sub); font-size: 14px; line-height: 1.85; }
.contact .actions { justify-content: center; }
footer { margin-top: 90px; padding: 42px 0 112px; border-top: 1px solid var(--line); text-align: center; }
.footer-brand, .footer-lockup { display: block; width: 230px; margin-inline: auto; line-height: 0; }
.footer-lockup img { width: 100%; height: auto; }
footer > p { margin: 18px 0 0; color: var(--sub); font-size: 13px; }
footer nav { margin-top: 20px; display: flex; justify-content: center; gap: 20px; color: #d8c4ca; font-size: 13px; }
footer > small { display: block; margin-top: 22px; color: #715f68; font-size: 11px; }

.floating-call { position: fixed; right: max(18px,env(safe-area-inset-right)); bottom: max(18px,env(safe-area-inset-bottom)); z-index: 9998; min-width: 128px; min-height: 55px; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; background: linear-gradient(135deg,var(--rose-light),#9e6875); color: #251218; box-shadow: 0 18px 45px rgba(116,62,77,.38); font-size: 13px; font-weight: 950; animation: callPulse 2.8s ease-in-out infinite; }
@keyframes callPulse { 50% { box-shadow: 0 18px 45px rgba(116,62,77,.38),0 0 0 9px rgba(224,183,189,.09); } }

.welcome-popup { position: fixed; inset: 0; z-index: 10001; padding: 18px; display: flex; align-items: center; justify-content: center; background: rgba(12,7,10,.72); backdrop-filter: blur(10px); }
.welcome-popup[hidden] { display: none; }
.popup-box { width: min(420px,100%); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #1c1119; box-shadow: 0 30px 90px rgba(0,0,0,.5); animation: popupIn .5s ease; }
@keyframes popupIn { from { opacity: 0; transform: translateY(25px) scale(.96); } }
.popup-box > img { width: 100%; max-height: 390px; object-fit: cover; object-position: center 34%; }
.popup-box > div { padding: 22px; }
.popup-box b { color: #f2dfe1; font-size: 20px; }
.popup-box p { color: #aa9ca4; font-size: 13px; line-height: 1.75; }
.popup-box button { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: linear-gradient(135deg,var(--rose-light),#9e6875); color: #251218; font-size: 13px; font-weight: 950; cursor: pointer; }
.popup-box .popup-close { min-height: 36px; margin-top: 4px; background: transparent; color: #8a7780; font-size: 12px; }
.reveal { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.not-found { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 32px; text-align: center; }
.not-found .brand-lockup { width: 240px; }
.not-found > p { margin: 35px 0 0; color: #c38f9b; font: italic 18px Georgia,serif; }
.not-found h1 { margin: 8px 0 24px; font-size: clamp(30px,6vw,54px); }

@media (max-width: 780px) {
  .site-nav { min-height: 68px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand-lockup { width: 185px; }
  .site-nav nav { display: none; }
  .site-nav small { text-align: right; }
  .hero { padding-top: 36px; }
  .hero-top { display: block; }
  .hero h1 { font-size: clamp(30px,9.5vw,42px); letter-spacing: -2px; }
  .hero-top aside { max-width: none; margin-top: 17px; text-align: left; }
  .hero-stage { border-radius: 22px; }
  .hero-stage figcaption { position: relative; inset: auto; display: block; padding: 18px; background: #1a1017; }
  .hero-stage figcaption span { display: block; margin-top: 6px; }
  .hero-under { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .price-row h3 { grid-column: 1/-1; }
  .region-row { grid-template-columns: 96px 1fr; gap: 16px; }
  .contact { margin-top: 68px; }
  .contact h2 { font-size: 26px; }
  .floating-call { right: 14px; bottom: 14px; min-width: 116px; min-height: 51px; }
}

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