/* =========================================================
   바다자리 (BADAJARI) — Brand Site Stylesheet
   Tone: cheongjo-inspired classical premium
   Mobile-first · Pretendard
   ========================================================= */

:root {
  /* color (preserved per user preference) */
  --c-ink:        #0a2540;
  --c-ink-soft:   #243a5a;
  --c-paper:      #faf6f0;
  --c-paper-2:    #f1ebe0;
  --c-line:       #e7dfd1;
  --c-line-2:     #d8cfbd;
  --c-text:       #1a1f2c;
  --c-mute:       #6a7587;
  --c-accent:     #c14b3c;     /* deeper, more classical red-brown */
  --c-sea:        #1f6f8b;
  --c-white:      #ffffff;

  /* type */
  --ff-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
             system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
             "Malgun Gothic", sans-serif;

  /* layout */
  --container: 1280px;
  --r-card: 0px;
  --r-img:  4px;

  /* shadow */
  --shadow-1: 0 1px 2px rgba(10,37,64,.04), 0 4px 14px rgba(10,37,64,.04);

  /* motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg,video { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-ink); color: #fff; padding: 8px 14px; z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
@media (min-width: 768px){ .container{ padding: 0 40px; } }

/* ---------- typography ---------- */
h1,h2,h3,h4 { margin: 0; line-height: 1.25; letter-spacing: -.025em; color: var(--c-ink); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--c-mute);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line-2);
  margin-bottom: 18px;
}
.section-num {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--c-mute);
  margin-bottom: 22px;
}
.section-num strong { color: var(--c-accent); font-weight: 700; }
.section-num::after {
  content: ""; width: 40px; height: 1px; background: var(--c-line-2);
}

.h-display { font-size: clamp(36px, 7vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.h-1       { font-size: clamp(28px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.25; }
.h-2       { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.h-3       { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; }

.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--c-ink-soft); line-height: 1.8; }

.en-sub {
  display: block;
  font-size: 13px; letter-spacing: .24em; color: var(--c-mute);
  text-transform: uppercase; font-weight: 500; margin-top: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 0;
  font-weight: 500; font-size: 15px; letter-spacing: .02em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn-primary:hover { background: transparent; color: var(--c-ink); }

.btn-ghost   { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-ink); color: #fff; }

.btn-line    { background: transparent; color: var(--c-ink); border: 0; padding: 0; font-weight: 500; position: relative; }
.btn-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .35s var(--ease);
}
.btn-line:hover::after { transform: scaleX(0); transform-origin: left; }
.btn-line .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn-line:hover .arrow { transform: translateX(4px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,240,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
  transition: background .25s var(--ease);
}
.site-header.is-scrolled { background: rgba(250,246,240,.98); }

/* 헤더는 컨테이너 폭 제약 없이 화면 전체로 — 로고 좌측 끝, TEL 우측 끝 */
.site-header .container {
  max-width: none;
  padding: 0 24px;
}
@media (min-width: 768px) { .site-header .container { padding: 0 36px; } }
@media (min-width: 1024px){ .site-header .container { padding: 0 48px; } }
@media (min-width: 1440px){ .site-header .container { padding: 0 64px; } }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 24px;
}
@media (min-width: 1024px){
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 104px;
    gap: 24px;
  }
  .header-inner .brand      { justify-self: start; }
  .header-inner .nav-main   { justify-self: center; }
  .header-inner .header-cta { justify-self: end; }
}

.brand {
  display: inline-flex; align-items: center;
  gap: 14px;
}
@media (min-width: 1024px){ .brand { gap: 18px; } }

.brand-logo {
  position: relative;
  display: inline-block;
  width: 60px; height: 60px;
  flex-shrink: 0;
}
@media (min-width: 1024px){ .brand-logo { width: 76px; height: 76px; } }

.brand-logo .logo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .35s var(--ease);
}
.brand-logo .logo-on { opacity: 0; }
.brand:hover .logo-off { opacity: 0; }
.brand:hover .logo-on  { opacity: 1; }

.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-paper); display: grid; place-items: center;
  font-weight: 700; font-size: 16px; letter-spacing: .02em;
  border: 1px solid var(--c-ink);
}
.brand-name {
  display: flex; flex-direction: column;
  line-height: 1;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  color: var(--c-ink);
}
@media (min-width: 1024px){ .brand-name { font-size: 17px; } }
.brand-name em {
  font-style: normal; font-weight: 400;
  font-size: 11px; letter-spacing: .26em; color: var(--c-mute);
  margin-top: 6px; text-transform: uppercase;
}
@media (min-width: 1024px){ .brand-name em { font-size: 12px; margin-top: 8px; } }
@media (max-width: 480px){ .brand-name { display: none; } }

.footer-brand .brand { display: inline-flex; align-items: center; gap: 12px; height: auto; }

.nav-main { display: none; }
@media (min-width: 1024px){
  .nav-main { display: block; }
  .nav-main ul { display: flex; gap: 14px; }
  .nav-main a {
    position: relative;
    font-weight: 500; font-size: 13px; color: var(--c-ink);
    padding: 10px 0;
    letter-spacing: -.015em;
    white-space: nowrap;
  }
  .nav-main a.is-active { font-weight: 600; }
  .nav-main a::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px;
    height: 1px; background: var(--c-ink);
    transition: left .3s var(--ease), right .3s var(--ease);
  }
  .nav-main a:hover::after, .nav-main a.is-active::after { left: 0; right: 0; }
}
@media (min-width: 1280px){
  .nav-main ul { gap: 22px; }
  .nav-main a { font-size: 14px; }
}
@media (min-width: 1440px){
  .nav-main ul { gap: 30px; }
  .nav-main a { font-size: 15px; }
}
@media (min-width: 1600px){
  .nav-main ul { gap: 40px; }
  .nav-main a { font-size: 16px; }
}

/* 좁은 데스크톱(1024-1279)에서는 일부 메뉴 라벨을 짧게 (전체상품→상품, 품질 및 설비→설비) */
.nav-main .nav-full  { display: none; }
.nav-main .nav-short { display: inline; }
@media (min-width: 1280px){
  .nav-main .nav-full  { display: inline; }
  .nav-main .nav-short { display: none; }
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-tel { display: none; font-size: 16px; color: var(--c-ink); font-weight: 600; letter-spacing: .02em; }
.header-tel em { font-style: normal; color: var(--c-mute); font-weight: 500; font-size: 12px; letter-spacing: .22em; margin-right: 8px; }
@media (min-width: 1024px){ .header-tel { display: inline-flex; align-items: center; gap: 4px; } }

.nav-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center; gap: 5px;
  border-radius: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--c-ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px){ .nav-toggle { display: none; } }

/* ===== 모바일 메뉴 — 풀스크린 트렌디 오버레이 ===== */
.nav-mobile {
  position: fixed;
  inset: 0;                  /* 풀스크린 — 헤더는 z-index 100으로 위에 떠 있어 자동으로 클리어 */
  z-index: 99;
  background: var(--c-paper);
  padding: 104px 22px calc(32px + env(safe-area-inset-bottom, 0));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile ul {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-mobile li {
  border-bottom: 1px solid var(--c-line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.nav-mobile.is-open li { opacity: 1; transform: none; }
.nav-mobile.is-open li:nth-child(1) { transition-delay: .08s; }
.nav-mobile.is-open li:nth-child(2) { transition-delay: .12s; }
.nav-mobile.is-open li:nth-child(3) { transition-delay: .16s; }
.nav-mobile.is-open li:nth-child(4) { transition-delay: .20s; }
.nav-mobile.is-open li:nth-child(5) { transition-delay: .24s; }
.nav-mobile.is-open li:nth-child(6) { transition-delay: .28s; }
.nav-mobile.is-open li:nth-child(7) { transition-delay: .32s; }
.nav-mobile.is-open li:nth-child(8) { transition-delay: .36s; }
.nav-mobile.is-open li:nth-child(9) { transition-delay: .40s; }

/* 메뉴 항목 — ul a 로 스코프 좁힘 (CTA에 영향 없게) + 가운데 정렬 */
.nav-mobile ul a {
  display: block;
  padding: 22px 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.02em;
  min-height: 64px;          /* 터치 타겟 */
  text-decoration: none;
  text-align: center;
  transition: color .25s var(--ease);
}
.nav-mobile ul a:active,
.nav-mobile ul a.is-active {
  color: var(--c-accent);
}

/* 하단 CALL CTA — 다크 박스, 가운데 정렬 */
.nav-mobile-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--c-ink);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease) .50s, transform .45s var(--ease) .50s, background .25s var(--ease);
}
.nav-mobile.is-open .nav-mobile-cta { opacity: 1; transform: none; }
.nav-mobile-cta:active { background: var(--c-accent); }
.nav-mobile-cta .cta-label {
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.nav-mobile-cta .cta-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.nav-mobile-cta .cta-num {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.nav-mobile-cta .cta-arrow {
  font-size: 18px;
  color: var(--c-accent);
}

/* 메뉴 열렸을 때 본문 스크롤 잠금 */
body.nav-locked { overflow: hidden; }

/* ============================================================
   MOBILE COMPRESSION — 모바일에서만 섹션 압축 + 페이지 길이 단축
   ============================================================ */
@media (max-width: 767px){
  /* 컨테이너 좌우 여백 살짝 줄임 — 모바일 화면 더 활용 */
  .container { padding: 0 18px; }

  /* 섹션 수직 패딩 압축 (64 → 48) */
  .section { padding: 48px 0; }

  /* 히어로 — 패딩 압축, 아이템 간격 감축 */
  .hero-grid { padding: 32px 0 44px; gap: 28px; }
  .hero-copy h1 { margin-bottom: 22px; }
  .hero-copy p  { margin-bottom: 26px; }
  .hero-actions { gap: 16px; }
  .hero-meta {
    margin-top: 32px; padding-top: 22px; gap: 8px;
  }
  .hero-meta div strong { font-size: 22px; }
  .hero-meta div span   { font-size: 11px; letter-spacing: .12em; }
  .hero-visual { aspect-ratio: 5/6; }   /* 살짝 짧게 */

  /* page-hero (서브 페이지 헤더) */
  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 { margin-bottom: 14px; }

  /* section head */
  .section-head { margin-bottom: 32px; }

  /* sea-kit feature card 내부 패딩 */
  .seakit-feature { padding: 24px 18px; }
  .seakit-feature .actions { gap: 14px; margin-top: 22px; }
  .steps { margin-top: 28px; }
  .step { padding: 18px 0; }

  /* product/recipe/post 카드 그리드 간격 압축 */
  .product-grid { gap: 24px 14px; }
  .recipe-mag-grid { gap: 40px 20px; }
  .post-grid { gap: 28px 16px; }

  /* category cards 더 컴팩트하게 */
  .cat-card { min-height: 110px; padding: 20px 18px; gap: 10px; }
  .cat-card .cat-name { font-size: 18px; }

  /* values cards 압축 */
  .value-card { padding: 28px 22px 32px; }
  .value-card .v-bignum { font-size: 86px; top: 16px; right: 18px; }

  /* story 섹션 압축 */
  .story .grid { gap: 28px; }
  .story-meta { margin-top: 26px; padding-top: 22px; gap: 8px; }
  .story-stamp { bottom: 14px; left: 14px; padding: 7px 12px; font-size: 10px; }

  /* partners — 마퀴 슬롯 살짝 줄임 (가로폭 줄어 더 많이 흐름) */
  .partners-marquee .partner { width: 220px; height: 110px; padding: 14px 18px; }
  .partners-marquee::before, .partners-marquee::after { width: 60px; }
  .partners { padding: 32px 0; }
  .partners-head { margin-bottom: 22px; }

  /* invite (closing CTA) 압축 */
  .invite .inner { padding: 56px 16px; }

  /* footer — 모바일에서 컬럼 간격 압축 */
  .site-footer { padding: 48px 0 24px; }
  .footer-top { gap: 32px; padding-bottom: 32px; }
  .footer-nav { gap: 24px; }
  .footer-logo img { width: 80px; height: 80px; }

  /* center-actions 마진 축소 */
  .center-actions { margin-top: 36px; }

  /* page hero meta on mobile — 한 줄에 잘 들어가도록 */
  .timeline-item { grid-template-columns: 80px 1fr; gap: 16px; padding: 20px 0; }

  /* contact 카드 패딩 */
  .contact-card { padding: 24px; }

  /* form 입력 박스 살짝 컴팩트 */
  .form-grid input, .form-grid textarea, .form-grid select { padding: 11px 13px; }
}

/* ============================================================
   COMPANY PAGE — 회사소개 전용 (앵커 nav, CEO 메시지, 인증, 지도)
   ============================================================ */

/* 스티키 앵커 네비게이션 — 데스크톱 가운데, 모바일 가로 스크롤 */
.company-anchor-nav {
  position: sticky;
  top: 80px;                       /* 헤더(80px) 바로 아래 */
  z-index: 50;
  background: rgba(250,246,240,.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.company-anchor-nav::-webkit-scrollbar { display: none; }
@media (min-width: 1024px){ .company-anchor-nav { top: 104px; } }

.company-anchor-nav-inner {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  white-space: nowrap;
  width: max-content;
  margin: 0 auto;
}
@media (min-width: 768px){
  .company-anchor-nav-inner { padding: 16px 24px; gap: 10px; }
}

.company-anchor-nav a {
  font-size: 13px;
  letter-spacing: -.005em;
  color: var(--c-mute);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  text-decoration: none;
  font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
@media (min-width: 768px){ .company-anchor-nav a { font-size: 14px; padding: 10px 18px; } }
.company-anchor-nav a:hover {
  background: var(--c-paper-2);
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.company-anchor-nav a.is-active {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

/* 앵커 클릭 시 섹션 상단이 스티키 nav 아래에 가리지 않도록 */
section[id] { scroll-margin-top: 150px; }
@media (min-width: 1024px){ section[id] { scroll-margin-top: 190px; } }

/* CEO 헤리티지 태그라인 — "1972년부터 2대째..." */
.ceo-tagline { display: flex; flex-direction: column; gap: 6px; }
.ceo-tagline .line-sub {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--c-ink-soft);
  letter-spacing: -.005em;
  line-height: 1.45;
}
.ceo-tagline .line-main {
  display: block;
  font-size: inherit;            /* h-1 사이즈 그대로 */
  line-height: 1.2;
}
.ceo-tagline .accent-word {
  color: var(--c-accent);
}

/* CEO 인사말 */
.ceo-message {
  max-width: 720px;
  margin: 0 auto;
}
/* 사진이 있을 때 — 2-col 레이아웃 (사진 좌측, 메시지 우측) */
.ceo-message.has-photo {
  max-width: 1080px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px){
  .ceo-message.has-photo {
    grid-template-columns: 380px 1fr;
    gap: 64px;
  }
}

.ceo-portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-paper-2);
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 900px){
  .ceo-portrait { max-width: none; margin: 0; }
}
.ceo-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease);
}
.ceo-portrait:hover img { transform: scale(1.04); }

.ceo-portrait figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(10,37,64,.7));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ceo-cap-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.ceo-cap-title {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.ceo-quote-wrap {
  display: flex;
  flex-direction: column;
}

.ceo-quote {
  border-left: 3px solid var(--c-accent);
  padding: 6px 0 6px 28px;
  margin-bottom: 36px;
}
.ceo-quote p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin: 0 0 18px;
  letter-spacing: -.005em;
}
.ceo-quote p:last-child { margin-bottom: 0; }
.ceo-quote strong {
  color: var(--c-ink);
  font-weight: 700;
}
.ceo-signature {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.ceo-signature em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--c-mute);
  text-transform: uppercase;
  font-weight: 600;
}
.ceo-signature strong {
  font-size: 24px;
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ===== 인증/특허 카드 그리드 — 실제 인증서 이미지 ===== */
.cert-cards-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px){ .cert-cards-grid { gap: 20px; } }
@media (min-width: 900px){ .cert-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.cert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s var(--ease);
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: var(--c-line-2);
}

/* 이미지 영역 — 인증서 문서 전체가 보이도록 contain + 살짝 패딩 (배경 흰색) */
.cert-card-img {
  position: relative;
  aspect-ratio: 3/4;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}
/* 흰 배경에서도 인증서가 떠 보이도록 미세한 안쪽 프레임 라인 */
.cert-card-img::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(10,37,64,.04);
  pointer-events: none;
}
.cert-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.cert-card:hover .cert-card-img img { transform: scale(1.04); }

