:root {
  --bg: #F4F1EC;
  --ink: #2B2724;
  --acc: #8A7558;
  --line: #D9D2C7;
  --en: 'Cormorant Garamond', serif;
  --ko: 'Noto Serif KR', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --sec: clamp(96px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --envh: 0px;
}
html.staging { --envh: 24px; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
section[id], article[id] { scroll-margin-top: calc(80px + var(--envh)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
.js body { opacity: 0; transition: opacity .7s ease; }
.js body.ready { opacity: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--acc); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 880px; }

.label {
  display: block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--acc);
}
.en { font-family: var(--en); font-weight: 300; }
.ko { font-family: var(--ko); font-weight: 300; }
.tbd { color: var(--acc); font-size: .92em; font-style: normal; }
.tt { font-family: var(--ko); font-weight: 300; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.4; letter-spacing: -.01em; }
.tt-en { font-family: var(--en); font-weight: 300; font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: .02em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid var(--acc);
  color: var(--acc);
  font-size: 13px;
  letter-spacing: .2em;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--acc); color: var(--bg); }
.btn.fill { background: var(--acc); color: var(--bg); }
.btn.fill:hover { background: var(--ink); border-color: var(--ink); }
.btn.ink { border-color: var(--ink); color: var(--ink); }
.btn.ink:hover { background: var(--ink); color: var(--bg); }
.btn.sm { min-height: 42px; padding: 0 20px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.more { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; color: var(--acc); padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.more i { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.more i::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.more:hover { border-color: var(--acc); }
.more:hover i { width: 34px; }

.env-tag { position: fixed; inset: 0 0 auto; z-index: 60; height: 24px; line-height: 24px; text-align: center; font-size: 12px; letter-spacing: .12em; background: var(--ink); color: var(--bg); }

.hd {
  position: fixed;
  inset: var(--envh) 0 auto;
  z-index: 50;
  height: 96px;
  color: var(--bg);
  transition: background .4s, color .4s, height .4s, border-color .4s, transform .7s var(--ease);
  border-bottom: 1px solid transparent;
}
.hd.hide { transform: translateY(-100%); }
.hd .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.logo { font-family: var(--en); font-weight: 300; font-size: 24px; letter-spacing: .32em; line-height: 1; }
.gnb { display: flex; gap: 40px; }
.gnb a { font-size: 13px; letter-spacing: .2em; padding: 8px 0; position: relative; }
.gnb a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.gnb a:hover::after, .gnb a[aria-current]::after { right: .2em; }
.hd-r { display: flex; align-items: center; gap: 28px; }
.hd-tel, .hd-look { font-size: 13px; letter-spacing: .1em; }
.hd-look { padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.hd-look:hover, .hd-look[aria-current] { border-bottom-color: currentColor; }
.hd.on, .hd.solid { background: var(--bg); color: var(--ink); border-bottom-color: var(--line); }
.hd.on { height: 72px; }
.menu-btn { display: none; font-size: 12px; letter-spacing: .2em; height: 44px; }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.mnav a:not(.label):not(.mnav-sub) { font-family: var(--en); font-weight: 300; font-size: 38px; letter-spacing: .08em; line-height: 1.1; }
.mnav a[aria-current] { color: var(--acc); }
.mnav .mnav-sub { font-size: 15px; letter-spacing: .06em; margin-top: 8px; }
.mnav .label { margin-top: 20px; }
.menu-open .mnav { opacity: 1; visibility: visible; }
.menu-open .hd { color: var(--ink); background: var(--bg); }
.menu-open { overflow: hidden; }

.crumb { padding: calc(108px + var(--envh)) 0 0; font-size: 13px; letter-spacing: .04em; color: var(--acc); }
.crumb .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.crumb a { transition: color .3s; }
.crumb a:hover { color: var(--ink); }
.crumb i { width: 14px; height: 1px; background: var(--line); }
.crumb span { color: var(--ink); opacity: .7; }
.crumb + .page-top { padding-top: 32px; }
.crumb.over { position: absolute; left: 0; right: 0; top: 0; z-index: 2; color: rgba(244, 241, 236, .75); }
.crumb.over a:hover { color: var(--bg); }
.crumb.over span { color: var(--bg); opacity: 1; }
.crumb.over i { background: rgba(244, 241, 236, .4); }

/* padding 축약형 쓰지 말 것. .page-top.wrap 처럼 겹쳐 쓰면 좌우 --pad 가 0 으로 덮인다 */
.page-top { padding-top: calc(168px + var(--envh)); }
.page-top h1 { font-family: var(--ko); font-weight: 300; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.3; margin-top: 18px; }
.page-top .en-title { font-family: var(--en); font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .06em; color: var(--acc); margin-top: 10px; }
.page-top .lead { max-width: 560px; margin-top: 24px; opacity: .82; }
.page-top .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.page-top .tags span { font-size: 13px; color: var(--acc); border: 1px solid var(--line); padding: 3px 12px; }

.hero { position: relative; height: 175vh; height: 175svh; color: var(--bg); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-ph { position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc(var(--p, 0) * 12%) calc(var(--p, 0) * 9%)); }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; animation: zoom 10s ease-out forwards; }
.hero-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(43, 39, 36, .38), rgba(43, 39, 36, .08) 40%, rgba(43, 39, 36, .42)); }
.hero-in { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; opacity: calc(1 - var(--p, 0) * 2.4); translate: 0 calc(var(--p, 0) * -90px); }
.hero-logo { font-family: var(--en); font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: .42em; margin-right: -.42em; line-height: 1; }
.hero-logo span { display: inline-block; animation: rise 1.8s var(--ease) both; animation-delay: calc(.3s + var(--i) * .09s); }
.hero .label { color: var(--bg); letter-spacing: .3em; animation: fade 1.6s 1s both; }
.hero-sub { font-family: var(--ko); font-weight: 300; font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .04em; opacity: .9; animation: fade 1.6s 1.3s both; }
.hero-short { height: 70vh; height: 70svh; min-height: 480px; }
.hero-short .hero-pin { position: relative; height: 100%; min-height: 0; }
.scroll { position: absolute; left: 50%; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .3em; transform: translateX(-50%); opacity: calc(1 - var(--p, 0) * 5); }
.scroll i { display: block; width: 1px; height: 72px; background: rgba(244, 241, 236, .35); position: relative; overflow: hidden; }
.scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--bg); animation: drop 2.4s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(45%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes drop { to { top: 100%; } }

.ph { position: relative; overflow: hidden; background: var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s ease; }
a:hover .ph img { scale: 1.03; }
.px img { position: absolute; left: 0; top: -8%; height: 116%; }
.r43 { aspect-ratio: 4 / 3; }
.r34 { aspect-ratio: 3 / 4; }
.r45 { aspect-ratio: 4 / 5; }
.r32 { aspect-ratio: 3 / 2; }
.r169 { aspect-ratio: 16 / 9; }
.r21 { aspect-ratio: 2 / 1; }
.r11 { aspect-ratio: 1; }

.sec { padding: var(--sec) 0; }
.sec-sm { padding: clamp(56px, 7vw, 96px) 0; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-hd h2 { font-family: var(--en); font-weight: 300; font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: .02em; margin-top: 16px; }
.sec-hd h2.ko { font-family: var(--ko); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.3; letter-spacing: -.01em; }
.sec-hd p { max-width: 360px; font-size: 15px; opacity: .8; }

.card { display: block; }
.card .meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 20px; }
.card .name { font-family: var(--ko); font-weight: 300; font-size: 22px; }
.card .tag { font-size: 12px; letter-spacing: .08em; color: var(--acc); border: 1px solid var(--line); padding: 2px 10px; }
.card .pax { width: 100%; font-size: 14px; opacity: .7; }
.card .price { width: 100%; font-size: 14px; margin-top: 2px; }
.card .price .tbd { font-size: 12px; border: 1px solid var(--line); padding: 1px 8px; margin-left: 6px; }

.spin { position: relative; height: calc(100vh + var(--n) * 75vh); height: calc(100svh + var(--n) * 75svh); }
.spin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: 1360px; margin: 0 auto; padding: calc(96px + var(--envh)) var(--pad) 56px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.spin-media { grid-column: 1 / 8; position: relative; height: 100%; overflow: hidden; background: var(--line); }
.spin-media figure { position: absolute; inset: 0; clip-path: inset(100% 0 0); transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.spin-media figure.on, .spin-media figure.past { clip-path: inset(0); }
.spin-media img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale 2s var(--ease); }
.spin-media .on img { scale: 1; }
.spin-txt { grid-column: 9 / 13; }
.spin-count { font-family: var(--en); font-weight: 300; font-size: 16px; letter-spacing: .1em; color: var(--acc); }
.spin-count b { font-weight: 300; font-size: 44px; color: var(--ink); margin-right: 6px; }
.spin-list { display: grid; margin-top: 32px; }
.spin-list li { grid-area: 1 / 1; opacity: 0; translate: 0 18px; visibility: hidden; transition: opacity .4s, translate .4s, visibility .4s; }
.spin-list li.on { opacity: 1; translate: 0 0; visibility: visible; transition: opacity .9s .35s, translate 1.1s .35s var(--ease), visibility 0s; }
.spin-list .num { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.spin-list h3 { font-family: var(--ko); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.35; margin: 14px 0 18px; }
.spin-list p { font-size: 15px; opacity: .82; max-width: 340px; }
.spin-list .more { margin-top: 24px; }
.spin-bar { position: relative; height: 1px; margin-top: 48px; background: var(--line); }
.spin-bar i { position: absolute; inset: 0; background: var(--acc); transform-origin: 0 50%; scale: var(--sp, 0) 1; transition: scale .9s var(--ease); }
.spin-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; }
.spin-nav button { font-size: 13px; padding: 4px 0; opacity: .4; transition: opacity .3s; }
.spin-nav button.on, .spin-nav button:hover { opacity: 1; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--ko); font-weight: 300; font-size: clamp(17px, 1.6vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; border-right: 1px solid var(--acc); border-bottom: 1px solid var(--acc); transform: rotate(45deg) translateY(-4px); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq p { padding: 0 0 28px; max-width: 720px; font-size: 15px; opacity: .85; }

.info dt { font-size: 12px; letter-spacing: .2em; color: var(--acc); margin-top: 28px; }
.info dt:first-child { margin-top: 0; }
.info dd { margin-top: 8px; font-size: 16px; }
.info dd small { display: block; font-size: 14px; opacity: .7; }

.kv { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.kv div { padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 12px; letter-spacing: .2em; color: var(--acc); }
.kv dd { font-family: var(--ko); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); margin-top: 10px; }
.kv dd small { font-family: var(--sans); font-size: 14px; margin-left: 4px; }
.kv .wide { grid-column: 1 / -1; }
.kv .wide dd { font-size: 17px; }
.amen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; border-top: 1px solid var(--ink); }
.amen li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; }
.tbl th, .tbl td { padding: 18px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.tbl thead th { font-size: 12px; letter-spacing: .14em; color: var(--acc); }
.tbl tbody th { font-family: var(--ko); font-weight: 300; font-size: 17px; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.note { margin-top: 18px; font-size: 14px; opacity: .72; }
.note li { padding-left: 12px; position: relative; }
.note li::before { content: ''; position: absolute; left: 0; top: .85em; width: 4px; height: 1px; background: currentColor; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form .full { grid-column: 1 / -1; }
.field, .form label { display: grid; gap: 8px; font-size: 13px; color: var(--acc); letter-spacing: .04em; }
.field input, .field select, .field textarea, .form input, .form select, .form textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; border-radius: 0; width: 100%; min-width: 0;
}
.field textarea, .form textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--acc); }
.field input::placeholder, .form input::placeholder { color: var(--ink); opacity: .3; }
.field select, .form select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238A7558'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right center; padding-right: 20px; }
.field input[type="date"], .form input[type="date"] { -webkit-appearance: none; min-height: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { accent-color: var(--acc); width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); }
.stepper button { width: 44px; height: 44px; font-size: 18px; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { width: 36px; text-align: center; font-size: 16px; }
.err { margin-top: 14px; font-size: 14px; color: var(--acc); }
.hint { margin-top: 14px; font-size: 14px; opacity: .75; }
.msg { padding: 20px 24px; border: 1px solid var(--line); font-size: 15px; }
.msg b { display: block; font-family: var(--ko); font-weight: 300; font-size: 18px; margin-bottom: 4px; }

.slider { position: relative; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
.track::-webkit-scrollbar { display: none; }
.track.drag { cursor: grabbing; scroll-snap-type: none; }
.track img { -webkit-user-drag: none; user-select: none; }
.track figure { flex: 0 0 min(76%, 1120px); scroll-snap-align: start; aspect-ratio: 16 / 9; background: var(--line); }
.track figure img { width: 100%; height: 100%; object-fit: cover; }
.ctrl { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.slider .ctrl .prev, .slider .ctrl .next { width: 48px; height: 48px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color .3s; }
.slider .ctrl .prev:hover, .slider .ctrl .next:hover { border-color: var(--acc); }
.ctrl .count { font-family: var(--en); font-size: 17px; letter-spacing: .1em; min-width: 72px; }
.ctrl .cap { font-size: 14px; opacity: .7; margin-left: auto; }

main { position: relative; z-index: 1; background: var(--bg); }
.ft { position: sticky; bottom: 0; z-index: 0; background: var(--ink); color: var(--bg); padding: clamp(80px, 9vw, 128px) 0 48px; }
.ft-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(64px, 7vw, 96px); border-bottom: 1px solid rgba(244, 241, 236, .18); }
.ft-cta h2 { font-family: var(--en); font-weight: 300; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; }
.ft-cta p { font-family: var(--ko); font-weight: 300; font-size: 16px; margin-top: 18px; opacity: .8; }
.ft .btn { border-color: var(--bg); color: var(--bg); }
.ft .btn:hover { background: var(--bg); color: var(--ink); }
.ft-info { display: flex; justify-content: space-between; gap: 32px; padding-top: 40px; font-size: 14px; line-height: 2; }
.ft-info .logo { margin-bottom: 18px; display: block; }
.ft-info p { opacity: .72; }
.ft-info p span { white-space: nowrap; }
.ft-info span + span::before { content: ''; display: inline-block; width: 1px; height: 10px; background: currentColor; opacity: .4; margin: 0 12px; }
.ft-info .tbd { color: var(--bg); opacity: .8; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 12px; letter-spacing: .2em; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; font-size: 13px; opacity: .72; }
.ft-legal b { font-weight: 500; }
.ft-copy { margin-top: 20px; font-size: 12px; letter-spacing: .1em; opacity: .5; }

.mbar { display: none; }

.qk { position: fixed; right: 28px; bottom: 28px; z-index: 40; display: flex; flex-direction: column; width: 148px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(43, 39, 36, .1); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s, visibility .4s; }
.qk.on { opacity: 1; visibility: visible; transform: none; }
.qk a { padding: 13px 14px; font-size: 13px; letter-spacing: .04em; text-align: center; border-top: 1px solid var(--line); transition: color .2s; }
.qk a:hover { color: var(--acc); }
.qk .qk-go { display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; border-top: 0; background: var(--acc); color: var(--bg); }
.qk .qk-go:hover { background: var(--ink); color: var(--bg); }
.qk-go b { font-weight: 500; font-size: 15px; letter-spacing: .08em; }
.qk-sum { font-size: 12px; opacity: .85; }
.p-reserve .qk, .p-room .qk, .p-err .qk { display: none; }

.pop { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(43, 39, 36, .55); }
.pop-box { width: min(100%, 460px); max-height: 85vh; overflow: auto; background: var(--bg); padding: 36px 32px 24px; }
.pop-box h2 { font-family: var(--ko); font-weight: 300; font-size: 22px; line-height: 1.4; margin: 12px 0 18px; }
.pop-body { font-size: 15px; opacity: .85; }
.pop-body p + p { margin-top: 10px; }
.pop-ft { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .06em; }
.pop-ft button { padding: 8px 0; color: var(--acc); }
.pop-ft .pop-close { color: var(--ink); }

.err-page { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 7fr 5fr; align-items: center; padding: calc(140px + var(--envh)) 0 var(--sec); overflow: hidden; }
.err-page .wrap { grid-column: 1; }
.err-page h1 { font-family: var(--ko); font-weight: 300; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.3; margin: 20px 0 24px; }
.err-page p { max-width: 460px; opacity: .82; }
.err-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; max-width: 460px; margin: 40px 0 44px; border-top: 1px solid var(--ink); }
.err-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--ko); font-weight: 300; font-size: 17px; }
.err-links i { width: 18px; height: 1px; background: var(--acc); position: relative; transition: width .4s var(--ease); }
.err-links i::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--acc); border-right: 1px solid var(--acc); transform: rotate(45deg); }
.err-links a:hover i { width: 30px; }
.err-ph { grid-column: 2; height: 70vh; min-height: 420px; }
.err-ph img { width: 100%; height: 100%; object-fit: cover; }

.ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln > span { display: block; }
.js .rl .ln > span { translate: 0 110%; transition: translate 1.3s var(--ease); }
.js .rl .ln:nth-child(2) > span { transition-delay: .12s; }
.js .rl .ln:nth-child(3) > span { transition-delay: .24s; }
.js .rl.in .ln > span { translate: 0 0; }

.js .rv { opacity: 0; transform: translateY(6px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .15s; }
.js .rv.d2 { transition-delay: .3s; }
.js .rv.d3 { transition-delay: .45s; }

@media (pointer: fine) {
  .track { cursor: grab; }
}

@media (max-width: 1080px) {
  .gnb { gap: 28px; }
  .hd-tel { display: none; }
}

@media (max-width: 900px) {
  body { font-size: 15px; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .hd { height: 60px; }
  .hd.on { height: 60px; }
  .hero-ph img { object-position: 30% 50%; }
  .hero-ph { clip-path: inset(calc(var(--p, 0) * 9%) calc(var(--p, 0) * 6%)); }
  .logo { font-size: 20px; }
  .gnb, .hd-r { display: none; }
  .menu-btn { display: block; }
  .crumb { padding-top: calc(80px + var(--envh)); }
  .page-top { padding-top: calc(112px + var(--envh)); }

  .spin { height: calc(100vh + var(--n) * 65vh); height: calc(100svh + var(--n) * 65svh); }
  .spin-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; row-gap: 22px; padding: calc(76px + var(--envh)) var(--pad) calc(84px + env(safe-area-inset-bottom)); }
  .spin-media, .spin-txt { grid-column: 1; }
  .spin-count b { font-size: 30px; }
  .spin-list { margin-top: 12px; }
  .spin-list h3 { font-size: 24px; margin: 8px 0 10px; }
  .spin-list p { max-width: none; }
  .spin-list .more { margin-top: 14px; }
  .spin-bar { margin-top: 20px; }
  .spin-nav { display: none; }

  .sec-hd { flex-direction: column; align-items: flex-start; }
  .kv { grid-template-columns: 1fr 1fr; }
  .amen { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .track { gap: 10px; }
  .track figure { flex-basis: 88%; aspect-ratio: 4 / 3; }
  .ctrl .cap { display: none; }

  .ft-cta, .ft-info { flex-direction: column; align-items: flex-start; }
  .ft-nav { gap: 16px 24px; }
  .ft-info p span { display: block; }
  .ft-info span + span::before { display: none; }

  .err-page { grid-template-columns: 1fr; padding-top: calc(110px + var(--envh)); }
  .err-page .wrap, .err-ph { grid-column: 1; }
  .err-ph { height: 36vh; min-height: 220px; margin-top: 48px; }
  .err-links { grid-template-columns: 1fr; }

  .pop-box { padding: 28px 22px 18px; }

  .qk { display: none; }
  .mbar {
    display: grid;
    grid-template-columns: 88px 1fr;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a { height: 60px; display: flex; align-items: center; justify-content: center; font-size: 15px; }
  .mbar-tel { border-right: 1px solid var(--line); }
  .mbar-go { flex-direction: column; gap: 2px; line-height: 1.3; background: var(--acc); color: var(--bg); }
  .mbar-go .mbar-sum { font-size: 12px; opacity: .8; letter-spacing: .02em; }
  .mbar-go b { font-weight: 500; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .js body { opacity: 1; }
  .js .rl .ln > span { translate: none; }
  .hd.hide { transform: none; }
  .hero { height: 100vh; height: 100svh; }
  .hero-ph { clip-path: none; }
  .hero-in { opacity: 1; translate: none; }
  .spin-media figure { clip-path: none; opacity: 0; }
  .spin-media figure.on { opacity: 1; }
  .spin-media img { scale: 1; }
}
