:root {
  --ink: #211a14;
  --paper: #f7f1e8;
  --hero-paper: #f3eee7;
  --muted: #7e766d;
  --line: rgba(33, 26, 20, 0.16);
  --gold: #d6a44f;
  --clay: #8f392d;
  --green: #314538;
  --white: #fffaf3;
  --page-x: 3.6vw;
  --header-y: 3.8svh;
  --hero-top: 13svh;
  --hero-bottom: 4svh;
  --hero-gap: 3.2vw;
  --rail-w: 7vw;
  --rail-bottom: 12.5svh;
  --section-x: 5vw;
  --section-y: 10svh;
  --hero-left-overlay-strong: 0.20;
  --hero-left-overlay-mid: 0.06;
  --hero-left-overlay-soft: 0;
  --hero-wash: 0;
  --hero-bottom-fade: 0.34;
  --intro-echo-opacity: 0.08;
  --button-radius: 18px;
  --button-radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 38%, rgba(255, 255, 255, 0.88), transparent 32%),
    linear-gradient(110deg, #fbf8f2 0%, #f1e8de 100%);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

main > section {
  min-height: 100svh;
}

.slide-pagination {
  position: fixed;
  z-index: 18;
  top: 50%;
  right: clamp(20px, 2.2vw, 40px);
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.slide-pagination button {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-items: end;
  gap: 12px;
  width: 88px;
  min-height: 38px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(33, 26, 20, 0.4);
  cursor: pointer;
}

.slide-pagination button::before {
  content: "";
  grid-column: 2;
  grid-row: 1 / 3;
  width: 1px;
  height: 30px;
  margin: auto;
  background: rgba(33, 26, 20, 0.24);
  transform-origin: center;
  transition:
    background 280ms ease,
    transform 280ms ease;
}

.slide-pagination button.is-active::before {
  background: #8f392d;
  transform: scaleY(1.85);
}

.pagination-index,
.pagination-name {
  grid-column: 1;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 260ms ease,
    color 260ms ease,
    transform 260ms ease;
  white-space: nowrap;
}

.pagination-index {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pagination-name {
  writing-mode: vertical-rl;
  color: rgba(33, 26, 20, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.slide-pagination button:hover .pagination-index,
.slide-pagination button:hover .pagination-name,
.slide-pagination button.is-active .pagination-index,
.slide-pagination button.is-active .pagination-name {
  opacity: 1;
  transform: translateX(0);
}

.slide-pagination button.is-active .pagination-index,
.slide-pagination button.is-active .pagination-name {
  color: #8f392d;
}

.scene-wash {
  position: fixed;
  inset: 0;
  z-index: 6;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 243, 0.18), transparent 42%),
    var(--scene-wash-color, rgba(247, 241, 232, 0.86));
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 360ms ease 400ms,
    background 360ms ease 400ms;
}

.is-scene-transitioning .scene-wash {
  opacity: 0.08;
}

@media (min-width: 981px) {
  html {
    scroll-padding-top: 0;
  }

  body {
    overflow-y: auto;
    overscroll-behavior-y: none;
    scroll-snap-type: y mandatory;
  }

  main > section,
  .site-footer {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .page-slide > :not(.hero-video-bg) {
    transition:
      transform 950ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 780ms ease,
      filter 780ms ease;
    will-change: transform, opacity, filter;
  }

  .page-slide.is-leaving-down > :not(.hero-video-bg) {
    opacity: 0.84;
    filter: blur(0.35px);
    transform: translateY(-18px) scale(0.996);
  }

  .page-slide.is-leaving-up > :not(.hero-video-bg) {
    opacity: 0.84;
    filter: blur(0.35px);
    transform: translateY(18px) scale(0.996);
  }

  .page-slide.is-entering-slide > :not(.hero-video-bg) {
    opacity: 0.92;
    filter: blur(0.45px);
    transform: translateY(16px) scale(0.998);
  }

  .page-slide.is-entering-up > :not(.hero-video-bg) {
    transform: translateY(-16px) scale(0.998);
  }

  .page-slide.is-entering-active > :not(.hero-video-bg) {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  .site-footer {
    align-content: center;
  }
}

@media (max-width: 980px) {
  .slide-pagination {
    display: none;
  }
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr) minmax(180px, 0.8fr);
  align-items: center;
  gap: var(--hero-gap);
  padding: 14px var(--page-x);
  color: var(--ink);
  background:
    linear-gradient(to bottom, rgba(247, 241, 232, 0.18), rgba(247, 241, 232, 0.06) 72%, rgba(247, 241, 232, 0));
  backdrop-filter: blur(4px);
  transform: translateY(0);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
  will-change: transform;
}

.site-header::after {
  content: "";
  position: absolute;
  left: var(--page-x);
  right: var(--page-x);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 26, 20, 0.14) 16%, rgba(33, 26, 20, 0.14) 84%, transparent);
  transition: opacity 320ms ease;
}

.site-header.is-compact {
  padding: 10px var(--page-x);
  background:
    linear-gradient(to bottom, rgba(247, 241, 232, 0.34), rgba(247, 241, 232, 0.16));
  box-shadow: 0 14px 38px rgba(33, 26, 20, 0.035);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% + 8px));
}

.site-header.is-hidden::after {
  opacity: 0;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-logo {
  height: clamp(32px, 2.8vw, 48px);
  width: auto;
  display: block;
}

nav {
  grid-column: 2;
  display: flex;
  justify-self: center;
  gap: clamp(18px, 2.7vw, 48px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav a {
  position: relative;
  padding: 6px 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: rgba(143, 57, 45, 0.72);
  transition: right 240ms ease;
}

nav a:hover::after {
  right: 0;
}

nav a.is-current::after {
  right: 0;
  background: #8f392d;
}

.header-tools {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.shop-link {
  border: 1px solid rgba(33, 26, 20, 0.22);
  border-radius: var(--button-radius-sm);
  padding: 9px 16px;
  color: #211a14;
  background: rgba(255, 250, 243, 0.22);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang-btn {
  min-width: 38px;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.menu-btn {
  display: inline-grid;
  gap: 7px;
  width: 32px;
  padding: 5px 0;
}

.menu-btn span {
  display: block;
  height: 1px;
  background: var(--ink);
}

.hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: minmax(0, 1fr);
  gap: var(--hero-gap);
  align-items: stretch;
  height: 100dvh;
  min-height: 100dvh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  overflow: visible;
  background: #f4ecdf;
}

.hero--video {
  grid-template-columns: var(--rail-w) minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(251, 247, 239, var(--hero-left-overlay-strong)) 0%,
      rgba(251, 247, 239, calc(var(--hero-left-overlay-strong) - 0.08)) 28%,
      rgba(251, 247, 239, var(--hero-left-overlay-mid)) 50%,
      rgba(251, 247, 239, var(--hero-left-overlay-soft)) 76%
    ),
    linear-gradient(0deg, rgba(251, 247, 239, var(--hero-wash)), rgba(251, 247, 239, var(--hero-wash)));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 58%, rgba(247, 241, 232, 0.24) 76%, var(--paper) 100%),
    linear-gradient(rgba(83, 61, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 61, 43, 0.04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
}

.hero-video-bg {
  z-index: 0;
  overflow: hidden;
  background: #211a14 url("./hero-bg.png") center / cover no-repeat;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: max(100vw, 177.78svh);
  height: max(56.25vw, 100svh);
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.02);
}

.hero-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  justify-items: center;
  align-content: stretch;
  gap: 2svh;
  padding: 2.8svh 0 var(--rail-bottom);
  color: #8c6b54;
}

.rail-mark {
  font-size: 24px;
}

.rail-text,
.rail-scroll {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.rail-line {
  width: 1px;
  height: auto;
  min-height: 0;
  align-self: stretch;
  background: rgba(91, 65, 48, 0.45);
}

.rail-line.short {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  grid-column: 2;
  padding: 0;
  color: var(--ink);
}

.hero--video .hero-copy {
  align-content: end;
  max-width: 520px;
  padding-bottom: clamp(40px, 8svh, 84px);
}

.hero-kicker {
  margin: 0 0 3.8svh;
  color: #6b4933;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.7;
}

.hero h1 {
  margin-bottom: 4.2svh;
  color: #130f0c;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(42px, 3.25vw, 58px);
  line-height: 1.42;
  font-weight: 500;
  text-wrap: auto;
}

.hero--video h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero--video .hero-kicker,
.hero--video .copy-rule,
.hero--video .hero-copy p:not(.hero-kicker) {
  display: none;
}

.copy-rule {
  display: block;
  width: 1px;
  height: 6.5svh;
  margin: 0 0 3.8svh 6px;
  background: #9f7a61;
}

.hero--video .copy-rule {
  height: 4.2svh;
  margin-bottom: 2.2svh;
}

.hero-copy p:not(.hero-kicker) {
  width: min(78%, 42ch);
  color: #3a2f27;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.9;
}

.hero--video .hero-kicker {
  margin-bottom: 2.2svh;
  color: #6b4933;
  font-size: clamp(15px, 1vw, 18px);
}

.hero--video .hero-copy p:not(.hero-kicker) {
  width: min(100%, 38ch);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.8;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--hero-gap) * 0.32);
  width: 100%;
  margin-top: 5.3svh;
}

.hero--video .hero-actions {
  width: min(100%, 480px);
  margin-top: 0;
}

.outline-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 58px;
  border: 1px solid rgba(83, 57, 40, 0.56);
  border-radius: var(--button-radius);
  padding: 0 30px;
  color: #251b15;
  background: rgba(255, 251, 245, 0.22);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease;
}

.outline-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 250, 243, 0.36);
  opacity: 0;
  transition: opacity 260ms ease;
}

.outline-btn:hover {
  border-color: rgba(143, 57, 45, 0.54);
  background: rgba(255, 250, 243, 0.3);
}

.outline-btn:hover::after {
  opacity: 1;
}

.outline-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  font-size: 20px;
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.outline-btn:hover span {
  transform: translateX(4px);
}

.motion-section {
  isolation: isolate;
  overflow: hidden;
}

