@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@500;600;700;900&family=Pretendard:wght@400;500;600;700;800&display=swap');

:root {
  --v8-black: #040609;
  --v8-coal: #080c12;
  --v8-night: #0d1424;
  --v8-blue: #17213a;
  --v8-paper: #eee7dc;
  --v8-paper-dim: #b9b1a6;
  --v8-brass: #b89659;
  --v8-brass-bright: #dbc184;
  --v8-seal: #9e302b;
  --v8-line: rgba(219, 193, 132, .19);
  --v8-muted-line: rgba(255, 255, 255, .09);
  --v8-display: "Noto Serif KR", "Batang", serif;
  --v8-body: "Pretendard", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body.funnel-v8 {
  margin: 0;
  background: var(--v8-black);
  color: var(--v8-paper);
  font-family: var(--v8-body);
  word-break: keep-all;
  overflow-x: hidden;
}
body.funnel-v8::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 15%, rgba(41, 58, 103, .27), transparent 31%),
    radial-gradient(circle at 14% 78%, rgba(128, 39, 35, .13), transparent 28%),
    linear-gradient(135deg, #030507 0%, #080c13 58%, #040609 100%);
}
body.funnel-v8::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.v8-skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--v8-paper);
  color: var(--v8-black);
  text-decoration: none;
}
.v8-skip:focus { top: 16px; }

.v8-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 78px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .065);
  background: linear-gradient(180deg, rgba(4, 6, 9, .97), rgba(4, 6, 9, .78));
  backdrop-filter: blur(16px);
}
.v8-header-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.v8-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--v8-paper);
  text-decoration: none;
  min-width: max-content;
}
.v8-brand img { width: 42px; height: 42px; }
.v8-brand strong {
  display: block;
  font: 700 16px/1.1 var(--v8-display);
  letter-spacing: .08em;
}
.v8-brand small {
  display: block;
  margin-top: 5px;
  color: var(--v8-brass);
  font: 600 9px/1 var(--v8-body);
  letter-spacing: .2em;
}
.v8-nav { display: flex; align-items: center; gap: 6px; }
.v8-nav a {
  color: var(--v8-paper-dim);
  padding: 10px 13px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .03em;
  border: 1px solid transparent;
}
.v8-nav a:hover, .v8-nav a:focus-visible, .v8-nav a[aria-current="page"] {
  color: var(--v8-paper);
  border-color: var(--v8-line);
  outline: 0;
}
.v8-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  color: #fff !important;
  background: var(--v8-seal);
  border-color: var(--v8-seal) !important;
  font-weight: 700;
}

