/* ETERNO YONGSAN · II — Light gallery / editorial */
:root {
  --bone: #f3efe7; --paper: #faf8f3; --stone: #e7e1d6; --ink: #1c1a17; --mute: #7a7268;
  --line: rgba(28,26,23,.14); --bronze: #8a6b48; --bronze-2: #a6855f;
  --en: "Cormorant Garamond", Georgia, serif; --ko: "Noto Serif KR", serif;
  --sans: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --slow: cubic-bezier(.19,1,.22,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.8; word-break: keep-all; -webkit-font-smoothing: antialiased; touch-action: manipulation; }
body.lock { overflow: hidden; }
* { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.wrap { width: min(1280px, 100% - 96px); margin: 0 auto; }
.kicker { font-family: var(--en); font-size: 14px; letter-spacing: .38em; text-transform: uppercase; color: var(--bronze); margin-bottom: 22px; }
.sec-title { font-family: var(--ko); font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.35; letter-spacing: -.02em; }
.serif-ko { font-family: var(--ko); font-weight: 400; }
.cut { position: absolute; right: 12px; bottom: 10px; font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.7); z-index: 2; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; background: var(--ink); color: var(--paper); font-size: 14px; letter-spacing: .08em; transition: .4s; }
.btn:hover { background: var(--bronze); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }

/* header */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: 80px; padding: 0 48px; display: flex; align-items: center; gap: 36px; transition: background .5s, box-shadow .5s; }
.hd.is-solid { background: rgba(243,239,231,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.hd__logo { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.hd__logo span { font-family: var(--en); font-size: 24px; letter-spacing: .42em; }
.hd__logo small { font-size: 10px; letter-spacing: .5em; color: var(--bronze); }
.hd__nav { display: flex; gap: 30px; font-family: var(--en); font-size: 16px; letter-spacing: .1em; }
.hd__nav a { opacity: .7; transition: .3s; } .hd__nav a:hover { opacity: 1; color: var(--bronze); }
.hd__tel { font-family: var(--en); font-size: 19px; letter-spacing: .05em; }
.hd__btn { height: 40px; padding: 0 20px; background: var(--ink); color: var(--paper); font-size: 13px; }
.hd__menu { display: none; width: 30px; height: 18px; position: relative; }
.hd__menu i { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: .4s; }
.hd__menu i:first-child { top: 4px; } .hd__menu i:last-child { bottom: 4px; }
.hd__menu.is-open i:first-child { top: 9px; transform: rotate(45deg); } .hd__menu.is-open i:last-child { bottom: 8px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--bone); padding: 100px 28px 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: .5s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu nav a { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--en); font-size: 30px; }
.menu nav b { font-size: 12px; font-weight: 400; color: var(--bronze); }
.menu__foot { display: grid; gap: 14px; } .menu__foot a { font-family: var(--en); font-size: 24px; }

/* hero: split */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr 1.25fr; padding-top: 80px; }
.hero__txt { display: flex; flex-direction: column; justify-content: center; padding: 60px 56px 120px 48px; }
.hero__title { font-family: var(--ko); font-weight: 300; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.32; letter-spacing: -.03em; margin: 6px 0 26px; }
.hero__sub { color: var(--mute); font-size: 17px; margin-bottom: 40px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__media { position: relative; overflow: hidden; margin: 0 48px 96px 0; }
.hero__poster, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.hero__poster { animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.07); } }
.hero__media video { opacity: 0; transition: opacity 1.6s; } .hero__media video.is-on { opacity: 1; }
.hero__ticker { position: absolute; left: 0; right: 0; bottom: 30px; overflow: hidden; white-space: nowrap; font-family: var(--en); font-size: 15px; letter-spacing: .3em; color: var(--mute); display: flex; }
.hero__ticker span { display: inline-block; padding-right: 0; animation: tick 40s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* reveal */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1.4s var(--slow), transform 1.4s var(--slow); } .rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--slow); } .rv-img.in { clip-path: inset(0 0 0 0); }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat p { display: flex; align-items: baseline; gap: 6px; }
.stat b { font-family: var(--en); font-weight: 300; font-size: clamp(54px, 6vw, 88px); line-height: 1; }
.stat small { font-size: 15px; color: var(--bronze); }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }

/* intro */
.intro { padding: 180px 0; }
.intro__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; align-items: center; }
.intro__img { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.pimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.intro__txt h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.5; margin-bottom: 32px; }
.intro__txt p:last-child { color: var(--mute); font-size: 16px; max-width: 440px; }

/* stories */
.story { padding: 40px 0 160px; }
.story > .wrap { margin-bottom: 90px; }
.st { width: min(1280px, 100% - 96px); margin: 0 auto 140px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: end; }
.st--r { grid-template-columns: 1fr 1.6fr; } .st--r .st__img { order: 2; }
.st__img { position: relative; overflow: hidden; }
.st__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.6s var(--slow); }
.st:hover .st__img img { transform: scale(1.03); }
.st__txt { padding-bottom: 12px; border-top: 1px solid var(--ink); padding-top: 26px; }
.st__no { font-family: var(--en); font-size: 15px; color: var(--bronze); letter-spacing: .1em; }
.st__en { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--mute); margin-top: 18px !important; }
.st h3 { font-size: clamp(22px, 2vw, 30px); margin: 6px 0 20px; }
.st__txt p:last-child { color: var(--mute); font-size: 15px; }

/* residence */
.res { padding: 170px 0 0; background: var(--stone); }
.res__in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.res__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.res__list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.res__t { font-family: var(--en); font-size: 24px; letter-spacing: .12em; }
.res__k { font-size: 13px; color: var(--mute); }
.res__list b { font-family: var(--en); font-weight: 300; font-size: 38px; }
.res__sum { border-bottom: 1px solid var(--ink) !important; } .res__sum b { color: var(--bronze); }
.res__wide { position: relative; margin-top: 120px; }
.res__wide img { width: 100%; height: auto; }

/* gallery */
.gal { padding: 170px 0; }
.gal > .wrap:first-child { margin-bottom: 60px; }
.gal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.g { margin: 0; position: relative; }
.g img { width: 100%; object-fit: cover; cursor: zoom-in; }
.g figcaption { margin-top: 10px; font-family: var(--en); font-style: italic; font-size: 15px; color: var(--mute); }
.g0 { grid-column: span 4; } .g0 img { aspect-ratio: 16/10; }
.g1 { grid-column: span 2; } .g1 img { aspect-ratio: 4/5; }
.g2, .g3, .g4 { grid-column: span 2; } .g2 img, .g3 img, .g4 img { aspect-ratio: 1/1; }
.g5 { grid-column: span 3; } .g6 { grid-column: span 3; } .g5 img, .g6 img { aspect-ratio: 3/2; }

