/* ============================================
   오늘담은 — Freshly Selected Today · Premium Edition
   --------------------------------------------
   브랜드 컬러 6종 (가이드라인 100%)
   에디토리얼 magazine-style 디자인
   Noto Serif KR (한글) + Fraunces (영문 serif italic)
   종이 텍스처 + 따뜻한 grain + 자연스러운 spacing
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&display=swap');

:root {
  /* === 브랜드 가이드 정확 hex (6 컬러) === */
  --forest:    #1E3B2E;   /* 딥 포레스트 */
  --forest-d:  #0E2018;
  --leaf:      #4F7F4F;   /* 리프 그린 */
  --leaf-soft: #6E9462;
  --ivory:     #F7F3E9;   /* 아이보리 */
  --ivory-d:   #EDE6D2;
  --beige:     #E8DCC3;   /* 베이지 */
  --peach:     #F3C5A7;   /* 피치 */
  --peach-soft:#FAE6D3;
  --orange:    #F7941D;   /* 시트러스 오렌지 */
  --orange-d:  #C7522A;
  --text:      #1E3B2E;
  --slate:     #5C6B5F;
  --slate-warm:#7A6B52;
  --slate-l:   #8A9690;
  --line:      #DDD3BC;
  --line-d:    #C2B89F;
  --white:     #FFFFFF;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --safe-top:    env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);

  --font-serif: 'Noto Serif KR', 'Spectral', 'Cormorant Garamond', serif;
  --font-italic: 'Fraunces', 'Spectral', serif;
  --font-sans: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Subtle paper grain */
  background-image:
    radial-gradient(circle at 25% 30%, rgba(110, 138, 74, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 60%, rgba(247, 148, 29, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(168, 193, 117, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* === Top bar (refined) === */
.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 233, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 20px;
}
.brand-link {
  display: flex; align-items: center; gap: 14px;
  transition: opacity 0.2s var(--ease);
}
.brand-link:hover { opacity: 0.8; }
.brand-logo-mini {
  width: 56px; height: 56px; object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 4px;
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--forest);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.brand-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--leaf);
  letter-spacing: 1.5px;
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-mid {
  display: flex; gap: 4px;
  align-items: center;
}
.nav-mid a {
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-mid a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 18px; right: 18px;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-mid a:hover { color: var(--orange-d); }
.nav-mid a:hover::after, .nav-mid a.active::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav-mid { display: none; } }

.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  transition: background 0.2s var(--ease), border-color 0.2s;
}
.icon-btn:hover { background: var(--beige); border-color: var(--leaf); }
.icon-btn .badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--orange); color: #fff;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ivory);
}

/* === Hero — Editorial magazine layout === */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: -180px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(75, 127, 79, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-issue {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.hero-issue::before, .hero-issue::after {
  content: ''; flex: 1; height: 1px;
  background: var(--line-d);
  max-width: 100px;
}
.hero-issue-text {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
  align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}

.hero-eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange-d);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; width: 36px; height: 1.5px;
  background: var(--orange);
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--forest);
  letter-spacing: -1.2px;
  margin-bottom: 32px;
  max-width: 540px;
}
@media (min-width: 720px) { .hero-h1 { font-size: 50px; margin-bottom: 36px; } }
@media (min-width: 1100px) { .hero-h1 { font-size: 56px; line-height: 1.16; } }

/* 라인 사이 호흡 */
.text-reveal .line-1 { margin-bottom: 0.04em; }
.hero-h1 .accent-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.hero-h1 .underline {
  background: linear-gradient(180deg, transparent 70%, var(--peach) 70%);
  padding: 0 6px;
}

.hero-sub {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 56px; padding: 0 32px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.2px;
  border: none; border-radius: 0;
  transition: transform 0.3s var(--ease-soft), background 0.3s var(--ease);
  text-transform: none;
}
.btn-primary:hover {
  background: var(--forest-d);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 56px; padding: 0 28px;
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s;
}
.btn-secondary:hover { background: var(--forest); color: var(--ivory); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-d); }

.hero-meta {
  display: flex; gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-italic);
}
.hero-meta-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--forest);
}
.hero-meta-label {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === Hero illustration === */
.hero-illu-wrap {
  position: relative;
  aspect-ratio: 4/3;
}
.hero-illu, .hero-video {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(30, 59, 46, 0.15));
  border-radius: 0;
}
.hero-video {
  background: linear-gradient(135deg, var(--peach-soft) 0%, var(--beige) 100%);
  object-fit: cover;
}
/* 영상 fallback (소스 없을 시 → 폴백 SVG 자동 노출) */
.hero-video img { width: 100%; height: 100%; object-fit: contain; }

