/* ============================================================
   디베키친 Duvet Kitchen — 메인 페이지 스타일
   레이아웃 개념: 크림 바탕 위에 포근하게 둥근 오트밀 면,
   코코아 글자, 캐러멜 포인트 하나. 섹션 사이는 넉넉한 여백.
   ============================================================ */

:root {
  /* 색 — 슬로건 "Cozy Cooking, Every Day"에서 가져온 3색 + 포인트 1색 */
  --cream:   #F7F2EA; /* 디베 크림  : 깃털의 가벼움 (Featherlight) — 바탕 */
  --oat:     #E9DDCB; /* 오트밀     : 매일의 식탁 (Every Day) — 보조 면, 카드 */
  --cocoa:   #3A2E27; /* 코코아     : 저녁 부엌의 온기 (Cozy) — 글자, 어두운 띠 */
  --caramel: #9B5F1A; /* 캐러멜     : 노릇하게 익은 색 (Cooking) — 포인트 */

  /* 파생값 (위 4색에서만 만듦) */
  --caramel-deep: #7F4D13;
  --ink: var(--cocoa);
  --ink-2: #64594F;                    /* 보조 글자: 코코아 78% + 크림. 크림 위 6.0:1, 오트밀 위 5.1:1 */
  --line: rgba(58, 46, 39, .14);
  --line-strong: rgba(58, 46, 39, .32);
  --surface: #FCF9F4;                  /* 카드: 크림보다 한 톤 밝게 */
  --error: #A63D2F;                    /* 폼 오류 전용 */

  /* 글꼴 */
  --font-display: 'Fraunces', 'Gowun Dodum', Georgia, serif;         /* 영문 제목 (SOFT 100) */
  --font-ko: 'Gowun Dodum', 'Noto Sans KR', sans-serif;               /* 한글 제목 */
  --font-body: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  /* 치수 */
  --header-h: 68px;
  --container: 1160px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --section: clamp(64px, 9vw, 120px);
  --r-xl: 36px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .6s;

  color-scheme: light;
}
@media (min-width: 768px) {
  :root {
    --gutter-l: max(32px, env(safe-area-inset-left, 0px));
    --gutter-r: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: var(--gutter-l); top: -100px; z-index: 100;
  background: var(--cocoa); color: var(--cream); padding: 10px 16px;
  border-radius: var(--r-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter-l) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- 타이포 ---------- */
.eyebrow {
  font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-ko); font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.25; text-wrap: balance;
}
.display { line-height: 1.1; text-wrap: balance; }
.display .en {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.01em;
  font-variation-settings: 'SOFT' 100, 'WONK' 0; font-optical-sizing: auto;
}
.display .ko {
  display: block; font-family: var(--font-ko);
  font-size: clamp(1.125rem, 1.9vw, 1.375rem); color: var(--ink-2); margin-top: 12px;
}
.display--light .ko { color: rgba(247, 242, 234, .72); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--caramel); color: #fff; }
.btn--primary:hover { background: var(--caramel-deep); }
.btn--primary:disabled { opacity: .6; cursor: default; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--oat); border-color: transparent; }
.btn--cream { background: var(--cream); color: var(--cocoa); }
.btn--cream:hover { background: var(--oat); }
.btn--soon {
  min-height: 40px; padding: 0 16px; font-size: .875rem;
  border-color: var(--line-strong); color: var(--ink-2);
}
.btn--soon:hover { background: var(--oat); color: var(--ink); }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--header-h);
  background: rgba(247, 242, 234, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo {
  font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; text-decoration: none;
  margin-right: auto; line-height: 1;
}
.gnb { display: none; }
.gnb__list { display: flex; gap: 32px; }
.gnb__list a { position: relative; text-decoration: none; font-weight: 500; padding: 10px 0; }
.gnb__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--caramel); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.gnb__list a:hover::after, .gnb__list a:focus-visible::after { transform: scaleX(1); }
.site-header .btn--soon { display: none; }
.menu-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; margin-right: -10px;
}
.menu-toggle__bars { display: block; width: 22px; }
.menu-toggle__bars i {
  display: block; height: 2px; background: var(--cocoa); border-radius: 2px; margin: 5px 0;
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) {
  .gnb { display: block; }
  .site-header .btn--soon { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* 전체 메뉴 (모바일) */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--cream);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); overflow-y: auto;
}
.menu__inner {
  padding-top: 24px; padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  min-height: 100%; display: flex; flex-direction: column;
}
.menu__list > li { border-bottom: 1px solid var(--line); }
.menu__list > li > a {
  display: flex; align-items: baseline; gap: 12px; padding: 18px 0;
  font-family: var(--font-ko); font-size: 1.75rem; text-decoration: none;
}
.menu__list > li > a span {
  font-family: var(--font-display); font-variation-settings: 'SOFT' 100;
  font-size: .9rem; color: var(--ink-2); letter-spacing: .04em;
}
.menu__sub { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0 0 18px; }
.menu__sub a { font-size: .95rem; color: var(--ink-2); text-decoration: none; padding: 8px 0; display: inline-block; }
.menu__foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.menu__foot p {
  font-family: var(--font-display); font-variation-settings: 'SOFT' 100;
  font-size: 1.25rem; color: var(--ink-2);
}
body.menu-open { overflow: hidden; }