.motion-section > * {
  position: relative;
  z-index: 1;
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms ease,
    transform 880ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .motion-section.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .motion-section :is(.intro-rail span, .intro-rail em, .section-rail span, .section-rail em) {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 560ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .motion-section.is-visible :is(.intro-rail span, .intro-rail em, .section-rail span, .section-rail em) {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .motion-section :is(.intro-rail span, .section-rail span) {
  transition-delay: 80ms;
}

.motion-ready .motion-section :is(.intro-rail em, .section-rail em) {
  transition-delay: 180ms;
}

.motion-ready .motion-section :is(.intro-rail i, .section-rail i) {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 860ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .motion-section.is-visible :is(.intro-rail i, .section-rail i) {
  transform: scaleY(1);
}

.motion-ready .motion-section :is(.intro-rail b, .section-rail b) {
  opacity: 0;
  transform: scale(1.42) rotate(-5deg);
  transition:
    opacity 380ms ease,
    transform 560ms cubic-bezier(0.2, 1.4, 0.34, 1),
    box-shadow 360ms ease;
  transition-delay: 260ms;
}

.motion-ready .motion-section.is-visible :is(.intro-rail b, .section-rail b) {
  opacity: 1;
  transform: scale(1) rotate(0);
  box-shadow: 0 0 0 5px rgba(163, 52, 36, 0.06);
}

.motion-ready .motion-section.is-entering-slide :is(.intro-rail i, .section-rail i) {
  transition-delay: 80ms;
}

.motion-ready .motion-section.is-entering-slide :is(.intro-rail b, .section-rail b) {
  transition-delay: 300ms;
}

.motion-ready .motion-section.is-entering-slide :is(.intro-title, .section-title) {
  transition-delay: 180ms;
}

.motion-ready .motion-section.is-entering-slide :is(.intro-body, .section-lead, .taste-grid, .product-grid, .gallery-body, .detail-grid) {
  transition-delay: 280ms;
}

.motion-ready .image-reveal {
  position: relative;
}

.motion-ready .image-reveal::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(247, 241, 232, 0.96), rgba(247, 241, 232, 0.72)),
    var(--paper);
  pointer-events: none;
  transform: translateY(0);
  transition: transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--image-reveal-delay, 180ms);
}

.motion-ready .motion-section.is-visible .image-reveal::before,
.motion-ready .sub-motion.is-visible .image-reveal::before {
  transform: translateY(104%);
}

.motion-ready .image-reveal img {
  opacity: 0.42;
  filter: blur(4px) saturate(0.78) sepia(0.08) contrast(0.92);
  transform: scale(1.045);
  transition:
    opacity 900ms ease,
    filter 980ms ease,
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--image-reveal-delay, 180ms) + 90ms);
}

.motion-ready .motion-section.is-visible .image-reveal img,
.motion-ready .sub-motion.is-visible .image-reveal img {
  opacity: var(--image-visible-opacity, 0.9);
  filter: saturate(0.9) sepia(0.04) contrast(0.96);
  transform: scale(1.01);
}

.motion-ready .text-reveal {
  opacity: 0;
  filter: blur(1.5px);
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.72em);
  transition:
    clip-path 920ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 760ms ease,
    filter 820ms ease,
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--text-reveal-delay, 120ms);
  will-change: clip-path, opacity, filter, transform;
}

.motion-ready .motion-section.is-visible .text-reveal {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 -0.12em 0);
  transform: translateY(0);
}

.motion-ready .section-title h2.text-reveal,
.motion-ready .intro-title h2.text-reveal {
  filter: blur(2px);
  transform: translateY(0.52em);
  transition-duration: 820ms, 700ms, 680ms, 820ms;
}

.motion-ready .motion-section.is-visible .section-title h2.text-reveal,
.motion-ready .motion-section.is-visible .intro-title h2.text-reveal {
  filter: blur(0);
  transform: translateY(0);
}

.motion-section :is(.section-mark, .intro-mark) {
  transform-origin: left center;
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 600ms ease;
}

.motion-ready .motion-section:not(.is-visible) :is(.section-mark, .intro-mark) {
  opacity: 0;
  transform: scaleX(0.18);
}

.taste-symbol img,
.gallery-band img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .scene-wash {
    display: none;
  }

  .page-slide > :not(.hero-video-bg) {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-ready .text-reveal {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    transition: none;
  }

  .motion-ready .image-reveal::before {
    display: none;
  }

  .motion-ready .image-reveal img,
  .motion-ready .motion-section :is(.intro-rail span, .intro-rail em, .section-rail span, .section-rail em, .intro-rail i, .section-rail i, .intro-rail b, .section-rail b) {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

.overlay-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.overlay-section > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 8, 5, 0.78), rgba(12, 8, 5, 0.18) 58%, rgba(12, 8, 5, 0.45)),
    linear-gradient(0deg, rgba(12, 8, 5, 0.56), rgba(12, 8, 5, 0.05) 46%);
}

.shade.soft {
  background: linear-gradient(90deg, rgba(15, 9, 6, 0.82), rgba(15, 9, 6, 0.08) 70%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1.02;
  font-weight: 900;
  text-wrap: balance;
}

.feature-copy p,
.intro p,
.detail-copy p {
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.75;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 900;
}

.primary-btn {
  color: #21160f;
  background: var(--gold);
}

.primary-btn.dark {
  color: var(--white);
  background: var(--ink);
}

.secondary-btn {
  border: 1px solid rgba(255, 250, 243, 0.58);
  color: var(--white);
}

.intro,
.products,
.details {
  padding: var(--section-y) var(--section-x);
}

.intro {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  gap: var(--hero-gap);
  align-items: center;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background: var(--paper);
}

.intro-rail {
  display: grid;
  justify-items: center;
  align-content: stretch;
  grid-template-rows: auto auto minmax(0, 1fr) auto minmax(0, 0.48fr) auto minmax(0, 0.34fr);
  gap: 2svh;
  padding: 2.8svh 0 var(--rail-bottom);
  height: 100%;
  color: #3f352d;
}

.intro-rail span,
.intro-rail em {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.intro-rail i {
  display: block;
  width: 1px;
  height: auto;
  align-self: stretch;
  background: rgba(33, 26, 20, 0.45);
}

.intro-rail b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #a33424;
  color: #a33424;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 13px;
  line-height: 1;
}

.intro-title {
  grid-column: 2;
  align-self: center;
}

.intro-mark {
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 9svh;
  background: rgba(33, 26, 20, 0.72);
}

.intro-title h2 {
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(42px, 3.25vw, 58px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: 0;
}

.intro-body {
  grid-column: 3;
  display: grid;
  align-content: center;
  gap: 5.3svh;
  height: 100%;
}

.intro-lead {
  color: #211a14;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.9;
}

.intro-body > p:not(.intro-lead) {
  width: min(78%, 42ch);
  color: #3d342d;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.9;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.principle-grid article {
  min-height: 150px;
  padding: 0 calc(var(--hero-gap) * 0.65);
  border-left: 1px solid rgba(33, 26, 20, 0.28);
}

.principle-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.principle-grid span {
  display: block;
  margin-bottom: 16px;
  font-size: 15px;
}

.principle-grid span::after {
  content: "";
  display: block;
  width: 78px;
  height: 1px;
  margin-top: 16px;
  background: rgba(33, 26, 20, 0.5);
}

.principle-grid h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(21px, 1.45vw, 27px);
  line-height: 1.2;
  font-weight: 500;
}

.principle-grid p {
  color: #5c5148;
  font-size: 14px;
  line-height: 1.8;
}

.taste-architecture {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--hero-gap);
  align-items: center;
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background: var(--paper);
}

.section-rail {
  grid-row: 1 / 3;
  display: grid;
  justify-items: center;
  align-content: stretch;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto minmax(0, 0.48fr) auto minmax(0, 0.34fr);
  gap: 2svh;
  height: 100%;
  padding: 2.8svh 0 var(--rail-bottom);
  color: #3f352d;
}

.section-rail span,
.section-rail em {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.section-rail i {
  display: block;
  width: 1px;
  align-self: stretch;
  background: rgba(33, 26, 20, 0.45);
}

.section-rail b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #a33424;
  color: #a33424;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 13px;
  line-height: 1;
}

.section-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.section-mark {
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 7svh;
  background: rgba(33, 26, 20, 0.72);
}

.section-title h2 {
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(42px, 3.25vw, 58px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: 0;
}

.taste-body {
  display: contents;
}

.section-lead {
  max-width: 54ch;
  color: #211a14;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.9;
}

.taste-architecture .section-lead {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}

.taste-grid {
  grid-column: 2 / 4;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: end;
}

.taste-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 0.52fr);
  gap: clamp(18px, 1.9vw, 34px);
  min-height: clamp(220px, 29svh, 270px);
  padding: 0 calc(var(--hero-gap) * 0.52);
  border-left: 1px solid rgba(33, 26, 20, 0.2);
}

.taste-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.taste-copy span {
  display: block;
  margin-bottom: 15px;
  font-size: 15px;
}

.taste-copy span::after {
  content: "";
  display: block;
  width: 78px;
  height: 1px;
  margin-top: 15px;
  background: rgba(33, 26, 20, 0.5);
}

.taste-copy h3 {
  margin-bottom: 22px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(21px, 1.45vw, 27px);
  line-height: 1.48;
  font-weight: 500;
}

.taste-copy p {
  color: #5c5148;
  font-size: 14px;
  line-height: 1.85;
}

.taste-symbol {
  position: relative;
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.12);
  background: rgba(255, 250, 243, 0.32);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}

.taste-symbol img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.86;
  filter: saturate(0.88) sepia(0.06) contrast(0.96);
  transform: scale(1.04);
}

.taste-symbol.one img {
  object-position: 52% center;
}

.taste-symbol.two img {
  object-position: 50% center;
}

.taste-symbol.three img {
  object-position: 52% center;
}

.taste-symbol::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(247, 241, 232, 0.3), rgba(247, 241, 232, 0.06)),
    linear-gradient(90deg, rgba(247, 241, 232, 0.24), transparent 58%);
  pointer-events: none;
}

.taste-symbol::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(247, 241, 232, 0.34);
  pointer-events: none;
}

.section-heading h2,
.feature-copy h2,
.detail-copy h3 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.08;
  font-weight: 900;
}

.split-feature {
  min-height: 100svh;
}

.feature-copy {
  position: relative;
  z-index: 2;
  width: min(52vw, calc(100% - 36px));
  padding: 22svh 0 14svh calc(var(--section-x) * 1.4);
}

.feature-copy h2 {
  margin-bottom: 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.products {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  grid-template-rows: minmax(0, 0.52fr) minmax(0, 1fr) auto;
  column-gap: var(--hero-gap);
  row-gap: clamp(26px, 3.4svh, 48px);
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background: #fff8ef;
}

.products .section-rail,
.gallery-band .section-rail,
.details .section-rail {
  grid-row: 1 / 3;
}

.product-title {
  grid-column: 2;
  grid-row: 1;
}

.product-body {
  display: contents;
}

.products .section-lead {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
}

.product-grid {
  grid-column: 2 / 4;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 1.5vw, 26px);
  align-self: end;
  min-height: 0;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 58%) minmax(0, 42%);
  height: min(36svh, 356px);
  min-height: 306px;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.16);
  color: var(--ink);
  background: rgba(255, 250, 243, 0.42);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px);
}

.product-card figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #efe5d9;
}

.product-card img {
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(0.9) sepia(0.04) contrast(0.96);
  transition: transform 500ms ease;
}

.product-card:hover img {
  transform: scale(1.045);
}

.card-overlay {
  display: none;
}

.card-copy {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 6px;
  padding: 14px 16px 14px;
  min-height: 0;
  border-top: 1px solid rgba(33, 26, 20, 0.13);
  background: rgba(247, 241, 232, 0.84);
}

.card-copy span {
  color: #7d5e49;
  font-size: 13px;
  font-weight: 600;
}

.card-copy h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.24;
  font-weight: 500;
}

