/* ========== Chaewoon Landing — Common CSS ========== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  /* Ohaeng colors */
  --ohaeng-mok: #4A6B5C;
  --ohaeng-hwa: #8E3A36;
  --ohaeng-to: #A88963;
  --ohaeng-geum: #B5B0A6;
  --ohaeng-su: #2C3E50;

  /* Ink scale */
  --ink: #1A1612;
  --ink-mid: #4A423A;
  --ink-soft: #7A7164;
  --ink-faint: #B0A89B;
  --ink-line: #DDD5C8;

  /* Paper scale */
  --paper: #F5EFE3;
  --paper-warm: #F9F3E5;
  --paper-cool: #F0EBDF;
  --paper-pure: #FFFFFF;

  /* Night scale (V4) */
  --night: #1C1814;
  --night-soft: #2A2620;
  --night-line: #3F3830;
  --night-text: #E8E2D6;
  --night-text-soft: #B0A89B;

  /* V4 chapter shades */
  --night-i: #1C1814;
  --night-ii: #181822;
  --night-iii: #201814;
  --night-iv: #14141A;
  --night-v: #1A1612;

  /* Fonts */
  --font-display: "Noto Serif KR", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  --font-serif-kr: "Noto Serif KR", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  --font-serif-en: "Cormorant Garamond", Georgia, serif;
  --font-sans-kr: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-sans-en: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Breakpoints (canonical 2-step; 900/1440 used as section-local exceptions) */
  --bp-tablet: 768px;
  --bp-wide: 1180px;

  /* Chaewoon fill-in system
     UI 위에 해석된 색이 놓이는 표시. 운이 바뀌는 애니메이션 X. */
  --cw-fill-duration: 520ms;
  --cw-fill-duration-fast: 280ms;
  --cw-fill-ease: cubic-bezier(.22, .61, .36, 1);
  --cw-fill-ease-out: cubic-bezier(.16, 1, .3, 1);

  --cw-fill-empty-opacity: .18;
  --cw-fill-rest-opacity: .72;
  --cw-fill-filled-opacity: 1;

  --cw-fill-shadow: 0 18px 48px rgba(35, 28, 22, .10);

  /* Active ohaeng — 시안별 root에서 재할당 */
  --ohaeng-active: var(--ohaeng-geum);
  --cw-fill-surface: var(--paper);
  --cw-fill-wash-strength: 18%;
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

body {
  font-family: var(--font-sans-kr);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

@media (max-width: 1439px) {
  .page { transform: scale(calc(100vw / 1440)); }
}

/* Wrapper that mimics 1440 wide pen frame */
.page {
  width: 1440px;
  margin: 0 auto;
  transform-origin: top left;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 80px;
  border-bottom: 1px solid var(--ink-line);
  background: inherit;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo .hanja { font-family: var(--font-display); font-size: 24px; letter-spacing: 4px; color: var(--ink); }
.nav-logo .en { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-family: var(--font-serif-kr); font-size: 14px; color: var(--ink-mid); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-price { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--ink-soft); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-serif-kr); font-size: 13px;
  padding: 10px 20px; text-decoration: none;
}

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 80px;
  background: inherit;
}
.footer-left { display: flex; flex-direction: column; gap: 6px; }
.footer-left .copy { font-family: var(--font-serif-kr); font-size: 12px; color: var(--ink-soft); }
.footer-left .biz, .footer-left .addr { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--ink-faint); }
.footer-right { display: flex; align-items: center; gap: 24px; }
.footer-right span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--ink-soft); }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-kr); font-size: 14px; letter-spacing: 1px;
  padding: 18px 36px; cursor: pointer; border: none; text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-large { padding: 18px 40px; }
.price-chip {
  display: inline-flex; align-items: center; padding: 18px 20px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--ink-soft);
}

