/* 스튜디오 디코 디자인 샘플 — 미니멀 스냅 스크롤형 */
:root {
  --sand: #EFE9E1; --sand-2: #E3DACD; --paper: #F8F5F0;
  --sage: #8A9A82; --olive: #3F4A3C; --clay: #C9A48A;
  --text: #4A4F45; --sub: #7E8277; --line: #D9D0C2;
  --header-h: 76px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', sans-serif;
  --ease: cubic-bezier(.25, .8, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (min-width: 1024px) and (min-height: 700px) { html { scroll-snap-type: y proximity; } }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.75; word-break: keep-all; -webkit-font-smoothing: antialiased; }
svg, img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--olive); color: #fff; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.ph { display: inline-block; padding: 0 6px; border: 1px dashed var(--clay); color: #9A6E52; font-size: .92em; }

.sample-banner { background: var(--olive); color: #E9E4DA; font-size: 12.5px; scroll-snap-align: start; }
.sample-banner__inner { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.sample-banner__tag { flex: none; padding: 0 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; }
.sample-banner a { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 240, .85); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--olive); font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.logo svg { width: 34px; height: 34px; }
.logo em { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: 0; text-transform: none; margin-right: 2px; }
.logo small { font-size: 10px; letter-spacing: .3em; color: var(--sage); margin-left: 6px; }
.site-nav ul { display: flex; gap: 34px; }
.site-nav a { text-decoration: none; font-size: 14.5px; color: var(--text); position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--clay); opacity: 0; transition: opacity .3s; }
.site-nav a:hover::after, .site-nav a.is-active::after { opacity: 1; }
.nav-toggle { display: none; }

