:root {
  /* Fonts */
  --font-latin: 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Noto Serif KR', serif;
  --font-sans: 'Pretendard Variable', Pretendard, sans-serif;

  /* Colors */
  --bg: #0B0B0C;
  --bg-elev: #131315;
  --ink: #EFEBE0;
  --ink-dim: #A8A29A;
  --ink-faint: #6E6A63;
  --gold: #C6AE7E;
  --hairline: rgba(239, 235, 224, 0.12);

  /* Spacing (8px grid) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 160px;

  --section-pad: clamp(96px, 14vh, 160px);
  --nav-h: 64px;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* 고아 문자 방지 */
p, li { text-wrap: pretty; }
h1, h2, h3, .quote { text-wrap: balance; }
.nb { white-space: nowrap; }

/* ===== Background layers ===== */
/* 폴백 비네트 (WebGL 실패 시에도 유지) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(239, 235, 224, 0.03), transparent);
  pointer-events: none;
  z-index: 0;
}

/* WebGL 연기 · 먼지 캔버스 */
#smoke,
#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}
#dust { z-index: 0; } /* smoke 위, 둘 다 콘텐츠 아래 */

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  /* 콘텐츠(사진 포함) 위에 얹혀 필름 질감을 통일 — nav(10)·모달(200)보다는 아래 */
  z-index: 5;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Content above overlays */
main, .site-footer {
  position: relative;
  z-index: 3;
}
.site-nav {
  position: fixed;
  z-index: 10;
}

/* Container */
.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* Typography tokens */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--ink-faint);
  text-align: center;
}

.head-ko {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.num {
  font-feature-settings: 'tnum';
  font-weight: 600;
}

/* ===== Navigation ===== */
.site-nav {
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-latin);
  font-weight: 400;
  letter-spacing: 0.18em;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  list-style: none;
}

.nav-links a {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .nav-links a[data-hide-mobile] {
    display: none;
  }
}

/* ===== Sections ===== */
section {
  padding-block: var(--section-pad);
  scroll-margin-top: 80px;
}

/* ===== Hero ===== */
/* 기본(모바일 <900px): 풀블리드 배경 사진 위에 하단 정렬 카피 */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-block: calc(var(--nav-h) + 24px) 140px;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  margin-bottom: var(--s-5);
}

/* 히어로 무드 사진 — 모바일: absolute 풀블리드 배경 */
.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

/* 모바일: 마스크 대신 하단 그라디언트 오버레이로 가독 대비 확보 */
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,12,0.30) 0%, rgba(11,11,12,0.50) 45%, #0B0B0C 90%);
}