/* 좌상단 번호 뱃지 */
.cert-card-num {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: .26em;
  font-weight: 700;
  color: #fff;
  background: var(--c-ink);
  padding: 5px 9px;
}

/* 우상단 줌 인디케이터 (호버 시 등장) */
.cert-card-zoom {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: var(--c-ink);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s, color .25s;
}
.cert-card:hover .cert-card-zoom {
  opacity: 1;
  transform: translate(0, 0);
}
.cert-card:hover .cert-card-zoom { background: var(--c-accent); color: #fff; }

/* 라벨 영역 */
.cert-card-label {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--c-line);
  text-align: center;
  background: #fff;
}
.cert-card-label h4 {
  font-size: 14px;
  margin: 0 0 5px;
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.4;
}
.cert-card-label .cert-card-sub {
  font-size: 11px;
  color: var(--c-mute);
  letter-spacing: .04em;
  font-weight: 500;
}

/* 이미지 미업로드 시 폴백 (인증서 자리표시) */
.cert-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--c-mute);
  text-align: center;
}
.cert-placeholder-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--c-line-2);
  letter-spacing: -.02em;
}
.cert-placeholder-text {
  font-size: 11px;
  letter-spacing: .26em;
  font-weight: 600;
}

/* 모바일 압축 */
@media (max-width: 767px){
  .cert-card-img { padding: 12px; }
  .cert-card-num { font-size: 9px; padding: 4px 7px; top: 10px; left: 10px; }
  .cert-card-label { padding: 12px 14px 14px; }
  .cert-card-label h4 { font-size: 13px; }
  .cert-card-label .cert-card-sub { font-size: 10px; }
}

/* 오시는 길 */
.location-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .location-grid { grid-template-columns: 1.25fr 1fr; gap: 32px; }
}
.location-map {
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-paper-2);
}
@media (min-width: 900px){
  .location-map { aspect-ratio: auto; min-height: 460px; }
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.location-info {
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 28px;
}
@media (min-width: 768px){ .location-info { padding: 36px; } }
.location-info h3 {
  font-size: 22px;
  margin: 0 0 22px;
  letter-spacing: -.02em;
}
.location-info .contact-list { margin-bottom: 24px; }
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.location-actions .btn { padding: 10px 18px; font-size: 13px; }

/* 모바일 압축 */
@media (max-width: 767px){
  .ceo-quote { padding-left: 18px; }
  .ceo-quote p { font-size: 15px; line-height: 1.8; }
  .ceo-signature strong { font-size: 22px; }
  .ceo-signature em { font-size: 10px; }

  .cert-item { padding: 18px 12px; aspect-ratio: 1/1; }
  .cert-item .cert-no { margin-bottom: 10px; }
  .cert-item h4 { font-size: 14px; }
  .cert-item p { font-size: 11px; }

  .location-info { padding: 22px; }
  .location-info h3 { font-size: 19px; margin-bottom: 16px; }
  .location-actions { gap: 8px; }
  .location-actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}

/* 아주 좁은 폰 (≤380px) — 추가 압축 */
@media (max-width: 380px){
  .hero-meta div strong { font-size: 19px; }
  .cat-card { min-height: 96px; padding: 16px 14px; }
  .cat-card .cat-name { font-size: 16px; }
}

/* ============================================================
   MOBILE CONTENT ALIGN — 선택적 가운데 정렬 (임팩트 = 가운데, 가독성 = 좌측)
   ============================================================ */
@media (max-width: 767px){
  /* === 가운데 정렬 (짧은 임팩트 카피, 헤더, CTA) === */

  /* 히어로 카피 (메인 진입 — 시선 정중앙) */
  .hero-copy { text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-copy .headline-reveal { align-items: center; }
  .hero-copy .headline-reveal .line { text-align: center; }

  /* 모든 섹션 헤더 (에디토리얼 톤) */
  .section-head {
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  /* 시그니처 카드 (signature SEA-KIT — 임팩트 CTA) */
  .seakit-feature .copy { text-align: center; }
  .seakit-feature .copy h2,
  .seakit-feature .copy h3 { text-align: center; }
  .seakit-feature .copy p { margin-left: auto; margin-right: auto; }
  .seakit-feature .actions { justify-content: center; }

  /* 페이지 히어로 (서브페이지 진입) */
  .page-hero h1 { text-align: center; }
  .page-hero p  { text-align: center; margin-left: auto; margin-right: auto; }
  .page-hero .section-num { justify-content: center; }

  /* 통계 셀 안 내용 (3-col 그리드 그대로, 셀 내용만 가운데) */
  .hero-meta > div,
  .story-meta > div { text-align: center; }

  /* === 좌측 정렬 (긴 본문, 카드 컨텐츠 — 가독성) === */

  /* 가치 카드 — 좌측 정렬 + 워터마크 숫자 숨김 (모바일에서 어색하게 잘림) */
  .value-card .v-bignum { display: none; }

  /* 스토리 카피 (긴 narrative — 줄글 읽기) */
  /* (기본 좌측 정렬 — 별도 규칙 없음) */
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}


/* scroll indicator (하단 중앙) */
.hero-scroll {
  display: none;
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--c-mute); font-weight: 600;
  text-decoration: none;
  z-index: 5;
  transition: color .25s var(--ease);
}
@media (min-width: 1024px){ .hero-scroll { display: inline-flex; } }
.hero-scroll:hover { color: var(--c-ink); }
.hero-scroll .line {
  width: 1px; height: 52px;
  background: rgba(10,37,64,.1);
  position: relative; overflow: hidden;
  display: block;
}
.hero-scroll .line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--c-ink);
  animation: scroll-cue 2.4s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes scroll-cue {
  0%   { top: -50%; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce){
  .hero-scroll .line::after { animation: none; top: 0; height: 100%; opacity: .25; }
}

/* slide dots (히어로 비주얼 좌측 하단) */
.hero-dots {
  position: absolute;
  left: 22px; bottom: 60px;
  display: flex; gap: 8px;
  z-index: 3;
  pointer-events: none;
}
.hero-dots span {
  width: 7px; height: 7px;
  background: rgba(255,255,255,.45);
  border-radius: 999px;
  animation: dot-cycle 18s linear infinite;
  transition: width .4s var(--ease);
}
.hero-dots span:nth-child(1) { animation-delay: 0s; }
.hero-dots span:nth-child(2) { animation-delay: 6s; }
.hero-dots span:nth-child(3) { animation-delay: 12s; }
@keyframes dot-cycle {
  0%, 28% { background: rgba(255,255,255,1); width: 24px; }
  33%, 100% { background: rgba(255,255,255,.45); width: 7px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-dots span { animation: none; }
  .hero-dots span:nth-child(1) { background: #fff; width: 24px; }
}
.hero-grid {
  display: grid; gap: 40px;
  padding: 56px 0 72px;
  align-items: center;
}
@media (min-width: 960px){
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 80px; padding: 110px 0 130px;
  }
}
.hero-copy h1 { color: var(--c-ink); margin-bottom: 28px; }
.hero-copy h1 .accent {
  color: var(--c-accent);
  position: relative;
  display: inline-block;
}
.hero-copy h1 .accent::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: 4px; background: var(--c-accent);
  opacity: .25;
  transform: scaleX(0); transform-origin: left center;
  animation: accent-line 1.4s var(--ease) 1.7s forwards;
}
@keyframes accent-line { to { transform: scaleX(1); } }

/* headline mask reveal — 한 줄씩 아래에서 살짝 올라옴 */
.headline-reveal { display: flex; flex-direction: column; }
.headline-reveal .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;   /* 받침/액센트 밑줄 여유 */
}
.headline-reveal .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: headline-up 1.05s cubic-bezier(.22,.7,.2,1) forwards;
  will-change: transform;
}
.headline-reveal .line:nth-child(1) .line-inner { animation-delay: .25s; }
.headline-reveal .line:nth-child(2) .line-inner { animation-delay: .45s; }
@keyframes headline-up { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce){
  .headline-reveal .line-inner { transform: none; animation: none; }
}