/* === Quote strip (editorial) === */
.quote-strip {
  background: var(--forest);
  color: var(--ivory);
  padding: 64px 0;
  position: relative;
}
.quote-strip::before {
  content: '"';
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--orange);
  line-height: 1;
  font-weight: 400;
}
.quote-strip .wrap {
  text-align: center;
  max-width: 760px;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: -0.4px;
  margin-top: 36px;
  margin-bottom: 28px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 720px) { .quote-text { font-size: 27px; line-height: 1.8; } }
.quote-author {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--peach);
  text-transform: uppercase;
}

/* === Section base === */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange-d);
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
  padding: 0 24px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; position: absolute; top: 50%;
  width: 16px; height: 1px;
  background: var(--orange);
}
.section-eyebrow::before { left: 0; }
.section-eyebrow::after { right: 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: 38px; font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.8px;
  line-height: 1.25;
}
@media (min-width: 720px) { .section-title { font-size: 48px; } }
.section-title .italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.section-sub {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 16px;
  font-weight: 400;
  font-style: italic;
}

/* === Categories — editorial grid === */
.cat-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 560px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease), border-color 0.3s;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -16px rgba(30, 59, 46, 0.22);
  border-color: var(--leaf);
}
.cat-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}
.cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-body {
  padding: 24px 22px 26px;
  display: flex; flex-direction: column;
  flex: 1;
}
.cat-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px;
  color: var(--slate-l);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.cat-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}
.cat-desc {
  font-size: 14px; color: var(--slate);
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 48px;
}
.cat-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--orange-d);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.cat-arrow svg { transition: transform 0.3s var(--ease); }
.cat-card:hover .cat-arrow svg { transform: translateX(4px); }

/* === Curator's Note — editorial section === */
.curator {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--ivory-d) 0%, var(--ivory) 100%);
}
.curator-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
  align-items: center;
}
@media (min-width: 920px) { .curator-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.curator-img {
  aspect-ratio: 3/4;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--leaf);
}
.curator-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft);
}
.curator-img:hover .curator-photo { transform: scale(1.04); }
.curator-img::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(247, 243, 233, 0.45);
  z-index: 1;
  pointer-events: none;
}
.curator-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(30,59,46,0.45) 100%);
  pointer-events: none;
  z-index: 1;
}
.curator-img-label {
  z-index: 2;
}
.curator-img-label {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--ivory);
  text-transform: uppercase;
  opacity: 0.9;
}

.curator-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--orange-d);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.curator-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.6px;
  line-height: 1.3;
  margin-bottom: 24px;
}
@media (min-width: 720px) { .curator-title { font-size: 44px; } }
.curator-title .italic {
  font-family: var(--font-italic); font-style: italic; color: var(--orange);
}
.curator-body p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.95;
  margin-bottom: 20px;
}
.curator-body p em {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--forest);
  font-weight: 500;
}
.curator-signature {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
}
.curator-signature-line { width: 40px; height: 1px; background: var(--orange); }
.curator-signature-name {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--forest);
}

/* === Product grid — editorial cards === */
.prod-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }

.prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease), border-color 0.3s;
  cursor: pointer;
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -16px rgba(30, 56, 46, 0.22);
  border-color: var(--leaf);
}
.prod-thumb {
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(135deg, var(--peach-soft) 0%, var(--beige) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}
.prod-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-soft);
}
.prod-card:hover .prod-img { transform: scale(1.05); }
.prod-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--forest); color: var(--ivory);
  font-family: var(--font-italic); font-style: italic;
  font-size: 11px; font-weight: 600;
  padding: 5px 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.prod-info {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
  flex: 1;
}
.prod-no {
  font-family: var(--font-italic); font-style: italic;
  font-size: 11px; letter-spacing: 2px;
  color: var(--slate-l);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.prod-title {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 700;
  color: var(--forest);
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-sub {
  font-size: 13px; color: var(--slate);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.prod-origin {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px;
  color: var(--leaf);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.prod-price-row {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.prod-price {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.3px;
}
.prod-compare {
  font-size: 13px; color: var(--slate-l);
  text-decoration: line-through;
}
.prod-discount {
  font-family: var(--font-italic); font-style: italic;
  font-size: 12px; font-weight: 600; color: var(--orange-d);
  letter-spacing: 1px;
}

/* === Promise === */
.promise {
  background: var(--forest);
  color: var(--ivory);
  padding: 80px 0;
}
.promise-eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin-bottom: 14px;
}
.promise-title {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 700;
  color: var(--ivory);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.6px;
}
@media (min-width: 720px) { .promise-title { font-size: 44px; } }
.promise-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px;
}
@media (min-width: 720px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise-item {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.promise-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px; top: 30%;
  width: 1px; height: 40%;
  background: rgba(247, 243, 233, 0.2);
}
@media (max-width: 719px) { .promise-item::after { display: none; } }
.promise-icon { font-size: 38px; margin-bottom: 16px; display: inline-block; }
.promise-h {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600;
  color: var(--peach);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.promise-d {
  font-size: 13px; color: rgba(247, 243, 233, 0.7);
  line-height: 1.65;
}

/* === Footer === */
.footer {
  background: var(--forest-d);
  color: var(--peach);
  padding: 80px 0 32px;
  font-size: 14px;
  line-height: 1.8;
}
.footer-cols {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  margin-bottom: 40px;
}
@media (min-width: 720px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } }

.footer-brand-block { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand-block img { width: 52px; height: 52px; object-fit: contain; background: var(--ivory); border-radius: 50%; padding: 4px; }
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--ivory);
  letter-spacing: -0.4px;
}
.footer-brand-tag {
  font-family: var(--font-italic); font-style: italic;
  font-size: 11px; color: var(--peach);
  margin-top: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-desc {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(247, 243, 233, 0.75);
  line-height: 1.8;
}

.footer-h {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px; font-weight: 500;
  color: var(--ivory); margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.footer-links li { padding: 5px 0; }
.footer-links a {
  color: rgba(247, 243, 233, 0.75);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

.footer-disclaim {
  font-size: 12px;
  color: rgba(247, 243, 233, 0.45);
  padding-top: 28px;
  border-top: 1px solid rgba(247, 243, 233, 0.1);
  line-height: 1.85;
}

/* ============================================
   프리미엄 텍스트 애니메이션
   ============================================ */

/* ============================================
   PREMIUM TEXT REVEAL v2 — Apple·Hermès·Aesop 풍
   clip-path mask + spring easing + 단어별 stagger
   ============================================ */
.text-reveal {
  display: block;
}
.text-reveal .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.1em 0.16em 0;
  margin: 0;
}
.text-reveal .word {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 0.04em;
  margin-right: 0.18em;
}
.text-reveal .word:last-child { margin-right: 0; }

/* 단어별 wrapper span — 위에서 아래로 마스크처럼 등장 */
.text-reveal .word > span {
  display: inline-block;
  transform: translateY(115%) skewY(2deg);
  opacity: 0;
  transition:
    transform 1.1s cubic-bezier(0.5, 0, 0, 1),
    opacity 0.85s cubic-bezier(0.5, 0, 0, 1);
  will-change: transform, opacity;
}
.text-reveal.is-revealed .word > span {
  transform: translateY(0) skewY(0);
  opacity: 1;
}

/* 단어 stagger — line 1 */
.text-reveal.is-revealed .line-1 .word:nth-child(1) > span { transition-delay: 0.10s; }
.text-reveal.is-revealed .line-1 .word:nth-child(2) > span { transition-delay: 0.20s; }
.text-reveal.is-revealed .line-1 .word:nth-child(3) > span { transition-delay: 0.30s; }
/* line 2 */
.text-reveal.is-revealed .line-2 .word:nth-child(1) > span { transition-delay: 0.45s; }
.text-reveal.is-revealed .line-2 .word:nth-child(2) > span { transition-delay: 0.55s; }

/* italic 단어 — 회전·기울임 강화 */
.text-reveal .accent-italic {
  display: inline-block;
  transform-origin: 0% 100%;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.text-reveal .word > span.accent-italic {
  /* italic 자체는 word > span 내부에서 회전·이동 함께 */
}
.text-reveal .line-2 .word:nth-child(2) > span {
  transform: translateY(120%) rotate(-4deg);
  transition:
    transform 1.3s cubic-bezier(0.34, 1.20, 0.40, 1),
    opacity 0.9s cubic-bezier(0.5, 0, 0, 1);
}
.text-reveal.is-revealed .line-2 .word:nth-child(2) > span {
  transform: translateY(0) rotate(0);
}
.text-reveal.is-revealed .word:nth-child(1) > span { transition-delay: 0.10s; }
.text-reveal.is-revealed .word:nth-child(2) > span { transition-delay: 0.22s; }
.text-reveal.is-revealed .word:nth-child(3) > span { transition-delay: 0.34s; }
.text-reveal.is-revealed .word:nth-child(4) > span { transition-delay: 0.46s; }
.text-reveal.is-revealed .word:nth-child(5) > span { transition-delay: 0.58s; }
.text-reveal.is-revealed .word:nth-child(6) > span { transition-delay: 0.70s; }
.text-reveal.is-revealed .word:nth-child(7) > span { transition-delay: 0.82s; }
.text-reveal.is-revealed .word:nth-child(8) > span { transition-delay: 0.94s; }

/* 2. Underline draw animation */
.text-underline {
  position: relative;
  display: inline-block;
}
.text-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.06em;
  width: 100%; height: 0.18em;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease-soft) 1.2s;
  z-index: -1;
}
.text-reveal.is-revealed .text-underline::after {
  transform: scaleX(1);
}

/* 3. Italic split reveal */
.italic-split {
  display: inline-block;
  position: relative;
}
.italic-split > span {
  display: inline-block;
  transform: translateY(40px) rotate(-3deg);
  opacity: 0;
  transition: transform 1.2s var(--ease-soft) 1.6s, opacity 0.9s var(--ease-soft) 1.6s;
}
.text-reveal.is-revealed .italic-split > span {
  transform: translateY(0) rotate(0);
  opacity: 1;
}

/* 4. Hero sub — line-by-line mask reveal */
.line-reveal {
  display: block;
}
.line-reveal .sub-line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0;
}
.line-reveal .sub-line > span {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.5, 0, 0, 1), opacity 0.7s ease;
}
.line-reveal.is-revealed .sub-line:nth-child(1) > span { transition-delay: 1.30s; transform: translateY(0); opacity: 0.95; }
.line-reveal.is-revealed .sub-line:nth-child(2) > span { transition-delay: 1.45s; transform: translateY(0); opacity: 0.95; }
.line-reveal.is-revealed .sub-line:nth-child(3) > span { transition-delay: 1.60s; transform: translateY(0); opacity: 0.95; }

/* legacy fallback */
.text-fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease-soft) 1.3s, transform 1s var(--ease-soft) 1.3s; }
.text-fade-up.is-revealed { opacity: 1; transform: translateY(0); }

