/* =====================================================================
 * QueenSpoon · 공통 스타일시트
 * 디자인 방향: Japanese Premium Pet Food
 *   - 차분한 자연 톤(소프트 그레이 / 페일 세이지 / 따뜻한 잉크)
 *   - 미세한 그리드, 작고 정밀한 타이포 (label · meta는 mono 10–11px)
 *   - 풀블리드에 가까운 큰 사진, 헤어라인 보더
 *   - 단일 코냑/구리 액센트(페이지당 최대 2회)
 * ===================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;400&display=swap');

:root {
  /* ── 컬러 (OKLch) ─────────────────────────────────────────────────── */
  --bg:            oklch(96.8% 0.004 110);   /* 소프트 웜그레이 페이퍼 */
  --surface:       oklch(99% 0.003 110);     /* 카드/시트 */
  --surface-alt:   oklch(94.2% 0.008 135);   /* 페일 세이지 */
  --surface-deep:  oklch(91% 0.010 130);     /* 한 단계 진한 세이지 */
  --ink:           oklch(20% 0.012 90);      /* 본문 잉크 */
  --fg:            oklch(20% 0.012 90);      /* alias of --ink */
  --fg-soft:       oklch(34% 0.012 95);
  --muted:         oklch(48% 0.010 100);
  --muted-2:       oklch(62% 0.008 100);
  --border:        oklch(88% 0.006 110);
  --border-strong: oklch(78% 0.008 105);
  --hairline:      oklch(91% 0.005 110);

  --accent:        oklch(56% 0.10 50);       /* 코냑/구리 */
  --accent-deep:   oklch(44% 0.09 48);
  --accent-soft:   oklch(93% 0.022 55);

  --sage:          oklch(62% 0.040 145);     /* 세이지 (서브 메타) */
  --sage-deep:     oklch(38% 0.040 150);

  --success:       oklch(55% 0.10 150);
  --warning:       oklch(68% 0.15 75);
  --danger:        oklch(54% 0.16 28);
  --info:          oklch(55% 0.10 230);

  /* ── 타이포 ───────────────────────────────────────────────────────── */
  --font-display: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo",
                  -apple-system, BlinkMacSystemFont, "SF Pro Display",
                  "Hiragino Sans", "Noto Sans JP", "Noto Sans KR",
                  system-ui, sans-serif;
  --font-body:    "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo",
                  -apple-system, BlinkMacSystemFont, "SF Pro Text",
                  "Hiragino Sans", "Noto Sans JP", "Noto Sans KR",
                  system-ui, sans-serif;
  --font-serif:   "Noto Serif KR", "Noto Serif JP", "Iowan Old Style",
                  "Apple Garamond", Georgia, serif;
  --font-mono:    "JetBrains Mono", "SF Mono", "IBM Plex Mono",
                  ui-monospace, Menlo, monospace;

  /* ── 반경/그림자/그리드 ───────────────────────────────────────────── */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 12px;
  --r-xl: 18px;
  --shadow-hair: 0 0 0 1px var(--hairline);
  --shadow-sm:   0 1px 2px rgba(20, 18, 14, 0.04);
  --shadow-md:   0 8px 28px rgba(20, 18, 14, 0.06), 0 1px 2px rgba(20, 18, 14, 0.04);
  --shadow-lg:   0 24px 60px rgba(20, 18, 14, 0.10), 0 4px 12px rgba(20, 18, 14, 0.05);

  --header-h: 96px;
  --header-h-compact: 64px;
  --header-h-mobile: 64px;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern", "palt";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ── typography helpers ──────────────────────────────────────────────── */
.serif    { font-family: var(--font-serif); letter-spacing: -0.005em; }
.mono     { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--muted-2);
}
.eyebrow-accent { color: var(--accent); }
.eyebrow-accent::before { background: var(--accent); }

/* JP premium: heavier display weight, very tight tracking on hero,
   slightly looser at body sizes — small precise labels carry the rhythm */