.v8-main { position: relative; }
.v8-chapter {
  position: relative;
  min-height: 100svh;
  padding: 116px 0 72px;
  display: grid;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  overflow: clip;
}
.v8-section-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.v8-section-no {
  position: absolute;
  left: 28px;
  bottom: 22px;
  color: rgba(219, 193, 132, .42);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.v8-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--v8-brass-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.v8-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.v8-title {
  margin: 18px 0 20px;
  max-width: 820px;
  font: 700 clamp(40px, 5.2vw, 76px)/1.16 var(--v8-display);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.v8-title em { color: var(--v8-brass-bright); font-style: normal; }
.v8-lead {
  max-width: 680px;
  color: var(--v8-paper-dim);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.85;
}
.v8-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.v8-button {
  appearance: none;
  min-height: 56px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--v8-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, .025);
  color: var(--v8-paper);
  font: 700 15px/1 var(--v8-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.v8-button:hover { transform: translateY(-2px); border-color: var(--v8-brass); }
.v8-button.primary { background: var(--v8-seal); border-color: var(--v8-seal); color: #fff; }
.v8-button.primary:hover { background: #b23a33; }
.v8-button .arrow { color: var(--v8-brass-bright); font-size: 18px; }
.v8-button.primary .arrow { color: #fff; }

.v8-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}
.v8-hero .v8-title { max-width: 700px; }
.v8-hero-copy { padding-top: 18px; }
.v8-hero-visual {
  position: relative;
  min-height: min(69vh, 720px);
  border-left: 1px solid var(--v8-line);
}
.v8-hero-visual::before {
  content: "命";
  position: absolute;
  right: -24px;
  top: -62px;
  z-index: 2;
  color: rgba(219, 193, 132, .11);
  font: 900 clamp(150px, 19vw, 280px)/1 var(--v8-display);
}
.v8-hero-visual > img.hero-person {
  position: absolute;
  inset: 0 -15% 0 -12%;
  width: 127%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: .84;
  filter: saturate(.82) contrast(1.1);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 86%, transparent 100%);
  animation: v8SlowPush 18s ease-out 1 forwards;
}
@keyframes v8SlowPush { from { transform: scale(1); } to { transform: scale(1.06); } }
.v8-orbit {
  position: absolute;
  width: min(48vw, 500px);
  aspect-ratio: 1;
  right: -17%;
  bottom: -22%;
  opacity: .18;
  filter: sepia(.6) saturate(.7);
}
.v8-verdict {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  width: min(330px, 76%);
  padding: 17px 20px;
  background: rgba(4, 6, 9, .82);
  border: 1px solid var(--v8-line);
  backdrop-filter: blur(12px);
}
.v8-verdict small { color: var(--v8-brass); letter-spacing: .16em; }
.v8-verdict strong { display: block; margin-top: 7px; font: 600 17px/1.55 var(--v8-display); }

.v8-gates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.v8-gate {
  position: relative;
  min-height: 190px;
  padding: 26px;
  display: grid;
  align-content: space-between;
  color: var(--v8-paper);
  text-decoration: none;
  border: 1px solid var(--v8-line);
  background: linear-gradient(135deg, rgba(27, 37, 63, .82), rgba(8, 12, 18, .86));
  overflow: hidden;
}
.v8-gate::after {
  content: attr(data-hanja);
  position: absolute;
  right: 18px;
  top: 8px;
  color: rgba(219, 193, 132, .12);
  font: 700 88px/1 var(--v8-display);
}
.v8-gate:hover { border-color: var(--v8-brass); }
.v8-gate small { color: var(--v8-brass); letter-spacing: .13em; }
.v8-gate h3 { margin: 22px 0 8px; font: 700 25px/1.35 var(--v8-display); }
.v8-gate p { margin: 0; max-width: 420px; color: var(--v8-paper-dim); line-height: 1.7; font-size: 14px; }
.v8-gate b { margin-top: 20px; color: var(--v8-paper); font-size: 13px; }
.v8-gate.primary { background: linear-gradient(135deg, rgba(123, 32, 29, .92), rgba(31, 16, 19, .95)); }

.v8-resume {
  margin-top: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--v8-muted-line);
  background: rgba(255, 255, 255, .025);
  color: var(--v8-paper-dim);
  font-size: 13px;
}
.v8-resume[hidden] { display: none; }
.v8-resume a { color: var(--v8-brass-bright); text-decoration: none; font-weight: 700; }

.v8-split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}
.v8-sticky-copy { position: sticky; top: 120px; }
.v8-path {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--v8-line);
}
.v8-path-item {
  padding: 25px 12px 25px 66px;
  position: relative;
  border-bottom: 1px solid var(--v8-muted-line);
}
.v8-path-item span {
  position: absolute;
  left: 0;
  top: 25px;
  color: var(--v8-brass);
  font: 600 13px/1 var(--v8-body);
  letter-spacing: .1em;
}
.v8-path-item h3 { margin: 0 0 8px; font: 600 22px/1.35 var(--v8-display); }
.v8-path-item p { margin: 0; color: var(--v8-paper-dim); line-height: 1.72; font-size: 14px; }

.v8-product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--v8-brass) transparent;
  padding: 12px max(32px, calc((100vw - 1180px) / 2)) 28px;
}
.v8-product-card {
  position: relative;
  min-height: min(64vh, 600px);
  color: var(--v8-paper);
  text-decoration: none;
  border: 1px solid var(--v8-line);
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--v8-night);
}
.v8-product-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.08); transition: transform .5s; }
.v8-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 4, 7, .06) 24%, rgba(2, 4, 7, .96) 93%);
}
.v8-product-card:hover img { transform: scale(1.035); }
.v8-product-copy { position: absolute; z-index: 2; inset: auto 22px 22px; }
.v8-product-copy small { color: var(--v8-brass-bright); font-size: 10px; letter-spacing: .16em; }
.v8-product-copy h3 { margin: 8px 0 7px; font: 700 25px/1.3 var(--v8-display); }
.v8-product-copy p { margin: 0 0 14px; color: #d4cdc4; font-size: 13px; line-height: 1.65; }
.v8-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; }
.v8-price b { color: var(--v8-brass-bright); }

