/* ============================================================
   TEC-BOOK-107 · 아메시스 · LUX 럭셔리 (B2B 솔루션 · 데모 미팅 예약)
   ◼ 다크 지면 #150E15 (HSL L 6.9%) · 브랜드 오키드 #C370CD (H 293.5°) · 명조 헤드라인
   ── 같은 TEC 의 019(NEO 다크 251°) 와 43° 이격. 019 는 네온 그린 악센트의
      원페이지 LP, 107 은 명조·저채도 오키드의 4페이지 예약형이라 정면으로 갈린다.
   ============================================================ */

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

:root {
  --brand:       #c370cd;
  --brand-ink:   #1a0f1e;
  --accent:      #dfd2e8;
  --accent-ink:  #1a0f1e;
  --surface:     #150e15;
  --surface-alt: #201721;

  /* ★v1.2 — 다크 지면이라 중립색 5개를 함께 재정의한다 */
  --ink:         #f3edf5;   /* 16.5:1 on --surface */
  --ink-2:       #b3a4b8;   /*  8.1:1 on --surface · 7.4:1 on --surface-alt */
  --ink-3:       #9c8ea3;   /*  6.2:1 on --surface */
  --line:        #2e2331;
  --line-strong: #4a3b50;

  --font-display: var(--font-serif);
  --r: var(--r-sm);
}

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

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

.kicker {
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--brand);
}
.label {
  font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--ink-3);
}
/* --surface-alt 위에서는 --ink-3 대신 --ink-2 (SPEC v1.6 2번) */
.section--alt .label, .section--alt .muted, .foot .label { color: var(--ink-2); }

.h2 { font-family: var(--font-display); font-size: var(--fs-3xl); letter-spacing: var(--ls-tight); line-height: 1.14; }
.h3 { font-family: var(--font-display); font-size: var(--fs-xl); letter-spacing: var(--ls-snug); line-height: 1.28; }
.h4 { font-family: var(--font-display); font-size: var(--fs-lg); letter-spacing: var(--ls-snug); }
.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; line-height: var(--lh-loose); }
.muted { font-size: var(--fs-sm); color: var(--ink-3); }
.lede { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); max-width: 36ch; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-7);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wide);
  border-radius: var(--r);
  transition: background var(--dur-slow) var(--ease), color var(--dur-slow) var(--ease),
              border-color var(--dur-slow) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: var(--sp-3) var(--sp-5); }
/* 브랜드 컬러 배경 위 라벨은 --brand-ink (#C370CD / #1A0F1E = 5.76:1) */
.btn--brand { background: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--accent); color: var(--accent-ink); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: var(--brand); color: var(--brand-ink); }
.btn--line { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }

/* ── 헤더 ──────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; 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: center; gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-lg); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
/* 브랜드 마크 — 자수정 컷 스톤 (인라인 SVG · currentColor)
   오키드는 --surface 5.7:1 · --surface-alt 5.4:1 로 다크 지면 양쪽에서 안전하다. */