.h-hero { font-family: var(--font-display); font-weight: 700;
          font-size: clamp(44px, 6.4vw, 88px);
          line-height: 1.06; letter-spacing: -0.038em; }
.h-1    { font-family: var(--font-display); font-weight: 700;
          font-size: clamp(32px, 3.8vw, 50px);
          line-height: 1.12; letter-spacing: -0.028em; }
.h-2    { font-family: var(--font-display); font-weight: 600;
          font-size: clamp(24px, 2.6vw, 34px);
          line-height: 1.2; letter-spacing: -0.018em; }
.h-3    { font-family: var(--font-display); font-weight: 600;
          font-size: clamp(18px, 1.8vw, 22px);
          line-height: 1.35; letter-spacing: -0.012em; }
.h-serif { font-family: var(--font-serif); font-weight: 400; }
.lead    { font-size: clamp(15px, 1.05vw, 17px);
           color: var(--fg-soft); line-height: 1.75; letter-spacing: -0.003em; }
.small   { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.kicker  { font-family: var(--font-mono); font-size: 10px;
           letter-spacing: 0.24em; text-transform: uppercase;
           color: var(--accent); font-weight: 500; }

/* ── header ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
  transition: height 0.3s var(--ease), background 0.2s, border-color 0.2s;
}
.site-header.is-compact {
  height: var(--header-h-compact);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  border-bottom-color: var(--border);
}
.site-header__inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-header__logo { display: flex; align-items: center; gap: 12px; }
.site-header__logo-img {
  height: 44px; width: auto; max-width: 180px;
  object-fit: contain;
  transition: height 0.3s var(--ease);
}
.site-header.is-compact .site-header__logo-img { height: 34px; }
.site-header__logo-fallback {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.site-header__logo-fallback span { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav__link {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--fg-soft);
  letter-spacing: -0.005em;
  border-radius: var(--r-md);
  transition: color 0.15s, background 0.15s;
}
.site-nav__link:hover { color: var(--ink); background: var(--surface-alt); }
.site-nav__divider { width: 1px; height: 18px; background: var(--border); margin: 0 12px; }

.btn-ghost {
  padding: 9px 16px;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  background: var(--ink);
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-accent {
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s, transform 0.15s;
}
.btn-accent:hover { background: var(--accent-deep); }
.btn-outline {
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-danger {
  padding: 9px 16px;
  font-size: 13px;
  color: #fff;
  background: var(--danger);
  border-radius: 2px;
  transition: background 0.15s;
}
.btn-danger:hover { background: oklch(46% 0.16 28); }

/* mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after,
.menu-toggle__bars > span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars > span  { top: 50%; transform: translateY(-50%); }
.menu-toggle__bars::after  { bottom: 0; }
.menu-toggle.is-open .menu-toggle__bars::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bars::after  { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
.menu-toggle.is-open .menu-toggle__bars > span { opacity: 0; }

/* ── footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: oklch(17% 0.010 95);
  color: oklch(78% 0.006 95);
  padding: 96px 0 40px;
  margin-top: 140px;
  border-top: 1px solid oklch(25% 0.010 95);
}
.site-footer a { color: oklch(78% 0.006 95); transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.site-footer__inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid oklch(26% 0.010 95);
}
.site-footer__brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.024em;
  margin-bottom: 18px;
}
.site-footer__brand-name span { color: var(--accent); }
.site-footer__desc { color: oklch(70% 0.006 95); font-size: 13px; line-height: 1.7; max-width: 320px; }
.site-footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: oklch(58% 0.010 95);
  margin-bottom: 18px;
  font-weight: 500;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer__col li { font-size: 13px; }
.site-footer__meta {
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.site-footer__company-info {
  font-size: 12.5px;
  color: oklch(68% 0.006 95);
  line-height: 1.85;
  font-feature-settings: "tnum";
}
.site-footer__company-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  max-width: 680px;
}
.site-footer__company-info dt {
  color: oklch(50% 0.010 95);
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 5px;
}
.site-footer__company-info dd { margin: 0; color: oklch(80% 0.006 95); }
.site-footer__copy {
  font-size: 11px;
  color: oklch(50% 0.010 95);
  text-align: right;
  line-height: 1.9;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.site-footer__copy a { font-size: 10px; opacity: 0.5; letter-spacing: 0.18em; text-transform: uppercase; }
.site-footer__copy a:hover { opacity: 1; }

/* ── layout primitives ───────────────────────────────────────────────── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-tight { padding: 72px 0; }
.hairline { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ── page hero (subpages) ────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 88px) 0 80px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
}
.page-hero__inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.page-hero__eyebrow { margin-bottom: 22px; }
.page-hero__title { margin: 0 0 20px; }
.page-hero__desc { max-width: 640px; }

/* ── HOMEPAGE: split hero ────────────────────────────────────────────── */
.split-hero {
  padding-top: calc(var(--header-h) + 32px);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg);
  position: relative;
}
.split-hero__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: stretch;
  min-height: min(78vh, 720px);
}
.split-hero__copy {
  padding: 48px 40px 96px 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.split-hero__copy::before {
  /* fine micro-grid backdrop */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 80%, transparent);
}
.split-hero__copy > * { position: relative; z-index: 1; }
.split-hero__brandmark {
  display: inline-flex; align-items: baseline; gap: 14px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
}
.split-hero__brandmark .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block; position: relative; top: -1px;
}
.split-hero__title { margin: 0 0 28px; max-width: 14ch; }
.split-hero__title .accent { color: var(--accent); }
.split-hero__lead { max-width: 460px; margin: 0 0 36px; }
.split-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.split-hero__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  max-width: 540px;
}
.split-hero__spec {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 16px;
}
.split-hero__spec + .split-hero__spec { border-left: 1px solid var(--hairline); padding-left: 20px; }
.split-hero__spec-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.split-hero__spec-value {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.split-hero__photo {
  position: relative;
  background: var(--surface-alt);
  overflow: hidden;
  min-height: 480px;
}
.split-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.split-hero__photo[data-fallback]:not([data-loaded])::after,
.split-hero__photo[data-fallback]:not([data-loaded]) {
  background:
    radial-gradient(circle at 30% 25%, var(--surface-deep), transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in oklab, var(--sage) 30%, var(--surface-alt)), transparent 60%),
    var(--surface-alt);
}
.split-hero__photo-caption {
  position: absolute;
  bottom: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  background: color-mix(in oklab, var(--ink) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 2px;
}
.split-hero__photo-caption .pip {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.split-hero__photo-corner {
  position: absolute; top: 20px; right: 20px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  text-transform: uppercase;
}

.split-hero__cert-strip {
  display: flex; gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  margin-top: -1px;
}
.split-hero__cert-strip .cell {
  flex: 1;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid var(--hairline);
  font-size: 13px;
}
.split-hero__cert-strip .cell:first-child { border-left: 0; }
.split-hero__cert-strip .cell .lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.split-hero__cert-strip .cell .val {
  color: var(--ink); font-weight: 600; letter-spacing: -0.005em;
  font-family: var(--font-display);
}

/* ── chapter sidebar nav (desktop) ───────────────────────────────────── */
.chapter-rail-host { position: relative; }
.chapter-rail {
  position: sticky;
  top: calc(var(--header-h-compact) + 24px);
  display: flex; flex-direction: column; gap: 0;
  padding: 0;
  border-left: 1px solid var(--hairline);
}
.chapter-rail__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0 18px 22px;
  position: relative;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.003em;
  cursor: pointer;
  transition: color 0.2s;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  width: 100%;
}
.chapter-rail__item:last-child { border-bottom: 0; }
.chapter-rail__item::before {
  content: "";
  position: absolute;
  left: -1px; top: 18px; bottom: 18px;
  width: 2px;
  background: transparent;
  transition: background 0.25s var(--ease);
}
.chapter-rail__item.is-active { color: var(--ink); }
.chapter-rail__item.is-active::before { background: var(--accent); }
.chapter-rail__item:hover { color: var(--ink); }
.chapter-rail__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  padding-top: 4px;
  min-width: 36px;
}
.chapter-rail__item.is-active .chapter-rail__num { color: var(--accent); }
.chapter-rail__label {
  display: flex; flex-direction: column; gap: 3px;
}
.chapter-rail__label .en {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.chapter-rail__label .desc {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: -0.003em;
}

/* ── 2-column chaptered layout ───────────────────────────────────────── */
.chapter-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 40px 0;
  align-items: start;
}
.chapter-layout__main { min-width: 0; }

