/* verset — layout idea: a printed programme in three verses (절).
   Dark, slow-moving water plates stand in for photography; type does the rest. */
:root {
  --ink: #0b1613;
  --ink-2: #12221d;
  --stone: #e9ece8;
  --stone-2: #dde2dd;
  --mute: #7d8f88;
  --lagoon: #3c9c84;
  --brass: #b89c6b;
  --rule-dark: rgba(233, 236, 232, 0.16);
  --rule-light: rgba(11, 22, 19, 0.18);
  --display: "Cormorant Garamond", "Gowun Batang", "Nanum Myeongjo", serif;
  --display-kr: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  --body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--stone);
  font-family: var(--body); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
::selection { background: var(--brass); color: var(--ink); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: none; align-items: center; justify-content: center;
  transition: clip-path 1.2s var(--ease) 0.15s;
  clip-path: inset(0 0 0 0);
}
.js .loader { display: flex; }
.loader__word { font-family: var(--display); font-size: clamp(40px, 8vw, 96px); font-style: italic; letter-spacing: 0.02em; overflow: hidden; display: flex; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.loader__word span:nth-child(2) { animation-delay: 0.06s; } .loader__word span:nth-child(3) { animation-delay: 0.12s; }
.loader__word span:nth-child(4) { animation-delay: 0.18s; } .loader__word span:nth-child(5) { animation-delay: 0.24s; }
.loader__word span:nth-child(6) { animation-delay: 0.3s; }
.loader__count { position: absolute; right: var(--gutter); bottom: 32px; font-size: 12px; letter-spacing: 0.2em; color: var(--mute); font-variant-numeric: tabular-nums; }
.loader__line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes rise { to { transform: translateY(0); } }

/* ---------- cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; border-radius: 50%; display: none; mix-blend-mode: difference; }
.has-cursor .cursor, .has-cursor .cursor-ring { display: block; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255,255,255,0.7); transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.4s; }
.cursor-ring.is-hover { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(255,255,255,0.12); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* ---------- header ---------- */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); mix-blend-mode: difference; color: #fff;
}
.head__mark { font-family: var(--display); font-style: italic; font-size: 26px; letter-spacing: 0.02em; }
.head__nav { display: flex; gap: clamp(16px, 3vw, 40px); font-size: 13px; letter-spacing: 0.08em; }
.link-u { position: relative; padding-bottom: 3px; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) clamp(32px, 6vh, 64px); overflow: hidden; }
.plate { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(160deg, #0f3a33, #0b1613 70%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,19,0.92) 0%, rgba(11,22,19,0.1) 55%, rgba(11,22,19,0.35) 100%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: clamp(24px, 4vh, 48px); }
.eyebrow { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); margin: 0; }
.hero h1 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(44px, 9.4vw, 148px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.hero h1 em { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--stone); }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span { display: block; }
.js .line > span { transform: translateY(112%); transition: transform 1.4s var(--ease); }
.loaded .line > span { transform: translateY(0); }
.line:nth-child(2) > span { transition-delay: 0.12s; } .line:nth-child(3) > span { transition-delay: 0.24s; }
.hero__foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--rule-dark); padding-top: 24px; }
.hero__foot p { margin: 0; max-width: 30em; color: rgba(233,236,232,0.82); }
.scroll-hint { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; color: var(--mute); }
.scroll-hint i { display: block; width: 1px; height: 44px; background: var(--rule-dark); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--brass); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(96px, 18vh, 220px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; }
.manifesto__label { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); padding-top: 14px; }
.manifesto p { font-family: var(--display-kr); font-size: clamp(26px, 4.2vw, 60px); line-height: 1.45; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.manifesto .w { opacity: 0.16; transition: opacity 0.5s linear; }
.manifesto .w.on { opacity: 1; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--rule-dark); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 56px; padding-right: 56px; animation: slide 38s linear infinite; font-family: var(--display); font-style: italic; font-size: clamp(28px, 4vw, 54px); color: rgba(233,236,232,0.9); }
.marquee__track span:nth-child(even) { color: var(--brass); font-style: normal; font-size: 0.5em; align-self: center; letter-spacing: 0.3em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- verses ---------- */
.verse { padding: clamp(80px, 14vh, 180px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.verse:nth-of-type(even) .verse__media { order: 2; }
.verse__media { position: sticky; top: 96px; }
.frame { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - 150px); overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease); }
.frame.in { clip-path: inset(0 0 0 0); }
.no-js .frame, html:not(.js) .frame { clip-path: none; }
.frame .plate { transform: scale(1.18); will-change: transform; }
.frame__no { position: absolute; left: 20px; bottom: 8px; z-index: 2; font-family: var(--display); font-style: italic; font-size: clamp(88px, 13vw, 200px); line-height: 1; color: rgba(233,236,232,0.92); mix-blend-mode: overlay; }
.frame__cap { position: absolute; right: 18px; top: 18px; z-index: 2; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(233,236,232,0.8); }
.verse__head { display: grid; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--rule-dark); }
.verse__head h2 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(40px, 6vw, 88px); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.verse__head h2 em { font-family: var(--display); font-style: italic; color: var(--mute); font-size: 0.5em; margin-left: 0.4em; }
.verse__head p { margin: 0; color: var(--mute); max-width: 32em; }