/* 켄 번즈 */
.hero-figure img {
  animation: kenburns 26s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

/* ===== Hero — 데스크톱(≥900px) 시네마틱 레프트 블리드 ===== */
/* 사진이 화면 왼쪽·위 가장자리까지 차오르고, 오른쪽과 아래로만 어둠에 녹는다.
   '카드처럼 얹힌 사진'이 아니라 장면(scene)의 일부가 되도록. */
@media (min-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: left;
    padding-inline: clamp(20px, 5vw, 48px);
    padding-block: calc(var(--nav-h) + 24px) 176px;
    position: relative;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    text-align: left;
    width: min(620px, 46vw);
    margin-left: auto;
    margin-right: clamp(24px, 7vw, 120px);
  }

  .hero .eyebrow,
  .hero-poem {
    text-align: left;
  }

  .hero-copy .hero-title {
    font-size: clamp(44px, 6.5vw, 104px);
  }

  .hero-figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 56vw;
    height: auto;
    z-index: 1;
    /* 왼쪽·위는 화면 끝까지 블리드, 오른쪽·아래만 페이드 */
    -webkit-mask-image:
      linear-gradient(to right, #000 58%, transparent 97%),
      linear-gradient(to bottom, #000 76%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, #000 58%, transparent 97%),
      linear-gradient(to bottom, #000 76%, transparent 100%);
    mask-composite: intersect;
  }

  .hero-figure img {
    object-position: 42% 24%;
    /* 사이트의 모노톤·아이보리 팔레트에 톤 매칭 */
    filter: brightness(0.94) saturate(0.82);
  }

  /* 데스크톱은 마스크가 어우러짐을 처리 — 오버레이 제거 */
  .hero-figure::after {
    display: none;
  }
}

/* 히어로 타이틀 — 한 줄 */
.hero-title {
  font-family: var(--font-latin);
  line-height: 1.05;
  letter-spacing: 0.02em;
  font-size: clamp(48px, 12vw, 156px);
  white-space: nowrap;
}

.hero-title .word-last {
  font-weight: 400;
  font-style: normal;
  color: var(--ink);
}

.hero-title .word-secret {
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
}

/* 모바일: 화면 폭의 ~73%를 차지하도록 존재감 유지 */
@media (max-width: 480px) {
  .hero-title {
    font-size: 14.5vw;
  }
}

/* 히어로 시(詩) */
.hero-poem {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 2.0;
  color: var(--ink-dim);
  margin-top: var(--s-4);
}

.hero-poem .poem-line {
  display: block;
}

.hero-poem .poem-line:last-child {
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 72px;
  background: var(--hairline);
  overflow: hidden;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-dim);
  transform-origin: top;
  animation: cueLine 2.4s ease infinite;
}

@keyframes cueLine {
  0% { transform: scaleY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ===== 히어로 키네틱 로드 시퀀스 ===== */
/* eyebrow */
.js .hero .eyebrow {
  opacity: 0;
  letter-spacing: 0.5em;
  transition: opacity 1.1s ease, letter-spacing 1.1s var(--ease-out-expo);
}
.js .hero .eyebrow.in {
  opacity: 1;
  letter-spacing: 0.32em;
}

/* title — overflow 래퍼 안에서 translateY */
.hero-title-wrap {
  overflow: hidden;
  padding-block: 0.08em; /* 이탤릭 디센더 클리핑 방지 */
}
.js .hero-title {
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out-expo);
}
.js .hero-title.in {
  transform: translateY(0);
}

/* poem lines */
.js .hero-poem .poem-line {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out-expo);
}
.js .hero-poem .poem-line.in {
  opacity: 1;
  transform: translateY(0);
}

/* hero figure — 페이드 인 후 켄 번즈로 자연 연결 (scale 1.05→1.02) */
.js .hero-figure {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.2s var(--ease-out-expo);
}
.js .hero-figure.in {
  opacity: 1;
  transform: scale(1.02);
}

/* scroll cue */
.js .scroll-cue {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.js .scroll-cue.in {
  opacity: 1;
}

/* ===== Interlude quote ===== */
.interlude {
  text-align: center;
}

.interlude .quote-group {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 28px);
}

.interlude .quote {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 4.2vw, 46px);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.interlude .quote .qmark {
  color: var(--gold);
}

/* 글자 스태거 */
.q-char {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo);
}
.q-char.in {
  opacity: 1;
  transform: translateY(0);
}

.interlude .caption {
  /* 질문 줄 간격(clamp 16~28px)의 황금비(≈1.618배)만큼 띄워 분리감 확보 */
  margin-top: clamp(26px, 3.9vw, 45px);
  color: var(--ink-faint);
  font-size: 17px;
}

/* ===== Section head ===== */
.section-head {
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: var(--s-3);
}

.section-headline {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--ink);
  text-align: center;
}

.section-headline--constrained {
  max-width: 20ch;
  margin-inline: auto;
}