/* ---------- 미디어 클립 (생성 전에는 라벨이 보이는 오트밀 면) ---------- */
.clip { position: relative; background: var(--oat); overflow: hidden; }
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__label {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-size: .8125rem; line-height: 1.5; color: var(--ink-2);
}
.clip__label b {
  display: block; font-family: var(--font-display); font-variation-settings: 'SOFT' 100;
  font-weight: 500; font-size: 1.0625rem; color: var(--ink); margin-bottom: 2px;
}
.clip.has-media .clip__label { display: none; }

/* ---------- 히어로: 슬로건 3챕터 ---------- */
/* 챕터 하나를 넘기는 데 필요한 스크롤 길이. 화면 절반이면 휴대폰에서 한 번 밀면 다음 챕터로 넘어감 */
.hero { --chapter-scroll: 50vh; }
@supports (height: 1svh) { .hero { --chapter-scroll: 50svh; } }
.hero__track {
  position: relative;
  height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px) + 3 * var(--chapter-scroll));
  height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px) + 3 * var(--chapter-scroll));
}
/* 스크롤이 챕터 경계 근처에서 멈추면 경계에 딱 맞춰 줌 (멀리 지나가면 간섭하지 않음) */
html { scroll-snap-type: y proximity; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.hero__snap { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; }
.hero__snap[data-k="0"] { top: 0; }
.hero__snap[data-k="1"] { top: calc(1 * var(--chapter-scroll) + 2px); }
.hero__snap[data-k="2"] { top: calc(2 * var(--chapter-scroll) + 2px); }
.hero__snap[data-k="3"] { top: calc(3 * var(--chapter-scroll) + 2px); }
.hero__stage {
  position: sticky;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
  height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto; /* 휴대폰: 글은 필요한 만큼만, 남는 높이는 영상이 채움 */
  overflow: hidden;
}
.hero__media {
  position: relative; background: var(--oat); overflow: hidden;
  margin: 12px var(--gutter-r) 0 var(--gutter-l); border-radius: var(--r-lg);
}
.hero__media .clip {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.hero__media .clip.is-active { opacity: 1; }
.hero__media .clip.is-active .clip__video { animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__play {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--r-pill); background: rgba(247, 242, 234, .92); color: var(--cocoa);
  font-weight: 500; font-size: .9rem; cursor: pointer; box-shadow: 0 6px 20px rgba(58, 46, 39, .18);
}
.hero__play:hover { background: var(--cream); }

.hero__copy {
  display: flex; flex-direction: column; justify-content: center; min-height: 0;
  padding: 14px var(--gutter-r) 14px var(--gutter-l);
}
.hero__copy .eyebrow { margin-bottom: 10px; }
.hero__title {
  display: flex; flex-wrap: wrap; column-gap: .25em; row-gap: 0;
  font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 500; font-size: clamp(2.125rem, 7.2vw, 6rem); line-height: 1.02; letter-spacing: -.015em;
  margin: 0 0 14px;
}
.hero__title .w {
  display: inline-block; opacity: .16; transform: translateY(.12em);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur);
}
/* 현재 챕터 단어: 캐러멜 / 지나온 단어: 코코아 / 아직 안 온 단어: 흐리게 */
.hero[data-chapter="1"] .w[data-chapter="1"],
.hero[data-chapter="2"] .w[data-chapter="2"],
.hero[data-chapter="3"] .w[data-chapter="3"] { color: var(--caramel); opacity: 1; transform: none; }
.hero[data-chapter="2"] .w[data-chapter="1"],
.hero[data-chapter="3"] .w[data-chapter="1"],
.hero[data-chapter="3"] .w[data-chapter="2"] { opacity: 1; transform: none; }

/* 세 문장을 같은 칸에 겹쳐 두고 하나만 보이게 함. 칸 높이는 가장 긴 문장에 맞춰져 아래 버튼과 겹치지 않음 */
.hero__lines { display: grid; margin-bottom: 18px; max-width: 34ch; }
.hero__line {
  grid-area: 1 / 1;
  font-family: var(--font-ko); font-size: clamp(.9375rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.hero[data-chapter="1"] .hero__line[data-chapter="1"],
.hero[data-chapter="2"] .hero__line[data-chapter="2"],
.hero[data-chapter="3"] .hero__line[data-chapter="3"] {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--dur) var(--ease) .1s, transform var(--dur) var(--ease) .1s, visibility 0s linear 0s;
}

.chapters { display: flex; gap: 10px; margin-top: 18px; }
.chapters button {
  position: relative;
  background: transparent; border: 0; padding: 8px 0 4px; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; min-width: 72px; min-height: 44px;
  text-align: left; font-family: var(--font-display); font-variation-settings: 'SOFT' 100;
  font-size: .9rem; color: var(--ink-2); line-height: 1;
}
/* 막대: ::before는 바탕, ::after는 스크롤에 따라 차오르는 채움 (--p는 JS가 0~1로 갱신) */
.chapters button::before {
  content: ''; display: block; height: 3px; border-radius: 3px; background: var(--line);
}
.chapters button::after {
  content: ''; position: absolute; left: 0; top: 8px; width: 100%; height: 3px; border-radius: 3px;
  background: var(--caramel); transform-origin: left; transform: scaleX(var(--fill, 0));
  transition: transform .12s linear;
}
.chapters li:nth-child(1) button { --fill: clamp(0, calc(var(--p, 0) * 3), 1); }
.chapters li:nth-child(2) button { --fill: clamp(0, calc(var(--p, 0) * 3 - 1), 1); }
.chapters li:nth-child(3) button { --fill: clamp(0, calc(var(--p, 0) * 3 - 2), 1); }
.chapters li.is-done button::after { background: var(--cocoa); }
.chapters button span { display: block; font-family: var(--font-body); font-size: .65rem; letter-spacing: .12em; margin-bottom: -4px; }
.chapters li.is-active button { color: var(--ink); }

@media (min-width: 900px) {
  .hero__stage { grid-template-rows: none; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); }
  .hero__media { order: 2; margin: 16px 16px 16px 0; border-radius: var(--r-xl); }
  .hero__copy { padding-right: 56px; padding-top: 20px; padding-bottom: 20px; }
  .hero__copy .eyebrow { margin-bottom: 14px; }
  .hero__title { margin-bottom: 24px; }
  .chapters { margin-top: 28px; }
}
/* 휴대폰: 글이 위에서부터 차례로 놓이고(영상과 겹치지 않음), 버튼은 한 줄, 챕터 막대는 영상 위에 얹음 */
@media (max-width: 899px) {
  .hero__copy { justify-content: flex-start; }
  .hero .btn-row { flex-wrap: nowrap; gap: 10px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: .9375rem; min-height: 46px; white-space: nowrap; }
  .hero__media::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
    background: linear-gradient(to top, rgba(58, 46, 39, .6), rgba(58, 46, 39, 0));
  }
  .hero__play { bottom: auto; top: 12px; }
  .hero__copy { padding-top: 18px; padding-bottom: 22px; }
  /* 스크립트가 휴대폰에서는 챕터 막대를 영상 상자 안으로 옮김 */
  .hero__media .chapters {
    position: absolute; z-index: 2; margin: 0; gap: 8px;
    left: 14px; right: 14px; bottom: 16px;
  }
  .chapters li { flex: 1 1 0; min-width: 0; }
  .chapters button { width: 100%; min-width: 0; min-height: 44px; padding: 6px 0 2px; font-size: .8rem; color: rgba(247, 242, 234, .8); }
  .chapters button span { color: rgba(247, 242, 234, .7); }
  .chapters button::before { background: rgba(247, 242, 234, .35); }
  .chapters button::after { top: 6px; background: var(--cream); }
  .chapters li.is-done button::after { background: rgba(247, 242, 234, .85); }
  .chapters li.is-active button { color: var(--cream); }
}
/* 낮은 화면(가로 모드 휴대폰): 제목만 조금 줄임 */
@media (max-height: 600px) and (max-width: 899px) {
  .hero__title { font-size: 2rem; }
}