.card-copy p {
  min-height: 0;
  margin: 0;
  color: #5c5148;
  font-size: 13px;
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-copy strong {
  color: #8f392d;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.card-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px solid rgba(33, 26, 20, 0.12);
  color: #211a14;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.card-copy a span {
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .card-copy a span {
  transform: translateX(4px);
}

.product-decision-bar {
  grid-column: 2 / 4;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 2vw, 34px);
  align-items: center;
  align-self: end;
  border-top: 1px solid rgba(33, 26, 20, 0.18);
  padding-top: clamp(14px, 1.8svh, 22px);
}

.product-decision-bar > span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-decision-bar p {
  margin: 0;
  color: #5c5148;
  font-size: 14px;
  line-height: 1.75;
}

.product-decision-bar div {
  display: flex;
  gap: 12px;
}

.product-decision-bar .outline-btn {
  min-height: 44px;
  gap: 24px;
  padding: 0 22px;
  font-size: 13px;
}

.gallery-band {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--hero-gap);
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background: var(--paper);
}

.gallery-title {
  grid-column: 2;
  grid-row: 1 / 3;
}

.gallery-body {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(18px, 1.6vw, 28px);
  align-self: center;
  height: min(68svh, 650px);
  min-height: 0;
}

.gallery-body figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.35);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.gallery-body figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(247, 241, 232, 0.18), transparent 46%);
  pointer-events: none;
}

.gallery-band img {
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.9) sepia(0.04) contrast(0.96);
}

.gallery-stack {
  display: grid;
  gap: clamp(18px, 1.6vw, 28px);
  grid-template-rows: minmax(0, 0.9fr) minmax(0, 1.1fr);
  height: 100%;
  min-height: 0;
}

.gallery-main img {
  object-position: 52% center;
}

.review-slider {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.76), rgba(247, 241, 232, 0.92)),
    rgba(255, 250, 243, 0.4);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(33, 26, 20, 0.12);
}

.review-head span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.review-head strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 18px;
  font-weight: 500;
}

.review-window {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.review-window::before,
.review-window::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 42px;
  pointer-events: none;
}

.review-window::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(247, 241, 232, 0.96), rgba(247, 241, 232, 0));
}

.review-window::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(247, 241, 232, 0.96), rgba(247, 241, 232, 0));
}

.review-track {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 16px;
  list-style: none;
  animation: reviewSlide 18s linear infinite;
}

.review-slider:hover .review-track {
  animation-play-state: paused;
}

.review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(33, 26, 20, 0.12);
}

.review-score {
  grid-column: 1;
  color: #8f392d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.review-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.review-info strong {
  overflow: hidden;
  color: #211a14;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-info span {
  overflow: hidden;
  color: #7e766d;
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-item em {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-width: 46px;
  border: 1px solid rgba(143, 57, 45, 0.22);
  padding: 5px 8px;
  color: #8f392d;
  background: rgba(255, 250, 243, 0.32);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes reviewSlide {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.details {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--hero-gap);
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background: #efe7dc;
  color: var(--ink);
}

.details-title {
  grid-column: 2;
  grid-row: 1 / 3;
}

.detail-grid {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.78fr);
  gap: clamp(28px, 2.8vw, 52px);
  align-items: center;
  min-height: 0;
}

figure {
  margin: 0;
}

.detail-grid figure {
  width: 100%;
  height: min(54svh, 520px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.45);
  padding: 12px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.detail-grid figure img {
  height: 100%;
  object-fit: contain;
}

.detail-proof {
  position: relative;
  align-self: center;
}

.detail-proof-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.detail-proof-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateX(18px) rotateY(-5deg) scale(0.985);
  transform-origin: left center;
  animation: detailProofFade 28s infinite;
}

.detail-proof-slide:nth-child(1) {
  animation-delay: 0s;
}

.detail-proof-slide:nth-child(2) {
  animation-delay: 4s;
}

.detail-proof-slide:nth-child(3) {
  animation-delay: 8s;
}

.detail-proof-slide:nth-child(4) {
  animation-delay: 12s;
}

.detail-proof-slide:nth-child(5) {
  animation-delay: 16s;
}

.detail-proof-slide:nth-child(6) {
  animation-delay: 20s;
}

.detail-proof-slide:nth-child(7) {
  animation-delay: 24s;
}

.detail-proof figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(33, 26, 20, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.detail-proof figcaption em {
  font-style: normal;
}

@keyframes detailProofFade {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateX(18px) rotateY(-5deg) scale(0.985);
  }

  3%,
  12% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) rotateY(0) scale(1);
  }

  15%,
  100% {
    opacity: 0;
    filter: blur(3px);
    transform: translateX(-22px) rotateY(4deg) scale(0.985);
  }
}

.detail-copy {
  display: grid;
  gap: clamp(26px, 4.2svh, 46px);
}

.detail-copy .section-lead {
  max-width: 42ch;
}

.trust-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(33, 26, 20, 0.24);
}

.trust-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 20px;
  padding: clamp(16px, 2.1svh, 22px) 0;
  border-bottom: 1px solid rgba(33, 26, 20, 0.16);
}

.trust-grid span {
  grid-row: 1 / 3;
  color: #8f392d;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 15px;
}

.trust-grid h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.35;
  font-weight: 500;
}

.trust-grid p {
  margin: 0;
  color: #5c5148;
  font-size: 14px;
  line-height: 1.75;
}

.detail-btn {
  width: min(100%, 300px);
  background: rgba(255, 250, 243, 0.3);
}

.purchase-cycle {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--hero-gap);
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 250, 243, 0.7), transparent 28%),
    #f7f1e8;
  color: var(--ink);
}

.purchase-title {
  grid-column: 2;
  grid-row: 1 / 3;
}

.purchase-body {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
  gap: clamp(26px, 3.2svh, 42px);
  align-self: center;
}

.purchase-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(22px, 2.2vw, 38px);
}

.purchase-flow article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 18px;
  padding: clamp(18px, 2.1svh, 24px) 0;
  border-top: 1px solid rgba(33, 26, 20, 0.18);
}

.purchase-flow span {
  grid-row: 1 / 4;
  color: #8f392d;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 15px;
}

.purchase-flow h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(21px, 1.45vw, 27px);
  line-height: 1.36;
  font-weight: 500;
}

.purchase-flow p {
  margin: 0;
  color: #5c5148;
  font-size: 14px;
  line-height: 1.72;
}

.purchase-flow a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #211a14;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.purchase-flow a span {
  grid-row: auto;
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.purchase-flow a:hover span {
  transform: translateX(4px);
}

.purchase-assurance {
  border: 1px solid rgba(33, 26, 20, 0.14);
  padding: clamp(18px, 2vw, 28px);
  background: rgba(255, 250, 243, 0.34);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.purchase-assurance dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
}

.purchase-assurance dt {
  margin-bottom: 8px;
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.purchase-assurance dd {
  margin: 0;
  color: #5c5148;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  gap: var(--hero-gap);
  padding: clamp(46px, 7svh, 72px) var(--page-x);
  color: #d9cbb8;
  background: #211a14;
}

.sub-page {
  min-height: 100svh;
  background: var(--paper);
}

@media (min-width: 981px) {
  body:has(.sub-page) {
    scroll-snap-type: none;
  }

  .sub-hero {
    height: 100vh;
    min-height: 100vh;
  }

  .sub-page > section:not(.sub-hero) {
    height: auto;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
}

.sub-hero {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  gap: var(--hero-gap);
  height: 100svh;
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 250, 243, 0.72), transparent 28%),
    linear-gradient(110deg, rgba(255, 250, 243, 0.38), rgba(239, 231, 220, 0.38));
  pointer-events: none;
}

.sub-title {
  grid-column: 2;
  align-self: center;
}

.sub-title h1 {
  max-width: 13.5ch;
  margin: 0;
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(42px, 3.25vw, 58px);
  line-height: 1.42;
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.sub-body {
  grid-column: 3;
  align-self: center;
  display: grid;
  gap: clamp(26px, 4svh, 44px);
}

.sub-body .section-lead {
  max-width: 52ch;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.shop-hero {
  color: #fffaf3;
  background:
    url("./shop-hero-pack.png") center / cover no-repeat,
    #211a14;
}

.shop-hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(22, 16, 11, 0.82) 0%, rgba(22, 16, 11, 0.58) 31%, rgba(22, 16, 11, 0.28) 58%, rgba(22, 16, 11, 0.16) 100%),
    linear-gradient(180deg, rgba(22, 16, 11, 0.32) 0%, rgba(22, 16, 11, 0.14) 44%, rgba(22, 16, 11, 0.44) 100%);
}

.shop-hero > * {
  position: relative;
  z-index: 1;
}

.shop-hero .section-rail {
  color: rgba(255, 250, 243, 0.8);
}

.shop-hero .section-rail i {
  background: rgba(255, 250, 243, 0.36);
}

.shop-hero .section-rail b {
  color: #b94735;
  border-color: rgba(185, 71, 53, 0.64);
  background: rgba(22, 16, 11, 0.24);
}

.shop-hero .section-mark {
  background: rgba(255, 250, 243, 0.74);
}

.shop-hero .sub-title h1 {
  color: #fffaf3;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.46);
}

.shop-hero .sub-body .section-lead {
  color: rgba(255, 250, 243, 0.92);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.shop-hero .sub-card {
  border-color: rgba(255, 250, 243, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.14), rgba(255, 250, 243, 0.05)),
    rgba(22, 16, 11, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.shop-hero .sub-card h2,
.shop-hero .sub-card p {
  color: #fffaf3;
}

.shop-hero .sub-card p {
  opacity: 0.78;
}

.brand-video-hero {
  color: #fffaf3;
  background: #211a14;
}

.brand-video-frame {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #211a14;
  pointer-events: none;
}

.brand-video-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78svh);
  height: max(56.25vw, 100svh);
  border: 0;
  opacity: 0.92;
  filter: saturate(0.96) contrast(1.04) brightness(0.98);
  transform: translate(-50%, -50%) scale(1.02);
  pointer-events: none;
}

.brand-video-hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 16, 11, 0.56) 0%, rgba(22, 16, 11, 0.36) 34%, rgba(22, 16, 11, 0.16) 62%, rgba(22, 16, 11, 0.1) 100%),
    linear-gradient(180deg, rgba(22, 16, 11, 0.18) 0%, rgba(22, 16, 11, 0.04) 42%, rgba(22, 16, 11, 0.42) 100%);
}

.brand-video-hero .section-rail {
  color: rgba(255, 250, 243, 0.78);
}

.brand-video-hero .section-rail i {
  background: rgba(255, 250, 243, 0.34);
}

.brand-video-hero .section-rail b {
  color: #b94735;
  border-color: rgba(185, 71, 53, 0.62);
  background: rgba(22, 16, 11, 0.28);
}

.brand-video-hero .section-mark {
  background: rgba(255, 250, 243, 0.72);
}

.brand-video-hero .sub-title {
  align-self: end;
  padding-bottom: clamp(56px, 10svh, 112px);
}

.brand-video-hero .sub-title h1 {
  color: #fffaf3;
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.brand-video-hero .sub-body {
  align-self: end;
  gap: clamp(14px, 2svh, 22px);
  padding-bottom: clamp(50px, 9svh, 96px);
}

.brand-video-hero .sub-body .section-lead {
  max-width: 42ch;
  justify-self: end;
  color: rgba(255, 250, 243, 0.92);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}

.brand-video-hero .sub-card-grid {
  justify-self: end;
  width: min(100%, 470px);
  grid-template-columns: 1fr;
  gap: 8px;
}

.brand-video-hero .sub-card {
  min-height: 92px;
  border-color: rgba(255, 250, 243, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.12), rgba(255, 250, 243, 0.04)),
    rgba(22, 16, 11, 0.22);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  padding: 14px 18px;
}