/* ===== Ritual ===== */
.ritual-steps {
  margin-top: var(--s-7);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step,
.ritual-scene {
  max-width: 560px;
  text-align: center;
}

.step + .step {
  margin-top: var(--s-7);
}

.step .roman,
.ritual-scene .roman {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.2em;
}

.step .step-title,
.ritual-scene .step-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin-top: var(--s-2);
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.step .step-body,
.ritual-scene .step-body {
  margin-top: var(--s-2);
  color: var(--ink-dim);
}

/* 문장마다 한 줄씩 (줄 사이 살짝 여유) */
.step-body--lines .line {
  display: block;
}
.step-body--lines .line + .line {
  margin-top: 6px;
}

.v-divider {
  width: 1px;
  height: 24px;
  background: var(--hairline);
  margin: var(--s-4) auto;
}

/* ---- 핀 연출 (데스크톱, JS 부여) ---- */
.ritual--pinned {
  position: relative;
  height: 320vh;
  padding-block: 0;
}
.ritual--pinned .ritual-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ritual--pinned .ritual-pin > .container {
  width: 100%;
}
.ritual--pinned .ritual-head {
  position: absolute;
  top: clamp(96px, 16vh, 160px);
  left: 0;
  right: 0;
}
.ritual--pinned .ritual-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 220px;
  margin: var(--s-6) auto 0;
}
.ritual--pinned .ritual-scene {
  position: absolute;
  inset: 0;
  margin: 0 auto;
  will-change: opacity, transform;
}
/* 핀 스크럽은 JS 인라인 스타일이 직접 제어 → reveal 트랜지션/블러 무효화 */
.js .ritual--pinned .ritual-scene {
  transition: none;
  filter: none;
}
.ritual--pinned .v-divider {
  display: none;
}
/* 진행선 */
.ritual-progress {
  position: absolute;
  top: clamp(96px, 16vh, 160px);
  left: 50%;
  transform: translateX(-50%) translateY(-64px);
  width: 1px;
  height: 48px;
  background: var(--hairline);
  overflow: hidden;
  display: none;
}
.ritual--pinned .ritual-progress {
  display: block;
}
.ritual-progress span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(0);
}
/* 세로 스택(폴백)에서는 stage 를 일반 흐름처럼 */
.ritual:not(.ritual--pinned) .ritual-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--s-7);
}
.ritual:not(.ritual--pinned) .ritual-scene + .ritual-scene {
  margin-top: var(--s-7);
}

/* ===== Promise ===== */
.promise {
  text-align: center;
}

.promise-lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.7;
  color: var(--ink);
  max-width: 720px;
  margin-inline: auto;
  letter-spacing: -0.01em;
}

.promise-body {
  margin-top: var(--s-3);
  color: var(--ink-dim);
  max-width: 560px;
  margin-inline: auto;
}

/* ===== Reserve ===== */
.reserve .section-head {
  margin-bottom: var(--s-6);
}

.reserve-card {
  max-width: 560px;
  margin-inline: auto;
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-top: 1px solid var(--gold);
  border-radius: 2px;
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s ease;
}

.reserve-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-dim);
}

.reserve-card:hover {
  border-top-color: var(--ink);
}

.price-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: var(--s-2);
}

.price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-feature-settings: 'tnum';
  font-size: clamp(40px, 7vw, 56px);
  color: var(--ink);
  line-height: 1.1;
}

.price-note {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}

.includes {
  list-style: none;
  margin-top: var(--s-4);
  text-align: left;
}

.includes li {
  padding-block: 14px;
  font-size: 15px;
  color: var(--ink-dim);
  border-top: 1px solid var(--hairline);
}

.includes li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.reserve-info {
  margin-top: var(--s-4);
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.7;
}

.cta-button {
  margin-top: var(--s-3);
  width: 100%;
  height: 56px;
  background: var(--ink);
  color: #0B0B0C;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.15s ease;
}

.cta-button:hover {
  background: var(--gold);
}

.cta-button:active {
  transform: scale(0.99);
}

.cta-micro {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-faint);
}

/* ===== Questions / Accordion ===== */
.questions .section-head {
  margin-bottom: var(--s-6);
}