.nav__mark {
  width: 26px; height: 26px; flex: none;
  color: var(--brand);
  transition: color var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out);
}
.nav__menu {
  display: flex; order: 3; width: 100%;
  gap: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nav__menu::-webkit-scrollbar { display: none; }
.nav__menu a {
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--ink-2); white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__menu a:hover { color: var(--brand); }
.nav__menu a[aria-current="page"] { color: var(--ink); }

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

/* ── 히어로 ────────────────────────────────────────────────── */

/* ★ 모바일은 SPEC 8절 해법 B(사진 행 분리)를 쓴다.
   해법 A(스크림 오버레이)로도 대비는 넉넉했지만(14~16:1), 이 히어로 사진은
   검정 바탕의 보라 연무라 어두운 지면 위에서 스크림을 0까지 걷어내도
   "사진이 실제로 보이는 면적"이 9.0% 에 그쳤다 (8절 1번 하한 10% 미달).
   사진을 26svh 전용 행으로 분리하면 사진은 전면 노출되고 텍스트는 solid 면 위로
   올라와 대비 문제가 구조적으로 사라진다. */
.hero {
  --header-h: 108px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 26svh minmax(0, 1fr);
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__media { grid-area: 1 / 1 / 2 / 2; position: relative; z-index: 0; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero__text {
  grid-area: 2 / 1 / 3 / 2;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  gap: var(--sp-5);
  padding-inline: var(--gutter);
  padding-block: var(--sp-6) var(--sp-8);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl); line-height: 1.06; letter-spacing: var(--ls-tight);
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 32ch; line-height: var(--lh-loose); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hero__seal {
  align-self: start;
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2);
}
.hero__seal i { width: 6px; height: 6px; background: var(--brand); flex: none; transform: rotate(45deg); }

@media (min-width: 1024px) {
  /* 데스크탑은 2단 분할로 전환한다. grid-area 로 행까지 못박는다 (SPEC v1.6). */
  .hero {
    --header-h: 74px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    grid-template-rows: minmax(0, 1fr);
    padding-top: 0;
  }
  .hero__text  { grid-area: 1 / 1 / 2 / 2; }
  .hero__media { grid-area: 1 / 2 / 2 / 3; position: relative; }
  /* 1024×768 실측에서 명조 --fs-4xl(80px) 헤드라인이 5줄로 접혀 CTA 가 첫 화면 밖으로
     밀렸다. 상단 여백을 sp-9 → sp-7 로 줄이고 헤드라인을 3줄로 다시 끊었다. */
  .hero__text {
    padding-block: calc(var(--header-h) + var(--sp-7)) var(--sp-7);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-7);
  }
}
@media (min-width: 1280px) {
  .hero__text { padding-block: calc(var(--header-h) + var(--sp-9)) var(--sp-8); padding-right: var(--sp-8); }
}

/* ── 페이지 헤더 ───────────────────────────────────────────── */

.phead { position: relative; padding-top: calc(108px + var(--sp-8)); padding-bottom: var(--sp-7); border-bottom: 1px solid var(--line); overflow: hidden; }
.phead::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 90%;
  background: radial-gradient(ellipse 50% 60% at 30% 40%, color-mix(in oklab, var(--brand) 26%, transparent), transparent 70%);
  pointer-events: none;
}
.phead__inner { position: relative; display: grid; gap: var(--sp-5); }
.phead h1 { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: var(--ls-tight); }
@media (min-width: 1024px) {
  .phead { padding-top: calc(74px + var(--sp-9)); }
  .phead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--sp-8); align-items: end; }
}

/* ── 지표 ──────────────────────────────────────────────────── */

.figs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fig { padding-block: var(--sp-6); border-bottom: 1px solid var(--line); display: grid; gap: var(--sp-2); }
.fig dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); }
.fig dd { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); line-height: 1; }
.fig dd span { font-size: var(--fs-sm); font-weight: var(--fw-normal); color: var(--ink-3); margin-left: 4px; }
@media (min-width: 768px) { .figs { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--sp-6); } }

/* ── 기능 카드 ─────────────────────────────────────────────── */

.feat__inner { display: grid; gap: var(--sp-8); }
.feat__head { display: grid; gap: var(--sp-4); align-content: start; }
.feat__list { display: grid; gap: var(--sp-6); }
.feat__item {
  display: grid; gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-alt);
}
.feat__item .img-slot { border-radius: var(--r); }
/* v1.8 #308 — 뒤에 오는 `.feat__item p` 에 색이 덮이지 않도록 복합 선택자로 올린다. */
.feat__item p.feat__num { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); color: var(--brand); }
.feat__item p { font-size: var(--fs-sm); color: var(--ink-2); line-height: var(--lh-loose); }
@media (min-width: 768px) { .feat__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); } }
@media (min-width: 1024px) {
  .feat__inner { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--sp-9); }
  .feat__head { position: sticky; top: var(--sp-9); }
}

/* ── 스토리 (풀블리드 + 겹침 카드) ─────────────────────────── */