.hero-copy p { max-width: 520px; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.hero-meta {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.hero-meta div strong { display: block; font-size: clamp(20px, 2.8vw, 28px); color: var(--c-ink); font-weight: 700; letter-spacing: -.02em; }
.hero-meta div > span { font-size: 12px; color: var(--c-mute); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; display: block; }

/* hero entrance stagger (헤드라인 제외 — 헤드라인은 라인 마스크 리빌이 따로) */
.hero-copy > *,
.hero-visual {
  animation: hero-fade-up 1s var(--ease) both;
}
.hero-copy > .eyebrow { animation-delay: .05s; }
.hero-copy > p        { animation-delay: .55s; }
.hero-copy > .hero-actions { animation-delay: .70s; }
.hero-copy > .hero-meta    { animation-delay: .85s; }
.hero-visual { animation-delay: .35s; }
.hero-copy > h1.headline-reveal { animation: none; opacity: 1; }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* hero visual + slideshow */
.hero-visual {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-paper-2);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-slide 18s ease-in-out infinite;
}
/* 3장 기준, 6초 간격으로 시작 */
.hero-slides .slide:nth-child(1) { animation-delay: 0s; }
.hero-slides .slide:nth-child(2) { animation-delay: 6s; }
.hero-slides .slide:nth-child(3) { animation-delay: 12s; }

@keyframes hero-slide {
  0%   { opacity: 0; transform: scale(1.04); }
  6%   { opacity: 1; }
  33%  { opacity: 1; transform: scale(1.10); } /* 잔잔한 켄번스 */
  39%  { opacity: 0; transform: scale(1.10); }
  100% { opacity: 0; }
}

.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,37,64,.35) 100%);
  pointer-events: none;
}
.hero-visual figcaption {
  position: absolute; left: 22px; bottom: 22px; right: 22px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #fff;
}

@media (prefers-reduced-motion: reduce){
  .hero-copy > *, .hero-visual,
  .hero-slides .slide,
  .hero-copy h1 .accent::after { animation: none !important; }
  .hero-slides .slide:nth-child(1) { opacity: 1; }
  .hero-copy h1 .accent::after { transform: scaleX(1); }
}

/* ===================== SECTION ===================== */
.section { padding: 64px 0; }
@media (min-width: 768px){ .section { padding: 120px 0; } }
.section-head { display: flex; flex-direction: column; max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; align-items: center; text-align: center; }
.section-head h2 { margin: 0 0 14px; }
.section-head .lead { margin: 0; }

/* hairline divider section */
.divider-line { height: 1px; background: var(--c-line); margin: 0; }

/* ===================== BRAND VALUES ===================== */
.values {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 768px){
  .values { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
  position: relative;
  padding: 36px 28px 40px;
  border-bottom: 1px solid var(--c-line);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: background .35s var(--ease);
}
@media (min-width: 768px){
  .value-card { padding: 56px 36px 60px; border-right: 1px solid var(--c-line); border-bottom: 0; }
  .value-card:last-child { border-right: 0; }
}
.value-card:hover { background: var(--c-paper-2); }

/* hover: 상단 코랄 액센트 라인이 좌→우로 그어짐 */
.value-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease);
  z-index: 2;
}
.value-card:hover::before { transform: scaleX(1); }

/* 거대 백그라운드 숫자 (워터마크) */
.value-card .v-bignum {
  position: absolute;
  top: 24px; right: 28px;
  font-size: clamp(96px, 11vw, 140px);
  font-weight: 800;
  color: var(--c-line-2);
  opacity: .55;
  line-height: 1;
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* 라인 SVG 아이콘 */
.value-card .v-icon-svg {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--c-ink);
  transition: color .35s var(--ease), transform .35s var(--ease);
  position: relative; z-index: 1;
}
.value-card .v-icon-svg svg { width: 100%; height: 100%; display: block; }
.value-card:hover .v-icon-svg { color: var(--c-accent); transform: translateY(-2px); }

/* 본문 요소가 워터마크 위에 보이도록 */
.value-card .v-num,
.value-card h3,
.value-card .v-en,
.value-card p { position: relative; z-index: 1; }
.value-card .v-num {
  font-size: 12px; letter-spacing: .26em; color: var(--c-accent); font-weight: 700;
  margin-bottom: 28px;
}
.value-card .v-icon {
  width: 44px; height: 44px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--c-ink); color: var(--c-paper);
  border-radius: 50%;
  font-size: 18px;
}
.value-card h3 {
  font-size: 22px; margin-bottom: 6px; letter-spacing: -.02em;
}
.value-card .v-en {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-mute);
  margin-bottom: 18px; font-weight: 500;
}
.value-card p { margin: 0; color: var(--c-ink-soft); line-height: 1.85; font-size: 16px; }

/* ===================== SEA-KIT INTRO (What is Sea-Kit) ===================== */
.seakit-intro-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 0;
}
.seakit-intro-lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -.012em;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 900px){
  .seakit-intro-lead { font-size: 22px; line-height: 1.7; margin-bottom: 28px; padding-bottom: 28px; }
}
.seakit-intro-body p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-ink-soft);
  letter-spacing: -.005em;
  margin: 0 0 18px;
}
@media (min-width: 900px){
  .seakit-intro-body p { font-size: 17px; line-height: 2.0; }
}
.seakit-intro-body strong { color: var(--c-ink); font-weight: 700; }

.seakit-intro-bullets {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 768px){
  .seakit-intro-bullets {
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin-top: 36px;
  }
}
.seakit-intro-bullets li {
  position: relative;
  padding: 16px 18px 16px 50px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-ink);
  letter-spacing: -.005em;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.seakit-intro-bullets li:hover {
  border-color: var(--c-accent);
  transform: translateY(-1px);
}
.seakit-intro-bullets li::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-accent);
}
.seakit-intro-bullets li::after {
  content: "✓";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.seakit-intro-bullets strong { color: var(--c-ink); font-weight: 700; }
@media (min-width: 900px){
  .seakit-intro-bullets li { font-size: 16px; padding: 18px 22px 18px 54px; }
}

/* ===================== SEA-KIT FEATURE ===================== */
.seakit-feature {
  border: 1px solid var(--c-line);
  background: #fff;
  padding: 40px 24px;
}
@media (min-width: 900px){
  .seakit-feature { padding: 0; }
}
.seakit-feature .grid {
  display: grid; gap: 36px;
}
@media (min-width: 900px){
  .seakit-feature .grid {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }
}
.seakit-feature .copy { padding: 0; }
@media (min-width: 900px){ .seakit-feature .copy { padding: 80px 60px; } }
.seakit-feature h2 { margin-bottom: 18px; }
.seakit-feature p { color: var(--c-ink-soft); max-width: 480px; }
.seakit-feature .actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; align-items: center; }

.seakit-visual {
  aspect-ratio: 1/1; background: var(--c-paper-2);
  position: relative; overflow: hidden;
  order: -1;
}
@media (min-width: 900px){ .seakit-visual { order: 1; aspect-ratio: auto; min-height: 560px; } }
.seakit-visual img { width: 100%; height: 100%; object-fit: cover; }