.brand-video-hero .sub-card h2 {
  margin-bottom: 8px;
  font-size: clamp(19px, 1.3vw, 24px);
}

.brand-video-hero .sub-card p {
  font-size: 13px;
  line-height: 1.58;
}

.brand-video-hero .sub-card span {
  color: #d45d45;
}

.brand-video-hero .sub-card h2 {
  color: #fffaf3;
}

.brand-video-hero .sub-card p {
  color: rgba(255, 250, 243, 0.78);
}

.sub-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.5vw, 26px);
}

.sub-card {
  min-height: 170px;
  border: 1px solid rgba(33, 26, 20, 0.16);
  padding: 22px;
  background: rgba(255, 250, 243, 0.34);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.sub-card span {
  display: block;
  margin-bottom: 18px;
  color: #8f392d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sub-card h2,
.sub-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(21px, 1.45vw, 27px);
  line-height: 1.38;
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: normal;
}

.sub-card p {
  margin: 0;
  color: #5c5148;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.footer-brand {
  grid-column: 2;
}

.footer-brand strong {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 500;
}

.footer-brand p {
  max-width: 24ch;
  margin: 0;
  color: rgba(255, 250, 243, 0.62);
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 16px;
  line-height: 1.8;
}

.footer-links {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(28px, 4vw, 60px);
  align-self: start;
  padding-top: 8px;
}

.footer-links a {
  color: rgba(255, 250, 243, 0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-info {
  grid-column: 3;
  display: grid;
  gap: 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 250, 243, 0.16);
}

.footer-info dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 34px);
  margin: 0;
}

.footer-info div {
  min-width: 0;
}