/* ---------- 포근함을 만드는 세 가지 ---------- */
.values { padding-block: var(--section); }
.values__list { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 720px) { .values__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { background: var(--surface); border-radius: var(--r-lg); padding: 28px 26px 30px; min-width: 0; }
.value__icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--oat); color: var(--caramel); margin-bottom: 20px;
}
.value__icon svg { width: 28px; height: 28px; }
.value__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.value__name .en {
  font-family: var(--font-display); font-variation-settings: 'SOFT' 100;
  font-weight: 500; font-size: 1.5rem; line-height: 1.2;
}
.value__name .ko { font-family: var(--font-ko); color: var(--ink-2); }
.value p { color: var(--ink-2); }

/* ---------- 제품 카테고리 ---------- */
.products { padding-block: 0 var(--section); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px; margin-bottom: 32px;
}
.section-note { font-size: .8125rem; color: var(--ink-2); max-width: 36ch; line-height: 1.6; }
.products__grid { display: grid; gap: 24px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; } }
.product { min-width: 0; }
.clip--card { aspect-ratio: 3 / 4; border-radius: var(--r-lg); max-width: 100%; }
.product .clip__label { left: 14px; right: 14px; bottom: 12px; font-size: .75rem; }
.product__body { padding: 14px 2px 0; }
.product__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.product__name .en {
  font-family: var(--font-display); font-variation-settings: 'SOFT' 100;
  font-weight: 500; font-size: 1.375rem; line-height: 1.2;
}
.product__name .ko { font-family: var(--font-ko); color: var(--ink-2); }
.product p { color: var(--ink-2); font-size: .9375rem; margin-top: 4px; line-height: 1.6; }