.dots { position: fixed; right: 26px; top: 50%; z-index: 40; display: grid; gap: 14px; transform: translateY(-50%); }
.dots a { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--olive); transition: background .3s, transform .3s; }
.dots a.is-active { background: var(--olive); transform: scale(1.4); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.btn--solid { background: var(--olive); color: #fff; }
.btn--solid:hover { background: var(--sage); }
.btn--line { border: 1px solid var(--olive); color: var(--olive); }
.btn--line:hover { background: var(--olive); color: #fff; }

.kicker { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--clay); margin-bottom: 12px; }
.title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: var(--olive); letter-spacing: -.02em; line-height: 1.3; }
.body { margin-top: 20px; font-size: 17px; color: var(--sub); max-width: 32em; }
.head { text-align: center; margin-bottom: 56px; }

/* 한 화면씩 */
.panel { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding: 90px 0; scroll-snap-align: start; position: relative; }

/* 부드럽게 나타나기: 흐림 → 선명 */
.has-motion .soft { opacity: 0; filter: blur(8px); transform: translateY(16px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.has-motion .soft.is-in { opacity: 1; filter: none; transform: none; }

/* 히어로 */
.hero { background: var(--sand); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero__title .en { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 7.6vw, 112px); line-height: .98; color: var(--olive); letter-spacing: -.01em; }
.hero__title .ko { display: block; margin-top: 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--olive); letter-spacing: .02em; }
.hero__lead { margin-top: 22px; max-width: 28em; font-size: 17px; color: var(--sub); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 13px; color: var(--sub); letter-spacing: .08em; }
.has-motion .hero__hint.is-in { transform: translateX(-50%); }

.breath { position: relative; aspect-ratio: 1; width: min(460px, 100%); margin-left: auto; display: grid; place-items: center; }
.breath__arch { position: absolute; inset: 0 8% -10%; border-radius: 999px 999px 0 0; background: var(--sand-2); }
.breath__ring { position: absolute; border-radius: 50%; }
.breath__ring--1 { width: 46%; aspect-ratio: 1; background: var(--sage); opacity: .9; }
.breath__ring--2 { width: 66%; aspect-ratio: 1; background: var(--sage); opacity: .25; }
.breath__ring--3 { width: 86%; aspect-ratio: 1; border: 1px solid var(--sage); opacity: .6; }
.has-motion .breath__ring { animation: breathe 8s var(--ease) infinite; }
.has-motion .breath__ring--2 { animation-delay: .25s; }
.has-motion .breath__ring--3 { animation-delay: .5s; }
.breath__label { position: relative; font-size: 18px; font-weight: 600; color: #fff; letter-spacing: .1em; height: 1.6em; }
.breath__label span { display: block; text-align: center; }
.has-motion .breath__label span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.breath__label .out { display: none; }
.has-motion .breath__label .out { display: block; }
.has-motion .breath__label .in { animation: say-in 8s linear infinite; }
.has-motion .breath__label .out { animation: say-out 8s linear infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.72); } 50% { transform: scale(1); } }
@keyframes say-in { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes say-out { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }

/* 스튜디오 */
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.arch-art { margin: 0; }
.arch-art figcaption { margin-top: 10px; font-size: 12px; color: var(--sub); }
.values { margin-top: 40px; border-top: 1px solid var(--line); }
.values > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.values dt { font-family: var(--serif); font-size: 24px; color: var(--olive); }
.values dt em { font-size: 15px; color: var(--clay); margin-right: 10px; }
.values dd { color: var(--sub); align-self: center; }

/* 수업 */
.classes { background: var(--sand); }
.class-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.arch-card { position: relative; padding: 130px 26px 30px; border-radius: 999px 999px 18px 18px; background: var(--paper); text-align: center; transition: transform .6s var(--ease), background .6s var(--ease), color .6s; }
.arch-card__top { position: absolute; left: 50%; top: 34px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; border: 1px solid var(--sage); transition: transform .8s var(--ease), background .6s; }
.arch-card__en { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--clay); }
.arch-card h3 { margin: 4px 0 12px; font-size: 21px; color: var(--olive); }
.arch-card p:not(.arch-card__en) { font-size: 15px; color: var(--sub); }
.tag { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--olive); padding: 4px 12px; border-radius: 99px; background: var(--sand-2); }
.arch-card:hover { transform: translateY(-10px); background: var(--olive); }
.arch-card:hover h3, .arch-card:hover p:not(.arch-card__en) { color: #F1ECE4; }
.arch-card:hover .arch-card__top { transform: scale(1.25); background: var(--sage); }

/* 시간표 */
.schedule__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.tt { background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(63, 74, 60, .4); }
.tt__days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 20px; }
.tt__days button { padding: 12px 0; border: 0; border-radius: 14px; background: var(--paper); font: inherit; font-weight: 600; color: var(--sub); cursor: pointer; transition: background .3s, color .3s; }
.tt__days button[aria-selected="true"] { background: var(--olive); color: #fff; }
.tt__list li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.has-motion .tt__list li { animation: rise .6s var(--ease) both; }
.tt__list li:nth-child(2) { animation-delay: .06s; } .tt__list li:nth-child(3) { animation-delay: .12s; } .tt__list li:nth-child(4) { animation-delay: .18s; } .tt__list li:nth-child(5) { animation-delay: .24s; }
.tt__list time { font-family: var(--serif); font-size: 22px; color: var(--olive); }
.tt__list b { color: var(--olive); }
.tt__list small { display: block; color: var(--sub); font-size: 13px; }
.tt__list .lv { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--sand); color: var(--olive); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 강사 */
.instructors { background: var(--sand); }
.inst-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.inst { text-align: center; }
.inst__photo { width: min(240px, 80%); margin: 0 auto 22px; overflow: hidden; border-radius: 999px 999px 0 0; }
.inst__photo svg { transition: transform 1s var(--ease); }
.inst:hover .inst__photo svg { transform: scale(1.06); }
.inst h3 { font-size: 18px; color: var(--olive); }
.inst__role { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--clay); }
.inst__cert { margin-top: 6px; font-size: 14px; }