/* 5. CTA buttons — premium magnetic slide */
.cta-stagger {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition:
    opacity 0.7s cubic-bezier(0.5, 0, 0, 1),
    transform 0.85s cubic-bezier(0.34, 1.20, 0.40, 1);
}
.cta-stagger.is-revealed { opacity: 1; transform: translateY(0) scale(1); }
.cta-stagger:nth-child(1) { transition-delay: 1.95s; }
.cta-stagger:nth-child(2) { transition-delay: 2.10s; }

/* 6. Hero meta — fade + slight slide */
.meta-count {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s cubic-bezier(0.5, 0, 0, 1),
    transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.meta-count.is-revealed { opacity: 1; transform: translateY(0); }
.meta-count:nth-child(1) { transition-delay: 2.35s; }
.meta-count:nth-child(2) { transition-delay: 2.50s; }
.meta-count:nth-child(3) { transition-delay: 2.65s; }

/* 7. Eyebrow — letter spacing draw */
.hero-eyebrow.animated {
  opacity: 0;
  letter-spacing: 8px;
  transition:
    opacity 0.7s cubic-bezier(0.5, 0, 0, 1) 0.1s,
    letter-spacing 1.3s cubic-bezier(0.5, 0, 0, 1) 0.1s;
}
.hero-eyebrow.animated.is-revealed {
  opacity: 1;
  letter-spacing: 3px;
}
.hero-eyebrow.animated::before {
  width: 0;
  transition: width 0.9s cubic-bezier(0.5, 0, 0, 1) 0.3s;
}
.hero-eyebrow.animated.is-revealed::before { width: 36px; }

/* 8. Section title elegant reveal */
.section-title-anim {
  overflow: hidden;
  display: inline-block;
}
.section-title-anim > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-soft);
}
.section-title-anim.is-visible > span { transform: translateY(0); }

/* ============================================
   모바일 햄버거 메뉴
   ============================================ */