/* seakit-visual 하단 그라데이션 + 캡션 라벨 */
.seakit-visual::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(10,37,64,.5));
  pointer-events: none;
  z-index: 1;
}
.seakit-caption {
  position: absolute; z-index: 2;
  left: 22px; right: 22px; bottom: 22px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: #fff; font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
@media (min-width: 900px){
  .seakit-caption { left: 28px; right: 28px; bottom: 28px; }
}

/* steps — .seakit-feature .copy 안의 좁은 컬럼 안에서 항상 2×2 그리드 유지 */
.steps {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 720px){ .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 720px){
  .step { padding: 26px 24px 26px 0; border-right: 1px solid var(--c-line); }
  .step:nth-child(2n){ border-right: 0; padding-right: 0; padding-left: 24px; }
}
.step .num { font-size: 12px; letter-spacing: .26em; color: var(--c-accent); font-weight: 700; white-space: nowrap; }
.step h4   { color: var(--c-ink); margin: 8px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.step p    { color: var(--c-mute); font-size: 15px; margin: 0; line-height: 1.7; }

/* ===================== PRODUCT FILTER (text link) — 레거시 ===================== */
.filters {
  display: flex; gap: 0; flex-wrap: wrap;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 48px;
}
.chip {
  padding: 16px 22px;
  font-size: 15px; font-weight: 500; color: var(--c-mute);
  border-right: 1px solid var(--c-line);
  letter-spacing: .04em;
  transition: color .2s, background .2s;
}
.chip:last-child { border-right: 0; }
.chip:hover { color: var(--c-ink); }
.chip.is-active { color: var(--c-ink); background: var(--c-paper-2); font-weight: 600; }

/* ===================== CATEGORY PILLS — 새 트렌디 스타일 ===================== */
.cat-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
@media (min-width: 768px){ .cat-pills { gap: 12px; margin-bottom: 60px; } }
.cat-pill {
  display: inline-flex; align-items: center;
  padding: 11px 20px;
  font-size: 15px; font-weight: 600;
  color: var(--c-mute);
  background: transparent;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  letter-spacing: -.005em;
  transition: color .2s, background .2s, border-color .2s, transform .15s;
}
.cat-pill:hover {
  color: var(--c-ink);
  border-color: var(--c-ink-soft);
  background: var(--c-paper);
}
.cat-pill:active { transform: translateY(1px); }
.cat-pill.is-active {
  color: #fff;
  background: var(--c-ink);
  border-color: var(--c-ink);
  font-weight: 700;
}
@media (min-width: 768px){
  .cat-pill { padding: 12px 24px; font-size: 16px; }
}
@media (max-width: 600px){
  .cat-pill { padding: 9px 16px; font-size: 14px; }
  .cat-pills { gap: 8px; margin-bottom: 32px; }
}

/* ===================== PRODUCT GRID ===================== */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px;
}
@media (min-width: 720px){ .product-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
@media (min-width: 1024px){ .product-grid { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; } }

.product-card {
  background: transparent;
  display: flex; flex-direction: column;
  transition: opacity .2s var(--ease);
}
.product-card.linkable { cursor: pointer; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-thumb {
  position: relative; aspect-ratio: 1/1; background: var(--c-paper-2); overflow: hidden;
  border: 1px solid var(--c-line);
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.product-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--c-ink); color: var(--c-paper);
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  padding: 6px 10px;
}
.product-tag.is-best { background: var(--c-accent); }
.product-tag.is-new  { background: var(--c-sea); }
.product-tag.is-hot  { background: #b03020; }
.product-tag.is-prem { background: #1a1a1a; }
.product-body { padding: 22px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.product-cat  { font-size: 12px; letter-spacing: .22em; color: var(--c-accent); text-transform: uppercase; font-weight: 700; }
.product-body h3 {
  font-size: 18px; font-weight: 600; color: var(--c-ink);
  line-height: 1.45; letter-spacing: -.012em;
  margin: 0;
}
.product-sum {
  font-size: 14.5px; font-weight: 400; color: var(--c-mute);
  line-height: 1.6; margin: 4px 0 0;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px){
  .product-body h3 { font-size: 19px; }
  .product-sum   { font-size: 15px; }
}
@media (min-width: 1024px){
  .product-body h3 { font-size: 20px; }
}
@media (max-width: 600px){
  .product-body h3 { font-size: 16.5px; }
  .product-sum   { font-size: 13.5px; }
  .product-cat   { font-size: 11px; letter-spacing: .18em; }
  .product-body  { padding: 18px 2px 0; gap: 6px; }
}

/* 레거시 가격 노출 — 다른 페이지에서 호환 유지 */
.product-price { font-size: 16px; font-weight: 700; color: var(--c-ink); margin-top: 4px; letter-spacing: -.005em; }
.product-price small { font-size: 13px; color: var(--c-mute); font-weight: 400; margin-left: 6px; }
.product-price .sale { color: var(--c-accent); margin-right: 8px; }
.product-price .strike { text-decoration: line-through; color: var(--c-mute); font-weight: 400; font-size: 14px; }

/* ===================== CATEGORY CARDS ===================== */
.cat-grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
@media (min-width: 720px){ .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .cat-grid { grid-template-columns: repeat(6, 1fr); } }

.cat-card {
  position: relative;
  min-height: 130px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper); color: var(--c-ink);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 26px 22px;
  text-decoration: none;
  transition: background .35s var(--ease);
  overflow: hidden;
}
@media (min-width: 1024px){ .cat-card { min-height: 160px; padding: 30px 24px; } }
.cat-card:hover { background: #fff; }

.cat-card .cat-num {
  font-size: 12px; letter-spacing: .26em; font-weight: 700;
  color: var(--c-mute);
  transition: color .3s var(--ease);
  position: relative; z-index: 1;
}
.cat-card:hover .cat-num { color: var(--c-accent); }

.cat-card .cat-arrow {
  position: absolute; top: 50%; right: 22px;
  transform: translate(-6px, -50%);
  font-size: 18px; font-weight: 400;
  color: var(--c-accent);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
@media (min-width: 1024px){ .cat-card .cat-arrow { right: 24px; } }
.cat-card:hover .cat-arrow { opacity: 1; transform: translate(0, -50%); }

.cat-card .cat-info {
  display: flex; flex-direction: column; gap: 4px;
  position: relative; z-index: 1;
}
.cat-card .cat-name {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
  color: var(--c-ink);
  transition: color .3s var(--ease);
}
.cat-card:hover .cat-name { color: var(--c-accent); }

.cat-card .cat-en {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--c-mute); font-weight: 500;
}

/* hover 시 하단 코랄 액센트 라인이 좌→우로 그어짐 */
.cat-card::after {
  content: ""; position: absolute;
  left: 22px; right: 22px; bottom: 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
}
@media (min-width: 1024px){ .cat-card::after { left: 24px; right: 24px; } }
.cat-card:hover::after { transform: scaleX(1); }

/* ===================== STORY ===================== */
.story {
  background: var(--c-paper-2);
}
.story .grid {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px){ .story .grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.story-img {
  position: relative;
  aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid var(--c-line);
}
.story-img img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns-story 22s ease-in-out infinite;
}
@keyframes kenburns-story {
  0%, 100% { transform: scale(1.02); }
  50%      { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce){
  .story-img img { animation: none; }
}

/* EST. 1972 스탬프 — 좌하단 글래스 라벨 */
.story-stamp {
  position: absolute;
  bottom: 22px; left: 22px;
  z-index: 2;
  background: rgba(250,246,240,.92);
  color: var(--c-ink);
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 900px){
  .story-stamp { bottom: 28px; left: 28px; padding: 10px 18px; font-size: 12px; }
}

/* story 헤드라인 — 스크롤 진입 시 라인 마스크 리빌 */
.story-copy .headline-reveal .line-inner {
  transform: translateY(110%);
  transition: transform 1.05s cubic-bezier(.22,.7,.2,1);
  animation: none;
}
.story-copy.is-in .headline-reveal .line:nth-child(1) .line-inner {
  transform: translateY(0); transition-delay: .15s;
}
.story-copy.is-in .headline-reveal .line:nth-child(2) .line-inner {
  transform: translateY(0); transition-delay: .35s;
}
@media (prefers-reduced-motion: reduce){
  .story-copy .headline-reveal .line-inner { transform: none; transition: none; }
}
.story-copy h2 { margin-bottom: 22px; }
.story-copy p { margin: 0 0 18px; color: var(--c-ink-soft); line-height: 1.9; font-size: 16px; }
.story-meta {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--c-line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.story-meta div strong { display: block; font-size: 28px; color: var(--c-ink); font-weight: 700; letter-spacing: -.02em; }
.story-meta div strong .count { font: inherit; color: inherit; letter-spacing: inherit; }
.story-meta div > span { font-size: 12px; color: var(--c-mute); letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; display: block; }

/* ===================== RECIPE (legacy grid — used for index home preview) ===================== */
.recipe-grid {
  display: grid; gap: 36px 24px; grid-template-columns: 1fr;
}
@media (min-width: 720px){ .recipe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .recipe-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; } }
.recipe-card {
  background: transparent;
}
.recipe-card .thumb { aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--c-line); }
.recipe-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.recipe-card:hover .thumb img { transform: scale(1.04); }
.recipe-card .body { padding: 20px 2px 0; }
.recipe-card .meta {
  display: flex; gap: 18px;
  font-size: 12px; color: var(--c-mute); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px;
}
.recipe-card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.015em; }
.recipe-card p  { color: var(--c-ink-soft); font-size: 15px; margin: 0; line-height: 1.7; }

/* ===================== RECIPE — MAGAZINE STYLE (recipe.php) ===================== */
/* Featured (top hero card) */
.recipe-featured {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--c-line);
  overflow: hidden;
}
@media (min-width: 900px){
  .recipe-featured { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
}
.recipe-featured-img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-paper-2);
  position: relative;
}
@media (min-width: 900px){ .recipe-featured-img { aspect-ratio: auto; min-height: 480px; } }
.recipe-featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.recipe-featured:hover .recipe-featured-img img { transform: scale(1.04); }

.recipe-featured-copy {
  padding: 36px 28px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 900px){ .recipe-featured-copy { padding: 60px 56px; } }

.recipe-featured-copy .featured-tag {
  display: inline-block; align-self: flex-start;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 700; color: var(--c-accent);
  padding: 5px 0 9px;
  border-bottom: 1px solid var(--c-accent);
  margin-bottom: 24px;
}
.recipe-featured-copy h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.25; letter-spacing: -.025em;
  margin: 0 0 22px;
}
.recipe-featured-copy h2 a { color: inherit; }
.recipe-featured-copy h2 a:hover { color: var(--c-accent); }

.recipe-featured-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-mute); margin-bottom: 22px;
  position: relative;
}
.recipe-featured-meta span { position: relative; padding-right: 22px; }
.recipe-featured-meta span:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--c-line-2);
}
.recipe-featured-meta span:last-child { padding-right: 0; }

.recipe-featured-copy p {
  color: var(--c-ink-soft); font-size: 16px; line-height: 1.85;
  margin: 0 0 32px; max-width: 480px;
}

/* Magazine grid */
.recipe-mag-grid {
  display: grid; gap: 56px 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px){ .recipe-mag-grid { grid-template-columns: repeat(2, 1fr); gap: 64px 32px; } }
@media (min-width: 1024px){ .recipe-mag-grid { grid-template-columns: repeat(3, 1fr); gap: 72px 40px; } }

.recipe-mag-card {
  background: transparent;
}
.recipe-mag-card a {
  display: block; color: inherit; text-decoration: none;
}
.recipe-mag-card .thumb {
  aspect-ratio: 4/3; overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-paper-2);
  margin-bottom: 22px;
}
.recipe-mag-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.recipe-mag-card a:hover .thumb img { transform: scale(1.05); }

.recipe-mag-card .num {
  display: inline-block;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 700; color: var(--c-accent);
  margin: 0 0 14px;
  padding: 0 0 9px;
  border-bottom: 1px solid var(--c-line);
  width: 100%;
}
.recipe-mag-card h3 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.3; letter-spacing: -.02em;
  margin: 0 0 12px;
  transition: color .25s var(--ease);
}
.recipe-mag-card a:hover h3 { color: var(--c-accent); }

.recipe-mag-card .meta {
  display: flex; gap: 18px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-mute); margin-bottom: 12px;
}
.recipe-mag-card .meta span { position: relative; }
.recipe-mag-card .meta span + span { padding-left: 18px; }
.recipe-mag-card .meta span + span::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11px; background: var(--c-line-2);
}

.recipe-mag-card p {
  color: var(--c-ink-soft); font-size: 15px;
  line-height: 1.75; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================== PARTNERS / 유통처 ===================== */
.partners {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 48px 0;
}
.partners-head {
  text-align: center; margin-bottom: 32px;
}
.partners-head .label {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--c-mute);
}
.partners-head h3 { font-size: 22px; margin-top: 8px; }
.partners-grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
}
@media (min-width: 600px){ .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px){ .partners-grid { grid-template-columns: repeat(6, 1fr); } }

/* ===================== BUSINESS PARTNERS — 카테고리별 카드 ===================== */
.biz-partners {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
@media (min-width: 720px){
  .biz-partners { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1024px){
  .biz-partners { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.biz-partner {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 26px 24px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.biz-partner:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(10, 37, 64, 0.08);
}
.biz-partner-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--c-accent);
  margin-bottom: 16px;
  background: var(--c-paper);
  border-radius: 50%;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.biz-partner-icon svg { width: 22px; height: 22px; display: block; }
.biz-partner:hover .biz-partner-icon {
  background: var(--c-accent);
  color: #fff;
}
.biz-partner h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.005em;
  margin: 0 0 8px;
  line-height: 1.4;
}
.biz-partner p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin: 0;
  letter-spacing: -.005em;
}
@media (min-width: 900px){
  .biz-partner { padding: 30px 28px; }
  .biz-partner h4 { font-size: 17px; }
  .biz-partner p { font-size: 14.5px; }
}

/* ===================== COMPANY PROFILE BROCHURE DOWNLOAD ===================== */
.biz-brochure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--c-ink) 0%, #142e4f 100%);
  border-radius: 8px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.biz-brochure::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,75,60,.18) 0%, transparent 70%);
  pointer-events: none;
}
.biz-brochure-text { flex: 1 1 320px; min-width: 0; position: relative; z-index: 1; }
.biz-brochure-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.biz-brochure h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.biz-brochure p {
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
  letter-spacing: -.005em;
}
.biz-brochure-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.biz-brochure-actions .btn {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid #fff;
  font-weight: 700;
  padding: 14px 24px;
  font-size: 14.5px;
  transition: background .25s, color .25s, transform .15s;
}
.biz-brochure-actions .btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  transform: translateY(-1px);
}
.biz-brochure-meta {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}
@media (min-width: 900px){
  .biz-brochure h3 { font-size: 26px; }
  .biz-brochure { padding: 40px 44px; }
}
@media (max-width: 600px){
  .biz-brochure { padding: 26px 22px; flex-direction: column; align-items: flex-start; }
  .biz-brochure h3 { font-size: 19px; }
  .biz-brochure-actions { align-items: stretch; width: 100%; }
  .biz-brochure-actions .btn { justify-content: center; }
}
.partner {
  aspect-ratio: 5/3; display: grid; place-items: center;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  font-size: 14px; font-weight: 600; color: var(--c-ink-soft); letter-spacing: .02em;
  transition: background .2s;
}
.partner:hover { background: #fff; }

/* ===================== PARTNERS MARQUEE (auto-scroll) ===================== */
.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  /* 배경 / 보더 없음 — 페이지 paper 위에 로고가 자연스럽게 흘러감 */
}
/* 양쪽 가장자리 페이드 — 페이지 배경색으로 자연스럽게 사라짐 */
.partners-marquee::before,
.partners-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2; pointer-events: none;
}
.partners-marquee::before { left: 0;  background: linear-gradient(90deg,  var(--c-paper), transparent); }
.partners-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--c-paper), transparent); }
@media (min-width: 1024px){
  .partners-marquee::before, .partners-marquee::after { width: 200px; }
}