/* ── chapter blocks ──────────────────────────────────────────────────── */
.chapter {
  padding-top: 0;
  margin-bottom: 96px;
  scroll-margin-top: calc(var(--header-h-compact) + 24px);
}
.chapter:first-child { padding-top: 0; }
.chapter__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  margin-bottom: 56px;
}
.chapter__head .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
  font-feature-settings: "tnum";
}
.chapter__head .num .cur { color: var(--ink); }
.chapter__head .title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.chapter__head .desc {
  grid-column: 2 / -1;
  margin-top: 12px;
  color: var(--fg-soft);
  font-size: 14px;
  max-width: 560px;
  line-height: 1.7;
}

/* ── chapter image stacks ────────────────────────────────────────────── */
.image-stack { display: flex; flex-direction: column; gap: 40px; }
.image-stack--tight { gap: 1px; background: var(--hairline); }
.image-stack--tight > .image-slab { margin: 0; }

.image-slab {
  background: var(--surface-alt);
  position: relative;
}
.image-slab__img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--surface-alt);
}
.image-slab__meta {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: color-mix(in oklab, var(--ink) 65%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 2px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.image-slab:hover .image-slab__meta { opacity: 1; }
.image-slab__meta.is-static { opacity: 0.9; }

/* image-slab 의 로드된 사진은 자연 비율, 미로딩 동안에는 모노 칩만 보여줌
   (실제 폴백은 main.js 가 .img-placeholder div 로 끼워 넣는다) */
.image-slab__img { width: 100%; height: auto; display: block; }
/* legacy image-section selectors kept for compatibility */
.image-section { display: flex; justify-content: center; }
.image-section__wrap { width: 100%; max-width: 1080px; position: relative; }
.image-section__img { width: 100%; height: auto; display: block; background: var(--surface-alt); }
/* ── detail-plate (이전 홈페이지 9컷 상세이미지를 JP 프리미엄 결로 액자화) ── */
.detail-plate {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  position: relative;
  padding: 40px;
  box-sizing: border-box;
}
.detail-plate__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}
.detail-plate__no {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.detail-plate__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}
.detail-plate__meta {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.detail-plate__img-wrap {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.detail-plate__img {
  width: 100%;
  height: auto;
  display: block;
}
.detail-plate__corner {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: color-mix(in oklab, var(--ink) 72%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 14px;
  pointer-events: none;
}
.detail-plate__corner .small { opacity: 0.65; font-size: 9px; }
.detail-plate__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.detail-plate__foot span:last-child { color: var(--ink); }
@media (max-width: 768px) {
  .detail-plate { padding: 24px 20px; }
  .detail-plate__head { grid-template-columns: 1fr; gap: 6px; padding-bottom: 16px; margin-bottom: 20px; }
  .detail-plate__title { font-size: 16px; }
  .detail-plate__corner { padding: 8px 10px; font-size: 8.5px; }
  .detail-plate__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}
@media (max-width: 768px) { .detail-stack { gap: 20px; } }

/* ── 이미지 실패 시 JS 가 끼워 넣는 모노 라벨 플레이스홀더 ───────────── */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  background:
    linear-gradient(135deg, transparent 49.6%, var(--border) 49.6%, var(--border) 50.4%, transparent 50.4%) center / 60px 60px,
    var(--surface-alt);
  border: 1px solid var(--hairline);
  box-sizing: border-box;
}
.img-placeholder--slab { aspect-ratio: 3 / 2; min-height: 280px; }
.img-placeholder--section { aspect-ratio: 16 / 9; }
.img-placeholder--detail { aspect-ratio: 1 / 2.6; min-height: 480px; }
/* split-hero 의 자체 폴백도 작동하지만, 한 줄짜리 캡션이 보이도록 보강 */
.split-hero__photo:not([data-loaded])::before {
  content: attr(data-fallback);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; color: var(--muted);
  text-transform: uppercase;
  z-index: 1;
}

/* ── pull-quote / key callout ───────────────────────────────────────── */
.pull-quote {
  background: var(--ink);
  color: var(--bg);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}
.pull-quote::before {
  content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px;
  background: var(--accent);
}
.pull-quote__mark {
  font-family: var(--font-serif);
  font-size: 96px; line-height: 0.6;
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
}
.pull-quote__body {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.018em;
  color: #fff;
}
.pull-quote__body .accent { color: var(--accent); font-style: italic; }
.pull-quote__attr {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: oklch(72% 0.008 95);
}

/* ── product line strip ─────────────────────────────────────────────── */
.product-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--hairline);
}
.product-card {
  padding: 36px 32px;
  border-left: 1px solid var(--hairline);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
}
.product-card:first-child { border-left: 0; }
.product-card__num {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
}
.product-card__chip {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid var(--border);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.product-card__base {
  font-size: 13px;
  color: var(--muted);
}
.product-card__base strong { color: var(--ink); font-weight: 600; }

/* fade-in for reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── inquiry CTA block (main page) ───────────────────────────────────── */
.inquiry-cta {
  margin: 96px auto 0;
  max-width: 1100px;
  padding: 96px 56px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inquiry-cta::before {
  content: "";
  position: absolute; left: 50%; top: 0; height: 3px; width: 56px;
  background: var(--accent); transform: translateX(-50%);
}
.inquiry-cta__phone {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 22px 0 14px;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.inquiry-cta__hours { color: var(--muted); font-size: 13px; margin-bottom: 40px; font-family: var(--font-mono); letter-spacing: 0.06em; }
.inquiry-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.inquiry-cta__biz {
  margin: 44px auto 0;
  max-width: 520px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 10px;
}
.inquiry-cta__biz-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: baseline;
  gap: 16px;
  text-align: left;
}
.inquiry-cta__biz-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.inquiry-cta__biz-row dd {
  font-size: 13px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
@media (max-width: 540px) {
  .inquiry-cta__biz-row { grid-template-columns: 100px 1fr; gap: 12px; }
}

/* ── forms ───────────────────────────────────────────────────────────── */
.form-shell {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 56px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 22px; }
.form-grid--2col { grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.field__label-required { color: var(--accent); font-size: 9px; }
.field__hint { font-size: 12px; color: var(--muted); line-height: 1.55; }
.field__error {
  font-size: 12px;
  color: var(--danger);
  display: none;
  align-items: center;
  gap: 6px;
}
.field.has-error .field__error { display: flex; }
.field.has-error .field__input,
.field.has-error .field__textarea,
.field.has-error .field__select { border-color: var(--danger); }

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}
.field__textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.field__input:hover,
.field__textarea:hover,
.field__select:hover { border-color: var(--ink); }
.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 16%, transparent);
}
.field__select { appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat; padding-right: 38px; }

.captcha-row { display: flex; gap: 12px; align-items: flex-end; }
.captcha-question {
  flex: 0 0 auto;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}
.captcha-refresh {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color 0.15s, background 0.15s, transform 0.4s;
}
.captcha-refresh:hover { color: var(--ink); background: var(--surface-alt); transform: rotate(180deg); }
.captcha-answer { flex: 1; }

.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.form-actions .btn-primary { padding: 14px 32px; font-size: 14px; }

.form-aside {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 780px;
  border: 1px solid var(--hairline);
}
.aside-card {
  background: var(--surface);
  padding: 28px;
  border-left: 1px solid var(--hairline);
}
.aside-card:first-child { border-left: 0; }
.aside-card__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.aside-card__value { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.018em; line-height: 1.35; font-variant-numeric: tabular-nums; }

/* ── toast/notice ────────────────────────────────────────────────────── */
.notice {
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  color: var(--accent-deep);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.notice--success { background: color-mix(in oklab, var(--success) 10%, var(--surface)); border-color: color-mix(in oklab, var(--success) 28%, transparent); color: oklch(35% 0.08 150); }
.notice--error   { background: color-mix(in oklab, var(--danger) 8%, var(--surface)); border-color: color-mix(in oklab, var(--danger) 28%, transparent); color: oklch(40% 0.14 28); }

/* ── modal ───────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--ink) 55%, transparent);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s;
}
.modal-backdrop.is-open { display: flex; opacity: 1; }
.modal {
  background: var(--surface);
  border-radius: var(--r-md);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.25s var(--ease);
}
.modal--lg { max-width: 720px; }
.modal-backdrop.is-open .modal { transform: none; }
.modal__head { padding: 28px 32px 0; }
.modal__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.018em; margin: 0 0 6px; }
.modal__desc { color: var(--muted); font-size: 13px; margin: 0; }
.modal__body { padding: 24px 32px; }
.modal__foot { padding: 0 32px 28px; display: flex; gap: 10px; justify-content: flex-end; }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .chapter-layout { grid-template-columns: 1fr; gap: 0; padding: 56px 24px 0; }
  .chapter-rail { display: none; }
  .split-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .split-hero__copy { padding: 32px 28px 56px; }
  .split-hero__photo { min-height: 320px; aspect-ratio: 4/3; }
  .split-hero__cert-strip { flex-wrap: wrap; }
  .split-hero__cert-strip .cell { flex: 1 1 50%; }
  .split-hero__cert-strip .cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--hairline); }
  .split-hero__cert-strip .cell:nth-child(4) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 768px) {
  .site-header { height: var(--header-h-mobile); }
  .site-header__inner { padding: 0 20px; }
  .site-header__logo-img { height: 34px; }
  .site-nav {
    position: fixed; top: var(--header-h-mobile); left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h-mobile));
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav__link, .btn-ghost, .btn-primary { width: 100%; text-align: left; }
  .site-nav__divider { display: none; }
  .menu-toggle { display: flex; }
  .split-hero { padding-top: calc(var(--header-h-mobile) + 24px); }
  .split-hero__copy { padding: 24px 20px 48px; }
  .page-hero { padding: calc(var(--header-h-mobile) + 56px) 0 56px; }
  .section { padding: 72px 0; }
  .form-shell { padding: 32px 24px; }
  .form-grid--2col { grid-template-columns: 1fr; }
  .form-aside { grid-template-columns: 1fr; border: 0; }
  .aside-card { border-left: 0; border-top: 1px solid var(--hairline); padding: 24px 0; background: transparent; }
  .aside-card:first-child { border-top: 0; }
  .site-footer { padding: 72px 0 32px; margin-top: 96px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .site-footer__meta { grid-template-columns: 1fr; }
  .site-footer__copy { text-align: left; }
  .inquiry-cta { margin: 64px 20px 0; padding: 56px 24px; }
  .chapter { margin-bottom: 64px; }
  .chapter__head { gap: 18px; margin-bottom: 36px; }
  .chapter__head .title { font-size: 26px; }
  .pull-quote { padding: 40px 24px; grid-template-columns: 1fr; gap: 16px; }
  .pull-quote__mark { font-size: 64px; }
  .product-line { grid-template-columns: 1fr; }
  .product-card { border-left: 0; border-top: 1px solid var(--hairline); }
  .product-card:first-child { border-top: 0; }
}

/* ── print niceties ──────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .menu-toggle, .form-actions, .chapter-rail { display: none !important; }
}