.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.menu-toggle:hover { background: var(--beige); }
.menu-toggle span {
  position: absolute;
  left: 14px; right: 14px;
  height: 1.5px;
  background: var(--forest);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 760px) { .menu-toggle { display: inline-block; } }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ivory);
  z-index: 99;
  padding: 100px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-soft);
  display: flex; flex-direction: column;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 600;
  color: var(--forest);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.4px;
  position: relative;
  transition: padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { padding-left: 12px; color: var(--orange-d); }
.mobile-menu a:hover::before {
  content: '→';
  position: absolute;
  left: -8px; top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 18px;
}
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 1.5px;
}

/* ============================================
   모바일 반응형 보강
   ============================================ */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .top-inner { height: 70px; }
  .brand-logo-mini { width: 44px; height: 44px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; letter-spacing: 1px; }

  .hero { padding: 56px 0 64px; }
  .hero-issue { margin-bottom: 24px; }
  .hero-issue::before, .hero-issue::after { display: none; }
  .hero-issue-text { font-size: 11px; letter-spacing: 2.5px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 18px; letter-spacing: 2px; }
  .hero-h1 { font-size: 36px; line-height: 1.2; }
  .hero-sub { font-size: 15.5px; line-height: 1.75; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { width: 100%; }
  .hero-meta { gap: 18px; padding-top: 24px; flex-wrap: wrap; }
  .hero-meta-num { font-size: 22px; }
  .hero-meta-label { font-size: 10.5px; letter-spacing: 0.5px; }
  .hero-grid { gap: 36px; }

  .quote-strip { padding: 48px 0; }
  .quote-strip::before { font-size: 60px; top: 16px; }
  .quote-text { font-size: 19px; margin-top: 20px; line-height: 1.65; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 30px; line-height: 1.3; }
  .section-sub { font-size: 14.5px; }

  .cat-grid { gap: 14px; }
  .cat-card { padding: 28px 22px 24px; }
  .cat-name { font-size: 19px; }
  .cat-desc { min-height: auto; }

  .curator { padding: 64px 0; }
  .curator-grid { gap: 36px; }
  .curator-img { aspect-ratio: 4/3; }
  .curator-title { font-size: 28px; }
  .curator-body p { font-size: 15.5px; line-height: 1.85; }

  .prod-grid { gap: 18px; }
  .prod-thumb { font-size: 56px; }
  .prod-info { padding: 18px 18px 20px; }

  .promise { padding: 56px 0; }
  .promise-title { font-size: 28px; margin-bottom: 36px; }
  .promise-item::after { display: none; }
  .promise-grid { gap: 36px 16px; }

  .brand-world { padding: 64px 0; }

  .footer { padding: 56px 0 24px; }
  .footer-cols { gap: 36px; }
  .footer-disclaim { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
  .curator-title { font-size: 24px; }
}

/* === Scroll reveal — softer === */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-soft), transform 1s var(--ease-soft);
  will-change: opacity, transform;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up:nth-child(2).is-visible { transition-delay: 100ms; }
.reveal-up:nth-child(3).is-visible { transition-delay: 200ms; }
.reveal-up:nth-child(4).is-visible { transition-delay: 300ms; }
.reveal-up:nth-child(5).is-visible { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================
   Brand World — 브랜드 적용 showcase (가이드라인 매칭)
   ============================================ */
.brand-world {
  padding: 96px 0;
  background: var(--ivory);
  position: relative;
}
.brand-world::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0, transparent 1px, rgba(30,59,46,0.015) 1px, rgba(30,59,46,0.015) 2px);
  pointer-events: none;
}
.bw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
@media (min-width: 720px) {
  .bw-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
  }
}

.bw-tile {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease);
  cursor: default;
}
.bw-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -16px rgba(30,59,46,0.22);
  z-index: 2;
}

/* Tile spans on desktop */
@media (min-width: 720px) {
  .bw-grid-4 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
  .bw-grid-4 .bw-tile.tile-logo     { grid-column: span 1; grid-row: span 1; }
  .bw-grid-4 .bw-tile.tile-palette  { grid-column: span 2; grid-row: span 1; }
  .bw-grid-4 .bw-tile.tile-box      { grid-column: span 1; grid-row: span 1; }
  .bw-grid-4 .bw-tile.tile-emboss   { grid-column: span 4; grid-row: span 1; }
}