/* overview */
.ov { padding: 150px 0; background: var(--paper); border-top: 1px solid var(--line); }
.ov__in { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.ov dl { border-top: 1px solid var(--ink); }
.ov dl div { display: grid; grid-template-columns: 150px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ov dt { color: var(--bronze); font-size: 14px; font-weight: 500; }

/* visit */
.visit { padding: 160px 0; }
.visit__in { display: grid; grid-template-columns: 1fr 480px; gap: 90px; align-items: start; }
.notice { margin: 36px 0 40px; padding: 24px 26px; background: var(--paper); border-left: 3px solid var(--bronze); }
.notice strong { display: block; font-family: var(--ko); font-weight: 500; font-size: 19px; margin-bottom: 4px; }
.notice p { color: var(--mute); font-size: 15px; }
.visit__dl { display: grid; grid-template-columns: 70px 1fr; gap: 10px 16px; font-size: 15px; }
.visit__dl dt { color: var(--bronze); }
.visit__dl a { font-family: var(--en); font-size: 26px; }
.visit__links { display: flex; gap: 8px; margin-top: 28px; }
.visit__links a { padding: 10px 18px; border: 1px solid var(--line); font-size: 13px; transition: .3s; }
.visit__links a:hover { border-color: var(--ink); }

/* form */
.fm { background: var(--paper); border: 1px solid var(--line); padding: 40px 36px; display: grid; gap: 16px; min-width: 0; }
.modal .fm { border: 0; }
.fm__title { font-size: 24px; margin-bottom: 4px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chips label { position: relative; display: block; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: block; text-align: center; padding: 11px 4px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: .3s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-size: 13px; font-weight: 500; }
.f small { font-size: 12px; color: var(--mute); }
.f input, .f select, .f textarea { width: 100%; min-width: 0; padding: 12px 14px; min-height: 48px; border: 1px solid #d6cfc3; background: #fff; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; }
.f input[type="date"] { display: block; text-align: left; }
.f select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--bronze); }
.hp { position: absolute; left: -9999px; }
.agree { font-size: 13px; color: var(--mute); }
.agree label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.agree input { width: 17px; height: 17px; accent-color: var(--ink); }
.agree details p { margin-top: 8px; font-size: 12px; }
.fm__msg { font-size: 13px; min-height: 1.2em; } .fm__msg.is-err { color: #a5402d; } .fm__msg.is-ok { color: #3d6b3a; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(28,26,23,.55); display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; visibility: hidden; transition: .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(480px, 100%); max-height: 100%; overflow-y: auto; overflow-x: hidden; background: var(--paper); }
.modal__x { position: absolute; top: 10px; right: 14px; font-size: 30px; font-weight: 200; color: var(--mute); z-index: 2; }

/* footer */
.ft { padding: 90px 0 120px; background: var(--ink); color: rgba(243,239,231,.6); font-size: 12px; line-height: 1.9; }
.ft__logo { font-family: var(--en); font-size: 22px; letter-spacing: .4em; color: var(--bone); margin-bottom: 28px !important; }
.ft__logo span { font-size: 12px; color: var(--bronze-2); }
.ft ul { list-style: none; padding: 0; margin: 20px 0 0; }
.ft__copy { margin-top: 20px !important; letter-spacing: .1em; }
.mbar { display: none; }

/* responsive */
@media (max-width: 1100px) {
  .hd__nav, .hd__tel { display: none; } .hd__menu { display: block; }
  .visit__in { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 860px) {
  .wrap, .st { width: calc(100% - 40px); }
  .hd { height: 64px; padding: 0 20px; } .hd__btn { display: none; } .hd__logo span { font-size: 19px; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; min-height: auto; }
  .hero__media { order: -1; margin: 0 20px; aspect-ratio: 4/5; }
  .hero__txt { padding: 40px 20px 80px; }
  .hero__ticker { bottom: 22px; font-size: 12px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 36px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:first-child { padding-left: 16px; }
  .intro { padding: 110px 0; } .intro__in { grid-template-columns: 1fr; gap: 44px; }
  .story > .wrap { margin-bottom: 56px; }
  .st, .st--r { grid-template-columns: 1fr; gap: 26px; margin-bottom: 90px; } .st--r .st__img { order: 0; }
  .st__img img { aspect-ratio: 4/3; }
  .res { padding-top: 110px; } .res__in { grid-template-columns: 1fr; gap: 40px; }
  .res__t { font-size: 19px; } .res__list b { font-size: 30px; } .res__wide { margin-top: 70px; }
  .gal { padding: 110px 0; }
  .gal__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g0, .g5, .g6 { grid-column: span 2; } .g1, .g2, .g3, .g4 { grid-column: span 1; }
  .g img { aspect-ratio: 1/1 !important; } .g0 img, .g5 img, .g6 img { aspect-ratio: 3/2 !important; }
  .g figcaption { font-size: 13px; }
  .ov { padding: 100px 0; } .ov__in { grid-template-columns: 1fr; gap: 36px; } .ov dl div { grid-template-columns: 1fr; gap: 2px; }
  .visit { padding: 100px 0; } .fm { padding: 30px 20px; }
  .ft { padding: 70px 0 110px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; position: fixed; inset: auto 0 0; z-index: 50; background: var(--ink); color: var(--bone); padding-bottom: env(safe-area-inset-bottom); }
  .mbar > * { height: 56px; display: flex; align-items: center; justify-content: center; font-size: 14px; border-right: 1px solid rgba(255,255,255,.12); }
  .mbar button:last-child { background: var(--bronze); border: 0; }
  body.lock .mbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv, .rv-img { opacity: 1; transform: none; clip-path: none; } }