.partners-marquee .marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: partners-marquee 38s linear infinite;
}
.partners-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes partners-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 마퀴 안의 .partner — 배경/보더 다 제거, 로고가 페이지에 직접 떠 있음 */
.partners-marquee .partner {
  flex-shrink: 0;
  width: 280px; height: 130px;
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  padding: 18px 26px;
  transition: transform .4s var(--ease);
  display: grid; place-items: center;
}
.partners-marquee .partner:hover {
  background: transparent;
  transform: translateY(-3px);
}

/* 로고 이미지 — 컬러 그대로 + 호버 시 살짝 확대 */
.partners-marquee .partner img {
  max-width: 90%; max-height: 80%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.partners-marquee .partner:hover img {
  transform: scale(1.06);
}

/* 텍스트 폴백 — 로고가 없는 파트너는 이름을 깔끔한 타이포로 */
.partners-marquee .partner-name {
  font-size: 19px; font-weight: 700;
  color: var(--c-ink-soft); letter-spacing: -.01em;
  transition: color .25s var(--ease);
  text-align: center;
}
.partners-marquee .partner:hover .partner-name { color: var(--c-ink); }

@media (prefers-reduced-motion: reduce){
  .partners-marquee .marquee-track { animation: none; }
}

/* ===================== INVITE BAND (replaces gradient CTA) ===================== */
.invite {
  border-top: 1px solid var(--c-line);
}
.invite .inner {
  text-align: center;
  padding: 96px 20px;
  max-width: 720px; margin: 0 auto;
}
.invite h2 { margin-bottom: 18px; }
.invite p  { color: var(--c-ink-soft); margin: 0 auto 28px; }
.invite .actions { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* invite — 자식 요소 stagger 등장 (부모 .reveal 기본 페이드 무력화) */
.invite .inner.reveal { opacity: 1; transform: none; transition: none; }

.invite .inner > .section-num,
.invite .inner > p,
.invite .inner > .actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.invite .inner.is-in > .section-num { opacity: 1; transform: none; transition-delay: .1s; }
.invite .inner.is-in > p            { opacity: 1; transform: none; transition-delay: .7s; }
.invite .inner.is-in > .actions     { opacity: 1; transform: none; transition-delay: .9s; }

/* invite 헤드라인 — 스크롤 진입 시 라인 마스크 리빌 */
.invite .headline-reveal .line-inner {
  transform: translateY(110%);
  transition: transform 1.05s cubic-bezier(.22,.7,.2,1);
  animation: none;
}
.invite .inner.is-in .headline-reveal .line:nth-child(1) .line-inner {
  transform: translateY(0); transition-delay: .25s;
}
.invite .inner.is-in .headline-reveal .line:nth-child(2) .line-inner {
  transform: translateY(0); transition-delay: .45s;
}

/* 코랄 물음표 — 헤드라인 등장 후 부드럽게 떠다님 */
.invite .q-mark {
  color: var(--c-accent);
  display: inline-block;
  margin-left: 2px;
  animation: q-float 3.2s ease-in-out infinite;
  animation-delay: 1.7s;
}
@keyframes q-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce){
  .invite .inner > .section-num,
  .invite .inner > p,
  .invite .inner > .actions { opacity: 1; transform: none; transition: none; }
  .invite .headline-reveal .line-inner { transform: none; transition: none; }
  .invite .q-mark { animation: none; }
}

/* ===================== ABOUT PAGE ===================== */
.about-hero {
  padding: 80px 0 56px; text-align: center;
  border-bottom: 1px solid var(--c-line);
}
.about-hero h1 { margin: 18px auto 24px; max-width: 900px; }
.about-hero .lead { max-width: 720px; margin-inline: auto; }

/* ===== BRAND PROCESS — 양품을 데려오는 4단계 ===== */
.brand-process {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
@media (min-width: 600px){ .brand-process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .brand-process { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  position: relative;
  padding: 36px 28px 38px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-paper);
  transition: background .35s var(--ease);
}
.process-step:hover { background: #fff; }

.process-step .ps-num {
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--c-accent);
  font-weight: 700;
  display: block;
  margin-bottom: 22px;
}
.process-step h4 {
  font-size: 19px;
  margin: 0 0 10px;
  letter-spacing: -.015em;
  color: var(--c-ink);
  font-weight: 700;
}
.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-mute);
  margin: 0;
  letter-spacing: -.005em;
}

/* hover 시 상단 코랄 액센트 라인 */
.process-step::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
}
.process-step:hover::before { transform: scaleX(1); }

@media (max-width: 767px){
  .process-step { padding: 26px 22px 28px; }
  .process-step .ps-num { margin-bottom: 16px; }
  .process-step h4 { font-size: 17px; }
}

/* ===== BRAND PROMISE — 다크 임팩트 인용문 섹션 ===== */
.brand-promise {
  background: var(--c-ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
@media (min-width: 768px){ .brand-promise { padding: 120px 0; } }
.brand-promise-inner { max-width: 760px; margin: 0 auto; }

.brand-promise .section-num {
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.brand-promise .section-num strong { color: var(--c-accent); }
.brand-promise .section-num::after { background: rgba(255,255,255,.2); }

.brand-promise-quote {
  font-size: clamp(28px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.brand-promise-quote .line { display: block; overflow: hidden; padding-bottom: .08em; }
.brand-promise-quote em { font-style: normal; color: var(--c-accent); }

/* 다크 배경에서 라인 마스크 리빌 — .is-in 트리거 */
.brand-promise .headline-reveal .line-inner {
  transform: translateY(110%);
  transition: transform 1.05s cubic-bezier(.22,.7,.2,1);
  animation: none;
}
.brand-promise .reveal.is-in .headline-reveal .line:nth-child(1) .line-inner {
  transform: translateY(0); transition-delay: .15s;
}
.brand-promise .reveal.is-in .headline-reveal .line:nth-child(2) .line-inner {
  transform: translateY(0); transition-delay: .35s;
}

.brand-promise-cite {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  margin: 0;
}

/* ===== BRAND IDENTITY — 로고 + 카피 2-col ===== */
.brand-identity {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 24px 0;
}
@media (min-width: 900px){
  .brand-identity {
    grid-template-columns: 320px 1fr;
    gap: 80px;
    padding: 40px 0;
  }
}
.brand-identity-mark { display: flex; justify-content: center; }
.brand-identity-mark img {
  width: 100%; max-width: 240px; height: auto;
}
@media (min-width: 900px){ .brand-identity-mark img { max-width: 320px; } }

.brand-identity-copy h2 { margin-bottom: 22px; }
.brand-identity-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin: 0 0 18px;
}
.brand-identity-copy strong { color: var(--c-ink); font-weight: 700; }
.brand-identity-copy em {
  font-style: normal;
  display: inline-block;
  padding: 6px 14px;
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: .04em;
  font-size: 14px;
  margin: 4px 0 8px;
}

/* 모바일 압축 */
@media (max-width: 767px){
  .brand-promise { padding: 64px 0; }
  .brand-promise-cite { font-size: 11px; letter-spacing: .22em; }
  .brand-identity-copy p { font-size: 15px; }
  .brand-identity-copy em { font-size: 13px; padding: 5px 12px; }
}

/* (legacy) about-banner — about.php 에서는 더 이상 사용 안 함 */
.about-banner {
  margin-top: 56px;
  aspect-ratio: 16/8; overflow: hidden;
  border: 1px solid var(--c-line);
}
.about-banner img { width: 100%; height: 100%; object-fit: cover; }

.timeline {
  position: relative; margin-top: 8px;
  display: grid; gap: 0;
}
.timeline-item {
  position: relative;
  display: grid; grid-template-columns: 100px 1fr; gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
}
.timeline-item:first-child { border-top: 1px solid var(--c-line); }
.timeline-item .yr { font-size: 22px; font-weight: 700; color: var(--c-accent); letter-spacing: -.01em; }
.timeline-item h4 { font-size: 18px; margin-bottom: 6px; }
.timeline-item p  { color: var(--c-ink-soft); margin: 0; font-size: 16px; line-height: 1.8; }

/* 한 연도에 여러 이벤트 — 각 이벤트가 한 줄씩, 좌측에 미니 마커 */
.timeline-item .tl-events {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-item .tl-events p {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  margin: 0;
}
.timeline-item .tl-events p::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 6px; height: 1px;
  background: var(--c-line-2);
}
/* 주요 파트너십·인증·중요 이벤트 — 코랄 강조 */
.timeline-item .tl-events p.is-highlight {
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: -.005em;
}
.timeline-item .tl-events p.is-highlight::before {
  background: var(--c-accent);
  width: 10px; height: 2px;
  top: .65em;
}

@media (max-width: 767px){
  .timeline-item .tl-events { gap: 8px; }
  .timeline-item .tl-events p { font-size: 14px; line-height: 1.55; padding-left: 14px; }
  .timeline-item .tl-events p::before { width: 5px; }
  .timeline-item .tl-events p.is-highlight::before { width: 8px; }
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid; gap: 36px; grid-template-columns: 1fr;
}
@media (min-width: 900px){ .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.contact-card {
  background: #fff; padding: 36px;
  border: 1px solid var(--c-line);
}
.contact-card h3 { font-size: 22px; margin-bottom: 22px; letter-spacing: -.02em; }
.contact-list { display: flex; flex-direction: column; gap: 0; }
.contact-list li {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  flex: 0 0 80px; font-size: 12px; color: var(--c-mute); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; padding-top: 4px;
}
.contact-list .value { font-weight: 500; color: var(--c-ink); font-size: 16px; line-height: 1.7; }

.form-grid { display: grid; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--c-mute); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.form-grid input, .form-grid textarea, .form-grid select {
  font: inherit; padding: 13px 14px; border: 1px solid var(--c-line);
  background: var(--c-paper); border-radius: 0;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  font-size: 15px; color: var(--c-ink); letter-spacing: -.005em;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: none; border-color: var(--c-ink); background: #fff;
}
.form-grid textarea { resize: vertical; min-height: 160px; line-height: 1.7; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--c-ink); color: rgba(255,255,255,.72);
  padding: 72px 0 32px;
  margin-top: 0;
}
.footer-top {
  display: grid; gap: 48px; grid-template-columns: 1fr;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px){ .footer-top { grid-template-columns: 1fr 1.4fr; } }
.footer-brand .brand .brand-mark { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.footer-brand .brand .brand-name { color: #fff; }
.footer-brand .brand .brand-name em { color: rgba(255,255,255,.45); }
.footer-brand p { margin: 22px 0 0; color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.85; max-width: 420px; }

/* 푸터 로고 — 다크 배경 위에 흰색으로 반전 */
.footer-logo {
  display: inline-block;
  line-height: 0;
}
.footer-logo img {
  width: 100px; height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity .25s var(--ease);
}
.footer-logo:hover img { opacity: 1; }

.footer-nav { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px){ .footer-nav { grid-template-columns: repeat(4, 1fr); } }
.footer-nav h4 { color: #fff; font-size: 12px; letter-spacing: .26em; margin-bottom: 18px; text-transform: uppercase; font-weight: 600; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-nav a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-nav li.hours-sub {
  margin-top: -6px;
  padding-left: 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  letter-spacing: -.005em;
}

.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.8;
  letter-spacing: -.01em;
}

/* ===================== UTILITIES ===================== */
.center-actions { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 56px; align-items: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.muted { color: var(--c-mute); }
.no-pad-top { padding-top: 0 !important; }

/* ===================== PAGE HERO (sub pages) ===================== */
.page-hero {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  padding: 56px 0 56px;
}
@media (min-width: 768px){ .page-hero { padding: 96px 0 88px; } }
.page-hero h1 { font-size: clamp(30px, 5vw, 56px); margin-bottom: 18px; }
.page-hero p  { max-width: 620px; }

/* empty state */
.empty-state {
  border: 1px solid var(--c-line); padding: 72px 24px; text-align: center;
  color: var(--c-mute); background: #fff;
}
.empty-state p { margin: 0 0 16px; }

/* ============================================================
   PRODUCT DETAIL PAGE — /product-detail.php
   ============================================================ */
.pd-hero-section { background: var(--c-paper); border-bottom: 1px solid var(--c-line); }
.pd-hero {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  /* 좌우 패딩은 .container 에서 상속 — shorthand 로 덮어쓰지 않음 */
  padding-top: 32px;
  padding-bottom: 56px;
}
@media (min-width: 900px){
  .pd-hero {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    padding-top: 56px;
    padding-bottom: 96px;
  }
}

/* 헤로 이미지 영역 — 메인 + 썸네일 strip 컬럼 wrapper */
.pd-hero-img {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-hero-main-img {
  position: relative;
  aspect-ratio: 1/1;
  border: 1px solid var(--c-line);
  background: #fff;
  overflow: hidden;
}
.pd-hero-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease;
}
.pd-hero-main-img img.is-fading { opacity: 0.35; }

.pd-hero-main-img .pd-img-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: var(--c-paper-2);
  color: var(--c-line-2);
  font-size: 96px; font-weight: 800;
  letter-spacing: -.04em;
}

.pd-hero-main-img .pd-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  padding: 7px 12px;
  z-index: 2;
}
.pd-hero-main-img .pd-badge.is-best { background: var(--c-accent); }
.pd-hero-main-img .pd-badge.is-new  { background: var(--c-sea); }
.pd-hero-main-img .pd-badge.is-hot  { background: #b03020; }
.pd-hero-main-img .pd-badge.is-prem { background: #1a1a1a; }

/* 썸네일 strip — 메인 이미지 아래 가로 정렬 */
.pd-hero-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line-2) transparent;
}
.pd-hero-thumbs::-webkit-scrollbar { height: 6px; }
.pd-hero-thumbs::-webkit-scrollbar-thumb { background: var(--c-line-2); border-radius: 3px; }
.pd-hero-thumbs::-webkit-scrollbar-track { background: transparent; }

.pd-hero-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 2px solid var(--c-line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  opacity: 0.62;
  transition: opacity .2s, border-color .2s, transform .15s;
  position: relative;
}
.pd-hero-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pd-hero-thumb:hover {
  opacity: 1;
  border-color: var(--c-ink-soft);
  transform: translateY(-1px);
}
.pd-hero-thumb.is-active {
  opacity: 1;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent) inset;
}
.pd-hero-thumb:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
@media (min-width: 900px){
  .pd-hero-thumb { width: 80px; height: 80px; }
}
@media (max-width: 600px){
  .pd-hero-thumb { width: 60px; height: 60px; }
  .pd-hero-thumbs { gap: 6px; }
}

.pd-hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px){
  .pd-hero-info {
    gap: 24px;
    /* 좌측 이미지(정사각)와 같은 grid row 안에서 콘텐츠가 세로 중앙 정렬되어
       위·아래 여백이 균형 있게 분배됨 → 라벨이 살짝 내려오고 버튼이 살짝 올라감 */
    align-self: center;
  }
}

.pd-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.pd-meta .pd-cat {
  color: var(--c-accent);
  text-decoration: none;
}
.pd-meta .pd-cat:hover { text-decoration: underline; text-underline-offset: 4px; }
.pd-meta span { position: relative; padding-left: 16px; }
.pd-meta span::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--c-line-2);
}
.pd-meta .pd-cat::before { display: none; }

