/* ============================================================
   TRV-PORT-112 · 고요재 · MIN 미니멀·클린 (게스트하우스 포트폴리오)
   오프화이트 지면 · 머드 플럼(#8D4886) 악센트 · 헤어라인 그리드
   ── 같은 업종의 028(LUX 근사흑)·029(NAT 종이색 그린)·030(ILL 블루)과
      겹치지 않도록 306° 플럼 + 1px 헤어라인 + 넓은 여백으로 간다.
   ============================================================ */

/* ★SPEC v1.7 — 암묵 그리드 트랙이 max-content 로 부풀어 페이지를 밀어내는 것을 원천 차단 */
* { grid-auto-columns: minmax(0, 1fr); }
/* 그리드/플렉스 자식이 내재 폭을 주장하지 못하게 한다 (중간 래퍼까지 커버) */
:where([style*="grid"], .grid, [class*="__grid"], [class*="__inner"], [class*="__list"],
       .hero, .arch, .spec, .stay, .note, .foot__inner) > * { min-width: 0; }

:root {
  --brand:       #8d4886;
  --brand-ink:   #ffffff;   /* on #8D4886 = 6.17:1 실측 */
  --accent:      #241f27;
  --accent-ink:  #ffffff;
  --surface:     #faf8fa;
  --surface-alt: #f0ecf2;
  --font-display: var(--font-sans);
  --r: var(--r-sm);
}

body { background: var(--surface); }
::selection { background: var(--brand); color: var(--brand-ink); }

/* ── 공통 타입 ─────────────────────────────────────────────── */

.kicker, .label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--brand);
}
.label { color: var(--ink-3); }
.label--alt { color: var(--ink-2); }   /* --surface-alt 지면 전용 */

.h2 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; }
.h3 { font-size: var(--fs-xl); letter-spacing: var(--ls-tight); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; line-height: var(--lh-loose); }
.body-sm { font-size: var(--fs-sm); color: var(--ink-2); }

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--r);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--brand); color: var(--brand-ink); }
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--accent); color: var(--accent-ink); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

/* ── 헤더 ── 2줄 접힘 + 메뉴 가로 스크롤 (JS 없이 전 메뉴 노출) ─ */

.nav {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo {
  display: inline-flex; align-items: baseline; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
}
.nav__mark { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--brand); flex: none; align-self: center; }
.nav__menu {
  display: flex; order: 3; width: 100%;
  gap: var(--sp-5);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-1);
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a {
  font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }

@media (min-width: 1024px) {
  .nav__inner { flex-wrap: nowrap; padding-block: var(--sp-4); }
  .nav__menu { order: 0; width: auto; overflow: visible; padding-bottom: 0; }
}

/* ── 히어로 ──────────────────────────────────────────────────
   모바일: SPEC 8절 해법 B — 사진 행 26svh + 아래 solid 면에 텍스트.
   데스크탑: 2단 분할, grid-area 로 행까지 못박는다(v1.6).          */

.hero { --header-h: 104px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "text";
  border-bottom: 1px solid var(--line);
}
.hero__media { grid-area: media; position: relative; height: 26svh; min-height: 168px; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }

.hero__text {
  grid-area: text;
  display: flex; flex-direction: column; justify-content: center;
  gap: var(--sp-4);
  padding-inline: var(--gutter);
  padding-block: var(--sp-6) var(--sp-7);
}
.hero__title { font-size: var(--fs-4xl); line-height: 1.0; letter-spacing: var(--ls-tighter); }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--ink-3);
}

@media (min-width: 768px) {
  /* 34svh 는 768px 에서 CTA 하단이 뷰포트 경계에 5px까지 붙었다. 30svh 로 여유를 준다. */
  .hero__media { height: 30svh; }
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    grid-template-areas: "text media";
    min-height: calc(100svh - var(--header-h));
  }
  .hero__media { height: auto; }
  .hero__text {
    padding-block: var(--sp-9) var(--sp-8);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
}

/* ── 지표 (헤어라인 그리드) ────────────────────────────────── */