.stay { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--rule-dark); overflow: hidden; }
.stay::before { content: ""; position: absolute; inset: 0; background: var(--ink-2); transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease); }
.stay:hover::before { transform: scaleY(1); }
.stay > * { position: relative; transition: transform 0.7s var(--ease); }
.stay:hover .stay__body { transform: translateX(14px); }
.stay__idx { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--brass); align-self: start; padding-top: 6px; }
.stay__where { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--lagoon); }
.stay h3 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; margin: 4px 0 2px; }
.stay h3 small { display: block; font-family: var(--display); font-style: italic; font-size: 0.62em; color: var(--mute); letter-spacing: 0.02em; }
.stay p { margin: 8px 0 0; color: rgba(233,236,232,0.72); font-size: 15px; max-width: 34em; }
.stay__go { width: 56px; height: 56px; border: 1px solid var(--rule-dark); border-radius: 50%; display: grid; place-items: center; transition: background 0.5s var(--ease), border-color 0.5s, transform 0.7s var(--ease); margin-right: 8px; }
.stay__go svg { width: 18px; height: 18px; transition: transform 0.7s var(--ease); }
.stay:hover .stay__go { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.stay:hover .stay__go svg { transform: rotate(-45deg); }

/* ---------- criteria (light section) ---------- */
.light { background: var(--stone); color: var(--ink); margin-top: clamp(96px, 16vh, 200px); }
.criteria { padding: clamp(88px, 14vh, 180px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); }
.criteria h2 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(34px, 5vw, 72px); line-height: 1.15; margin: 0; letter-spacing: -0.02em; position: sticky; top: 110px; align-self: start; }
.criteria ol { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.criteria li { counter-increment: c; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--rule-light); }
.criteria li:last-child { border-bottom: 1px solid var(--rule-light); }
.criteria li::before { content: counter(c, decimal-leading-zero); font-family: var(--display); font-style: italic; font-size: 22px; color: #8a6f3f; }
.criteria h3 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(20px, 2.2vw, 28px); margin: 0 0 6px; }
.criteria p { margin: 0; color: #46564f; max-width: 36em; }
.disclose { font-size: 13px; color: #46564f; padding: 0 var(--gutter) 56px; max-width: 60em; margin: 0; }

/* ---------- CTA + footer ---------- */
.cta { padding: clamp(96px, 16vh, 200px) var(--gutter); display: grid; gap: 40px; justify-items: start; }
.cta h2 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(36px, 7vw, 112px); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.cta h2 em { font-family: var(--display); font-style: italic; color: var(--brass); }
.cta__row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; border: 1px solid var(--stone); border-radius: 999px; font-size: 14px; letter-spacing: 0.06em; overflow: hidden; background: none; color: inherit; font-family: inherit; transition: color 0.6s var(--ease); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--stone); border-radius: 999px; transform: translateY(101%); transition: transform 0.6s var(--ease); }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; }
.btn--solid { background: var(--stone); color: var(--ink); }
.btn--solid::before { background: var(--brass); }
.light .btn { border-color: var(--ink); } .light .btn::before { background: var(--ink); } .light .btn:hover { color: var(--stone); }

.foot { border-top: 1px solid var(--rule-dark); padding: 48px var(--gutter) 28px; display: grid; gap: 40px; overflow: hidden; }
.foot__top { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; font-size: 13px; color: var(--mute); }
.foot__top p { margin: 0; max-width: 36em; }
.foot__links { display: flex; gap: 28px; color: var(--stone); }
.foot__word { font-family: var(--display); font-style: italic; font-size: clamp(96px, 27vw, 460px); line-height: 0.8; letter-spacing: -0.03em; margin: 0 0 -0.06em; color: rgba(233,236,232,0.08); user-select: none; white-space: nowrap; }

/* ---------- business page ---------- */
.b-hero { position: relative; padding: clamp(150px, 26vh, 280px) var(--gutter) clamp(56px, 10vh, 120px); overflow: hidden; }
.b-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(11,22,19,0.5) 100%); }
.b-hero > div { position: relative; z-index: 2; display: grid; gap: 28px; }
.b-hero h1 { font-family: var(--display-kr); font-weight: 400; font-size: clamp(40px, 8vw, 124px); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.b-hero p { margin: 0; max-width: 34em; color: rgba(233,236,232,0.8); }
.b-grid { padding: clamp(56px, 10vh, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.b-list { list-style: none; margin: 0; padding: 0; }
.b-list li { padding: 26px 0; border-top: 1px solid var(--rule-dark); display: grid; gap: 6px; }
.b-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.b-list h3 { font-family: var(--display-kr); font-weight: 400; font-size: 24px; margin: 0; }
.b-list p { margin: 0; color: var(--mute); font-size: 15px; }
.form { display: grid; gap: 30px; }
.field { display: grid; gap: 8px; position: relative; }
.field label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--rule-dark); color: var(--stone); font: inherit; font-size: 18px; padding: 10px 0 14px; border-radius: 0; transition: border-color 0.5s; }
.field select { appearance: none; } .field select option { color: #111; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); }
.form__note { font-size: 13px; color: var(--mute); margin: 0; }
.form__status { font-size: 14px; color: var(--brass); margin: 0; min-height: 1.75em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .manifesto, .verse, .criteria, .b-grid { grid-template-columns: minmax(0, 1fr); }
  .verse:nth-of-type(even) .verse__media { order: 0; }
  .verse__media { position: relative; top: 0; }
  .frame { aspect-ratio: 4 / 3; }
  .criteria h2 { position: static; }
  .head__nav a:first-child { display: none; }
}
@media (max-width: 520px) {
  .stay { grid-template-columns: 30px minmax(0, 1fr); }
  .stay__go { grid-column: 2; width: 46px; height: 46px; margin-top: 8px; }
  .criteria li { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .line > span { opacity: 1; transform: none; }
  .frame { clip-path: none; } .manifesto .w { opacity: 1; }
  .js .loader { display: none; }
}