/* Hero common */
.hero-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 6px; color: var(--ink-soft); }
.hero-h1 { font-family: var(--font-display); font-size: 54px; font-weight: 400; letter-spacing: -1px; line-height: 1.32; color: var(--ink); }
.hero-sub { font-family: var(--font-serif-kr); font-size: 16px; line-height: 1.85; color: var(--ink-mid); }
.cta-row { display: flex; align-items: center; gap: 16px; padding-top: 12px; }

/* Image placeholder */
.img-ph {
  border: 1px solid var(--ink-line);
  background-size: cover; background-position: center;
  width: 100%; height: 100%;
}

.cw-product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.cw-product-img.contain {
  object-fit: contain;
  padding: 18px;
}

.cw-proof-thumb,
.cw-product-proof .cw-proof-thumb {
  display: block;
  width: 116px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--ink-line);
  flex: 0 0 auto;
}

.cw-hero-product {
  display: block;
  width: 100%;
  height: 168px;
  border: 1px solid var(--ink-line);
  background: var(--paper);
  object-fit: cover;
}

/* Helpers */
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.fill { width: 100%; height: 100%; }
.text-center { text-align: center; }

/* Sections */
section, .section { width: 100%; }
.section-line { width: 100%; height: 1px; background: var(--ink-line); }
.section-line-night { width: 100%; height: 1px; background: var(--night-line); }

/* Reduced motion preference (applies to all 5 variants) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== 2026 audit polish pass ========== */

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
}

/* The pages were originally scaled from a fixed 1440px artboard. Keep the
   1440px composition cap, but let the layout respond normally below it. */
.page {
  width: min(100%, 1440px);
  max-width: 1440px;
  min-height: 100vh;
  transform: none !important;
  transform-origin: initial;
}

@media (max-width: 1439px) {
  .page { transform: none !important; }
}

a,
button,
[tabindex="0"] {
  -webkit-tap-highlight-color: rgba(26, 22, 18, 0.14);
}

a {
  color: inherit;
}

a[href],
button {
  min-height: 44px;
}

a[href]:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.nav {
  width: 100%;
  min-height: 84px;
  height: auto;
  gap: 24px;
}

.nav-logo,
.nav-links,
.nav-right {
  min-width: 0;
}

.nav-links a,
.nav-cta,
.btn-primary,
.btn-secondary,
.price-chip {
  min-height: 44px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-mid);
}

.nav-cta,
.btn-primary,
.btn-secondary {
  border-radius: 2px;
  transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}

.nav-cta:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(26, 22, 18, 0.14);
}

.btn-secondary:hover {
  background: rgba(26, 22, 18, 0.045);
}

.hero-sub,
.sub,
[class$="-sub"],
.desc,
.aa,
.d {
  overflow-wrap: anywhere;
}

.price-chip,
.nav-price {
  white-space: nowrap;
}

/* Reusable product artifact: CSS-only bracelet/stone evidence for variants
   that are intentionally abstract and should not rely on extra image assets. */
.cw-product-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--ink-line);
  background: color-mix(in srgb, var(--paper-pure) 86%, transparent);
  box-shadow: 0 8px 24px rgba(26, 22, 18, 0.08);
}

/* ========== Chaewoon fill-in micro-interaction ==========
   빈 자리에 해석된 색이 놓이는 일관 패턴.
   채운 메커니즘(빈 → 색이 놓임)을 hover/focus/scroll-in에 그대로. */
.cw-fill-in {
  position: relative;
  isolation: isolate;
  transition:
    color var(--cw-fill-duration) var(--cw-fill-ease),
    background-color var(--cw-fill-duration) var(--cw-fill-ease),
    border-color var(--cw-fill-duration) var(--cw-fill-ease),
    box-shadow var(--cw-fill-duration) var(--cw-fill-ease),
    transform var(--cw-fill-duration-fast) var(--cw-fill-ease-out);
}
.cw-fill-in::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: color-mix(in oklab, var(--ohaeng-active) var(--cw-fill-wash-strength), var(--cw-fill-surface));
  opacity: 0;
  transform: scaleX(.72);
  transform-origin: left center;
  transition:
    opacity var(--cw-fill-duration) var(--cw-fill-ease),
    transform var(--cw-fill-duration) var(--cw-fill-ease);
  pointer-events: none;
  z-index: -1;
}
.cw-fill-in:is(:hover, :focus-visible, .cw-filled)::before {
  opacity: 1;
  transform: scaleX(1);
}
.cw-fill-in:is(:hover, :focus-visible, .cw-filled) {
  border-color: color-mix(in oklab, var(--ohaeng-active) 42%, var(--ink-faint));
}