.facts__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.fact { padding-block: var(--sp-6); padding-right: var(--sp-5); border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3); }
.fact dd { font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.fact dd span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-3); margin-left: 3px; }

@media (min-width: 768px) {
  .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: var(--sp-5); }
  .fact:first-child { padding-left: 0; }
  .fact:last-child { border-right: 0; }
}

/* ── 공간 아카이브 (비대칭 2단 + sticky 제목) ──────────────── */

.arch__inner { display: grid; gap: var(--sp-7); }
.arch__head { display: grid; gap: var(--sp-4); align-content: start; }
.arch__list { display: grid; gap: var(--sp-7); }

.room { display: grid; gap: var(--sp-4); }
.room__media { border-radius: 0; }
.room__no {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide); color: var(--brand);
}
.room__name { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }
.room__desc { font-size: var(--fs-sm); color: var(--ink-2); }
.room__spec { display: flex; flex-wrap: wrap; gap: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); }
.room__spec dt { font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 2px; }
.room__spec dd { font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.room__body { display: grid; gap: var(--sp-2); }

@media (min-width: 768px) { .arch__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); } }
@media (min-width: 1024px) {
  .arch__inner { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--sp-9); }
  .arch__head { position: sticky; top: calc(var(--sp-9) + var(--sp-2)); }
}

/* ── 인용 (화면을 채우는 한 문장) ──────────────────────────── */

.quote-sec { background: var(--surface-alt); border-block: 1px solid var(--line); }
.quote { display: grid; gap: var(--sp-5); }
.quote p { font-size: var(--fs-2xl); font-weight: var(--fw-medium); line-height: 1.4; letter-spacing: var(--ls-tight); }
.quote footer { font-size: var(--fs-sm); color: var(--ink-2); }
.quote footer b { color: var(--ink); font-weight: var(--fw-semibold); }

/* ── 머무는 법 (2단 이미지 + 헤어라인 목록) ────────────────── */

.stay__inner { display: grid; gap: var(--sp-7); }
.stay__media { display: grid; gap: var(--sp-4); }
.stay__list { display: grid; gap: 0; }
.stay__list li { display: grid; gap: var(--sp-2); padding-block: var(--sp-5); border-top: 1px solid var(--line); }
.stay__list li:last-child { border-bottom: 1px solid var(--line); }
.stay__list b { font-size: var(--fs-md); }
.stay__list span { font-size: var(--fs-sm); color: var(--ink-2); }
.stay__list em { font-style: normal; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand); letter-spacing: var(--ls-wide); }

@media (min-width: 768px) { .stay__media { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stay__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: var(--sp-9); align-items: start; } }

/* ── 풀블리드 + 겹침 카드 ──────────────────────────────────── */

.note { position: relative; padding-bottom: var(--section-y); }
.note__media { border-radius: 0; aspect-ratio: 4 / 5; }
.note__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; gap: var(--sp-4);
}
.note__sign { font-size: var(--fs-sm); color: var(--ink-3); }
.note__sign b { color: var(--ink); }

@media (min-width: 768px) {
  .note__media { aspect-ratio: 21 / 9; }
  .note__card { margin-top: calc(var(--sp-10) * -1); max-width: 600px; padding: var(--sp-8); }
}