.story { position: relative; padding-bottom: var(--section-y); }
.story__media { border-radius: 0; aspect-ratio: 4 / 5; }
.story__card {
  position: relative; margin-top: calc(var(--sp-8) * -1);
  padding: var(--sp-6);
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  display: grid; gap: var(--sp-4);
}
.story__list { display: grid; gap: var(--sp-3); margin-top: var(--sp-2); }
.story__list li {
  display: flex; gap: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2);
}
.story__list b { color: var(--ink); min-width: 6em; flex: none; }
@media (min-width: 768px) {
  .story__media { aspect-ratio: 21 / 9; }
  .story__card { margin-top: calc(var(--sp-10) * -1); margin-right: auto; max-width: 640px; padding: var(--sp-8); }
}

/* ── 인용 ──────────────────────────────────────────────────── */

.pull { position: relative; background: var(--surface-alt); border-block: 1px solid var(--line); overflow: hidden; }
.pull::before {
  content: ""; position: absolute; inset: -30% -10%;
  background: radial-gradient(ellipse 40% 60% at 78% 30%, color-mix(in oklab, var(--brand) 22%, transparent), transparent 68%);
  pointer-events: none;
}
.pull blockquote { position: relative; display: grid; gap: var(--sp-5); text-align: center; }
.pull p { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.42; letter-spacing: var(--ls-snug); }
.pull footer { font-size: var(--fs-sm); color: var(--ink-2); }
.pull footer b { color: var(--ink); }

/* ── 예약 (데모 신청) ──────────────────────────────────────── */

.book { display: grid; gap: var(--sp-7); }
.book__panel {
  padding: var(--sp-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface-alt);
  display: grid; gap: var(--sp-5);
  min-width: 0;
}
.book__step { display: grid; gap: var(--sp-4); min-width: 0; }
.book__legend {
  display: flex; align-items: baseline; gap: var(--sp-3);
  font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2);
}
.book__legend b { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--brand); }

/* 날짜 칩 — 가로 스크롤. 조상 사슬 전부 min-width:0 이 걸려 있어 밀리지 않는다. */
.days { display: flex; gap: var(--sp-3); overflow-x: auto; padding-bottom: var(--sp-2); scrollbar-width: thin; min-width: 0; }
.days::-webkit-scrollbar { height: 6px; }
.days::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-full); }
/* ★ position:relative 필수. 이게 없으면 abspos 인 라디오 인풋의 컨테이닝 블록이
   .days(overflow-x:auto) 바깥이 되어 클리핑을 빠져나가고, 375px 에서 문서 폭이
   766px 로 부푼다. 실측으로 잡은 결함이다. .slot .kind 도 같은 이유로 걸어둔다. */
.day { flex: none; position: relative; }
.day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.day span {
  display: grid; gap: 2px; justify-items: center;
  width: 68px; padding: var(--sp-3) var(--sp-2);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: var(--fs-xs); color: var(--ink-2); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.day b { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); font-weight: var(--fw-bold); }
.day i, .day em { font-style: normal; font-size: var(--fs-xs); }
.day em { color: var(--ink-3); }
.day input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.day input:checked + span b,
.day input:checked + span em { color: var(--brand-ink); }
.day input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.day input:disabled + span { opacity: .38; cursor: not-allowed; }