.bw-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-soft);
}
.bw-tile:hover img { transform: scale(1.04); }

.bw-tile-label {
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ivory);
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 1;
}
.bw-tile.light .bw-tile-label { color: var(--forest); text-shadow: none; }

/* Logo emboss tile */
.bw-emboss {
  background: linear-gradient(135deg, #F0E9D6 0%, #E8DCC3 100%);
  position: relative;
}
.bw-emboss .logo-emboss {
  width: 70%; max-width: 220px;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,0.7)) drop-shadow(0 -1px 0 rgba(30,59,46,0.15));
  opacity: 0.85;
  mix-blend-mode: multiply;
}

/* Palette tile */
.bw-palette {
  background: var(--white);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.bw-palette-title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.bw-palette-row {
  display: flex; gap: 8px;
}
.bw-palette-chip {
  flex: 1;
  height: 38px;
  border-radius: 4px;
  position: relative;
}
.bw-palette-chip[data-label]::after {
  content: attr(data-label);
  position: absolute;
  bottom: -16px; left: 0; right: 0;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 9px;
  color: var(--slate);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Tagline tile */
.bw-tagline {
  background: var(--forest);
  color: var(--ivory);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.bw-tagline .ko {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}
.bw-tagline .en {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px;
  color: var(--peach);
  letter-spacing: 2px;
}

/* ===== Offline Vision — 오프라인 매장·프랜차이즈 계획 ===== */
.offline-vision {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 920px) {
  .offline-vision {
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
  }
}
.offline-vision__image {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--beige);
  box-shadow: 0 18px 48px rgba(30, 59, 46, 0.12);
}
.offline-vision__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s cubic-bezier(0.2, 0, 0.2, 1);
}
.offline-vision:hover .offline-vision__image img { transform: scale(1.04); }

.offline-vision__caption { padding: 8px 0; }
.offline-vision__eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--orange-d);
  margin-bottom: 18px;
}
.offline-vision__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.6px;
  line-height: 1.35;
  margin-bottom: 18px;
}
@media (min-width: 720px) { .offline-vision__title { font-size: 36px; } }
.offline-vision__title .italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}
.offline-vision__body {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 14px;
}
.offline-vision__note {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.4px;
  opacity: 0.75;
}

/* Card tile (business card style) */
.bw-card {
  background: var(--ivory);
  padding: 28px 24px;
  position: relative;
}
.bw-card-logo {
  width: 48px; height: 48px;
  margin-bottom: 16px;
}
.bw-card-divider {
  width: 30px; height: 1px;
  background: var(--orange);
  margin-bottom: 14px;
}
.bw-card-name {
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}
.bw-card-role {
  font-family: var(--font-italic); font-style: italic;
  font-size: 11px; color: var(--slate);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.bw-card-contact {
  font-size: 11px; color: var(--slate-warm);
  line-height: 1.7;
}

/* IG preview tile */
.bw-ig {
  background: var(--white);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px;
}
.bw-ig-head {
  display: flex; gap: 10px; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.bw-ig-head img { width: 36px; height: 36px; border-radius: 50%; }
.bw-ig-head-info {
  font-family: var(--font-serif);
  font-weight: 700; color: var(--forest);
  font-size: 13px;
}
.bw-ig-head-info span {
  display: block;
  font-family: var(--font-sans); font-weight: 400;
  font-size: 11px; color: var(--slate);
  margin-top: 2px;
}
.bw-ig-stats {
  display: flex; gap: 14px;
  font-size: 11px; color: var(--slate);
}
.bw-ig-stats b {
  display: block; color: var(--forest);
  font-family: var(--font-serif); font-size: 14px;
}
.bw-ig-bio {
  font-size: 11.5px; color: var(--text);
  line-height: 1.55;
}
.bw-ig-link {
  font-size: 11px; color: var(--leaf);
  font-family: var(--font-italic); font-style: italic;
}

/* === FAB cart === */
.fab-cart {
  position: fixed;
  right: 20px; bottom: calc(var(--safe-bottom) + 20px);
  display: none;
  align-items: center; gap: 10px;
  padding: 16px 22px;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.2px;
  box-shadow: 0 16px 40px -10px rgba(30, 56, 46, 0.5);
  text-decoration: none;
  z-index: 50;
}
.fab-cart.has-items { display: inline-flex; }
.fab-cart .ct {
  background: var(--orange); color: var(--ivory);
  min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 12px;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 920px) { .fab-cart { display: none !important; } }