.footer-info dt {
  margin-bottom: 8px;
  color: rgba(255, 250, 243, 0.38);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-info dd {
  margin: 0;
  color: rgba(255, 250, 243, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

.footer-info span {
  color: rgba(255, 250, 243, 0.34);
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (min-width: 981px) and (min-aspect-ratio: 16 / 9) {
  :root {
    --page-x: 3.4vw;
    --header-y: 3.4svh;
    --hero-top: 12.5svh;
    --hero-bottom: 4.4svh;
    --hero-gap: 2.8vw;
    --rail-w: 6.6vw;
    --rail-bottom: 10.3svh;
  }

  .hero {
    grid-template-columns: var(--rail-w) minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  .hero-video-bg iframe {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (min-width: 981px) and (max-aspect-ratio: 4 / 3) {
  :root {
    --page-x: 4vw;
    --header-y: 3svh;
    --hero-top: 10.8svh;
    --hero-bottom: 4.8svh;
    --hero-gap: 3vw;
    --rail-w: 7.4vw;
    --rail-bottom: 15.3svh;
  }

  .hero {
    grid-template-columns: var(--rail-w) minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .hero-video-bg iframe {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (max-width: 980px) {
  :root {
    --page-x: 4.6vw;
    --header-y: 2.6svh;
    --hero-top: 12svh;
    --hero-bottom: 4svh;
    --hero-gap: 4svh;
    --section-x: 5vw;
    --section-y: 9svh;
    --hero-left-overlay-strong: 0.82;
    --hero-left-overlay-mid: 0.46;
    --hero-left-overlay-soft: 0.1;
    --hero-wash: 0.05;
    --hero-bottom-fade: 0.38;
    --intro-echo-opacity: 0.08;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  nav {
    display: none;
  }

  .brand,
  .header-tools {
    grid-column: auto;
  }

  .shop-link {
    padding: 8px 13px;
  }

  .sub-page {
    padding-top: 0;
  }

  .sub-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .sub-title,
  .sub-body {
    grid-column: auto;
  }

  .sub-card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero--video .hero-copy {
    align-content: end;
    padding-bottom: 7svh;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(251, 247, 239, 0.72), rgba(251, 247, 239, 0.3)),
      linear-gradient(90deg, rgba(251, 247, 239, 0.72), rgba(251, 247, 239, 0.22));
  }

  .hero-video-bg iframe {
    transform: translate(-50%, -50%) scale(1.12);
  }

  .hero-rail {
    display: none;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(38px, 8vw, 64px);
    line-height: 1.32;
  }

  .hero--video h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .intro,
  .taste-architecture,
  .products,
  .gallery-band,
  .details,
  .detail-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .intro,
  .taste-architecture,
  .products,
  .gallery-band,
  .details {
    gap: 4svh;
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .intro-rail,
  .section-rail {
    display: none;
  }

  .section-title {
    grid-column: auto;
    grid-row: auto;
  }

  .product-body,
  .gallery-body,
  .detail-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .product-body {
    display: grid;
    gap: 4svh;
  }

  .products .section-lead,
  .product-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-body {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .gallery-main,
  .gallery-stack figure {
    aspect-ratio: 4 / 3;
  }

  .gallery-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .review-slider {
    height: min(48svh, 360px);
    min-height: 260px;
  }

  .intro-title h2,
  .section-title h2 {
    font-size: clamp(38px, 8vw, 64px);
    line-height: 1.32;
  }

  .intro-mark,
  .section-mark {
    margin-bottom: 5svh;
  }

  .intro-body,
  .taste-body {
    grid-column: auto;
    gap: 4svh;
    height: auto;
  }

  .taste-body {
    display: grid;
  }

  .intro-body > p:not(.intro-lead),
  .section-lead {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
  }

  .principle-grid,
  .taste-grid {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    align-self: stretch;
    width: 100%;
  }

  .principle-grid article,
  .taste-grid article {
    min-height: 0;
    padding: 0 0 24px;
    border-left: 0;
    border-bottom: 1px solid rgba(33, 26, 20, 0.22);
  }

  .principle-grid article:last-child,
  .taste-grid article:last-child {
    border-bottom: 0;
  }

  .taste-grid article {
    grid-template-columns: minmax(0, 1fr) minmax(76px, 18vw);
    align-items: stretch;
  }

  .taste-symbol {
    min-height: 160px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: stretch;
    width: 100%;
  }

  .product-card {
    height: auto;
    min-height: 300px;
  }

  .detail-grid {
    gap: 4svh;
  }

  .detail-grid figure {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .feature-copy {
    padding-top: 22svh;
  }
}

@media (max-width: 640px) {
  :root {
    --page-x: 4.6vw;
    --header-y: 1.7svh;
    --hero-top: 9svh;
    --hero-bottom: 2.6svh;
    --hero-gap: 2.4svh;
    --section-x: 5.1vw;
    --section-y: 7.5svh;
    --hero-bottom-fade: 0.48;
    --intro-echo-opacity: 0.07;
  }

  .site-header {
    padding: var(--header-y) var(--page-x);
  }

  .site-header.is-compact {
    padding: 10px var(--page-x);
  }

  .brand {
    font-size: 22px;
  }

  .header-tools {
    gap: 14px;
  }

  .shop-link {
    display: none;
  }

  .hero-copy {
    width: 100%;
  }

  .hero {
    gap: var(--hero-gap);
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .hero-kicker {
    margin-bottom: 1.9svh;
    font-size: 15px;
  }

  .hero h1 {
    margin-bottom: 2.4svh;
    font-size: 28px;
    line-height: 1.42;
  }

  .hero--video .hero-copy {
    padding-bottom: 5svh;
  }

  .copy-rule {
    height: 4svh;
    margin-bottom: 1.9svh;
  }

  .hero-copy p:not(.hero-kicker) {
    font-size: 15px;
    line-height: 1.75;
  }

  .feature-copy p,
  .intro-body > p,
  .detail-copy p {
    font-size: 16px;
    line-height: 1.7;
  }

  .intro-title h2,
  .section-title h2 {
    font-size: 28px;
    line-height: 1.42;
  }

  .intro-lead,
  .section-lead {
    font-size: 17px;
    line-height: 1.75;
  }

  .principle-grid span::after,
  .taste-copy span::after {
    width: 58px;
  }

  .taste-grid article {
    grid-template-columns: 1fr;
  }

  .taste-symbol {
    width: min(42vw, 140px);
    min-height: 132px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 2.4svh;
  }

  .outline-btn {
    min-width: 0;
    min-height: 48px;
    gap: 18px;
    padding: 0 18px;
    font-size: 13px;
    white-space: normal;
  }

  .primary-btn,
  .secondary-btn {
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .section-heading {
    display: block;
  }

  .product-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-auto-rows: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .gallery-band {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .gallery-stack {
    grid-template-columns: 1fr;
  }

  .review-head {
    padding: 18px 16px 14px;
  }

  .review-slider {
    height: 310px;
    min-height: 310px;
  }

  .review-track {
    padding: 14px 16px;
  }

  .details {
    overflow: hidden;
  }

  .detail-grid {
    grid-template-rows: minmax(0, 0.58fr) auto;
  }

  .detail-grid figure {
    height: 100%;
  }

  .detail-copy h3 {
    font-size: 27px;
  }

  .card-copy {
    left: 20px;
    right: 20px;
    bottom: 26px;
  }

  .card-copy h3 {
    font-size: 28px;
  }

  .card-copy p {
    min-height: auto;
    margin-bottom: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 42px var(--page-x);
  }

  .footer-brand,
  .footer-links,
  .footer-info {
    grid-column: auto;
  }

  .footer-links {
    padding-top: 0;
    gap: 16px 26px;
  }

  .footer-info {
    margin-top: 0;
  }

  .footer-info dl {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.sub-motion {
  position: relative;
  isolation: isolate;
}

.motion-ready .sub-motion :is(.sub-title, .sub-body, .sub-section-title, .shop-panel, .timeline-list, .process-grid, .inquiry-grid, .notice-list, .faq-list, .contact-sheet, .product-detail-hero, .sub-cta > *) {
  opacity: 0;
  filter: blur(1.4px);
  transform: translateY(26px);
  transition:
    opacity 760ms ease,
    filter 760ms ease,
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .sub-motion.is-visible :is(.sub-title, .sub-body, .sub-section-title, .shop-panel, .timeline-list, .process-grid, .inquiry-grid, .notice-list, .faq-list, .contact-sheet, .product-detail-hero, .sub-cta > *) {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.motion-ready .sub-motion .sub-body,
.motion-ready .sub-motion .shop-panel,
.motion-ready .sub-motion .timeline-list,
.motion-ready .sub-motion .process-grid,
.motion-ready .sub-motion .inquiry-grid,
.motion-ready .sub-motion .notice-list,
.motion-ready .sub-motion .faq-list,
.motion-ready .sub-motion .contact-sheet,
.motion-ready .sub-motion .product-detail-hero {
  transition-delay: 120ms;
}

.sub-section {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.9fr) minmax(0, 1.22fr);
  gap: var(--hero-gap);
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 14%, rgba(255, 250, 243, 0.64), transparent 26%),
    var(--paper);
}

.sub-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 18% 74%, rgba(255, 250, 243, 0.72), transparent 28%),
    #efe7dc;
}

.sub-section-title {
  grid-column: 2;
  align-self: center;
}

.sub-section-title h2 {
  max-width: 12ch;
  margin: 0;
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(40px, 3.05vw, 56px);
  line-height: 1.42;
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.sub-section-title p {
  max-width: 34ch;
  margin: 28px 0 0;
  color: #5c5148;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.sub-split .sub-feature-image {
  grid-column: 3;
  align-self: center;
}

.sub-feature-image {
  height: min(62svh, 620px);
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.32);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.sub-feature-image img {
  height: 100%;
  object-fit: cover;
}

.shopinshop-delivery-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
}

.shopinshop-delivery-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-panel,
.timeline-list,
.process-grid,
.inquiry-grid,
.notice-list,
.faq-list,
.contact-sheet,
.product-detail-hero {
  grid-column: 3;
  align-self: center;
}

.shop-panel {
  display: grid;
  gap: 24px;
}

.shop-list-section {
  min-height: auto;
  align-items: start;
  padding-bottom: clamp(76px, 10svh, 120px);
}

.shop-list-section .sub-section-title,
.shop-review-section .sub-section-title {
  align-self: start;
  padding-top: clamp(10px, 2svh, 24px);
}

.shop-list-section .shop-panel {
  grid-column: 2 / 4;
  align-self: start;
}

.shop-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-filter button {
  min-height: 38px;
  border: 1px solid rgba(33, 26, 20, 0.18);
  border-radius: var(--button-radius-sm);
  padding: 0 16px;
  color: #5c5148;
  background: rgba(255, 250, 243, 0.22);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    background 240ms ease;
}

.shop-filter button:hover,
.shop-filter button.is-active {
  border-color: rgba(143, 57, 45, 0.48);
  color: #8f392d;
  background: rgba(255, 250, 243, 0.56);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 0.85vw, 16px);
}

.shop-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.36);
  overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease;
}

.shop-card.is-filtered-out {
  display: none;
}

.shop-card > a {
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.shop-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) sepia(0.04) contrast(0.96);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover img {
  transform: scale(1.045);
}

.shop-card > div {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 11px 13px;
  border-top: 1px solid rgba(33, 26, 20, 0.13);
}

.shop-card > div > span,
.inquiry-grid span,
.notice-list span,
.sub-cta span,
.detail-buy-panel > span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.shop-card h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(15px, 0.95vw, 18px);
  line-height: 1.35;
  font-weight: 500;
}

.shop-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #5c5148;
  font-size: 11px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.product-meta li {
  border: 1px solid rgba(33, 26, 20, 0.13);
  padding: 4px 6px;
  color: #6b5d52;
  background: rgba(255, 250, 243, 0.34);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.product-proof {
  display: grid;
  gap: 4px;
  margin-top: 2px;
  border-top: 1px solid rgba(33, 26, 20, 0.11);
  padding-top: 7px;
}

.product-proof strong {
  color: #8f392d;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.product-proof em {
  color: #7e766d;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.shop-card-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px !important;
  margin-top: 4px;
  padding: 0 !important;
  border-top: 0 !important;
}

.shop-card-actions a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid rgba(83, 57, 40, 0.32);
  border-radius: var(--button-radius-sm);
  padding: 0 8px;
  color: #211a14;
  background: rgba(255, 250, 243, 0.2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.shop-card-actions a:first-child {
  border-color: rgba(143, 57, 45, 0.42);
  background: rgba(255, 250, 243, 0.44);
}

.shop-card-actions a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card-actions a:hover span {
  transform: translateX(4px);
}

.shop-review-board {
  grid-column: 2 / 4;
  align-self: start;
  display: grid;
  gap: clamp(20px, 2vw, 30px);
}

.shop-review-section {
  min-height: auto;
  align-items: start;
  padding-bottom: clamp(76px, 10svh, 120px);
}

.review-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.34);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.review-summary-strip article {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2vw, 26px);
  border-right: 1px solid rgba(33, 26, 20, 0.12);
}

.review-summary-strip article:last-child {
  border-right: 0;
}

.review-summary-strip span,
.shop-review-card div em {
  color: #8f392d;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.review-summary-strip strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(25px, 2vw, 38px);
  line-height: 1;
  font-weight: 500;
}

.review-summary-strip p {
  margin: 0;
  color: #5c5148;
  font-size: 13px;
  line-height: 1.55;
}

.shop-review-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(33, 26, 20, 0.18);
}

.shop-review-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.2fr) minmax(0, 1fr) minmax(160px, 0.24fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: center;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
  padding: clamp(16px, 1.7vw, 24px) 0;
  background: transparent;
  clip-path: none;
  transition:
    opacity 260ms ease,
    filter 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-review-card.is-filtered-out {
  display: none;
}

.shop-review-card > div {
  display: grid;
  gap: 8px;
  align-items: start;
}

.shop-review-card > div span {
  color: #8f392d;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.shop-review-card p {
  margin: 0;
  color: #2f261f;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.78;
}

.shop-review-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #7e766d;
  font-size: 12px;
  justify-content: flex-end;
}

.shop-review-card footer strong {
  color: #211a14;
  font-size: 12px;
}

.shop-review-card footer b {
  margin-left: auto;
  border: 1px solid rgba(143, 57, 45, 0.22);
  padding: 4px 8px;
  color: #8f392d;
  background: rgba(255, 250, 243, 0.3);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.timeline-list,
.process-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(33, 26, 20, 0.22);
}

.timeline-list article,
.process-grid article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px 22px;
  padding: clamp(18px, 2.2svh, 26px) 0;
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
}

.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 2.4vw, 42px);
  border-top: 0;
}

.process-grid article {
  border-top: 1px solid rgba(33, 26, 20, 0.2);
}

.timeline-list span,
.process-grid span {
  grid-row: 1 / 3;
  color: #8f392d;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 15px;
}

.timeline-list h3,
.process-grid h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(21px, 1.45vw, 27px);
  line-height: 1.36;
  font-weight: 500;
}

.timeline-list p,
.process-grid p {
  margin: 0;
  color: #5c5148;
  font-size: 14px;
  line-height: 1.75;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.3vw, 24px);
}

.inquiry-grid a {
  display: grid;
  gap: 18px;
  min-height: 190px;
  border: 1px solid rgba(33, 26, 20, 0.16);
  padding: 24px;
  background: rgba(255, 250, 243, 0.32);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.inquiry-grid strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(23px, 1.6vw, 31px);
  line-height: 1.35;
  font-weight: 500;
}

.inquiry-grid em {
  align-self: end;
  color: #5c5148;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.notice-list {
  display: grid;
  border-top: 1px solid rgba(33, 26, 20, 0.24);
}

.notice-list a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
}

.notice-list strong {
  overflow: hidden;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(20px, 1.28vw, 25px);
  line-height: 1.35;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list em {
  color: #7e766d;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.faq-list {
  display: grid;
  border-top: 1px solid rgba(33, 26, 20, 0.24);
}

.faq-list details {
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
  padding: 0;
}

.faq-list summary {
  position: relative;
  padding: 24px 42px 24px 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(20px, 1.3vw, 25px);
  line-height: 1.4;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 24px;
  color: #8f392d;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 58ch;
  margin: -4px 0 24px;
  color: #5c5148;
  font-size: 15px;
  line-height: 1.8;
}

.contact-sheet {
  border: 1px solid rgba(33, 26, 20, 0.15);
  padding: clamp(24px, 2.6vw, 42px);
  background: rgba(255, 250, 243, 0.34);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.contact-sheet dl,
.detail-buy-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-sheet div,
.detail-buy-panel dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(33, 26, 20, 0.12);
}

.contact-sheet div:last-child,
.detail-buy-panel dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-sheet dt,
.detail-buy-panel dt {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-sheet dd,
.detail-buy-panel dd {
  margin: 0;
  color: #3a2f27;
  font-size: 15px;
  line-height: 1.7;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.82fr);
  gap: clamp(24px, 2.4vw, 46px);
}

.product-detail-hero figure {
  height: min(62svh, 620px);
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.34);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.product-detail-hero img {
  height: 100%;
  object-fit: cover;
}

.detail-buy-panel {
  align-self: center;
  display: grid;
  gap: 22px;
}

.detail-buy-panel h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(28px, 2vw, 40px);
  line-height: 1.35;
  font-weight: 500;
}

.detail-buy-panel p {
  margin: 0;
  color: #5c5148;
  font-size: 15px;
  line-height: 1.8;
}

.sub-cta {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 52svh;
  padding: clamp(72px, 10svh, 120px) var(--page-x);
  align-content: center;
  justify-items: center;
  text-align: center;
  background: #211a14;
  color: #fffaf3;
}

.sub-cta::before {
  content: "";
  width: 58px;
  height: 1px;
  margin-bottom: 4px;
  background: rgba(255, 250, 243, 0.46);
}

.sub-cta > span {
  color: #d45d45;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.sub-cta h2 {
  max-width: 17ch;
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(32px, 2.7vw, 52px);
  line-height: 1.36;
  font-weight: 500;
  word-break: keep-all;
  text-wrap: balance;
}

.sub-cta p {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 250, 243, 0.76);
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.8;
  word-break: keep-all;
  text-wrap: pretty;
}

.sub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.sub-cta .outline-btn {
  color: #fffaf3;
  border-color: rgba(255, 250, 243, 0.34);
  background: rgba(255, 250, 243, 0.04);
}

.checkout-section {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: var(--hero-gap);
  min-height: 100svh;
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 250, 243, 0.66), transparent 28%),
    var(--paper);
}

.checkout-title {
  grid-column: 2;
  align-self: center;
}

.checkout-title h1 {
  max-width: 13ch;
  margin: 0;
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(38px, 3vw, 56px);
  line-height: 1.38;
  font-weight: 500;
  word-break: keep-all;
}

.checkout-title p {
  max-width: 36ch;
  margin: 28px 0 0;
  color: #5c5148;
  font-size: 15px;
  line-height: 1.82;
  word-break: keep-all;
}

.checkout-panel {
  grid-column: 3;
  align-self: center;
  display: grid;
  gap: 16px;
}

.checkout-card,
.checkout-summary {
  border: 1px solid rgba(33, 26, 20, 0.14);
  padding: clamp(18px, 1.8vw, 26px);
  background: rgba(255, 250, 243, 0.44);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.checkout-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 18px;
}

.checkout-card-head span,
.checkout-summary > span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.checkout-card-head strong {
  color: #211a14;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 22px;
  font-weight: 500;
}

.checkout-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.checkout-product-image {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(33, 26, 20, 0.12);
}

.checkout-product-name {
  display: block;
  color: #211a14;
  font-size: 18px;
  margin-bottom: 6px;
}

.checkout-product p,
.checkout-summary p {
  margin: 0;
  color: #6b5f55;
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}

.checkout-product-quantity {
  color: #8f392d;
  font-weight: 900;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-form-grid label {
  display: grid;
  gap: 8px;
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.checkout-wide {
  grid-column: 1 / -1;
}

.checkout-form-grid input,
.checkout-form-grid textarea {
  width: 100%;
  border: 1px solid rgba(33, 26, 20, 0.18);
  padding: 12px 13px;
  color: #211a14;
  background: rgba(255, 250, 243, 0.5);
  font: inherit;
  font-size: 14px;
}

.checkout-summary {
  display: grid;
  gap: 16px;
  background: rgba(33, 26, 20, 0.92);
  color: #fffaf3;
}

.checkout-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checkout-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 250, 243, 0.16);
  padding-bottom: 10px;
}

.checkout-summary dt {
  color: rgba(255, 250, 243, 0.72);
  font-size: 13px;
}

.checkout-summary dd {
  margin: 0;
  font-weight: 900;
}

.checkout-summary .checkout-total {
  color: #fffaf3;
  font-size: 24px;
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 10px;
}

.checkout-actions button,
.checkout-actions a {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 250, 243, 0.3);
  border-radius: var(--button-radius-sm);
  color: #fffaf3;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.checkout-actions button {
  color: #211a14;
  background: #fffaf3;
}