.v8-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--v8-line); border-left: 1px solid var(--v8-line); margin-top: 38px; }
.v8-proof {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--v8-line);
  border-bottom: 1px solid var(--v8-line);
}
.v8-proof strong { display: block; color: var(--v8-brass-bright); font: 700 38px/1 var(--v8-display); }
.v8-proof b { display: block; margin: 18px 0 8px; font-size: 15px; }
.v8-proof p { margin: 0; color: var(--v8-paper-dim); font-size: 13px; line-height: 1.65; }

.v8-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.v8-process article { min-height: 270px; padding: 28px; border: 1px solid var(--v8-line); background: rgba(255, 255, 255, .018); }
.v8-process span { color: var(--v8-brass); font-size: 11px; letter-spacing: .14em; }
.v8-process .hanja { display: block; margin: 34px 0 20px; color: rgba(219, 193, 132, .66); font: 700 60px/1 var(--v8-display); }
.v8-process h3 { margin: 0 0 10px; font: 600 22px/1.35 var(--v8-display); }
.v8-process p { margin: 0; color: var(--v8-paper-dim); font-size: 14px; line-height: 1.75; }

.v8-faq-list { max-width: 860px; margin-top: 34px; border-top: 1px solid var(--v8-line); }
.v8-faq-list details { border-bottom: 1px solid var(--v8-muted-line); }
.v8-faq-list summary { list-style: none; padding: 22px 46px 22px 0; cursor: pointer; font: 600 17px/1.5 var(--v8-display); position: relative; }
.v8-faq-list summary::-webkit-details-marker { display: none; }
.v8-faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--v8-brass); font: 400 23px/1 var(--v8-body); }
.v8-faq-list details[open] summary::after { content: "−"; }
.v8-faq-list p { max-width: 720px; margin: -5px 0 22px; color: var(--v8-paper-dim); font-size: 14px; line-height: 1.85; }