.cw-empty   { opacity: var(--cw-fill-empty-opacity); transition: opacity var(--cw-fill-duration) var(--cw-fill-ease); }
.cw-filling { opacity: var(--cw-fill-rest-opacity); }
.cw-filled  { opacity: var(--cw-fill-filled-opacity); }

@media (prefers-reduced-motion: reduce) {
  .cw-fill-in,
  .cw-fill-in::before {
    transition-duration: 1ms !important;
    transform: none !important;
  }
}

.cw-product-proof .cw-beads {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cw-product-proof .cw-beads i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 32% 25%, rgba(255,255,255,0.42), transparent 0 18%, rgba(255,255,255,0) 19%),
    var(--cw-stone, var(--ohaeng-su));
  box-shadow: inset 0 -4px 6px rgba(0,0,0,0.16), 0 1px 2px rgba(26,22,18,0.18);
}

.cw-product-proof .cw-beads i.silver {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #F3EFE6 0%, #BDB5A6 48%, #F8F5EE 100%);
  border: 1px solid rgba(26, 22, 18, 0.18);
}

.cw-product-proof .cw-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cw-product-proof .cw-copy b {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--ink);
}

.cw-product-proof .cw-copy span {
  font-family: var(--font-serif-kr);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-mid);
}

.cw-guardrail {
  font-family: var(--font-serif-kr);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.cw-guardrail::before {
  content: "※ ";
  color: var(--ink-faint);
}

.cw-product-proof.cw-proof-dark {
  border-color: rgba(232, 226, 214, 0.22);
  background: rgba(232, 226, 214, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.cw-product-proof.cw-proof-dark .cw-copy b,
.cw-product-proof.cw-proof-dark .cw-copy span,
.cw-proof-dark.cw-guardrail {
  color: var(--night-text);
}

.cw-product-proof.cw-proof-dark .cw-copy span,
.cw-proof-dark.cw-guardrail {
  opacity: 0.76;
}

.cw-service-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--ink-soft);
}

.cw-service-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--ink-line);
  background: rgba(255, 255, 255, 0.28);
}

.cw-service-line i {
  width: 22px;
  height: 1px;
  background: var(--ink-line);
  display: inline-block;
}

.cw-mobile-break {
  display: none;
}

.v14-hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  flex-wrap: wrap;
}

.v14-hero-cta .cta,
.v14-hero-cta .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 22px;
  text-decoration: none;
}

.v14-hero-cta .cta {
  background: var(--film-ink, var(--ink));
  color: var(--film-bg, var(--paper));
}

.v14-hero-cta .cta-secondary {
  border: 1px solid var(--film-ink, var(--ink));
  color: var(--film-ink, var(--ink));
}