/* Admin */
.admin-body {
  min-height: 100svh;
  --admin-compact-gap: 8px;
  --admin-panel-pad: 14px;
  --admin-control-height: 36px;
  --admin-table-x: 12px;
  --admin-table-y: 10px;
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 250, 243, 0.88), transparent 28%),
    var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 188px;
  border-right: 1px solid rgba(33, 26, 20, 0.14);
  padding: 12px 10px;
  background: rgba(255, 250, 243, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.admin-brand {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
}

.admin-brand strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 23px;
  line-height: 1;
}

.admin-brand span,
.admin-section-head span,
.admin-panel-head span,
.admin-sidebar-note span,
.admin-metric-grid span,
.admin-policy-grid span,
.admin-system-badge {
  color: #8f392d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 5px;
  padding-top: 10px;
  flex: 1 1 auto;
}

.admin-nav button,
.admin-topbar-actions a,
.admin-topbar-actions button,
.admin-control-row button,
.admin-table-toolbar button,
.admin-table button,
.admin-pagination button,
.admin-cs-board button,
.admin-task-card button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--admin-control-height);
  border: 1px solid rgba(33, 26, 20, 0.16);
  border-radius: var(--button-radius-sm);
  padding: 0 13px;
  color: #2b211a;
  background: rgba(255, 250, 243, 0.28);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.admin-nav button:hover,
.admin-topbar-actions a:hover,
.admin-topbar-actions button:hover,
.admin-control-row button:hover,
.admin-table-toolbar button:hover,
.admin-table button:hover,
.admin-pagination button:hover,
.admin-cs-board button:hover,
.admin-task-card button:hover {
  transform: translateY(-1px);
  border-color: rgba(33, 26, 20, 0.32);
  background: rgba(255, 250, 243, 0.56);
}

.admin-nav button:active,
.admin-topbar-actions a:active,
.admin-topbar-actions button:active,
.admin-control-row button:active,
.admin-table-toolbar button:active,
.admin-table button:active,
.admin-pagination button:active,
.admin-cs-board button:active,
.admin-task-card button:active {
  transform: translateY(0);
}

.admin-nav button {
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding-inline: 12px;
  text-align: left;
  line-height: 1;
}

.admin-nav button::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(33, 26, 20, 0.18);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.admin-nav button.is-active {
  color: #fffaf3;
  border-color: rgba(143, 57, 45, 0.72);
  background: #8f392d;
}

.admin-nav button.is-active::after {
  background: #fffaf3;
  transform: scale(1.35);
}

.admin-sidebar-note {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(33, 26, 20, 0.13);
  border-radius: 8px;
  padding: 10px;
  background: rgba(247, 241, 232, 0.72);
}

.admin-sidebar-note strong {
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
}

.admin-sidebar-note p,
.admin-section-head p,
.admin-panel p,
.admin-policy-grid p {
  margin: 0;
  color: #6b5d52;
  font-size: 11px;
  line-height: 1.45;
}

.admin-shell {
  display: block;
  min-height: 100svh;
  margin-left: 188px;
  padding: 10px 14px 14px;
  overflow-x: hidden;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(33, 26, 20, 0.12);
  min-height: 44px;
  padding: 0 0 7px;
  background: linear-gradient(to bottom, rgba(247, 241, 232, 0.98) 82%, rgba(247, 241, 232, 0));
}

.admin-topbar span {
  color: #8f392d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.admin-topbar h1,
.admin-section-head h2 {
  margin: 6px 0 0;
  font-family: inherit;
  font-weight: 850;
  letter-spacing: 0;
}

.admin-topbar h1 {
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.18;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.admin-system-badge {
  display: inline-flex;
  align-items: center;
  min-height: var(--admin-control-height);
  border: 1px solid rgba(143, 57, 45, 0.24);
  border-radius: var(--button-radius-sm);
  padding: 0 12px;
  color: #8f392d;
  background: rgba(143, 57, 45, 0.06);
}

.admin-system-badge.is-connected {
  color: #314538;
  border-color: rgba(49, 69, 56, 0.24);
  background: rgba(49, 69, 56, 0.08);
}

.admin-control-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px auto auto;
  gap: 6px;
  align-items: center;
}

.admin-input,
.admin-textarea {
  width: 100%;
  min-height: var(--admin-control-height);
  border: 1px solid rgba(33, 26, 20, 0.16);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.54);
  font: inherit;
  font-size: 12px;
}

.admin-textarea {
  min-height: 132px;
  padding: 10px;
  line-height: 1.5;
  resize: vertical;
}

.admin-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.admin-view.is-active {
  display: block;
  min-height: 0;
  opacity: 1;
  transform: translateY(0);
  animation: adminPanelIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-view.is-active > * + * {
  margin-top: 10px;
}

.admin-view[data-admin-panel="dashboard"].is-active {
  min-height: calc(100svh - 75px);
}

.admin-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: baseline;
  max-width: none;
  border-bottom: 1px solid rgba(33, 26, 20, 0.1);
  padding: 7px 0 8px;
}

.admin-section-head span,
.admin-section-head h2,
.admin-section-head p {
  animation: adminTextIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-section-head h2 {
  animation-delay: 35ms;
}

.admin-section-head p {
  animation-delay: 70ms;
}

.admin-section-head h2 {
  margin: 0;
  font-size: clamp(18px, 1.18vw, 22px);
  line-height: 1.05;
}

.admin-section-head p {
  grid-column: 2;
  margin-top: 0;
  max-width: 620px;
  line-height: 1.35;
}

.admin-metric-grid,
.admin-policy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}

.admin-ops-board,
.admin-health-strip,
.admin-e2e-board,
.admin-automation-board,
.admin-risk-strip,
.admin-below-panel {
  margin-top: 10px;
}

.admin-ops-board,
.admin-e2e-board,
.admin-automation-board {
  border: 1px solid rgba(33, 26, 20, 0.13);
  border-radius: 9px;
  padding: 12px;
  background: rgba(255, 250, 243, 0.44);
}

.admin-task-grid,
.admin-batch-grid,
.admin-e2e-grid,
.admin-automation-grid,
.admin-risk-strip,
.admin-audit-list {
  display: grid;
  gap: 6px;
}

.admin-task-grid,
.admin-e2e-grid,
.admin-automation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-batch-grid,
.admin-risk-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-task-card,
.admin-e2e-grid article,
.admin-automation-grid article,
.admin-batch-grid article,
.admin-risk-strip article,
.admin-audit-list article {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(33, 26, 20, 0.12);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 250, 243, 0.54);
}

.admin-task-card.is-urgent,
.admin-task-card.is-warn,
.admin-e2e-grid article.is-wait,
.admin-e2e-grid article.is-warn,
.admin-risk-strip article:first-child {
  border-color: rgba(143, 57, 45, 0.32);
  background: rgba(143, 57, 45, 0.06);
}

.admin-task-card span,
.admin-e2e-grid span,
.admin-batch-grid span,
.admin-risk-strip span,
.admin-audit-list span,
.admin-health-strip span {
  color: #8f392d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.admin-task-card strong,
.admin-e2e-grid strong,
.admin-automation-grid strong,
.admin-batch-grid strong,
.admin-risk-strip strong,
.admin-audit-list strong,
.admin-health-strip strong {
  min-width: 0;
  color: #221a14;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.admin-risk-strip strong {
  font-size: 20px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-weight: 500;
}

.admin-task-card p,
.admin-e2e-grid p,
.admin-automation-grid p,
.admin-batch-grid p,
.admin-risk-strip p,
.admin-audit-list p {
  margin: 0;
  color: #6b5d52;
  font-size: 11.5px;
  line-height: 1.48;
}

.admin-automation-grid em {
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid rgba(33, 26, 20, 0.09);
  padding-top: 6px;
  color: #8f392d;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-task-card button {
  justify-self: start;
  margin-top: 2px;
}

.admin-health-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(33, 26, 20, 0.12);
  border-radius: 9px;
  padding: 12px;
  background: rgba(247, 241, 232, 0.58);
}

.admin-health-strip > div {
  display: grid;
  gap: 4px;
}

.admin-health-strip ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-health-strip li {
  position: relative;
  min-height: 30px;
  border: 1px solid rgba(33, 26, 20, 0.11);
  border-radius: 7px;
  padding: 8px 8px 8px 20px;
  color: #4d4037;
  background: rgba(255, 250, 243, 0.54);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.admin-health-strip li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(33, 26, 20, 0.26);
}

.admin-health-strip li.is-ok::before {
  background: #5f7d4d;
}

.admin-health-strip li.is-wait::before {
  background: #b5843c;
}

.admin-health-strip li.is-warn::before {
  background: #8f392d;
}

.admin-workbench,
.admin-workbench-wide {
  display: grid;
  gap: 8px;
  align-items: stretch;
}

.admin-workbench {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.admin-workbench-wide {
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.55fr);
}

.admin-span-all {
  grid-column: 1 / -1;
}

.admin-stack {
  display: grid;
  gap: 8px;
}

.admin-metric-grid article,
.admin-policy-grid article,
.admin-panel,
.admin-table-card,
.admin-cs-board article {
  border: 1px solid rgba(33, 26, 20, 0.13);
  border-radius: 6px;
  background: rgba(255, 250, 243, 0.5);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.admin-metric-grid article:hover,
.admin-policy-grid article:hover,
.admin-panel:hover,
.admin-table-card:hover,
.admin-cs-board article:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 57, 45, 0.28);
  background: rgba(255, 250, 243, 0.72);
}

.admin-metric-grid article,
.admin-policy-grid article {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding: 11px 12px;
}

.admin-metric-grid p,
.admin-policy-grid p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6b5d52;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-metric-grid strong,
.admin-policy-grid strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(22px, 1.45vw, 28px);
  font-weight: 600;
  line-height: 1;
}

.admin-metric-grid .is-danger strong,
.admin-metric-grid .is-warning strong {
  color: #8f392d;
}

.admin-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.admin-view[data-admin-panel="dashboard"] .admin-grid-two {
  min-height: max(220px, calc(100svh - 232px));
}

.admin-panel,
.admin-table-card,
.admin-cs-board article {
  padding: var(--admin-panel-pad);
}

.admin-view[data-admin-panel="dashboard"] .admin-panel {
  display: flex;
  flex-direction: column;
}