/* ── 티커 ──────────────────────────────────────────────────── */

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface-alt); padding-block: var(--sp-4); }
.ticker__track { display: flex; align-items: center; gap: var(--sp-6); width: max-content; animation: goyoTicker 44s linear infinite; }
.ticker__track span { font-size: var(--fs-sm); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.ticker__track i { width: 4px; height: 4px; border-radius: var(--r-full); background: var(--brand); flex: none; }
@keyframes goyoTicker { to { transform: translateX(-50%); } }

/* ── CTA ───────────────────────────────────────────────────── */

.cta { background: var(--accent); color: var(--accent-ink); padding-block: var(--section-y); }
.cta .label { color: color-mix(in oklab, var(--accent-ink) 62%, transparent); }
.cta__title { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; margin-block: var(--sp-4); }
.cta__lead { color: color-mix(in oklab, var(--accent-ink) 76%, transparent); font-size: var(--fs-md); max-width: 46ch; }
.cta__form { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); max-width: 540px; }
.cta__form input {
  flex: 1 1 220px; min-width: 0;
  padding: var(--sp-4) var(--sp-5);
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--accent-ink) 32%, transparent);
  border-radius: var(--r); color: var(--accent-ink); font-size: var(--fs-sm);
}
.cta__form input::placeholder { color: color-mix(in oklab, var(--accent-ink) 52%, transparent); }
.cta__form input:focus-visible { outline-color: var(--brand-ink); border-color: var(--brand); }
.cta__form .btn { background: var(--brand); color: var(--brand-ink); }
.cta__form .btn:hover { background: var(--accent-ink); color: var(--accent); }
.cta__note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: color-mix(in oklab, var(--accent-ink) 58%, transparent); }

@media (min-width: 768px) { .cta__title { font-size: var(--fs-4xl); } }

/* ── 서브페이지 공통 ───────────────────────────────────────── */

.phead { border-bottom: 1px solid var(--line); padding-block: var(--sp-8) var(--sp-7); }
.phead__inner { display: grid; gap: var(--sp-4); }
.phead h1 { font-size: var(--fs-3xl); letter-spacing: var(--ls-tighter); line-height: 1.06; }
.phead p { font-size: var(--fs-md); color: var(--ink-2); max-width: 52ch; }

.split { display: grid; gap: var(--sp-7); }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: var(--sp-9); } }
.split__aside { display: grid; gap: var(--sp-4); align-content: start; }
@media (min-width: 1024px) { .split__aside { position: sticky; top: calc(var(--sp-9) + var(--sp-2)); } }

.prose { display: grid; gap: var(--sp-5); max-width: 62ch; }
.prose p { font-size: var(--fs-md); color: var(--ink-2); line-height: var(--lh-loose); }
.prose h2 { font-size: var(--fs-xl); letter-spacing: var(--ls-tight); margin-top: var(--sp-4); }

.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th, .tbl td { padding: var(--sp-4) var(--sp-3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); font-weight: var(--fw-semibold); }
.tbl td b { font-weight: var(--fw-semibold); }
.tbl-wrap { overflow-x: auto; min-width: 0; }

.gal { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gal figure { border-radius: 0; }

.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-block: var(--sp-5); font-size: var(--fs-md); font-weight: var(--fw-semibold);
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 62ch; }

.form { display: grid; gap: var(--sp-4); max-width: 560px; }
.form__row { display: grid; gap: var(--sp-2); }
.form label { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: var(--sp-4); font-size: var(--fs-sm);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r); color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
@media (min-width: 768px) { .form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); } }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); background: var(--surface-alt); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.foot__addr { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); }
.foot__nav a { font-size: var(--fs-sm); color: var(--ink-2); }
.foot__nav a:hover { color: var(--brand); }
.foot__copy { grid-column: 1 / -1; padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); font-size: var(--fs-xs); color: var(--ink-2); }

@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

/* ============================================================
   ★SPEC 4-C — 브랜드 마크 · 아이콘 스프라이트 · 인터랙션 보강
   MIN 무드. 움직임은 짧고 작게. 헤어라인이 자라거나 색이 옮겨가는 정도로만.
   ============================================================ */

/* ── 브랜드 마크 — 한옥 처마(곡선 지붕 + 기둥 둘 + 마루선).
   "재(齋)"라는 이름과 서촌 도시한옥이라는 사물에서 곧장 나왔다.
   24px 에서 지붕 곡선·기둥·마루 셋이 분리돼 읽히도록 획을 2.2 로 잡았다. */
.nav__mark {
  display: block; box-shadow: none;
  width: 26px; height: 26px; flex: none; align-self: center;
  border-radius: 0; background: none;
  color: var(--brand);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease);
}
.foot__brand .nav__mark { width: 22px; height: 22px; }
.nav__logo:hover .nav__mark { transform: translateY(-2px); color: var(--accent); }
.foot__brand:hover .nav__mark { color: var(--accent); }