/* ---------- 브랜드 스토리 ---------- */
.story {
  background: var(--oat); padding-block: var(--section);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.story__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.clip--story { aspect-ratio: 4 / 3; border-radius: var(--r-xl); background: var(--cream); max-width: 100%; }
.story__text { min-width: 0; }
.story__body { font-size: 1.0625rem; max-width: 46ch; margin-top: 22px; }
.story__more { margin-top: 20px; }
.story__more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; font-weight: 500; color: var(--ink);
}
.story__more summary::-webkit-details-marker { display: none; }
.story__more summary::after {
  content: ''; width: 9px; height: 9px; margin-top: -5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s;
}
.story__more[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.keywords {
  display: grid; gap: 22px; margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--line-strong);
}
.keywords__intro { grid-column: 1 / -1; font-family: var(--font-ko); font-size: 1.0625rem; }
@media (min-width: 600px) { .keywords { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.keywords h3 { font-family: var(--font-ko); font-weight: 400; font-size: 1rem; margin-bottom: 10px; color: var(--caramel-deep); }
.keywords dl { display: grid; gap: 12px; }
.keywords dt { font-weight: 500; font-size: .9375rem; line-height: 1.4; }
.keywords dd { font-size: .875rem; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }

/* ---------- 캠페인 띠 ---------- */
.campaign { background: var(--cocoa); color: var(--cream); padding-block: clamp(56px, 7vw, 96px); }
.campaign__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
}
.campaign .display { min-width: 0; }

/* ---------- 소식 ---------- */
.news { padding-block: var(--section); }
.news__list { display: grid; gap: 16px; }
@media (min-width: 720px) { .news__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 10px; min-height: 180px; min-width: 0;
}
.news-card__cat { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel); font-weight: 500; }
.news-card__title { font-family: var(--font-ko); font-weight: 400; font-size: 1.25rem; line-height: 1.4; flex: 1; }
.news-card__date { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- 문의 ---------- */
.contact {
  background: var(--oat); padding-block: var(--section);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
}
.contact__info { min-width: 0; }
.contact__lead { margin-top: 16px; color: var(--ink-2); max-width: 36ch; }
.contact__list { display: grid; gap: 16px; margin-top: 28px; }
.contact__list dt { font-size: .8125rem; color: var(--ink-2); letter-spacing: .04em; }
.contact__list dd { margin-top: 2px; font-size: 1.0625rem; font-weight: 500; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.footer__biz a { color: inherit; text-decoration: none; }
.footer__biz a:hover { text-decoration: underline; }

.form {
  background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 4vw, 36px);
  display: grid; gap: 18px; min-width: 0;
}
@media (min-width: 600px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full, .form__note, .form__actions { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 500; }
.field .opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--cream); color: var(--ink); font: inherit; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233A2E27' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(155, 95, 26, .18);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field__error { font-size: .8125rem; color: var(--error); line-height: 1.5; display: none; }
.field.is-invalid .field__error { display: block; }
.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; }
.check input {
  width: 22px; height: 22px; min-height: 0; padding: 0; margin: 3px 0 0;
  accent-color: var(--caramel); flex: none;
}
.check label { flex: 1; min-width: 0; font-weight: 400; font-size: .9375rem; line-height: 1.6; }
.check label a { color: var(--caramel); font-weight: 500; }
.check .field__error { width: 100%; }
.form__note { font-size: .8125rem; color: var(--ink-2); line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form__status { font-size: .9rem; line-height: 1.5; flex: 1; min-width: 0; }
.form__status.is-error { color: var(--error); }
.form__status.is-ok { color: var(--ink); font-weight: 500; }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--cocoa); color: rgba(247, 242, 234, .78);
  padding-block: 48px max(40px, env(safe-area-inset-bottom, 0px));
  font-size: .8125rem; line-height: 1.8;
}
.site-footer .logo { color: var(--cream); display: inline-block; margin: 0 0 20px; }
.footer__biz { display: flex; flex-wrap: wrap; }
.footer__biz li + li::before { content: '|'; margin: 0 .7em; opacity: .4; }
.footer__links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer__links a { color: var(--cream); text-decoration: none; padding: 8px 0; display: inline-block; }
.footer__links a:hover { text-decoration: underline; }
.footer__links strong { font-weight: 700; }
.footer__copy { margin-top: 12px; opacity: .7; }