.v8-footer {
  padding: 42px max(32px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  color: #918a82;
  background: #030405;
  border-top: 1px solid var(--v8-muted-line);
  font-size: 12px;
  line-height: 1.8;
}
.v8-footer strong { color: var(--v8-paper); font: 600 17px/1.4 var(--v8-display); }
.v8-footer nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.v8-footer a, .v8-footer button { color: #b7aea4; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.v8-footer a:hover, .v8-footer button:hover { color: var(--v8-brass-bright); }

.v8-rail {
  position: fixed;
  z-index: 35;
  right: 18px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid var(--v8-muted-line);
  background: rgba(4, 6, 9, .64);
  backdrop-filter: blur(10px);
}
.v8-rail a { width: 7px; height: 7px; border: 1px solid #756e65; border-radius: 50%; text-indent: -9999px; overflow: hidden; }
.v8-rail a[aria-current] { background: var(--v8-brass-bright); border-color: var(--v8-brass-bright); box-shadow: 0 0 0 4px rgba(219, 193, 132, .12); }

/* 상품 목록 */
.v8-page-hero { min-height: 68svh; padding-top: 150px; }
.v8-page-hero .v8-section-inner { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; }
.v8-page-mark { justify-self: end; color: rgba(219, 193, 132, .17); font: 900 clamp(130px, 18vw, 250px)/.8 var(--v8-display); }
.v8-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.v8-filter button { padding: 10px 15px; color: var(--v8-paper-dim); background: transparent; border: 1px solid var(--v8-muted-line); cursor: pointer; font: 600 12px/1 var(--v8-body); }
.v8-filter button.on { color: var(--v8-paper); border-color: var(--v8-brass); background: rgba(184, 150, 89, .1); }
.v8-catalog { padding: 64px 0 100px; }
.v8-catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v8-catalog .v8-product-card { min-height: 520px; }

/* 상품 상세 */
.v8-breadcrumb { margin-bottom: 34px; color: #8c857c; font-size: 12px; }
.v8-breadcrumb a { color: var(--v8-brass); text-decoration: none; }
.v8-detail-hero { min-height: 100svh; }
.v8-detail-grid { display: grid; grid-template-columns: 1fr minmax(340px, .72fr); gap: 70px; align-items: center; }
.v8-detail-art { position: relative; min-height: 68vh; overflow: hidden; border: 1px solid var(--v8-line); }
.v8-detail-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v8-detail-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 5, 8, .7)); }
.v8-price-line { display: flex; align-items: baseline; gap: 12px; margin-top: 20px; }
.v8-price-line strong { color: var(--v8-brass-bright); font: 700 28px/1 var(--v8-display); }
.v8-price-line span { color: var(--v8-paper-dim); font-size: 13px; }
.v8-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.v8-benefits article { padding: 22px; min-height: 180px; border: 1px solid var(--v8-line); }
.v8-benefits b { color: var(--v8-brass); font: 600 13px/1 var(--v8-body); letter-spacing: .1em; }
.v8-benefits h3 { margin: 28px 0 10px; font: 600 20px/1.4 var(--v8-display); }
.v8-benefits p { margin: 0; color: var(--v8-paper-dim); font-size: 13px; line-height: 1.7; }
.v8-share-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.v8-share-row .v8-button { min-height: 42px; padding: 0 15px; font-size: 12px; }

@media (min-width: 901px) and (min-height: 650px) {
  html:has(body.funnel-v8) { scroll-snap-type: y proximity; }
}

@media (max-width: 1000px) {
  .v8-section-inner, .v8-header-inner { width: min(800px, calc(100% - 40px)); }
  .v8-nav a:not(.v8-header-cta) { display: none; }
  .v8-hero-grid, .v8-detail-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .v8-title { font-size: clamp(38px, 7vw, 62px); }
  .v8-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .v8-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .v8-product-rail { grid-auto-columns: minmax(270px, 44%); padding-inline: max(20px, calc((100vw - 800px) / 2)); }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 66px; }
  .v8-header { height: 66px; }
  .v8-header-inner { width: calc(100% - 28px); }
  .v8-brand img { width: 36px; height: 36px; }
  .v8-brand strong { font-size: 14px; }
  .v8-brand small { display: none; }
  .v8-header-cta { min-height: 38px; padding-inline: 13px !important; font-size: 12px !important; }
  .v8-chapter { min-height: auto; padding: 100px 0 74px; display: block; scroll-snap-stop: normal; }
  .v8-section-inner { width: calc(100% - 32px); }
  .v8-section-no { display: none; }
  .v8-hero { padding-top: 88px; }
  .v8-hero-grid, .v8-detail-grid, .v8-split, .v8-page-hero .v8-section-inner { grid-template-columns: 1fr; }
  .v8-hero-copy { padding-top: 0; }
  .v8-title { margin-top: 14px; font-size: clamp(38px, 11.5vw, 58px); line-height: 1.18; letter-spacing: -.06em; }
  .v8-lead { font-size: 15px; line-height: 1.75; }
  .v8-actions { align-items: stretch; }
  .v8-actions .v8-button { flex: 1 1 100%; }
  .v8-hero-visual { min-height: 490px; border-left: 0; border-top: 1px solid var(--v8-line); }
  .v8-hero-visual > img.hero-person { inset: 0 -30% 0 -18%; width: 148%; object-position: 68% 50%; }
  .v8-verdict { left: 0; bottom: 0; width: 88%; }
  .v8-gates { grid-template-columns: 1fr; }
  .v8-gate { min-height: 176px; }
  .v8-resume { align-items: flex-start; flex-direction: column; }
  .v8-sticky-copy { position: static; }
  .v8-path { margin-top: 24px; }
  .v8-product-rail { grid-auto-columns: minmax(245px, 75vw); padding-inline: 16px; }
  .v8-product-card { min-height: 430px; }
  .v8-proof-grid, .v8-process, .v8-benefits { grid-template-columns: 1fr; }
  .v8-proof { min-height: 148px; }
  .v8-process article { min-height: 220px; }
  .v8-rail { display: none; }
  .v8-footer { grid-template-columns: 1fr; padding-inline: 20px; }
  .v8-footer nav { justify-content: flex-start; }
  .v8-page-hero { min-height: auto; padding-top: 118px; }
  .v8-page-mark { position: absolute; right: 10px; top: 96px; font-size: 120px; }
  .v8-catalog { padding-top: 36px; }
  .v8-catalog-grid { grid-template-columns: 1fr; }
  .v8-catalog .v8-product-card { min-height: 500px; }
  .v8-detail-art { min-height: 560px; }
}

@media (max-width: 420px) {
  .v8-brand span { max-width: 130px; }
  .v8-title { font-size: 40px; }
  .v8-hero-visual { min-height: 430px; }
  .v8-product-rail { grid-auto-columns: 78vw; }
  .v8-catalog .v8-product-card { min-height: 450px; }
  .v8-detail-art { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v8-hero-visual > img.hero-person { animation: none !important; transform: none !important; }
  .v8-product-card img, .v8-button { transition: none !important; }
}