.pd-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.25;
  color: var(--c-ink);
  margin: 0;
}

.pd-summary {
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin: 0;
  letter-spacing: -.005em;
}
@media (min-width: 900px){ .pd-summary { font-size: 18px; } }

/* ============================================================
   Hero 영역 — A. 퀵 하이라이트 + B. 트러스트 뱃지
   ============================================================ */

/* A. 퀵 하이라이트 — 코랄 체크 + 짧은 라인 */
.pd-hero-highlights {
  list-style: none;
  margin: 4px 0 0;
  padding: 24px 0 6px;
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: 12px;
}
@media (min-width: 900px){
  .pd-hero-highlights { padding-top: 28px; gap: 13px; }
}
.pd-hero-highlights li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -.005em;
}
.pd-hero-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
  line-height: 1;
}
@media (min-width: 900px){
  .pd-hero-highlights li { font-size: 16px; }
  .pd-hero-highlights { gap: 12px; padding-top: 24px; }
}
@media (max-width: 600px){
  .pd-hero-highlights li { font-size: 14.5px; padding-left: 26px; }
  .pd-hero-highlights li::before { width: 16px; height: 16px; font-size: 10px; }
}

/* B. 트러스트 뱃지 — 카드 그리드 (상품마다 1~4개 가변) */
.pd-hero-badges {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.pd-hero-badge {
  text-align: center;
  padding: 14px 10px 13px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  min-height: 64px;
}
.pd-hero-badge:hover {
  border-color: var(--c-ink);
  transform: translateY(-1px);
}
.pd-hero-badge-main {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.005em;
  line-height: 1.3;
}
.pd-hero-badge-sub {
  font-size: 11px;
  color: var(--c-mute);
  letter-spacing: .04em;
  font-weight: 500;
  line-height: 1.3;
}
@media (min-width: 900px){
  .pd-hero-badge { padding: 16px 12px 14px; min-height: 72px; }
  .pd-hero-badge-main { font-size: 14px; }
  .pd-hero-badge-sub  { font-size: 11.5px; }
}
@media (max-width: 600px){
  .pd-hero-badges { gap: 6px; }
  .pd-hero-badge { padding: 12px 8px 11px; min-height: 58px; }
  .pd-hero-badge-main { font-size: 12.5px; }
  .pd-hero-badge-sub  { font-size: 10.5px; }
}
/* 4개 이상이면 한 줄에 4개, 그 이상이면 자동 줄바꿈 */
@media (max-width: 540px){
  .pd-hero-badges { grid-template-columns: repeat(min(var(--cols, 3), 3), 1fr); }
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-top: 4px;
}
.pd-price-now {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.02em;
}
.pd-price-was {
  text-decoration: line-through;
  color: var(--c-mute);
  font-size: 16px;
  font-weight: 500;
}
.pd-price-discount {
  background: var(--c-accent);
  color: #fff;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.pd-buy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
@media (min-width: 600px){ .pd-buy { flex-direction: row; gap: 8px; } }
/* 모바일에서는 하단 고정 CTA 가 같은 역할을 하므로 인라인 버튼 숨김 (중복 방지) */
@media (max-width: 899px){ .pd-buy { display: none; } }
/* 데스크톱: 버튼 약간 묵직하게 — 콘텐츠 흐름은 자연스럽게 (.pd-hero-info 의 align-self: center 가 균형) */
@media (min-width: 900px){
  .pd-buy {
    margin-top: 8px;            /* 트러스트 뱃지와 살짝 더 떨어뜨려 호흡 */
    padding-top: 4px;
  }
  .pd-buy .btn { padding: 18px 28px; font-size: 15.5px; }
}
.pd-buy .btn {
  flex: 1;
  padding: 16px 28px;
  font-size: 15px;
  justify-content: center;
}
.pd-buy .btn-buy {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
  font-weight: 600;
}
.pd-buy .btn-buy:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
}

/* ===== Section blocks ===== */
.pd-section {
  padding: 64px 0;
  border-top: 1px solid var(--c-line);
}
@media (min-width: 768px){ .pd-section { padding: 96px 0; } }
.pd-section-alt { background: var(--c-paper-2); border-top-color: transparent; }

.pd-section-head {
  margin-bottom: 44px;
  text-align: center;
  position: relative;
}
.pd-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 14px;
}
.pd-section-title {
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.25;
}
.pd-section-title::after{
  content: "";
  display: block;
  width: 44px; height: 2px;
  background: var(--c-accent);
  margin: 20px auto 0;
}

/* ============================================================
   INTRO HEAD — DESCRIPTION 섹션 인트로 (에디토리얼 센터링)
   ============================================================ */
.pd-section--intro { padding-top: 88px; }
@media (min-width: 900px){ .pd-section--intro { padding-top: 120px; } }
@media (max-width: 600px){ .pd-section--intro { padding-top: 64px; } }

.pd-intro-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
@media (min-width: 900px){ .pd-intro-head { margin-bottom: 80px; } }

.pd-intro-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 26px;
}
.pd-intro-eyebrow > span {
  /* 한글이 섞여도 자연스럽도록 마지막 글자 letter-spacing 보정 */
  padding-right: .22em;
}
.pd-intro-eyebrow::before,
.pd-intro-eyebrow::after {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: var(--c-accent);
  opacity: .55;
}

.pd-intro-title {
  margin: 0;
  padding: 0 12px;
  letter-spacing: -.025em;
  line-height: 1.18;
  color: var(--c-ink);
  font-weight: 700;
}
.pd-intro-main {
  display: block;
  font-size: clamp(28px, 5.4vw, 56px);
}
.pd-intro-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(16px, 2.6vw, 26px);
  font-weight: 400;
  color: var(--c-ink-soft);
  letter-spacing: -.012em;
  line-height: 1.4;
}

.pd-intro-rule {
  display: block;
  width: 1px;
  height: 56px;
  margin: 36px auto 0;
  background: linear-gradient(180deg, var(--c-line-2) 0%, transparent 100%);
}
@media (min-width: 900px){
  .pd-intro-rule { height: 72px; margin-top: 44px; }
}
@media (max-width: 600px){
  .pd-intro-rule { height: 40px; margin-top: 24px; }
  .pd-intro-eyebrow { margin-bottom: 18px; }
  .pd-intro-eyebrow::before, .pd-intro-eyebrow::after { width: 20px; }
}

/* 진입 stagger — 부드럽게 한 요소씩 등장 */
.pd-intro-head.reveal { opacity: 1; transform: none; }   /* 부모는 정적 */
.pd-intro-head.reveal .pd-intro-eyebrow,
.pd-intro-head.reveal .pd-intro-main,
.pd-intro-head.reveal .pd-intro-sub {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.22,.7,.2,1),
              transform .9s cubic-bezier(.22,.7,.2,1);
}
.pd-intro-head.reveal .pd-intro-rule {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top center;
  transition: opacity .35s ease, transform 1.1s cubic-bezier(.22,.7,.2,1);
}
.pd-intro-head.reveal.is-in .pd-intro-eyebrow { opacity: 1; transform: none; transition-delay: .08s; }
.pd-intro-head.reveal.is-in .pd-intro-main    { opacity: 1; transform: none; transition-delay: .26s; }
.pd-intro-head.reveal.is-in .pd-intro-sub     { opacity: 1; transform: none; transition-delay: .42s; }
.pd-intro-head.reveal.is-in .pd-intro-rule    { opacity: 1; transform: none; transition-delay: .62s; }

/* eyebrow 양쪽 짧은 라인이 가운데에서 좌우로 그려지듯 */
.pd-intro-head.reveal .pd-intro-eyebrow::before,
.pd-intro-head.reveal .pd-intro-eyebrow::after {
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(.22,.7,.2,1);
}
.pd-intro-head.reveal .pd-intro-eyebrow::before { transform-origin: right center; }
.pd-intro-head.reveal .pd-intro-eyebrow::after  { transform-origin: left center;  }
.pd-intro-head.reveal.is-in .pd-intro-eyebrow::before,
.pd-intro-head.reveal.is-in .pd-intro-eyebrow::after { transform: none; transition-delay: .35s; }

/* Section image — 각 섹션 상단 들어가는 와이드 이미지 */
.pd-section-img {
  max-width: 980px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(10,37,64,.08);
  background: #fff;
}