.accordion {
  max-width: 680px;
  margin-inline: auto;
}

.acc-item {
  border-top: 1px solid var(--hairline);
}

.acc-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.acc-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding-block: var(--s-3);
  color: var(--ink);
}

.acc-question {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.5;
}

.acc-icon {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 24px;
  color: var(--ink-faint);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.acc-trigger[aria-expanded="true"] .acc-icon {
  transform: rotate(45deg);
  color: var(--gold);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.acc-panel-inner {
  font-size: 15px;
  color: var(--ink-dim);
  padding-bottom: var(--s-3);
  line-height: 1.75;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding-block: var(--s-7);
}

.footer-wordmark {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.footer-est {
  margin-top: var(--s-2);
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
}

/* ===== Reservation modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 20px;
  overflow-y: auto;
  background: rgba(5, 5, 6, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.open {
  opacity: 1;
}

.modal {
  position: relative;
  width: min(520px, calc(100vw - 40px));
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-top: 1px solid var(--gold);
  border-radius: 2px;
  padding: clamp(28px, 5vw, 44px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.modal-overlay.open .modal {
  opacity: 1;
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-latin);
  font-size: 28px;
  line-height: 1;
  color: var(--ink-faint);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--ink);
}

.modal-eyebrow {
  text-align: left;
  color: var(--gold);
  margin-bottom: var(--s-2);
}

.modal-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--ink);
}

.modal-guide {
  margin-top: 12px;
  margin-bottom: var(--s-4);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.7;
}

/* Form fields */
.field + .field {
  margin-top: 20px;
}

.field-label {
  display: block;
  margin-bottom: var(--s-1);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-dim);
}

.field-label .req {
  color: var(--gold);
  margin-left: 2px;
}

.field-input {
  width: 100%;
  height: 46px;
  background: rgba(239, 235, 224, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding-inline: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.field-input::placeholder {
  color: var(--ink-faint);
}

.field-input:focus {
  outline: none;
  border-color: var(--gold);
}

.field-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236E6A63' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-select:invalid {
  color: var(--ink-faint);
}

.field-textarea {
  height: auto;
  min-height: 108px;
  padding-block: 12px;
  line-height: 1.6;
  resize: vertical;
}

.field-counter {
  margin-top: var(--s-1);
  text-align: right;
  font-size: 12px;
  color: var(--ink-faint);
  font-feature-settings: 'tnum';
}

.field-error {
  margin-top: var(--s-1);
  font-size: 12px;
  color: #C97B6E;
}

.field-input.invalid {
  border-color: #C97B6E;
}

.modal-submit {
  height: 52px;
  margin-top: var(--s-4);
}

.modal-send-error {
  margin-top: 12px;
  text-align: center;
}

.modal-micro {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.6;
}

/* Success view */
.modal-success-view {
  text-align: center;
  padding-block: var(--s-3);
}

.success-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-3);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-check {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.success-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.success-body {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.7;
}

.ghost-button {
  margin-top: var(--s-4);
  height: 46px;
  padding-inline: var(--s-4);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ghost-button:hover {
  border-color: var(--ink-dim);
  color: var(--ink);
}

/* iOS 줌 방지: 모바일 인풋 16px */
@media (max-width: 480px) {
  .field-input {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal {
    transition-duration: 0.001ms !important;
  }
}

/* ===== Reveal ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .hero-anim,
  .js .hero .eyebrow,
  .js .hero-title,
  .js .hero-poem .poem-line,
  .js .scroll-cue,
  .js .reveal,
  .js .q-char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    letter-spacing: normal;
  }
  .js .hero .eyebrow { letter-spacing: 0.32em; }
  .hero-title { transform: none !important; }
  .hero-figure,
  .hero-figure img {
    animation: none !important;
    transform: none !important;
  }
  .scroll-cue::after {
    animation: none;
    transform: scaleY(1);
    opacity: 0.4;
  }
}
