:root {
  --bg: #10110f;
  --ink: #f4efe6;
  --muted: #a39a8d;
  --line: #2c2a26;
  --card: #181714;
  --accent: #e7b089;
  --accent-ink: #1a120c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(16, 17, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, serif; letter-spacing: 0.08em; text-decoration: none; font-size: 18px; }
.brand small { display: block; font-family: inherit; font-size: 11px; letter-spacing: 0.22em; color: var(--muted); }
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink); color: var(--bg); text-decoration: none;
  padding: 8px 12px; font-size: 13px;
}

.stage { padding: 12px 0 36px; }
.stage-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.2fr;
  gap: 28px;
  align-items: end;
  min-height: calc(100vh - 148px);
}
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 650; margin: 0 0 14px; }
.stage h1 { font-family: "Iowan Old Style", Palatino, serif; font-weight: 500; font-size: clamp(52px, 6.4vw, 92px); line-height: 0.96; letter-spacing: -0.035em; margin: 0 0 18px; }
h1 { font-family: "Iowan Old Style", Palatino, serif; font-weight: 500; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
.lede { font-size: 18px; max-width: 460px; margin: 0 0 28px; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; padding: 12px 16px; border: 1px solid var(--ink); color: var(--ink); }
.btn.solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.reel {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 68vh;
}
.frame {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px;
  text-decoration: none;
  color: #f7f3ea;
  min-height: 180px;
  isolation: isolate;
}
.frame.tall { grid-row: 1 / span 2; }
.frame::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 25%, rgba(231, 176, 137, 0.55), transparent 42%),
    linear-gradient(165deg, #3a3128 0%, #12110f 72%);
  animation: drift 14s ease-in-out infinite alternate;
}
.frame:nth-child(2)::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(244, 239, 230, 0.28), transparent 40%),
    linear-gradient(200deg, #2a3330 0%, #101311 70%);
  animation-duration: 18s;
}
.frame:nth-child(3)::before {
  background:
    radial-gradient(circle at 40% 80%, rgba(156, 52, 18, 0.55), transparent 46%),
    linear-gradient(120deg, #241814 0%, #0d0c0b 68%);
  animation-duration: 16s;
}
.frame-kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 243, 234, 0.72); }
.frame strong { font-family: "Iowan Old Style", Palatino, serif; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.frame em { font-style: normal; font-size: 13px; color: rgba(247, 243, 234, 0.78); }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, -3%, 0) scale(1.08); }
}

.grid3, .grid4, .prices { display: grid; gap: 14px; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.prices { grid-template-columns: 1.1fr 1.2fr 1fr; }
.card, .price, .step, .faq { background: var(--card); border: 1px solid var(--line); padding: 18px 18px 16px; }
.card h3, .step h3, .price h3 { margin: 8px 0; font-size: 18px; }
.num { color: var(--accent); font-family: "Iowan Old Style", Palatino, serif; font-size: 22px; }
.muted { color: var(--muted); }
.price strong { display: block; font-size: 22px; letter-spacing: -0.03em; margin: 8px 0; }
.price.main { border-color: var(--ink); }

section { padding: 36px 0 8px; }
h2 { font-size: 28px; letter-spacing: -0.03em; margin: 0 0 8px; }
.section-lead { margin: 0 0 16px; max-width: 720px; color: var(--muted); }

.form { display: grid; gap: 12px; max-width: 720px; }
label { display: grid; gap: 6px; font-size: 14px; }
input, select, textarea {
  font: inherit; color: var(--ink); background: #0c0c0b; border: 1px solid var(--line); padding: 10px 12px;
}
textarea { min-height: 110px; resize: vertical; }
button.btn { cursor: pointer; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
.footer details { margin-top: 10px; }
.footer a { color: var(--accent); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 28px; }
table { width: 100%; border-collapse: collapse; background: var(--card); }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
th { font-weight: 650; }

.frame.has-video::before { display: none; }
.frame.has-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: #000;
}
.frame.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8, 7, 6, 0.78) 0%, rgba(8, 7, 6, 0.08) 52%);
  pointer-events: none;
}
.frame.has-video strong,
.frame.has-video em,
.frame.has-video .frame-kicker { position: relative; z-index: 1; }
.piece { display: grid; gap: 14px; margin: 36px 0 8px; }
.piece video { width: 100%; height: auto; display: block; background: #000; }
.piece.portrait video { width: min(320px, 100%); }
.piece h2 { margin-bottom: 6px; }
.note { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .grid3, .grid4, .prices, .stage-grid, .reel { grid-template-columns: 1fr; }
  .frame.tall { grid-row: auto; }
  .frame.has-video { min-height: 220px; }
  .frame.tall.has-video { min-height: 520px; }
  .reel { min-height: 0; grid-template-rows: none; }
  .stage-grid { min-height: 0; }
  .nav-inner { flex-wrap: wrap; align-items: flex-start; padding: 12px 0 8px; }
  .nav-links { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .frame::before { animation: none; }
}