@media (max-width: 1180px) {
  .nav {
    padding: 18px 32px;
    align-items: flex-start;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
  }

  .nav-right {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-h1 { font-size: clamp(36px, 5.2vw, 54px); }
}

@media (max-width: 900px) {
  .page > section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .page > section:not(.scene):not(.v10-hero) {
    min-height: auto !important;
  }

  .v1-hero,
  .v5-hero,
  .v7-hero,
  .v8-hero,
  .v9-hero,
  .v10-meaning,
  .v10-bracelet,
  .v10-price,
  .v9-pricing,
  .v14-notes,
  .v14-end,
  .v15-hero {
    padding-top: 56px !important;
    padding-bottom: 64px !important;
  }

  .v2-hero,
  .v5-hero,
  .v6-hero,
  .v8-hero-row,
  .v9-hero,
  .v9-hero,
  .v12-hero,
  .v13-hero,
  .v15-hero-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .v1-hv,
  .v1-work,
  .v1-s3,
  .v2-axis,
  .v2-one,
  .v2-gift,
  .v4-mat,
  .v5-s3,
  .v6-empty-seat,
  .v6-reading,
  .v6-bracelet,
  .v6-info,
  .v6-fit,
  .v7-mv,
  .v7-product,
  .v7-codicil,
  .v7-note,
  .v8-process,
  .v8-result,
  .v8-note,
  .v9-s4b,
  .v9-s5,
  .v9-s5b .hd,
  .v9-s7,
  .v10-order,
  .v10-spec,
  .v9-reading,
  .v9-empty,
  .v9-bracelet,
  .v12-five,
  .v12-bridge,
  .v12-bracelet,
  .v13-rooms,
  .v13-empty,
  .v13-bracelet,
  .v15-five,
  .v15-final-seal,
  .v15-bracelet,
  .v15-pricing,
  .v15-notes {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .v2-hero .spine {
    width: 100% !important;
    flex-direction: row !important;
    overflow: hidden;
  }

  .v2-hero .spine .seg {
    min-height: 96px !important;
    padding: 14px !important;
  }

  .v2-hero .hcontent,
  .v5-hero .l,
  .v6-hero-l,
  .v8-hero-l,
  .v9-hero .l,
  .v9-hero-l,
  .v12-hero .left,
  .v13-hero-r,
  .v15-hero-l {
    width: 100% !important;
    max-width: none !important;
    padding-top: 0 !important;
  }

  .v5-env-wrap,
  .v5-envelope,
  .v6-seats-frame,
  .v9-orbit-wrap,
  .v12-hero .bracelet-anchor,
  .v13-plan-sheet,
  .v15-hero-r {
    width: 100% !important;
    max-width: 620px;
  }

  .v9-orbit-wrap {
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  .v12-hero::after {
    left: 20px !important;
    right: 20px !important;
  }

  .v12-hero .right {
    padding-top: 36px !important;
    gap: 20px !important;
    overflow-x: auto;
    justify-content: flex-start !important;
  }

  .v12-hero .bracelet-anchor {
    position: static !important;
    align-items: flex-start !important;
  }

  .v13-titleblock {
    position: static !important;
    order: -1;
  }

  .v14-nav-tag {
    width: 100%;
    order: 3;
    line-height: 1.6;
  }

  .nav {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .nav-logo {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .nav-right {
    order: 2;
    width: 100%;
    justify-content: space-between;
  }

  .nav-cta,
  .btn-primary,
  .btn-secondary {
    padding: 14px 18px;
  }

  .cta-row,
  [class*="cta-row"],
  [class="ctas"],
  .ctas {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .price-chip {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
    white-space: normal;
  }

  .footer {
    padding: 32px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-right {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-width: 768px) {
  .page > section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .v1-hero,
  .v5-hero,
  .v7-hero,
  .v8-hero,
  .v9-hero,
  .v15-hero {
    text-align: left !important;
    align-items: stretch !important;
  }

  .v1-hero .h1,
  .v1-hero .sub,
  .v7-hero .h1,
  .v7-hero .sub {
    text-align: left !important;
  }

  .v1-catalog-tag,
  .v1-edition-tag,
  .v10-hero-mark {
    display: none !important;
  }

  .v1-seq,
  .v7-strip,
  .v10-hint,
  .v15-seals {
    overflow-x: auto;
    justify-content: flex-start !important;
    max-width: 100%;
  }

  .v2-hero .spine .seg .coord,
  .v2-hero .spine .seg .h em {
    display: none;
  }

  .v3-hero,
  .v3-hero .left,
  .v3-hero .right,
  .v3-hero .row1,
  .v3-hero .row2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 18px !important;
  }

  .v3-slip,
  .v3-slip.su-main,
  .v3-hero .main-card,
  .v3-hero .cta-card {
    width: 100% !important;
    height: auto !important;
    min-height: 160px;
    transform: none !important;
  }

  .v4-chapter {
    min-height: auto !important;
    padding: 72px 18px !important;
  }

  .v4-chapter .body,
  .v4-i .form,
  .v4-ii .ms,
  .v4-iii .seq {
    width: 100% !important;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .v5-env-wrap {
    transform: none !important;
  }

  .v6-seat-row {
    gap: 12px !important;
  }

  .v8-bracelet-frame,
  .v10-bracelet-img,
  .v9-bracelet-img,
  .v12-bracelet-img,
  .v13-bracelet-img,
  .v15-bracelet-img {
    min-height: 280px !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .v9-s4 .row,
  .v9-s4 .specs,
  .v9-s5b .grid,
  .v10-spec-grid,
  .v9-cond,
  .v15-note-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .scene {
    min-height: 760px !important;
  }

  .scene-stage {
    padding-bottom: 86px !important;
  }

  .subtitle,
  .scene.hero .hook {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .color-spine {
    width: min(100%, 520px) !important;
  }

  .v15-drawer {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .nav-logo .hanja {
    font-size: 21px;
    letter-spacing: 3px;
  }

  .nav-logo .en {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-eyebrow {
    letter-spacing: 3px;
  }

  .hero-h1,
  .h1,
  [class$="-h1"] {
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1.34 !important;
    letter-spacing: 0 !important;
  }

  .hero-sub,
  .sub,
  [class$="-sub"] {
    font-size: 15px !important;
    line-height: 1.78 !important;
  }

  .btn-primary,
  .btn-secondary,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .cw-product-proof {
    width: 100%;
    align-items: flex-start;
  }
}

/* ========== Screenshot recheck second pass ========== */

/* First viewports must not depend on delayed JS reveal timing. */
[data-quiet],
[data-near] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition-duration: 0.01ms !important;
}

.v4-chapter .ind,
.v4-chapter .cap,
.v4-chapter .body,
.v4-chapter .footnote,
.scene.hero .scene-no,
.scene.hero .scene-term,
.scene.hero .pre-roll,
.scene.hero .hook,
.scene.hero .subtitle,
.scene.hero .hero-still,
.scene.hero .hero-still-cap,
.scene.with-still .still,
.scene.with-still .still-cap {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.v4-chapter .ind .lab,
.v4-chapter .ind .seal-stroke,
.v4-chapter .ind .num::after {
  opacity: 1 !important;
}

.v4-chapter .ind .num::after {
  width: 80px !important;
}

.v4-chapter .ind .seal-stroke {
  width: 120px !important;
}

/* CSS-only product fallback for missing generated image assets. */
.v8-bracelet-frame,
.v12-hero .bracelet-anchor .thumb,
.scene.hero .hero-still,
.scene.with-still .still {
  background-color: var(--paper-pure) !important;
  background-image:
    radial-gradient(circle at 50% 49%, transparent 0 46px, rgba(26,22,18,0.20) 47px 49px, transparent 50px),
    radial-gradient(circle at 30% 48%, #20354A 0 13px, transparent 14px),
    radial-gradient(circle at 38% 36%, #20354A 0 12px, transparent 13px),
    radial-gradient(circle at 50% 31%, #D9D2C5 0 12px, transparent 13px),
    radial-gradient(circle at 62% 36%, #20354A 0 12px, transparent 13px),
    radial-gradient(circle at 70% 48%, #20354A 0 13px, transparent 14px),
    radial-gradient(circle at 62% 60%, #20354A 0 12px, transparent 13px),
    radial-gradient(circle at 50% 65%, #D9D2C5 0 12px, transparent 13px),
    radial-gradient(circle at 38% 60%, #20354A 0 12px, transparent 13px),
    linear-gradient(135deg, var(--paper-pure), var(--paper-cool)) !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  filter: saturate(1.02) contrast(1.06) !important;
}

.v8-bracelet-frame::before,
.v12-hero .bracelet-anchor .thumb::before,
.scene.hero .hero-still::before,
.scene.with-still .still::before {
  content: "925 SILVER / NATURAL STONE";
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ink-soft);
}

.btn-primary,
.nav-cta,
.v5-hero .l .ctas .p,
.v6-hero-cta .read,
.v8-cta-primary,
.v9-hero .l .ctas .p,
.v10-cta-primary,
.v9-hero-cta .read,
.v12-hero .ctas .btn-primary,
.v13-hero-cta .read,
.v14-hero-cta .cta,
.v15-cta-primary {
  font-weight: 600 !important;
  box-shadow: 0 14px 28px rgba(26, 22, 18, 0.16) !important;
}

.btn-primary,
.v8-cta-primary,
.v9-hero .l .ctas .p,
.v9-hero-cta .read,
.v13-hero-cta .read,
.v15-cta-primary {
  background: var(--btn-primary-bg, var(--ink)) !important;
  color: var(--btn-primary-fg, var(--paper)) !important;
}

.v1-hero {
  min-height: calc(100vh - 84px);
  padding: 62px 120px 76px !important;
  gap: 24px !important;
  justify-content: center !important;
}

.v1-hero .h1 {
  max-width: 920px !important;
}

.v1-hero-contents,
.v1-seal-row,
.cw-product-proof:not(.cw-proof-dark) {
  background: rgba(255, 255, 255, 0.62) !important;
}

.v1-seal-row {
  border: 1px solid var(--ink-line);
  padding: 14px 18px;
}

.v1-cta-row .btn-primary,
.v7-hero-cta .btn-primary {
  padding: 20px 42px !important;
  font-size: 15px !important;
}

.v4-chapter {
  min-height: calc(100vh - 84px) !important;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
  gap: 28px !important;
}

.v4-chapter .ind .num {
  font-size: 92px !important;
  text-shadow: 0 0 22px rgba(232, 226, 214, 0.28) !important;
}

.v4-chapter .cap .h {
  font-size: 42px !important;
}

.v4-i .body {
  display: grid !important;
  grid-template-columns: minmax(360px, 520px) minmax(280px, 420px);
  gap: 22px;
  align-items: start;
}

.v4-i .form {
  padding-top: 0 !important;
}

.v4-i .reading-note {
  display: none !important;
}

.v4-i .cw-product-proof {
  align-self: stretch;
  min-height: 100%;
}

.v6-hero,
.v9-hero,
.v13-hero {
  align-items: center !important;
}

.v6-hero-l,
.v9-hero-l,
.v13-hero-r {
  gap: 24px !important;
}

.v6-seats-frame,
.v9-orbit-wrap,
.v13-plan-sheet {
  background-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 18px 46px rgba(26, 22, 18, 0.12) !important;
}

.v7-hero {
  min-height: calc(100vh - 84px);
  padding-top: 92px !important;
  padding-bottom: 92px !important;
  justify-content: center !important;
}

.v10-hero-content {
  justify-content: center !important;
  padding-bottom: 24px !important;
}

.v14-hero-cta {
  margin-top: 14px !important;
  margin-bottom: 16px !important;
}

.scene.hero .scene-stage {
  justify-content: center !important;
  padding-top: 64px !important;
  padding-bottom: 72px !important;
}

.scene.hero .hook {
  margin-bottom: 24px !important;
}

.scene.hero .hero-still {
  margin-bottom: 20px !important;
}

.scene.hero .subtitle {
  padding-top: 6px !important;
}

/* Density reduction: one dominant action above the fold. */
.v2-hero .hcontent,
.v3-hero .left,
.v5-hero .l,
.v12-hero .left,
.v15-hero-l {
  gap: 20px !important;
}

.v2-hero .hcontent .meta,
.v5-hero .l .meta,
.v12-hero .hanji-label,
.v15-drawer {
  opacity: 0.58 !important;
  transform: scale(0.96);
  transform-origin: left top;
}

.v2-hero .spine {
  width: 176px !important;
}

.v2-hero .spine .seg {
  min-height: 118px !important;
  padding-left: 22px !important;
  padding-right: 18px !important;
}

.v3-hero {
  gap: 52px !important;
}

.v3-hero .right {
  opacity: 0.76 !important;
  transform: scale(0.92);
  transform-origin: center;
}

.v3-hero .cta-card {
  width: 360px !important;
}

.v5-hero {
  padding-top: 54px !important;
  padding-bottom: 64px !important;
  align-items: center !important;
}

.v5-hero .l {
  padding-top: 0 !important;
}

.v5-hero .l .h1 {
  font-size: 43px !important;
  line-height: 1.26 !important;
  max-width: 520px;
}

.v5-env-wrap,
.v5-envelope {
  width: 560px !important;
}

.v5-envelope .content {
  padding-bottom: 24px !important;
}

.v8-cta-primary,
.v9-hero .l .ctas .p {
  padding: 20px 34px !important;
  font-size: 15px !important;
}

.v8-hero-r {
  width: 420px !important;
}

.v8-bracelet-frame {
  height: 480px !important;
  box-shadow: 0 18px 44px rgba(26, 22, 18, 0.14);
}

.v9-card-stack {
  width: 500px !important;
}

.v9-card-stack::after {
  content: "BRACELET INCLUDED · 925 SILVER · NATURAL STONE";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 24px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-line);
  background:
    radial-gradient(circle at 28% 50%, #20354A 0 7px, transparent 8px),
    radial-gradient(circle at 34% 50%, #D9D2C5 0 7px, transparent 8px),
    radial-gradient(circle at 40% 50%, #20354A 0 7px, transparent 8px),
    rgba(245, 239, 227, 0.92);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ink);
  z-index: 6;
}

.v9-reason-card {
  padding-bottom: 84px !important;
}

.v12-hero {
  padding-top: 58px !important;
  padding-bottom: 64px !important;
}

.v12-hero .right {
  opacity: 0.72 !important;
  transform: scale(0.92);
  transform-origin: center;
}

.v12-hero .bracelet-anchor {
  right: 88px !important;
  bottom: 32px !important;
}

.v15-hero {
  padding-top: 56px !important;
  padding-bottom: 72px !important;
  gap: 34px !important;
}

.v15-hero-head {
  padding-bottom: 14px !important;
}

.v15-hero-body {
  align-items: center !important;
  gap: 56px !important;
}

.v15-hero-r {
  box-shadow: 0 16px 42px rgba(26, 22, 18, 0.10);
}

@media (max-width: 900px) {
  .v4-i .body {
    display: flex !important;
    flex-direction: column !important;
  }

  .v2-hero .spine,
  .v3-hero .right,
  .v12-hero .right {
    width: 100% !important;
    transform: none !important;
  }

  .v5-env-wrap,
  .v5-envelope,
  .v8-hero-r,
  .v9-card-stack {
    width: 100% !important;
  }
}

/* ============================================================
   CW Trust Strip — price + included items, vertical-line separator.
   시안별 톤은 wrapper class(.dark 등)나 incl span 어휘로 변형.
   ============================================================ */
.cw-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--ink-faint);
  padding-top: 12px;
  margin-top: 6px;
  border-top: 1px solid var(--ink-line);
}
.cw-trust-strip .price {
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 2.5px;
  padding-right: 14px;
  border-right: 1px solid var(--ink-line);
}
.cw-trust-strip .incl {
  display: flex;
  flex-wrap: wrap;
  padding-left: 14px;
}
.cw-trust-strip .incl span {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--ink-line);
}
.cw-trust-strip .incl span:first-child { padding-left: 0; }
.cw-trust-strip .incl span:last-child { border-right: none; padding-right: 0; }
@media (max-width: 768px) {
  .cw-trust-strip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cw-trust-strip .price { border-right: none; padding-right: 0; }
  .cw-trust-strip .incl { padding-left: 0; }
}
.cw-trust-strip.dark {
  color: rgba(255,255,255,0.55);
  border-top-color: rgba(255,255,255,0.18);
}
.cw-trust-strip.dark .price {
  color: rgba(255,255,255,0.92);
  border-right-color: rgba(255,255,255,0.18);
}
.cw-trust-strip.dark .incl span { border-right-color: rgba(255,255,255,0.18); }

/* ========== Product image final fit fixes ========== */
/* v12 bridge uses a close-up asset; keep the silver charm inside the card instead of cropping at the right edge. */
.v12-bridge .r .stone-side .product-img .cw-product-img {
  object-fit: contain !important;
  padding: 24px 34px 42px 18px !important;
  transform: translateX(-10px) scale(0.94);
  transform-origin: center;
}

/* Make the small hero conversion proof in v12 read more clearly without touching the sampler layout. */
.v12-hero .bracelet-anchor {
  transform: scale(1.12) !important;
  transform-origin: right bottom !important;
}
.v12-hero .bracelet-anchor .thumb .cw-product-img,
.v12-hero .bracelet-anchor .cw-product-img {
  object-fit: contain !important;
  padding: 8px !important;
}

/* Phase C — photo-strip section for variants without baseline image slot */
.cw-photo-strip {
  padding: 96px 48px;
  background: var(--paper);
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cw-photo-figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: var(--paper-warm);
  min-width: 0;
}
.cw-photo-figure--single   { width: 100%; max-width: 1120px; }
.cw-photo-figure--primary  { flex: 1 1 600px; max-width: 720px; }
.cw-photo-figure--secondary{ flex: 1 1 360px; max-width: 480px; }
.cw-photo-figure .cw-product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Variant ohaeng-active assignment ==========
   각 시안의 미감 톤에 맞는 오행 색을 active로. fill-in/proof/wash가 같은 색 공유. */
[class^="v1-"], [class*=" v1-"] { --ohaeng-active: var(--ohaeng-geum); }                 /* Quiet Singular — 금/응축 */
[class^="v2-"], [class*=" v2-"] { --ohaeng-active: var(--ohaeng-mok); }                  /* Five-Tone Spine — 목/시작 */
[class^="v3-"], [class*=" v3-"] { --ohaeng-active: var(--ohaeng-to); }                   /* Color Slip — 토/색지 */
[class^="v4-"], [class*=" v4-"] {                                                        /* Five Readings — 수/밤 (다크) */
  --ohaeng-active: var(--ohaeng-su);
  --cw-fill-surface: var(--night);
  --cw-fill-wash-strength: 26%;
  --btn-primary-bg: var(--night-text);
  --btn-primary-fg: var(--night);
}
[class^="v5-"], [class*=" v5-"] {                                                        /* Send a Color — 화/메시지 */
  --ohaeng-active: var(--ohaeng-hwa);
  --btn-primary-bg: var(--ohaeng-hwa);
  --btn-primary-fg: var(--paper);
}
[class^="v6-"], [class*=" v6-"] { --ohaeng-active: var(--ohaeng-to); }                   /* Empty Seat — 토/채워지는 자리 */
[class^="v7-"], [class*=" v7-"] { --ohaeng-active: var(--ohaeng-mok); }                  /* Three Movements — 목/동작 */
[class^="v8-"], [class*=" v8-"] { --ohaeng-active: var(--ohaeng-su); }                   /* Reader of Grain — 수/결 */
[class^="v9-"], [class*=" v9-"] { --ohaeng-active: var(--ohaeng-geum); }                 /* Quiet Orbit — 금/궤도 */