/* 인트로 헤드 위쪽에 위치하는 변형 — 마진 조정 */
.pd-section-img--top {
  margin-top: 0;
  margin-bottom: 56px;
}
@media (min-width: 900px){ .pd-section-img--top { margin-bottom: 80px; } }
@media (max-width: 600px){ .pd-section-img--top { margin-bottom: 36px; } }

/* (구 GALLERY 스택 CSS 제거 — 헤로 썸네일 strip 으로 통합) */

/* 영상 임베드 — 16:9 반응형 (조리 방법 등) */
.pd-video-embed {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 40px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(10, 37, 64, 0.1);
}
.pd-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #000;
}
/* aspect-ratio 미지원 옛 브라우저 폴백 — iframe 비율 고정 (padding-bottom hack) */
@supports not (aspect-ratio: 1) {
  .pd-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }
  .pd-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}
@media (min-width: 900px){
  .pd-video-embed { max-width: 1080px; margin-bottom: 56px; }
}
@media (max-width: 600px){
  .pd-video-embed { margin-bottom: 28px; border-radius: 6px; }
}
.pd-section-img img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.7,.2,1);
}
.pd-section-img:hover img { transform: scale(1.03); }
@media (min-width: 900px){
  .pd-section-img { margin: 0 auto 56px; max-width: 1080px; }
}
@media (max-width: 600px){
  .pd-section-img { margin: 0 auto 28px; }
}

/* ============================================================
   강조 블록 3종 — A.Tagline / B.Headline / D.Callout
   ============================================================ */

/* A. TAGLINE — 인트로 한줄 (캡스 라벨 + 좌우 짧은 라인) */
.pd-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--c-accent);
  text-transform: uppercase;
}
.pd-tagline .pd-tagline-line {
  flex: 1;
  height: 1px;
  background: var(--c-line-2);
  max-width: 64px;
}
.pd-tagline .pd-tagline-text { white-space: nowrap; }
@media (min-width: 900px){
  .pd-tagline { font-size: 13px; margin-bottom: 36px; }
  .pd-tagline .pd-tagline-line { max-width: 90px; }
}

/* B. HEADLINE — 포스터 헤드라인 (위/아래 가로 라인 + 큰 볼드 텍스트) */
.pd-headline {
  position: relative;
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 36px 16px;
}
.pd-headline .pd-headline-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-line-2) 18%, var(--c-line-2) 82%, transparent 100%);
}
.pd-headline h3 {
  margin: 22px 0;
  padding: 0;
  font-size: clamp(22px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.32;
  color: var(--c-ink);
}
.pd-headline-line {
  display: block;
}
@media (min-width: 900px){
  .pd-headline {
    padding: 44px 20px;
    margin-bottom: 76px;
  }
  .pd-headline h3 {
    margin: 28px 0;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.3;
  }
}
@media (max-width: 600px){
  .pd-headline {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .pd-headline h3 {
    margin: 16px 0;
    font-size: 20px;
    line-height: 1.4;
  }
}

/* 헤드라인 진입 — 라인이 좌우로 펼쳐지고 텍스트가 한 줄씩 페이드업 */
.pd-headline.reveal { opacity: 1; transform: none; }
.pd-headline.reveal .pd-headline-rule {
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(.22,.7,.2,1);
}
.pd-headline.reveal .pd-headline-rule:first-child   { transform-origin: right center; }
.pd-headline.reveal .pd-headline-rule:last-child    { transform-origin: left  center; }
.pd-headline.reveal.is-in .pd-headline-rule         { transform: none; transition-delay: .1s; }

.pd-headline.reveal .pd-headline-line {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.22,.7,.2,1),
              transform .9s cubic-bezier(.22,.7,.2,1);
  transition-delay: calc(.35s + var(--i, 0) * .14s);
}
.pd-headline.reveal.is-in .pd-headline-line { opacity: 1; transform: none; }

/* D. CALLOUT — 코랄 톤 강조 박스 (느낌표 마커 + 짧은 메시지) */
.pd-callout {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
  margin: 36px auto 0;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(193,75,60,.06) 0%, rgba(193,75,60,.02) 60%, #fff 100%);
  border: 1px solid rgba(193,75,60,.18);
  border-left: 3px solid var(--c-accent);
  border-radius: 4px;
}
.pd-callout .pd-callout-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--c-accent); color: #fff;
  font-weight: 800; font-size: 16px;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-style: italic;
}
.pd-callout p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -.005em;
  padding-top: 4px;
}
@media (min-width: 900px){
  .pd-callout {
    padding: 26px 32px;
    margin-top: 48px;
    gap: 22px;
  }
  .pd-callout .pd-callout-mark { width: 36px; height: 36px; font-size: 18px; }
  .pd-callout p { font-size: 17px; }
}
@media (max-width: 600px){
  .pd-callout {
    gap: 14px;
    padding: 18px 20px;
    margin-top: 28px;
  }
  .pd-callout .pd-callout-mark { width: 28px; height: 28px; font-size: 14px; }
  .pd-callout p { font-size: 15.5px; padding-top: 2px; }
}

/* 레거시 호환 — 기존 .pd-highlight blockquote 스타일은 비활성 (HTML 안 씀) */

/* Description body — lead 단락 + 일반 단락 + 부드러운 단계 페이드인 */
.pd-description {
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-text);
  letter-spacing: -.005em;
}
.pd-description p { margin: 0 0 22px; }
.pd-description p:last-child { margin-bottom: 0; }

.pd-description .pd-desc-lead {
  font-size: 19px;
  line-height: 1.85;
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -.012em;
}
.pd-description .pd-desc-p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--c-ink-soft);
  font-weight: 400;
}
@media (min-width: 900px){
  .pd-description .pd-desc-lead { font-size: 21px; line-height: 1.85; }
  .pd-description .pd-desc-p   { font-size: 18px; line-height: 2.0; }
  .pd-description p { margin-bottom: 26px; }
}
@media (max-width: 600px){
  .pd-description .pd-desc-lead { font-size: 17.5px; line-height: 1.75; }
  .pd-description .pd-desc-p   { font-size: 16px; line-height: 1.85; }
  .pd-description p { margin-bottom: 18px; }
}

.pd-description strong { color: var(--c-ink); font-weight: 700; }
.pd-description em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, rgba(193,75,60,.18) 62%);
  padding: 0 2px;
  font-weight: 600;
  color: var(--c-ink);
}

/* 단락별 stagger 페이드인 — 컨테이너 reveal 활성 시 자식 p 가 순차 등장 */
.pd-description.reveal p {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s cubic-bezier(.22,.7,.2,1), transform .8s cubic-bezier(.22,.7,.2,1);
}
.pd-description.reveal.is-in p { opacity: 1; transform: none; }
.pd-description.reveal.is-in p:nth-child(1) { transition-delay: .05s; }
.pd-description.reveal.is-in p:nth-child(2) { transition-delay: .18s; }
.pd-description.reveal.is-in p:nth-child(3) { transition-delay: .31s; }
.pd-description.reveal.is-in p:nth-child(4) { transition-delay: .44s; }
.pd-description.reveal.is-in p:nth-child(n+5){ transition-delay: .57s; }

/* Check Points — coral check pill list */
.pd-check-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.pd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.65;
  letter-spacing: -.005em;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.pd-check-list li:hover {
  transform: translateX(4px);
  border-color: var(--c-accent);
  box-shadow: 0 6px 24px rgba(193,75,60,.08);
}
.pd-check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}
@media (min-width: 900px){
  .pd-check-list li { font-size: 17px; padding: 24px 28px; }
}

/* Components — numbered grid */
.pd-comp-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 600px){ .pd-comp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

.pd-comp-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--c-line);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.pd-comp-item:hover {
  transform: translateY(-3px);
  border-color: var(--c-ink);
  box-shadow: 0 12px 30px rgba(10,37,64,.08);
}
.pd-comp-item:hover .pd-comp-num { background: var(--c-accent); }
.pd-comp-num {
  flex-shrink: 0;
  min-width: 48px; height: 48px;
  padding: 0 10px;
  background: var(--c-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 50%;
  transition: background .25s var(--ease);
}
.pd-comp-text {
  font-size: 16.5px;
  color: var(--c-ink);
  line-height: 1.6;
  letter-spacing: -.005em;
  font-weight: 500;
}
@media (min-width: 900px){
  .pd-comp-text { font-size: 17px; }
}

/* Cooking Steps — large numbered with optional tip */
.pd-steps-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  counter-reset: pdstep;
}
.pd-steps-list li {
  display: flex;
  gap: 24px;
  padding: 26px 30px;
  background: #fff;
  border-left: 3px solid var(--c-line);
  transition: border-left-color .28s var(--ease), transform .25s var(--ease), box-shadow .28s var(--ease);
}
.pd-steps-list li:hover {
  border-left-color: var(--c-accent);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(10,37,64,.06);
}
.pd-steps-list .step-num {
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: -.02em;
  min-width: 42px;
  font-feature-settings: "tnum" on;
  line-height: 1.2;
}
.pd-steps-list .step-text {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--c-ink);
  padding-top: 4px;
  letter-spacing: -.005em;
}
@media (min-width: 900px){
  .pd-steps-list .step-text { font-size: 17px; }
  .pd-steps-list .step-num { font-size: 28px; }
}
.pd-steps-list li.is-tip {
  border-left-color: var(--c-accent);
  background: linear-gradient(180deg, rgba(193,75,60,.06), rgba(193,75,60,.02));
}
.pd-steps-list li.is-tip .step-num {
  font-size: 14px;
  letter-spacing: .26em;
  font-weight: 700;
  padding-top: 4px;
}

/* TIP 박스 — 조리 단계 아래에 별도 박스로 노출 */
.pd-tip-box {
  position: relative;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 28px 32px 28px 90px;
  background: linear-gradient(135deg, rgba(193,75,60,.05) 0%, rgba(193,75,60,.02) 60%, #fff 100%);
  border: 1px solid rgba(193,75,60,.18);
  border-left: 3px solid var(--c-accent);
  border-radius: 4px;
}
.pd-tip-box .pd-tip-label {
  position: absolute;
  top: 28px; left: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--c-accent);
  background: #fff;
  padding: 6px 12px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  line-height: 1;
}
.pd-tip-box .pd-tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.pd-tip-box .pd-tip-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  letter-spacing: -.005em;
  font-weight: 500;
}
.pd-tip-box .pd-tip-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
}
@media (min-width: 900px){
  .pd-tip-box {
    padding: 32px 40px 32px 110px;
    margin-top: 36px;
  }
  .pd-tip-box .pd-tip-label { top: 32px; left: 32px; }
  .pd-tip-box .pd-tip-list li { font-size: 17px; }
}
@media (max-width: 600px){
  .pd-tip-box {
    padding: 60px 22px 24px;
    margin-top: 22px;
  }
  .pd-tip-box .pd-tip-label {
    top: 18px; left: 22px;
    font-size: 12px;
    padding: 5px 10px;
  }
  .pd-tip-box .pd-tip-list li { font-size: 15.5px; }
}

/* Info Disclosure — table */
.pd-info-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--c-line);
  background: #fff;
}
.pd-info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--c-line);
}
.pd-info-row:last-child { border-bottom: 0; }
.pd-info-row dt {
  padding: 20px 24px;
  background: var(--c-paper);
  font-size: 15.5px;
  letter-spacing: -.005em;
  color: var(--c-ink);
  font-weight: 700;
  border-right: 1px solid var(--c-line);
  display: flex;
  align-items: center;
}
.pd-info-row dd {
  padding: 20px 26px;
  margin: 0;
  font-size: 15.5px;
  color: var(--c-ink);
  line-height: 1.75;
  letter-spacing: -.005em;
  font-weight: 500;
}
@media (min-width: 900px){
  .pd-info-row dt,
  .pd-info-row dd { font-size: 16px; }
}
@media (max-width: 600px){
  .pd-info-row { grid-template-columns: 1fr; }
  .pd-info-row dt {
    border-right: 0; border-bottom: 1px solid var(--c-line);
    padding: 14px 18px;
    font-size: 14.5px;
  }
  .pd-info-row dd { padding: 16px 18px; font-size: 14.5px; font-weight: 500; }
}