/* 시간 슬롯 */
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot span {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: var(--fs-sm); color: var(--ink); cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.slot i { font-style: normal; font-size: var(--fs-xs); color: var(--ink-3); }
.slot input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.slot input:checked + span i { color: var(--brand-ink); }
.slot input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.slot input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot input:disabled + span i { text-decoration: none; }
@media (min-width: 768px) { .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 미팅 유형 */
.kinds { display: grid; gap: var(--sp-3); }
.kind { position: relative; }
.kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind span {
  display: grid; gap: var(--sp-1);
  padding: var(--sp-4);
  border: 1px solid var(--line-strong); border-radius: var(--r);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.kind b { font-size: var(--fs-sm); }
.kind em { font-style: normal; font-size: var(--fs-xs); color: var(--ink-2); }
.kind input:checked + span { border-color: var(--brand); background: color-mix(in oklab, var(--brand) 16%, transparent); }
.kind input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (min-width: 768px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

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

/* 요약 */
.summary {
  display: grid; gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--brand); border-radius: var(--r);
  background: color-mix(in oklab, var(--brand) 12%, var(--surface));
  align-content: start;
}
.summary dl { display: grid; gap: var(--sp-3); }
.summary dt { font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-2); }
.summary dd { font-size: var(--fs-sm); }

@media (min-width: 1024px) {
  .book { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: start; }
  .book__panel { grid-row: span 2; }
  .summary { position: sticky; top: var(--sp-9); }
}

/* ── 비대칭 2단 ────────────────────────────────────────────── */

.split { display: grid; gap: var(--sp-6); align-items: center; }
.split__body { display: grid; gap: var(--sp-4); justify-items: start; }
@media (min-width: 768px) {
  .split { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--sp-8); }
  .split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .split--rev .split__media { order: 2; }
}

/* ── FAQ ───────────────────────────────────────────────────── */

.faq__inner { display: grid; gap: var(--sp-6); }
.faq__head { display: grid; gap: var(--sp-4); align-content: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { 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-family: var(--font-display); 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: 13px; height: 13px; 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: 64ch; line-height: var(--lh-loose); }
@media (min-width: 1024px) {
  .faq__inner { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--sp-9); }
  .faq__head { position: sticky; top: var(--sp-9); }
}

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

.cta { position: relative; overflow: hidden; padding-block: var(--section-y); border-top: 1px solid var(--line); }
.cta::before {
  content: ""; position: absolute; inset: -30% -10%;
  background: radial-gradient(ellipse 46% 60% at 24% 46%, color-mix(in oklab, var(--brand) 30%, transparent), transparent 68%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta__title { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: var(--ls-tight); margin-block: var(--sp-4); }
.cta__lead { color: var(--ink-2); font-size: var(--fs-md); max-width: 46ch; line-height: var(--lh-loose); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
@media (min-width: 768px) { .cta__title { font-size: var(--fs-4xl); } }

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

.foot { padding-block: var(--sp-8) var(--sp-6); border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-size: var(--fs-lg); 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-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; 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); 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)
   LUX 는 크게 움직이지 않는다. 느리고 짧게, 빛이 스치는 정도로만 반응시킨다.
   ============================================================ */

.ico { display: inline-block; 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); }
.btn:active .btn__arrow { transform: translateX(1px); }
.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease); }
.btn--brand:hover { box-shadow: 0 10px 30px color-mix(in oklab, var(--brand) 30%, transparent); }

/* ── 브랜드 마크 : 원석의 패싯이 차례로 드러난다 ───────────── */
@keyframes facetIn {
  from { opacity: 0; transform: translateY(-3px) scale(.92); }
  to   { opacity: 1; transform: none; }
}
.nav__mark path { transform-origin: 16px 16px; }
html.js .nav__mark path:nth-of-type(1) { animation: facetIn .6s var(--ease-out) .05s backwards; }
html.js .nav__mark path:nth-of-type(2) { animation: facetIn .6s var(--ease-out) .22s backwards; }
html.js .nav__mark path:nth-of-type(3) { animation: facetIn .6s var(--ease-out) .34s backwards; }
.nav__logo:hover .nav__mark { color: var(--accent); transform: rotate(8deg) scale(1.06); }
.foot__brand .nav__mark { width: 22px; height: 22px; }
.foot__brand:hover .nav__mark { color: var(--accent); transform: rotate(-8deg); }

/* ── 내비 : 밑줄이 한쪽에서 그어진다 ───────────────────────── */
.nav__menu a { position: relative; padding-block: 2px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; 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; }

/* ── 히어로 인장 : 마름모가 천천히 돈다 ────────────────────── */
@keyframes sealTurn { to { transform: rotate(405deg); } }
.hero__seal i { transition: background var(--dur) var(--ease); }
html.js .hero__seal i { animation: sealTurn 9s linear infinite; }
.hero__seal { transition: letter-spacing var(--dur) var(--ease); }
.hero__seal:hover { letter-spacing: var(--ls-widest); }