/* ── 아이콘 ────────────────────────────────────────────────── */
.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.btn__arrow { font-size: 1.25em; margin-left: 1px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.hero__meta span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero__meta .ico { font-size: var(--fs-base); color: var(--brand); transition: transform var(--dur) var(--ease-out); }
.hero__meta span:hover .ico { transform: translateY(-2px); }

.stay__list em { display: flex; align-items: center; gap: var(--sp-2); }
.stay__list .ico { font-size: var(--fs-base); transition: transform var(--dur) var(--ease-out); }
.stay__list li:hover .ico { transform: translateY(-2px); }

.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.5; }
.foot__addr span { display: flex; align-items: center; gap: var(--sp-3); }
.foot__addr .ico { font-size: var(--fs-lg); color: var(--brand); transition: transform var(--dur) var(--ease-out); }
.foot__addr span:hover .ico { transform: translateY(-2px); }

/* ── 내비 — 밑줄이 한쪽에서 그어진다 ───────────────────────── */
.nav__menu a { position: relative; }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 버튼 ──────────────────────────────────────────────────── */
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                   border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease-out); }
.btn:active { transform: translateY(1px); }

/* ── 큰 숫자 ───────────────────────────────────────────────── */
.fact { transition: background var(--dur) var(--ease); }
.fact:hover { background: var(--surface-alt); }
.fact dd { transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease); }
.fact:hover dd { transform: translateY(-2px); color: var(--brand); }
.fact dt { transition: color var(--dur) var(--ease); }
.fact:hover dt { color: var(--ink-2); }

/* ── 방 카드 — 사진이 당겨지고 번호가 밀린다 ───────────────── */
.room__media { overflow: hidden; }
.room__media img { transition: transform var(--dur-slow) var(--ease-out); }
.room:hover .room__media img { transform: scale(1.04); }
.room__no { transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease); }
.room:hover .room__no { color: var(--brand); letter-spacing: var(--ls-widest); }
.room__name { transition: color var(--dur) var(--ease); }
.room:hover .room__name { color: var(--brand); }
.room__spec { transition: border-color var(--dur) var(--ease); }
.room:hover .room__spec { border-top-color: var(--brand); }

/* ── 안내 목록 — 헤어라인이 브랜드색으로 바뀐다 ────────────── */
.stay__list li { transition: border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.stay__list li:hover { border-top-color: var(--brand); padding-left: var(--sp-3); }
.stay__list b { transition: color var(--dur) var(--ease); }
.stay__list li:hover b { color: var(--brand); }
.stay__list em { transition: color var(--dur) var(--ease); }

/* ── 티커 — 올리면 멈춘다 ──────────────────────────────────── */
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { transition: color var(--dur) var(--ease); }
.ticker:hover .ticker__track span { color: var(--ink); }

/* ── 기록 카드 ─────────────────────────────────────────────── */
.note__card { transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease); }
.note__card:hover { transform: translateY(-3px); }
.note__media img { transition: transform 900ms var(--ease-out); }
.note:hover .note__media img { transform: scale(1.03); }

/* ── 인용 ──────────────────────────────────────────────────── */
.quote { transition: transform var(--dur) var(--ease-out); }
.quote:hover { transform: translateX(3px); }