.admin-view[data-admin-panel="dashboard"] .admin-flow-list,
.admin-view[data-admin-panel="dashboard"] .admin-alert-list {
  flex: 1 1 auto;
  align-content: space-evenly;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 7px;
}

.admin-panel-head h3,
.admin-cs-board h3 {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
}

.admin-flow-list,
.admin-stock-list,
.admin-alert-list,
.admin-check-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-flow-list li,
.admin-stock-list li,
.admin-alert-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(33, 26, 20, 0.11);
  padding-top: 6px;
}

.admin-flow-list span,
.admin-stock-list em,
.admin-alert-list b {
  color: #8f392d;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.admin-flow-list em,
.admin-stock-list em,
.admin-alert-list span {
  color: #7e766d;
  font-size: 11px;
  font-style: normal;
}

.admin-check-list label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 30px;
  border-top: 1px solid rgba(33, 26, 20, 0.11);
  font-size: 12px;
  font-weight: 750;
}

.admin-table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
}

.admin-table-toolbar span {
  color: #7e766d;
  font-size: 11px;
  font-weight: 800;
}

.admin-table-toolbar strong {
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
}

.admin-table-toolbar div {
  display: flex;
  gap: 6px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table input[type="checkbox"],
.admin-check-list input[type="checkbox"] {
  accent-color: #8f392d;
}

.admin-pagination {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(33, 26, 20, 0.1);
  margin-top: 8px;
  padding-top: 8px;
  color: #6b5d52;
  font-size: 11px;
  font-weight: 800;
}

.admin-pagination div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.admin-pagination b {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 28px;
  min-height: 24px;
  border: 1px solid rgba(33, 26, 20, 0.12);
  border-radius: 14px;
  color: #8f392d;
  background: rgba(143, 57, 45, 0.06);
  font-size: 11px;
}

.admin-pagination .admin-input {
  width: auto;
  min-width: 86px;
  min-height: var(--admin-control-height);
}

.admin-table th,
.admin-table td {
  border-top: 1px solid rgba(33, 26, 20, 0.1);
  padding: var(--admin-table-y) var(--admin-table-x);
  text-align: left;
  vertical-align: middle;
}

.admin-table tbody tr {
  transition:
    background 160ms ease,
    color 160ms ease;
}

.admin-table tbody tr:hover {
  background: rgba(143, 57, 45, 0.055);
}

.admin-table th {
  color: #8f392d;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 16px;
  padding: 0 9px;
  color: #314538;
  background: rgba(49, 69, 56, 0.12);
  font-size: 11px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.admin-badge:hover {
  transform: translateY(-1px);
}

.admin-badge.is-wait {
  color: #7a5620;
  background: rgba(214, 164, 79, 0.18);
}

.admin-badge.is-danger {
  color: #8f392d;
  background: rgba(143, 57, 45, 0.14);
}

.admin-cs-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-cs-board article {
  display: grid;
  gap: 7px;
}

.admin-cs-board article > span {
  color: #8f392d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.admin-cs-board div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-detail-list {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
}

.admin-detail-list div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(33, 26, 20, 0.1);
  padding-top: 7px;
}

.admin-detail-list dt {
  color: #8f392d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.admin-detail-list dd {
  margin: 0;
  color: #4a4038;
  font-size: 11px;
  line-height: 1.45;
}

.admin-big-number {
  display: block;
  margin: 8px 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 600;
  line-height: 1;
}

.admin-dropzone {
  display: grid;
  place-items: center;
  min-height: 76px;
  margin-bottom: 8px;
  border: 1px dashed rgba(143, 57, 45, 0.42);
  border-radius: 8px;
  color: #8f392d;
  background: rgba(143, 57, 45, 0.045);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.admin-field {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
  color: #6b5d52;
  font-size: 11px;
  font-weight: 850;
}

.admin-toast {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(33, 26, 20, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fffaf3;
  background: rgba(33, 26, 20, 0.88);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.admin-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-flash {
  animation: adminFlash 520ms ease both;
}

@keyframes adminPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes adminTextIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes adminFlash {
  0% {
    box-shadow: inset 0 0 0 999px rgba(143, 57, 45, 0);
  }
  35% {
    box-shadow: inset 0 0 0 999px rgba(143, 57, 45, 0.07);
  }
  100% {
    box-shadow: inset 0 0 0 999px rgba(143, 57, 45, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-view.is-active,
  .admin-section-head span,
  .admin-section-head h2,
  .admin-section-head p,
  .admin-flash {
    animation: none;
  }

  .admin-nav button,
  .admin-topbar-actions a,
  .admin-topbar-actions button,
  .admin-control-row button,
  .admin-table-toolbar button,
  .admin-table button,
  .admin-pagination button,
  .admin-cs-board button,
  .admin-task-card button,
  .admin-metric-grid article,
  .admin-policy-grid article,
  .admin-task-card,
  .admin-batch-grid article,
  .admin-risk-strip article,
  .admin-audit-list article,
  .admin-panel,
  .admin-table-card,
  .admin-cs-board article,
  .admin-table tbody tr,
  .admin-badge {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .admin-sidebar {
    width: 184px;
  }

  .admin-shell {
    margin-left: 184px;
  }

  .admin-metric-grid,
  .admin-policy-grid,
  .admin-task-grid,
  .admin-e2e-grid,
  .admin-automation-grid,
  .admin-batch-grid,
  .admin-risk-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-health-strip {
    grid-template-columns: 1fr;
  }

  .admin-health-strip ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .admin-sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100vw;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 10px var(--page-x) 8px;
    z-index: 40;
    border-right: 0;
    border-bottom: 1px solid rgba(33, 26, 20, 0.12);
    overflow: hidden;
  }

  .admin-body {
    display: block;
  }

  .admin-shell {
    margin-left: 0;
    padding: 10px var(--page-x) 28px;
  }

  .admin-nav {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .admin-nav::-webkit-scrollbar {
    display: none;
  }

  .admin-nav button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
  }

  .admin-brand {
    align-items: center;
    grid-template-columns: auto 1fr;
  }

  .admin-sidebar-note {
    display: none;
  }

  .admin-topbar,
  .admin-grid-two,
  .admin-cs-board,
  .admin-workbench,
  .admin-workbench-wide,
  .admin-control-row,
  .admin-health-strip {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-topbar-actions {
    justify-content: start;
  }

  .admin-metric-grid,
  .admin-policy-grid,
  .admin-task-grid,
  .admin-e2e-grid,
  .admin-automation-grid,
  .admin-batch-grid,
  .admin-risk-strip,
  .admin-health-strip ol,
  .admin-audit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-table-card {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 660px;
  }
}

@media (max-width: 540px) {
  .admin-metric-grid,
  .admin-policy-grid,
  .admin-task-grid,
  .admin-e2e-grid,
  .admin-automation-grid,
  .admin-batch-grid,
  .admin-risk-strip,
  .admin-health-strip ol,
  .admin-audit-list {
    grid-template-columns: 1fr;
  }
}

.franchise-metric-grid,
.franchise-fit-grid {
  display: grid;
  gap: clamp(16px, 1.4vw, 24px);
}

.franchise-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.franchise-metric-grid article,
.franchise-fit-grid article {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(33, 26, 20, 0.15);
  padding: clamp(20px, 1.8vw, 28px);
  background: rgba(255, 250, 243, 0.32);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    background 260ms ease;
}

.franchise-metric-grid article:hover,
.franchise-fit-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 57, 45, 0.34);
  background: rgba(255, 250, 243, 0.5);
}

.franchise-metric-grid span,
.franchise-fit-grid span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.franchise-metric-grid strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(22px, 1.6vw, 32px);
  line-height: 1.25;
  font-weight: 500;
}

.franchise-metric-grid p,
.franchise-fit-grid p {
  margin: 0;
  color: #5c5148;
  font-size: 14px;
  line-height: 1.75;
}

.franchise-fit-section {
  min-height: auto;
}

.franchise-fit-grid {
  grid-column: 3;
  align-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.franchise-fit-grid h3 {
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(22px, 1.5vw, 29px);
  line-height: 1.36;
  font-weight: 500;
}

.franchise-process article {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease;
}

.franchise-process article:hover {
  transform: translateX(6px);
  border-color: rgba(143, 57, 45, 0.28);
}

.motion-ready .sub-motion :is(.franchise-metric-grid article, .franchise-fit-grid article) {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms ease,
    transform 880ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    background 240ms ease;
}

.motion-ready .sub-motion.is-visible :is(.franchise-metric-grid article, .franchise-fit-grid article) {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .sub-motion.is-visible :is(.franchise-metric-grid article:nth-child(2), .franchise-fit-grid article:nth-child(2)) {
  transition-delay: 90ms;
}

.motion-ready .sub-motion.is-visible :is(.franchise-metric-grid article:nth-child(3), .franchise-fit-grid article:nth-child(3)) {
  transition-delay: 180ms;
}

.motion-ready .sub-motion.is-visible .franchise-fit-grid article:nth-child(4) {
  transition-delay: 270ms;
}

.product-commerce {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr) minmax(360px, 0.46fr);
  gap: var(--hero-gap);
  min-height: 100svh;
  padding: clamp(0px, 1svh, 16px) var(--page-x) var(--hero-bottom);
  background:
    radial-gradient(circle at 74% 10%, rgba(255, 250, 243, 0.74), transparent 28%),
    var(--paper);
}

.product-media-column {
  grid-column: 2;
  display: grid;
  gap: clamp(14px, 1.35vw, 22px);
  align-self: start;
}

.product-breadcrumb {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-hero-kicker {
  display: grid;
  gap: clamp(8px, 0.85vw, 14px);
  max-width: 760px;
}

.product-hero-kicker span {
  color: #8f392d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.product-hero-kicker h1 {
  margin: 0;
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(34px, 3vw, 58px);
  line-height: 1.24;
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.product-hero-kicker p {
  max-width: 620px;
  margin: 0;
  color: #51463d;
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.product-visual-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.26fr);
  gap: clamp(12px, 1.2vw, 20px);
  align-items: stretch;
}

.product-main-image {
  position: relative;
  height: min(48svh, 560px);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(33, 26, 20, 0.14);
  background: rgba(255, 250, 243, 0.36);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.product-main-image img {
  height: 100%;
  object-fit: cover;
  transition: opacity 260ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-main-image.is-swapping img {
  opacity: 0.2;
  transform: scale(1.015);
}

.product-main-image figcaption {
  position: absolute;
  left: clamp(16px, 1.8vw, 28px);
  right: clamp(16px, 1.8vw, 28px);
  bottom: clamp(16px, 1.8vw, 28px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  color: #fffaf3;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.product-main-image figcaption span {
  color: rgba(255, 250, 243, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.product-main-image figcaption strong {
  max-width: 58%;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1.35;
  font-weight: 500;
  text-align: right;
}

.product-side-notes {
  display: grid;
  gap: 10px;
}

.product-side-notes article {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 0;
  border: 1px solid rgba(33, 26, 20, 0.13);
  padding: clamp(14px, 1.2vw, 18px);
  background: rgba(255, 250, 243, 0.42);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.product-side-notes span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.product-side-notes strong {
  color: #211a14;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(17px, 1.2vw, 23px);
  line-height: 1.35;
  font-weight: 500;
}

.product-side-notes p {
  margin: 0;
  color: #675b50;
  font-size: 12px;
  line-height: 1.65;
}

.product-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-thumb-row--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-thumb-row button {
  position: relative;
  height: clamp(82px, 7.4vw, 118px);
  border: 1px solid rgba(33, 26, 20, 0.16);
  padding: 0;
  background: rgba(255, 250, 243, 0.34);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-thumb-row button:hover,
.product-thumb-row button.is-active {
  border-color: rgba(143, 57, 45, 0.56);
}

.product-thumb-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 26, 20, 0.08);
}

.product-thumb-row img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-thumb-row button:hover img,
.product-thumb-row button.is-active img {
  transform: scale(1.045);
}

.product-thumb-row button span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: #fffaf3;
  background: rgba(33, 26, 20, 0.56);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.purchase-panel {
  position: sticky;
  top: 92px;
  grid-column: 3;
  align-self: start;
  display: grid;
  gap: clamp(9px, 1.1svh, 14px);
  border: 1px solid rgba(33, 26, 20, 0.15);
  padding: clamp(16px, 1.45vw, 23px);
  background: rgba(255, 250, 243, 0.58);
  box-shadow: 0 22px 60px rgba(33, 26, 20, 0.055);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.purchase-heading {
  display: grid;
  gap: 9px;
}

.purchase-heading span,
.price-block span,
.option-block label,
.total-block span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.purchase-heading h1,
.purchase-heading h2 {
  margin: 0;
  color: #17120e;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(30px, 2.3vw, 44px);
  line-height: 1.28;
  font-weight: 500;
  word-break: keep-all;
}

.purchase-heading p {
  margin: 0;
  color: #5c5148;
  font-size: 13px;
  line-height: 1.58;
  word-break: keep-all;
  overflow-wrap: normal;
}

.price-block {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(33, 26, 20, 0.14);
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
  padding: 10px 0;
}

.price-block div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.price-block strong,
.total-block strong {
  color: #17120e;
  font-size: clamp(23px, 1.8vw, 30px);
  line-height: 1;
}

.price-block p {
  margin: 0;
  color: #7e766d;
  font-size: 12px;
  line-height: 1.6;
}

.commerce-info-list {
  display: grid;
  gap: 6px;
  margin: 0;
}

.commerce-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.commerce-info-list dt {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.commerce-info-list dd {
  margin: 0;
  color: #4f443b;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.option-block {
  display: grid;
  gap: 10px;
}

.purchase-option {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(33, 26, 20, 0.2);
  border-radius: var(--button-radius-sm);
  padding: 0 14px;
  color: #211a14;
  background: rgba(255, 250, 243, 0.54);
  font: inherit;
  font-size: 14px;
}

.selected-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(33, 26, 20, 0.13);
  padding: 10px;
  background: rgba(247, 241, 232, 0.54);
}

.selected-order > div:first-child {
  display: grid;
  gap: 5px;
}

.selected-order strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 17px;
  font-weight: 500;
}

.selected-order span {
  color: #7e766d;
  font-size: 12px;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 34px 42px 34px;
  height: 32px;
  border: 1px solid rgba(33, 26, 20, 0.18);
  border-radius: var(--button-radius-sm);
  overflow: hidden;
}

.quantity-stepper button {
  border: 0;
  color: #211a14;
  background: rgba(255, 250, 243, 0.44);
  font-size: 18px;
  cursor: pointer;
}

.quantity-stepper output {
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(33, 26, 20, 0.14);
  border-left: 1px solid rgba(33, 26, 20, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.total-block {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  border-top: 1px solid rgba(33, 26, 20, 0.14);
  padding-top: 10px;
}

.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 10px;
}

.buy-now,
.cart-action {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(33, 26, 20, 0.32);
  font-size: 14px;
  font-weight: 900;
}

.buy-now {
  color: #fffaf3;
  background: #211a14;
}

.cart-action {
  color: #211a14;
  background: rgba(255, 250, 243, 0.28);
}

.product-detail-tabs {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 0.28fr) minmax(0, 1fr);
  gap: var(--hero-gap);
  padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  background: #efe7dc;
}

.detail-tab-nav {
  grid-column: 2;
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  border-top: 1px solid rgba(33, 26, 20, 0.18);
}

.detail-tab-nav a {
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
  padding: 18px 0;
  color: #5c5148;
  font-size: 13px;
  font-weight: 800;
}

.detail-tab-nav a:hover {
  color: #8f392d;
}

.detail-tab-content {
  grid-column: 3;
  display: grid;
  gap: clamp(54px, 8svh, 92px);
}

.detail-doc-section {
  display: grid;
  gap: 22px;
  border-top: 1px solid rgba(33, 26, 20, 0.18);
  padding-top: 28px;
}

.detail-doc-section > span {
  color: #8f392d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-doc-section h2 {
  max-width: 16ch;
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(30px, 2.3vw, 44px);
  line-height: 1.36;
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.detail-doc-section p {
  max-width: 62ch;
  margin: 0;
  color: #5c5148;
  font-size: 15px;
  line-height: 1.82;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.detail-point-grid,
.detail-review-list,
.detail-guide-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(33, 26, 20, 0.14);
}

.detail-point-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 0;
}

.detail-point-grid div {
  border: 1px solid rgba(33, 26, 20, 0.13);
  padding: 22px;
  background: rgba(255, 250, 243, 0.28);
}

.detail-point-grid strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 20px;
  font-weight: 500;
}

.detail-review-list div,
.detail-guide-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid rgba(33, 26, 20, 0.14);
  padding: 18px 0;
}

.detail-review-list b {
  color: #8f392d;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.detail-review-list em {
  color: #7e766d;
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.detail-guide-list {
  margin: 0;
}

.detail-guide-list div {
  grid-template-columns: 120px minmax(0, 1fr);
}

.detail-guide-list dt {
  color: #8f392d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.detail-guide-list dd {
  margin: 0;
  color: #5c5148;
  font-size: 15px;
  line-height: 1.8;
}

.detail-info-image {
  width: min(100%, 640px);
  border: 1px solid rgba(33, 26, 20, 0.14);
  padding: 10px;
  background: rgba(255, 250, 243, 0.3);
}

@media (max-width: 980px) {
  .product-commerce {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .checkout-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .checkout-title,
  .checkout-panel {
    grid-column: auto;
  }

  .checkout-title h1 {
    max-width: none;
  }

  .product-media-column,
  .purchase-panel {
    grid-column: auto;
  }

  .product-visual-stage {
    grid-template-columns: 1fr;
  }

  .product-side-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-main-image {
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .product-thumb-row--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .purchase-panel {
    position: static;
  }

  .product-detail-tabs {
    grid-template-columns: 1fr;
  }

  .detail-tab-nav,
  .detail-tab-content {
    grid-column: auto;
  }

  .detail-tab-nav {
    position: static;
  }

  .detail-point-grid,
  .detail-review-list div,
  .detail-guide-list div {
    grid-template-columns: 1fr;
  }

  .detail-review-list em {
    text-align: left;
  }

  .purchase-cycle {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 4svh;
    min-height: auto;
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .purchase-title,
  .purchase-body {
    grid-column: auto;
    grid-row: auto;
  }

  .purchase-flow {
    grid-template-columns: 1fr;
  }

  .product-decision-bar {
    grid-column: auto;
    grid-template-columns: 1fr;
    align-self: stretch;
  }

  .product-decision-bar div {
    flex-wrap: wrap;
  }

  .purchase-assurance dl {
    grid-template-columns: 1fr;
  }

  .sub-section,
  .sub-split,
  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .sub-section {
    min-height: auto;
    padding: var(--hero-top) var(--page-x) var(--hero-bottom);
  }

  .sub-section-title,
  .shop-panel,
  .shop-list-section .shop-panel,
  .shop-review-board,
  .timeline-list,
  .process-grid,
  .inquiry-grid,
  .notice-list,
  .faq-list,
  .contact-sheet,
  .product-detail-hero,
  .sub-split .sub-feature-image {
    grid-column: auto;
  }

  .sub-section-title h2,
  .sub-title h1 {
    max-width: none;
  }

  .shop-review-grid,
  .franchise-metric-grid,
  .franchise-fit-grid,
  .process-grid,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .review-summary-strip {
    grid-template-columns: 1fr;
  }

  .review-summary-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(33, 26, 20, 0.12);
  }

  .review-summary-strip article:last-child {
    border-bottom: 0;
  }

  .shop-card {
    min-height: 0;
  }

  .shop-card > div {
    padding: 10px 8px 11px;
  }

  .shop-card h3 {
    font-size: clamp(14px, 3.6vw, 17px);
  }

  .shop-card p,
  .product-meta,
  .product-proof {
    display: none;
  }

  .shop-card-actions a {
    min-height: 32px;
    padding: 0 8px;
    font-size: 10px;
  }

  .notice-list a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .notice-list strong {
    white-space: normal;
  }

  .product-detail-hero figure,
  .sub-feature-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .shopinshop-delivery-frame {
    aspect-ratio: 1672 / 941;
  }
}

@media (max-width: 640px) {
  .product-side-notes {
    grid-template-columns: 1fr;
  }

  .checkout-product,
  .checkout-form-grid,
  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .checkout-product-image {
    width: 100%;
    max-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .product-thumb-row--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-main-image figcaption {
    display: grid;
  }

  .product-main-image figcaption strong {
    max-width: none;
    text-align: left;
  }

  .product-decision-bar div {
    display: grid;
    width: 100%;
  }

  .purchase-flow article {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .purchase-assurance {
    padding: 18px;
  }

  .sub-section-title h2,
  .sub-title h1 {
    font-size: 30px;
    line-height: 1.42;
  }

  .sub-card,
  .inquiry-grid a,
  .contact-sheet {
    padding: 18px;
  }

  .shop-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .shop-filter button {
    flex: 0 0 auto;
  }

  .contact-sheet div,
  .detail-buy-panel dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sub-cta-actions {
    display: grid;
    width: 100%;
  }
}

/* ── 페이지 전환 인터랙션 (Phase) ───────────────────────────── */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(255, 250, 243, 0.96), transparent 72%),
    #f4ede2;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform, clip-path;
  animation: veil-reveal 760ms cubic-bezier(0.65, 0, 0.18, 1) both;
}

/* 진입: 덮은 상태에서 위로 걷히며 본문 노출 */
@keyframes veil-reveal {
  0% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
  60% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2.5%);
    clip-path: inset(0 0 100% 0);
  }
}

/* 이탈: 링크 클릭 시 베일이 다시 덮임 */
html.is-leaving .page-veil {
  animation: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition: opacity 320ms ease;
}

/* 이탈 시 본문이 살짝 가라앉으며 흐려짐 (베일과 레이어드) */
html.is-leaving body > *:not(.page-veil) {
  transition: opacity 320ms ease, transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(10px);
}

/* 진입 직후 본문 첫 등장 — 헤더/첫 콘텐츠 살짝 떠오르기 */
@keyframes page-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-rise-in {
  animation: page-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .page-veil { animation: none; display: none; }
  html.is-leaving body > *:not(.page-veil) { transition: none; opacity: 1; transform: none; }
  .page-rise-in { animation: none; }
}