/* ---------- 플로팅 문의 버튼 (네오플램 Shop Now 자리) ---------- */
.fab {
  position: fixed; z-index: 30;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--caramel); color: #fff; font-weight: 500; text-decoration: none;
  box-shadow: 0 10px 30px rgba(58, 46, 39, .22);
  transition: transform .3s var(--ease), opacity .3s, background-color .2s;
}
.fab:hover { background: var(--caramel-deep); }
.fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- 약관·개인정보처리방침 페이지 ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal__inner { max-width: calc(72ch + var(--gutter-l) + var(--gutter-r)); }
.legal h1 { font-family: var(--font-ko); font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.25; margin-bottom: 8px; }
.legal__meta { color: var(--ink-2); font-size: .9rem; margin-bottom: 28px; }
.legal__note { background: var(--oat); border-radius: var(--r-md); padding: 14px 18px; font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }
.legal h2 { font-family: var(--font-ko); font-weight: 400; font-size: 1.25rem; margin: 36px 0 10px; }
.legal p, .legal li { font-size: .9688rem; line-height: 1.8; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 1.25em; display: grid; gap: 4px; margin: 6px 0; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal a:not(.btn) { color: var(--caramel); }
.legal .table-wrap { overflow-x: auto; margin: 10px 0 6px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.legal th { font-weight: 500; background: var(--oat); }
.legal tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.legal .todo { background: rgba(155, 95, 26, .14); padding: 0 5px; border-radius: 4px; }
.legal__back { margin-top: 44px; }

/* ---------- 모션 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