/* 이용권 */
.price-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price { padding: 44px 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: center; }
.price h3 { font-size: 20px; color: var(--olive); }
.price__en { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--clay); }
.price__val { margin: 26px 0 16px; font-size: 18px; }
.price p:last-child { font-size: 14.5px; color: var(--sub); }
.price--main { background: var(--olive); border-color: var(--olive); color: #E9E4DA; transform: translateY(-14px); }
.price--main h3 { color: #fff; }
.price--main .ph { border-color: rgba(255,255,255,.5); color: #fff; }
.note { margin-top: 30px; text-align: center; font-size: 14px; color: var(--sub); }

/* FAQ */
.faq { background: var(--sand); }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc__btn { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border: 0; background: none; font: inherit; font-size: 18px; font-weight: 600; color: var(--olive); text-align: left; cursor: pointer; }
.acc__btn span { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--olive); position: relative; transition: background .3s; }
.acc__btn span::before, .acc__btn span::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: var(--olive); transition: transform .4s var(--ease); }
.acc__btn span::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] span { background: var(--olive); }
.acc__btn[aria-expanded="true"] span::before, .acc__btn[aria-expanded="true"] span::after { background: #fff; transform: none; }
.acc__panel { padding: 0 50px 24px 0; color: var(--sub); }

/* 예약 */
.visit { background: var(--olive); color: #DCD6CA; }
.visit__inner { text-align: center; }
.visit .kicker { color: var(--clay); }
.visit__title { font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: #fff; line-height: 1.4; }
.visit__title em { font-family: var(--serif); font-weight: 400; font-size: 1.9em; color: #F1ECE4; }
.visit__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.visit .btn--solid { background: #F1ECE4; color: var(--olive); }
.visit .btn--solid:hover { background: var(--clay); color: #fff; }
.visit .btn--line { border-color: #F1ECE4; color: #F1ECE4; }
.visit__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.18); text-align: left; }
.visit__info dt { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--clay); }
.visit .ph { border-color: rgba(255,255,255,.4); color: #fff; }
.visit__note { margin-top: 24px; font-size: 12.5px; color: rgba(255,255,255,.5); }

.site-footer { padding: 30px 0; background: #343D31; color: rgba(255,255,255,.6); font-size: 13px; }
.site-footer__inner { display: grid; gap: 6px; }
.site-footer strong { color: #fff; }
.site-footer .ph { border-color: rgba(255,255,255,.3); color: #E9E4DA; }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; vertical-align: middle; }
.credit img { filter: brightness(0) invert(1); }

@media (max-width: 1023.98px) {
  .dots { display: none; }
  .nav-toggle { display: block; padding: 8px 18px; border: 1px solid var(--olive); border-radius: 99px; background: none; font: inherit; font-size: 14px; color: var(--olive); cursor: pointer; }
  .nav-toggle[aria-expanded="true"] { background: var(--olive); color: #fff; }
  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; z-index: 45; background: var(--sand); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; display: grid; place-items: center; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .site-nav a { font-size: 26px; font-weight: 600; color: var(--olive); }
  .panel { min-height: 0; }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero__grid, .about__grid, .schedule__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .breath { margin: 0 auto; width: min(360px, 90%); }
  .class-list { grid-template-columns: repeat(2, 1fr); }
  .about__grid .arch-art { max-width: 320px; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 40px); }
  .sample-banner__inner { align-items: flex-start; font-size: 12px; }
  .panel { padding: 72px 0; }
  .hero { padding-top: 40px; padding-bottom: 80px; }
  .hero__actions .btn { flex: 1 1 100%; padding: 16px; }
  .values > div { grid-template-columns: 1fr; gap: 4px; }
  .class-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .arch-card { padding: 100px 14px 22px; }
  .arch-card__top { top: 24px; width: 50px; height: 50px; margin-left: -25px; }
  .arch-card h3 { font-size: 17px; }
  .tt { padding: 18px; }
  .tt__list li { grid-template-columns: 70px 1fr; }
  .tt__list .lv { grid-column: 2; justify-self: start; }
  .inst-list, .price-list { grid-template-columns: 1fr; }
  .price--main { transform: none; }
  .visit__info { grid-template-columns: 1fr; text-align: center; }
  .visit__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