/* Bottom CTA — 밝은 톤 (footer 네이비와 명확히 분리) */
.pd-cta-bottom {
  padding: 88px 0;
  background: #fff;
  color: var(--c-ink);
  text-align: center;
  border-top: 1px solid var(--c-line);
  position: relative;
}
@media (min-width: 768px){ .pd-cta-bottom { padding: 120px 0; } }

/* 상단 정중앙에 미니 코랄 라인 — 시각적 진입점 */
.pd-cta-bottom::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 56px; height: 2px;
  background: var(--c-accent);
  transform: translateX(-50%);
}

.pd-cta-bottom .pd-section-eyebrow {
  color: var(--c-accent) !important;  /* 인라인 화이트 무력화 */
}
.pd-cta-bottom h3 {
  color: var(--c-ink);
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 14px 0 16px;
  letter-spacing: -.025em;
  font-weight: 700;
  line-height: 1.25;
}
.pd-cta-bottom p {
  color: var(--c-ink-soft);
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.7;
}
@media (min-width: 900px){ .pd-cta-bottom p { font-size: 16px; } }

.pd-cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.pd-cta-bottom .btn-buy {
  padding: 17px 40px;
  font-size: 15.5px;
  background: var(--c-accent);
  color: #fff;
  border: 1px solid var(--c-accent);
  font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s;
}
.pd-cta-bottom .btn-buy:hover {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
  transform: translateY(-1px);
}
.pd-cta-bottom .btn-line {
  color: var(--c-ink);
  font-weight: 600;
}
.pd-cta-bottom .btn-line::after { background: var(--c-ink); }

/* 레거시 호환 — 다른 곳에서 .btn-line--light 가 쓰일 수 있어 룰 유지 */
.btn-line--light { color: #fff; }
.btn-line--light::after { background: #fff; }

/* ============================================================
   MOBILE FIXED CTA — 모바일에서만 하단 고정 (구매/문의 항상 노출)
   ============================================================ */
.pd-mobile-cta {
  display: none;   /* 데스크톱에서는 숨김 */
}

@media (max-width: 899px) {
  .pd-mobile-cta {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    /* iPhone 홈 바 / safe area 보정 */
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -6px 24px rgba(10, 37, 64, 0.06);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    /* 페이지 진입 시 부드럽게 슬라이드업 */
    animation: pdMobileCtaIn .4s cubic-bezier(.22,.7,.2,1) both;
    animation-delay: .15s;
  }
  .pd-mobile-cta .btn {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    justify-content: center;
    border-radius: 10px;
  }
  .pd-mobile-cta .btn-buy {
    background: var(--c-accent);
    color: #fff;
    border: 1px solid var(--c-accent);
  }
  .pd-mobile-cta .btn-buy:hover,
  .pd-mobile-cta .btn-buy:active {
    background: var(--c-ink);
    border-color: var(--c-ink);
  }
  .pd-mobile-cta .btn-ghost {
    background: #fff;
    border: 1px solid var(--c-line-2);
    color: var(--c-ink);
  }

  /* 모바일 전용 인라인 TOP — 문의하기 우측에 정사각 아이콘 버튼 */
  .pd-cta-top {
    flex: 0 0 auto;
    width: 50px;
    align-self: stretch;
    display: grid;
    place-items: center;
    background: var(--c-ink);
    color: #fff;
    border: 1px solid var(--c-ink);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
    line-height: 1;
  }
  .pd-cta-top:hover,
  .pd-cta-top:active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 75, 60, 0.25);
  }
  .pd-cta-top svg { display: block; }

  /* 본문 하단에 CTA 높이만큼 여백 — :has() 로 자동 적용 */
  body:has(.pd-mobile-cta) {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@keyframes pdMobileCtaIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ============================================================
   FLOATING TOP FAB — 우측 하단 고정 (모바일+데스크톱 공용)
   스크롤 400px 이상 시 부드럽게 등장
   ============================================================ */
.pd-top-fab {
  /* 위치 — 데스크톱 기본값 */
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  z-index: 45;

  /* 트렌디 톤 — 네이비 + 백드롭 블러 + 깊이 그림자 */
  background: rgba(10, 37, 64, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  font-family: inherit;

  /* 그림자 — 두 단계 (가까운 + 깊은) */
  box-shadow:
    0 2px 6px rgba(10, 37, 64, 0.12),
    0 12px 28px rgba(10, 37, 64, 0.22);

  /* 진입 애니메이션 — 처음엔 숨김 */
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
  transition:
    opacity .35s cubic-bezier(.22,.7,.2,1),
    transform .35s cubic-bezier(.22,.7,.2,1),
    background .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
.pd-top-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.pd-top-fab:hover {
  background: var(--c-accent);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 4px 10px rgba(193, 75, 60, 0.25),
    0 16px 36px rgba(193, 75, 60, 0.32);
}
.pd-top-fab:active {
  transform: translateY(-1px) scale(0.97);
  transition-duration: .1s;
}
.pd-top-fab:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.pd-top-fab svg { display: block; }

/* 모바일에서는 floating FAB 숨김 — CTA 바 안의 .pd-cta-top 이 그 역할 담당 */
@media (max-width: 899px) {
  .pd-top-fab { display: none !important; }
}

/* 데스크톱에서는 인라인 .pd-cta-top 숨김 — floating FAB 이 그 역할 담당 */
@media (min-width: 900px) {
  .pd-cta-top { display: none !important; }
}

/* 모션 감소 선호 — 애니메이션 최소화 */
@media (prefers-reduced-motion: reduce) {
  .pd-top-fab { transition: opacity .2s ease; }
  .pd-top-fab:hover { transform: none; }
}

/* 모바일 압축 */
@media (max-width: 767px){
  .pd-hero { padding-top: 24px; padding-bottom: 40px; gap: 24px; }  /* 좌우 패딩은 .container 에서 상속 */
  .pd-section { padding: 56px 0; }
  .pd-section-head { margin-bottom: 32px; }
  .pd-check-list li { padding: 18px 20px; font-size: 15.5px; gap: 14px; }
  .pd-check-list li::before { width: 24px; height: 24px; font-size: 13px; }
  .pd-comp-item { padding: 20px 22px; gap: 16px; }
  .pd-comp-num { min-width: 42px; height: 42px; font-size: 13px; }
  .pd-comp-text { font-size: 15.5px; }
  .pd-steps-list li { padding: 20px 22px; gap: 18px; }
  .pd-steps-list .step-num { font-size: 22px; min-width: 34px; }
  .pd-steps-list .step-text { font-size: 15.5px; line-height: 1.75; }
  .pd-description { font-size: 16px; line-height: 1.85; }
  .pd-cta-bottom { padding: 56px 0; }
  .pd-cta-actions { gap: 14px; }
}

/* ===================== COMMUNITY / POST ===================== */
.post-grid {
  display: grid; gap: 36px 24px; grid-template-columns: 1fr;
}
@media (min-width: 720px){ .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .post-grid { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; } }

.post-card {
  display: flex; flex-direction: column; background: transparent;
  transition: transform .35s var(--ease);
}
.post-card:hover { transform: translateY(-4px); }

/* 이미지 있을 때만 썸네일 박스 */
.post-thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  border: 1px solid var(--c-line); background: var(--c-paper-2);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }

/* 이미지 없을 때 — 트렌디 미니멀 placeholder
   카테고리 라벨 + 큰 따옴표 마크 + 옅은 그라디언트 */
.post-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, var(--c-paper) 0%, var(--c-paper-2) 100%);
  overflow: hidden;
}
.post-thumb-placeholder::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(193,75,60,.06) 0%, transparent 70%);
  pointer-events: none;
}
.post-thumb-placeholder::after {
  content: """;
  position: absolute;
  bottom: -40px; right: 12px;
  font-family: Georgia, "Times New Roman", "Nanum Myeongjo", serif;
  font-size: 200px;
  line-height: 1;
  color: var(--c-line-2);
  opacity: 0.55;
  font-weight: 700;
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}
.post-thumb-placeholder span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 700;
  align-self: flex-start;
}

.post-pin {
  position: absolute; top: 14px; left: 14px;
  background: var(--c-accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  padding: 5px 10px;
  z-index: 2;
}
.post-body { padding: 20px 2px 0; }
.post-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 12px;
}
.post-cat { color: var(--c-accent); font-weight: 600; }
.post-date { color: var(--c-mute); }
.post-card h3 { font-size: 18px; line-height: 1.45; margin-bottom: 8px; letter-spacing: -.015em; }
.post-card p {
  color: var(--c-ink-soft); font-size: 15px; margin: 0;
  line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 이미지 없는 카드 — 미니멀 텍스트 카드 ---- */
.post-card.is-textonly .post-thumb { display: none; }
.post-card.is-textonly {
  height: 100%;
}
.post-card.is-textonly .post-body {
  padding: 28px 28px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  border-left: 3px solid var(--c-accent);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.post-card.is-textonly:hover .post-body {
  border-color: var(--c-ink-soft);
  border-left-color: var(--c-accent);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.07);
}
.post-card.is-textonly h3 {
  font-size: 19px;
  line-height: 1.4;
  color: var(--c-ink);
  margin-bottom: 10px;
  letter-spacing: -.018em;
}
.post-card.is-textonly p {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14.5px;
  color: var(--c-ink-soft);
}
@media (min-width: 900px){
  .post-card.is-textonly .post-body { padding: 32px 32px 34px; }
  .post-card.is-textonly h3 { font-size: 20px; }
}

/* PIN 인라인 — 텍스트 전용 카드용 (썸네일 없으니 본문 안에 표시) */
.post-pin-inline {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .22em;
  padding: 3px 8px;
  margin-bottom: 12px;
  border-radius: 3px;
}

/* front pager (community) */
.pager-front {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 56px;
}
.pager-front a {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); background: #fff;
  font-size: 14px; color: var(--c-ink); letter-spacing: .04em;
  transition: background .2s, border-color .2s;
}
.pager-front a:hover { background: var(--c-paper-2); }
.pager-front a.is-current { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* post detail */
.post-detail-hero {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  padding: 56px 0 48px;
}
@media (min-width: 768px){ .post-detail-hero { padding: 96px 0 72px; } }
.post-detail-meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-mute);
  margin-bottom: 18px;
}
.post-detail-meta a { color: var(--c-accent); font-weight: 600; }
.post-detail-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-detail-hero h1 {
  font-size: clamp(26px, 4.4vw, 44px); margin-bottom: 16px; letter-spacing: -.02em;
  line-height: 1.3;
}
.post-detail-hero .lead { max-width: 760px; }

.post-detail-image {
  margin: 56px 0 0;
  aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--c-line);
}
.post-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.post-detail-body {
  padding: 56px 0 80px;
  max-width: 760px; margin: 0 auto;
  font-size: 16px; line-height: 1.95; color: var(--c-text);
  letter-spacing: -.005em;
}
.post-detail-body img { margin: 24px 0; }

.post-detail-nav {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 80px;
}
@media (min-width: 768px){
  .post-detail-nav { grid-template-columns: 1fr auto 1fr; }
}
.post-detail-nav > * {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-ink);
  transition: background .2s;
}
@media (min-width: 768px){
  .post-detail-nav > * { border-bottom: 0; border-right: 1px solid var(--c-line); }
  .post-detail-nav > *:last-child { border-right: 0; }
}
.post-detail-nav > *:last-child { border-bottom: 0; }
.post-detail-nav a:hover { background: var(--c-paper-2); }
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }
.post-nav-list {
  align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600;
  background: var(--c-paper);
  padding: 16px 28px;
}
.post-nav-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-mute); font-weight: 600; }
.post-nav-title {
  font-size: 15px; color: var(--c-ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.post-detail-nav .is-disabled { opacity: .35; pointer-events: none; }