/* ── 지표 : 줄이 브랜드색으로 물든다 ───────────────────────── */
.fig { transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.fig:hover { background: var(--surface-alt); border-bottom-color: var(--brand); padding-left: var(--sp-4); }
.fig dd { transition: color var(--dur) var(--ease); }
.fig:hover dd { color: var(--brand); }

/* ── 기능 카드 : 사진이 당겨지고 번호가 켜진다 ─────────────── */
.feat__item { transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease); }
.feat__item:hover { transform: translateY(-4px); }
.feat__item .img-slot img { transition: transform var(--dur-slow) var(--ease-out); }
.feat__item:hover .img-slot img { transform: scale(1.05); }
.feat__item p.feat__num { display: flex; align-items: center; gap: var(--sp-2); transition: color var(--dur) var(--ease), letter-spacing var(--dur) var(--ease); }
.feat__item p.feat__num .ico { font-size: 1.35em; transition: transform var(--dur-slow) var(--ease-out); }
.feat__item:hover p.feat__num { color: var(--accent); letter-spacing: var(--ls-widest); }
.feat__item:hover p.feat__num .ico { transform: rotate(-10deg) scale(1.1); }
.feat__item .h4 { transition: color var(--dur) var(--ease); }
.feat__item:hover .h4 { color: var(--brand); }

/* ── 스토리 목록 ───────────────────────────────────────────── */
.story__list li { transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.story__list li:hover { color: var(--ink); transform: translateX(4px); }
.story__list b { transition: color var(--dur) var(--ease); }
.story__list li:hover b { color: var(--brand); }
.story__media img { transition: transform var(--dur-slow) var(--ease-out); }
.story:hover .story__media img { transform: scale(1.03); }

/* ── 인용 ──────────────────────────────────────────────────── */
.pull p { transition: color var(--dur) var(--ease); }
.pull:hover p { color: var(--accent); }

/* ── 예약 패널 ─────────────────────────────────────────────── */
.book__panel { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.book__panel:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, .34); }

/* ── FAQ ───────────────────────────────────────────────────── */
@keyframes qaOpen {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: none; }
}
html.js .qa[open] p { animation: qaOpen var(--dur) var(--ease-out); }
.qa summary { transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.qa summary:hover { padding-left: var(--sp-3); }

/* ── 푸터 ──────────────────────────────────────────────────── */
.foot__addr { display: grid; gap: var(--sp-3); line-height: 1.6; }
.foot__addr span { display: flex; align-items: center; gap: var(--sp-3); }
.foot__addr .ico { font-size: var(--fs-lg); color: var(--ink-3); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.foot__addr span:hover .ico { color: var(--brand); transform: translateY(-2px); }
.foot__nav a { position: relative; transition: color var(--dur) var(--ease); }
.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 .feat__list .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .feat__list .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .figs .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .figs .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .figs .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .faq__list .reveal:nth-child(2), html.js .qa:nth-child(2) { transition-delay: 70ms; }
html.js .qa:nth-child(3) { transition-delay: 140ms; }
html.js .qa:nth-child(4) { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  html.js .nav__mark path { animation: none; }
  html.js .hero__seal i { animation: none; }
  .nav__logo:hover .nav__mark, .foot__brand:hover .nav__mark, .btn:hover .btn__arrow,
  .feat__item:hover, .feat__item:hover .img-slot img, .feat__item:hover p.feat__num .ico,
  .story__list li:hover, .story:hover .story__media img,
  .foot__addr span:hover .ico { transform: none; }
}


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

/* 럭셔리 — 헤어라인이 느리게 떠오른다. 급한 움직임을 쓰지 않는다. */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a { position: relative; }
.foot__nav a::before, .nav__menu a::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor; opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.foot__nav a:hover::before, .nav__menu a:hover::before { opacity: .55; }
.feat__item:hover, .foot__addr span:hover .ico { transform: none; }
.feat__item:hover, .foot__addr span:hover .ico { transform: scale(1.012); }

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