:root {
  --bg: #f3eee4;
  --bg-2: #e7dfd1;
  --ink: #1c1612;
  --muted: #5c5348;
  --line: rgba(28, 22, 18, 0.14);
  --seal: #6e1d1a;
  --seal-2: #8c2e28;
  --paper: #fbf7f0;
  --moss: #24382f;
  --shadow: 0 28px 60px rgba(28, 22, 18, 0.14);
  --serif: "Noto Serif KR", "Songti SC", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(110, 29, 26, 0.06), transparent 50%),
    var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, a, summary { cursor: pointer; }
button, summary { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
h1 { font-size: clamp(48px, 6.2vw, 88px); margin: 0; }
h2 { font-size: clamp(34px, 4vw, 56px); margin: 0; }
h3 { font-size: 26px; margin: 0 0 10px; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 4vw;
  background: rgba(243, 238, 228, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.seal {
  width: 42px;
  height: 42px;
  display: block;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: background 180ms ease, transform 180ms ease;
}
.nav-cta {
  background: var(--ink);
  color: #f6efe4;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--seal); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
  width: min(1280px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 48px 0 72px;
  min-height: calc(100vh - 72px);
}
.kicker {
  margin: 0 0 16px;
  color: var(--seal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.lede, .section-lede { color: var(--muted); }
.lede { max-width: 38rem; font-size: 18px; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.btn { padding: 14px 22px; font-weight: 600; border: 0; }
.btn-primary { background: var(--seal); color: #fbf6ef; }
.btn-primary:hover { background: var(--seal-2); }
.btn-ghost { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.55); }
.btn-block { width: 100%; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.facts li { padding-left: 14px; position: relative; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--seal);
}

.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  width: 100%;
  height: min(72vh, 680px);
  object-fit: cover;
  object-position: center 28%;
  border-radius: 2px 2px 80px 2px;
}
.hero-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  color: #f6efe4;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.promise {
  background: var(--ink);
  color: #f4efe6;
  padding: 84px 8vw;
}
.promise p {
  max-width: 14em;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.45;
  font-weight: 500;
}

.section { padding: 96px 6vw; }
.section-head { max-width: 40rem; margin-bottom: 36px; }
.section-lede { margin: 16px 0 0; }

.journey {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin-right: -6vw;
}
.steps {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0 6vw 8px 0;
  margin: 0;
  width: max-content;
}
.steps li {
  scroll-snap-align: start;
  width: min(420px, 78vw);
  min-height: 320px;
  padding: 28px 26px 32px;
  background: var(--paper);
  border-top: 3px solid var(--seal);
}
.steps span {
  display: block;
  margin-bottom: 48px;
  font-family: var(--serif);
  font-size: 42px;
  color: var(--seal);
  line-height: 1;
}
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 1280px) {
  .journey { overflow: visible; margin-right: 0; scroll-snap-type: none; }
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; padding-right: 0; }
  .steps li { width: auto; }
}

.photo-band {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: end;
  width: min(1180px, calc(100% - 8vw));
  margin: 0 auto 20px;
}
.photo-band figure { margin: 0; }
.photo-band img { width: 100%; object-fit: cover; }
.photo-band figure:first-child img { height: 520px; }
.photo-band figure:last-child img { height: 360px; margin-bottom: 48px; }
.photo-band figcaption {
  margin: 0;
  padding: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.voice { padding-top: 48px; }
.spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  box-shadow: var(--shadow);
  position: relative;
}
.spread::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 28px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(28, 22, 18, 0.08), transparent);
  pointer-events: none;
}
.sheet { padding: 36px 40px 40px; }
.sheet-label {
  margin: 0 0 18px;
  color: var(--seal);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.spoken {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.7;
}
.sheet-book p { margin: 0; color: var(--muted); }
.sheet-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}
.qr, .qr-sm {
  width: 42px;
  height: 42px;
  flex: none;
  background:
    linear-gradient(var(--ink) 0 0) 0 0 / 8px 8px,
    linear-gradient(var(--ink) 0 0) 100% 0 / 8px 8px,
    linear-gradient(var(--ink) 0 0) 0 100% / 8px 8px,
    linear-gradient(#c8bfb2 0 0);
  background-repeat: no-repeat;
}
.note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.cards article {
  padding: 28px 28px 8px 0;
  border-right: 1px solid var(--line);
}
.cards article:last-child { border-right: 0; padding-right: 0; }
.cards article + article { padding-left: 28px; }
.card-when {
  margin: 0 0 8px;
  font-family: var(--serif);
  color: var(--seal);
  font-size: 15px;
}
.cards p { margin: 0; color: var(--muted); }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--paper); }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--serif); font-size: 18px; font-weight: 600; }
tbody th { color: var(--muted); font-weight: 500; }
td:nth-child(2), thead th:nth-child(2) { background: #f4e7d6; }

.gift {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  width: min(1120px, calc(100% - 8vw));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.includes { margin: 28px 0 0; padding: 0; list-style: none; }
.includes li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.join-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.join-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  border-radius: 0;
}
.join-form textarea { resize: vertical; }
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  outline: none;
  border-bottom-color: var(--seal);
}
.form-status { min-height: 1.4em; margin: 0; color: var(--moss); font-size: 14px; }

.begin-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: begin;
}
.begin-steps li { color: var(--muted); }
.begin-steps li::before {
  counter-increment: begin;
  content: counter(begin, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--seal);
}
.begin-steps strong { display: block; color: var(--ink); margin-bottom: 6px; }

.faqs { display: grid; gap: 0; max-width: 46rem; border-top: 1px solid var(--line); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { padding: 18px 0; font-weight: 600; }
.faqs summary:hover { color: var(--seal); }
.faqs p { margin: 0 0 18px; color: var(--muted); }

.close {
  margin: 0 6vw 72px;
  padding: 72px 8vw;
  background: var(--ink);
  color: #f6efe4;
}
.close .kicker { color: #e7c3b8; }
.close .btn-primary { background: #f6efe4; color: var(--seal); margin-top: 8px; }
.close .btn-primary:hover { background: #fff; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer strong { color: var(--ink); }
.footer p { margin: 4px 0 0; }
.footer-meta { max-width: 28rem; text-align: right; }

.dock { display: none; }

:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
#how, #voice, #when, #join, #faq, #begin { scroll-margin-top: 84px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .gift, .spread, .cards, .begin-steps, .photo-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero { min-height: 0; padding-top: 28px; }
  .steps li { width: calc(100vw - 72px); }
  .hero-photo img { height: 280px; border-radius: 2px; }
  .photo-band figure:first-child img,
  .photo-band figure:last-child img { height: 240px; margin: 0; }
  .cards article, .cards article + article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .spread::after { display: none; }
  .sheet { padding: 24px; }
  .spoken { font-size: 20px; }
  .footer { flex-direction: column; }
  .footer-meta { text-align: left; }
  .dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: flex;
    padding: 10px 10px 10px 16px;
    background: var(--ink);
    color: #f6efe4;
    border-radius: 16px;
    align-items: center;
    justify-content: space-between;
  }
  .dock span { display: block; color: rgba(246, 239, 228, 0.72); font-size: 12px; }
  .dock a {
    text-decoration: none;
    background: #f6efe4;
    color: var(--ink);
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
  }
  body { padding-bottom: 84px; }
  .close { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .journey { scroll-snap-type: none; }
  .btn, .nav-cta { transition: none; }
}