/* ── 표 · FAQ ──────────────────────────────────────────────── */
.tbl tbody tr { transition: background var(--dur) var(--ease); }
.tbl tbody tr:hover { background: var(--surface-alt); }
@keyframes goyoOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa[open] p { animation: goyoOpen var(--dur) var(--ease-out) both; }
.qa summary { transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.qa summary:hover { padding-left: var(--sp-3); }

/* ── 폼 ────────────────────────────────────────────────────── */
.cta__form input, .field input, .field select, .field textarea {
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.cta__form input:hover { border-color: color-mix(in oklab, var(--accent-ink) 52%, transparent); }
.cta__form input:focus { background: color-mix(in oklab, var(--accent-ink) 8%, transparent); }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }

/* ── 마당의 빛 — 히어로 아래 헤어라인이 아주 느리게 지나간다 ──
   MIN 무드라 움직이는 요소를 늘리지 않고, 1px 선 하나만 쓴다. */
@keyframes goyoLine {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.facts { position: relative; overflow: hidden; }
.facts::before {
  content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: goyoLine 9s var(--ease) infinite;
  pointer-events: none;
}

/* ── 대청 그림자 — 인용 섹션 지면이 아주 느리게 옮겨간다 ───── */
@keyframes goyoShade {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}
.quote-sec { position: relative; overflow: hidden; isolation: isolate; }
.quote-sec::before {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -10%; width: 46%;
  background: linear-gradient(90deg, color-mix(in oklab, var(--brand) 7%, transparent), transparent);
  animation: goyoShade 12s var(--ease) infinite;
  pointer-events: none;
}

/* ── 푸터 링크 ─────────────────────────────────────────────── */
.foot__nav a { position: relative; }
.foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 형제 계단식 지연 ──────────────────────────────────────── */
html.js .arch__list .reveal:nth-child(2) { transition-delay: 100ms; }
html.js .arch__list .reveal:nth-child(3) { transition-delay: 200ms; }
html.js .facts__grid .reveal:nth-child(2){ transition-delay: 60ms; }
html.js .facts__grid .reveal:nth-child(3){ transition-delay: 120ms; }
html.js .facts__grid .reveal:nth-child(4){ transition-delay: 180ms; }
html.js .stay__list .reveal:nth-child(2) { transition-delay: 80ms; }
html.js .stay__list .reveal:nth-child(3) { transition-delay: 160ms; }
html.js .stay__list .reveal:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark, .fact:hover dd, .room:hover .room__media img,
  .note__card:hover, .note:hover .note__media img, .quote:hover,
  .hero__meta span:hover .ico, .stay__list li:hover .ico, .foot__addr span:hover .ico,
  .btn:hover .btn__arrow, .btn:active { transform: none; }
  .facts::before, .quote-sec::before { animation: none; }
}


/* ===== 획일성 제거 — MIN 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(3.57rem, 2.2170rem + 5.7834vw, 7.13rem); }

/* 미니멀 — 밑줄을 없앤다. 여백과 색만으로 반응한다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a:hover { color: var(--ink); }
.foot__nav a, .nav__menu a { position: relative; }
.foot__nav a::before, .nav__menu a::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; opacity: 0;
  transform: translateY(-50%);
  transition: opacity var(--dur) var(--ease);
}
.foot__nav a:hover::before, .nav__menu a:hover::before { opacity: 1; }
.nav__logo:hover .nav__mark, .hero__meta span:hover .ico, .stay__list li:hover .ico, .foot__addr span:hover .ico, .fact:hover dd, .note__card:hover { transform: none; }
.nav__logo:hover .nav__mark, .hero__meta span:hover .ico, .stay__list li:hover .ico, .foot__addr span:hover .ico, .fact:hover dd, .note__card:hover { box-shadow: none; }
.kicker, .label { text-transform: none; letter-spacing: var(--ls-snug); font-weight: var(--fw-medium); }

/* ===== 티커 걷어내기 — MIN 무드에 마퀴는 어울리지 않는다 ==========
   내용(실적·목록·인증)은 실제 정보라 유지하고 장치만 바꾼다.
   ================================================================ */
/* 티커 → 얇은 구분선으로 나눈 한 줄. 흐르지 않는다. */
.ticker { overflow: visible; }
.ticker__track { animation: none !important; width: auto; flex-wrap: wrap; gap: 0; }
.ticker__track > span { padding-inline: var(--sp-5); border-left: 1px solid var(--line); }
.ticker__track > span:first-child { padding-left: 0; border-left: 0; }
.ticker__track > i { display: none; }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .hero__title em, html.tier-premium h1 em { font-style: italic; }
html.tier-premium .btn--solid { letter-spacing: .06em; }
