/* =========================================================
   FOGREST 브랜드 홈페이지 (시안 v1)
   색: 블랙 + 그린 (대표 선호), 브라운·레드 사용 안 함
   ========================================================= */
:root {
  --ink: #0f1311;
  --ink-2: #1a201c;
  --forest: #1f3b2d;
  --forest-2: #2b4c3a;
  --leaf: #5f7f45;
  --leaf-deep: #4d6a38;   /* 회색(fog) 바탕 위 작은 글자용: 5.4:1 */
  --sage: #a9b99a;
  --fog: #f1f3f0;
  --fog-2: #e4e8e3;
  --line: #d6dbd4;
  --white: #ffffff;
  --text: #1b201d;
  --muted: #5a645d;
  --muted-on-dark: #b9c4ba;

  --serif: "Maru Buri", "MaruBuri", "Nanum Myeongjo", serif; /* 네이버 마루 부리 600 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --wrap: 1200px;
  --radius: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }   /* 같은 페이지 안 앵커의 부드러운 이동은 main.js가 맡는다(첫 진입·키보드 초점은 바로 보이게) */
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.on-dark :focus-visible, .ticker :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: #cfe0bf; }   /* 짙은 바탕 위 3:1 이상 */
[tabindex="-1"]:focus { outline: none; }   /* 앵커 이동 때 초점만 옮긴 구간에는 테두리를 그리지 않음 */

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius); }

/* ---------- 글자 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--leaf);
  margin-bottom: 18px;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--sage); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.32; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 640px; }
.on-dark .lead { color: var(--muted-on-dark); }
p { margin: 0 0 1em; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-2); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--fog); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .btn-ghost, .btn-ghost.light { color: var(--white); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link::after { content: "→"; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- 머리글 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; }
/* 대표 원본 로고(11/10 .ai에서 추출) */
.logo-img { display: block; height: 24px; width: auto; }
.logo-img--light { display: none; }
.logo-footer img { display: block; width: 190px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 19px; letter-spacing: .26em; font-weight: 700; }
.logo-text span { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-top: 3px; }
.gnb { display: flex; align-items: center; gap: 30px; }
.gnb a { font-size: 15.5px; font-weight: 500; position: relative; padding: 6px 0; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
.gnb a:hover::after, .gnb a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit; padding: 10px; }
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* 메인 첫 화면 위에서는 투명 머리글 */
.is-home .site-header:not(.scrolled) { background: transparent; border-color: transparent; color: var(--white); backdrop-filter: none; }
.is-home .site-header:not(.scrolled) .logo { color: var(--white); }
.is-home .site-header:not(.scrolled) .logo-img--dark { display: none; }
.is-home .site-header:not(.scrolled) .logo-img--light { display: block; }
.is-home .site-header:not(.scrolled) .logo-text span { color: rgba(255,255,255,.75); }
.is-home .site-header:not(.scrolled) .btn-primary { background: var(--white); color: var(--ink); }
.is-home .site-header { position: fixed; left: 0; right: 0; }

/* 모바일 메뉴 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ink); color: var(--white);
  padding: 96px 28px 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s var(--ease);
  visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav a { font-family: var(--serif); font-size: 24px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav .btn { margin-top: 24px; font-family: var(--sans); font-size: 16px; border-bottom: 0; }
.mobile-nav-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; background: none; color: var(--white); font-size: 30px; cursor: pointer; }
body.menu-open { overflow: hidden; }

/* ---------- 메인 첫 화면 (A1: 제자리에 머물고, 다음 구간이 덮는 동안 흐려지고 어두워짐) ---------- */
.hero-stack { position: relative; }
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--ink);
  padding: calc(var(--header-h) + 40px) 0 clamp(56px, 9vh, 110px);
}
.hero-bg { position: absolute; inset: 0; }
.hero-photos { position: absolute; inset: 0; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-soft { opacity: 0; }                      /* 미리 흐린 사진: 스크롤에 맞춰 0 → 1 (실시간 blur 대신) */
.hero-shade { position: absolute; inset: 0; background: #000; opacity: 0; }   /* 어둡게: 0 → 0.45 */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,19,17,.30) 0%, rgba(15,19,17,.10) 35%, rgba(15,19,17,.62) 78%, rgba(15,19,17,.82) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { position: relative; max-width: 760px; }
.hero h1 { margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { color: rgba(255,255,255,.88); }
.hero .eyebrow { color: #cfe0bf; }
.hero-scroll { position: absolute; right: 24px; bottom: 32px; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.7); writing-mode: vertical-rl; }

/* 첫 화면 글 등장: 0.8s, 0.15s 간격, 32px 위로 (ref-notes A1). JS가 켜졌을 때만(JS가 없으면 처음부터 그대로 보임) */
.js .hero-content > *, .js .page-hero .wrap > * { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; }
.js .hero-content > :nth-child(1), .js .page-hero .wrap > :nth-child(1) { animation-delay: .15s; }
.js .hero-content > :nth-child(2), .js .page-hero .wrap > :nth-child(2) { animation-delay: .3s; }
.js .hero-content > :nth-child(3), .js .page-hero .wrap > :nth-child(3) { animation-delay: .45s; }
.js .hero-content > :nth-child(4), .js .page-hero .wrap > :nth-child(4) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }

/* 고정은 CSS sticky로(JS가 켜졌을 때만). 첫 화면이 화면보다 긴 낮은 창에서는 아래 끝이 화면 아래에 닿을 때 멈춘다(--hero-h는 motion.js가 넣음) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-stack > .hero { position: sticky; top: min(0px, calc(100vh - var(--hero-h, 0px))); top: min(0px, calc(100svh - var(--hero-h, 0px))); }
}
.hero-cover { position: relative; z-index: 2; background: var(--forest); box-shadow: 0 -28px 60px rgba(8, 12, 10, .3); }

/* ---------- 약속 띠 (E1: 확인된 사실이 옆으로 끊김 없이 흐름) ---------- */
.ticker { position: relative; display: flex; align-items: center; background: var(--forest); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
/* 기본(JS 없음·움직임 줄이기): 멈춘 채 한 줄 목록. 복제 목록은 숨김 */
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; padding: clamp(22px, 2.6vw, 32px) 20px; }
.ticker-track { display: flex; justify-content: center; }
.ticker-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 6px; list-style: none; margin: 0; padding: 0; }
.ticker-list[aria-hidden="true"] { display: none; }
.ticker-list li { display: flex; align-items: center; font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.3; white-space: nowrap; }
.ticker-list li::after { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--sage); margin: 0 clamp(26px, 3.6vw, 56px); }
.ticker-list li:last-child::after { display: none; }
/* JS가 켜지고 움직임을 허용할 때만 옆으로 끊김 없이 흐름 */
@media (prefers-reduced-motion: no-preference) {
  .js .ticker-viewport { padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .js .ticker-track { justify-content: flex-start; width: max-content; animation: tickerMove 48s linear infinite; }
  .js .ticker-list { flex: none; flex-wrap: nowrap; }
  .js .ticker-list[aria-hidden="true"] { display: flex; }
  .js .ticker-list li:last-child::after { display: block; }
}
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: clamp(12px, 2vw, 28px); padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: transparent; color: var(--white); cursor: pointer; }
.ticker-toggle:hover { background: rgba(255,255,255,.1); }
.ticker-toggle[hidden] { display: none; }
.ticker-toggle svg, .bands-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.ticker-toggle .i-play, .ticker-toggle[aria-pressed="true"] .i-pause { display: none; }
.ticker-toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------- 브랜드 이야기 (C2: 반은 짙은 그린 판, 반은 사진, 큰 제목은 경계에 걸침) ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 600px) minmax(0, 600px) minmax(24px, 1fr);
  min-height: clamp(560px, 92svh, 900px);
  background: var(--forest); color: var(--white);
}
.duo-media { grid-column: 3 / 5; grid-row: 1; position: relative; overflow: hidden; background: var(--ink-2); }
.duo-media img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 18% 50%; }
.duo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,25,19,.7) 0%, rgba(15,25,19,.25) 40%, rgba(15,25,19,0) 70%); }
.duo-panel { grid-column: 2 / 4; grid-row: 1; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-content: center; padding: clamp(80px, 9vw, 130px) 0; }
.duo-panel .eyebrow { grid-column: 1; justify-self: start; }
.duo-title { grid-column: 1 / 3; justify-self: start; width: max-content; max-width: 100%; font-size: clamp(2.1rem, 4.7vw, 4.5rem); line-height: 1.26; margin-bottom: clamp(28px, 3vw, 40px); text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.duo-body { grid-column: 1; padding-right: clamp(32px, 5vw, 72px); }
.duo-body .lead { color: var(--muted-on-dark); }
.duo-body .lead + .lead { margin-bottom: 28px; }

/* ---------- 만드는 과정 (A2: 왼쪽 사진 틀 고정, 오른쪽 단계 글이 지나감) ---------- */
/* 기본 배치(휴대폰, JS 없음, 움직임 줄이기): 단계마다 사진 + 글 */
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 64px); }
.pstep { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.pstep-media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fog-2); }
.pstep-media img { width: 100%; height: 100%; object-fit: cover; }
.pstep .num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--leaf-deep); }
.pstep h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin: 10px 0 14px; }
.pstep p { color: var(--muted); margin: 0; max-width: 30em; }
.process-frame { display: none; }
/* 넓은 화면 + 연출: motion.js가 .is-enhanced를 붙일 때만 */
.process.is-enhanced .process-grid {
  --frame-h: min(calc(100vh - var(--header-h) - 96px), 760px);
  --frame-h: min(calc(100svh - var(--header-h) - 96px), 760px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px);
}
.process.is-enhanced .process-frame {
  display: block; position: sticky;
  top: calc(var(--header-h) + (100vh - var(--header-h) - var(--frame-h)) / 2);
  top: calc(var(--header-h) + (100svh - var(--header-h) - var(--frame-h)) / 2);
  height: var(--frame-h); border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
}
.process.is-enhanced .process-steps { gap: 0; }
.process.is-enhanced .pstep { display: flex; align-items: center; min-height: var(--frame-h); }
.process.is-enhanced .pstep-media { display: none; }
.process.is-enhanced .pstep .pstep-text { opacity: .3; transition: opacity .6s var(--ease), transform .8s cubic-bezier(.16, 1, .3, 1); }
.process.is-enhanced .pstep.is-on .pstep-text { opacity: 1; }
.process-photos { position: absolute; left: 0; right: 0; top: 0; height: 114%; will-change: transform; }
.process-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.process-photos img.is-on { opacity: 1; transform: none; }
.process-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, rgba(10,14,12,0), rgba(10,14,12,.5)); }
.process-bars { position: absolute; left: 28px; bottom: 26px; z-index: 1; display: flex; gap: 8px; }
.process-bars span { width: 26px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.5); transition: width .5s var(--ease), background .5s var(--ease); }
.process-bars span.is-on { width: 48px; background: var(--white); }

/* ---------- 제품 (D2: 큰 연출 사진 3칸을 테두리 없이 붙임) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); width: min(100% - 48px, 1560px); margin-inline: auto; }
.trio-item { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; aspect-ratio: 4 / 5.2; padding: clamp(24px, 2.6vw, 40px); color: var(--white); background: var(--ink-2); }
.trio-item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trio-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,14,12,.68) 0%, rgba(10,14,12,.2) 36%, rgba(10,14,12,0) 55%, rgba(10,14,12,.55) 100%); }
.trio-item:hover img { transform: scale(1.04); }
.trio-item:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.trio-copy { display: flex; flex-direction: column; gap: 6px; max-width: 22em; }
.trio-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #cfe0bf; }
.trio-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.3vw, 2.15rem); line-height: 1.3; }
.trio-line { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); }
.trio-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 600; border-bottom: 1px solid currentColor; }
.trio-more::after { content: "→"; transition: transform .25s var(--ease); }
.trio-item:hover .trio-more::after { transform: translateX(4px); }

/* ---------- 레시피 (E2: 띠 4개 중 하나만 펼침, 3초 자동 넘김) ---------- */
.recipes-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.recipes-head h2 { margin-bottom: 18px; }
.recipes-head .lead { margin-bottom: 0; }
.bands { --open: 184px; --peek: 80px; list-style: none; margin: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #0f1d16; }
.band { --photo-w: clamp(84px, 30%, 184px); position: relative; height: var(--open); background: var(--band); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 -12px 28px rgba(0,0,0,.18); }
.band:nth-child(1) { --band: #16291f; }
.band:nth-child(2) { --band: #1f3b2d; }
.band:nth-child(3) { --band: #2a4a39; }
.band:nth-child(4) { --band: #375a45; }
.band-head { display: flex; align-items: baseline; gap: 14px; width: 100%; height: var(--peek); padding: calc((var(--peek) - 1.3em) / 2 - 4px) 20px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.band.is-open .band-head, .bands:not(.is-ready) .band-head { padding-right: calc(var(--photo-w) + 24px); }
.band-head:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.band-num { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #cfe0bf; }
.band-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-weight: 600; font-size: clamp(1.125rem, 5.4vw, 2.25rem); line-height: 1.3; }
@media (max-width: 420px) { .band-num { display: none; } }
.band-body { position: absolute; left: 20px; right: 16px; top: var(--peek); bottom: 18px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-right: calc(var(--photo-w) + 16px); }
.band-line { margin: 0 0 6px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }
.band-link { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; }
.band-link::after { content: "→"; }
.band-photo { position: absolute; right: 0; bottom: 0; width: var(--photo-w); height: calc(var(--open) - 34px); border-radius: 6px; object-fit: cover; }
.bands-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 16px; padding: 0 18px; border-radius: 999px; border: 1px solid #7d877f; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.bands-toggle[hidden] { display: none; }
.bands-toggle .i-play, .bands-toggle.is-paused .i-pause { display: none; }
.bands-toggle.is-paused .i-play { display: block; }
/* JS가 준비되면 띠를 겹쳐 쌓는다(.is-ready). 위치는 계산식, JS는 몇 번째가 펼쳐졌는지만 바꾼다 */
.bands.is-ready { position: relative; height: calc(var(--open) + 3 * var(--peek)); }
.bands.is-ready .band { position: absolute; left: 0; right: 0; top: 0; z-index: calc(var(--i) + 1); transform: translateY(calc(var(--i) * var(--peek) + var(--after, 0) * (var(--open) - var(--peek)))); transition: transform .52s cubic-bezier(.22, 1, .36, 1); }
.bands.is-ready .band.is-below { --after: 1; }
.bands.is-ready .band-body { opacity: 0; transition: opacity .3s ease; }
.bands.is-ready .band.is-open .band-body { opacity: 1; transition-delay: .12s; }
@media (min-width: 768px) {
  .bands { --open: 220px; --peek: 116px; }
  .band-head { padding-left: 28px; }
  .band-body { left: 28px; right: 20px; bottom: 20px; }
}

/* ---------- 카페 납품 (C1: 이 구간만 고정되고 한 장면씩 밀려 올라감) ---------- */
.cafe { background: var(--ink); color: var(--white); }
.cafe-intro { padding: clamp(80px, 11vw, 140px) 0 clamp(56px, 7vw, 90px); }
.cafe-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: end; }
.cafe-intro h2 { margin-bottom: 22px; }
.cafe-intro .lead { margin-bottom: 0; }
.cafe-intro .benefits { margin: 0; }
.cafe-stage { position: relative; }
.scene { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(440px, 80vh, 820px); min-height: clamp(440px, 80svh, 820px); color: var(--white); }
.scene-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink-2); }
.scene-bg img { width: 100%; height: 100%; object-fit: cover; }
.scene-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,12,.8) 0%, rgba(10,14,12,.45) 50%, rgba(10,14,12,.15) 100%), linear-gradient(0deg, rgba(10,14,12,.55) 0%, rgba(10,14,12,0) 45%); }
.scene-copy { padding-block: clamp(56px, 9vh, 110px); }
.scene-label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--sage); }
.scene-num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(4.5rem, 10vw, 9rem); line-height: 1; color: rgba(255,255,255,.16); margin: 10px 0 -0.32em; }
.scene h3 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.25; margin-bottom: 12px; }
.scene p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); margin: 0; }
.scene .btn-row { margin-top: 30px; }
/* 사진 속 잔이 왼쪽에 있는 장면은 넓은 화면에서 글을 오른쪽에 */
@media (min-width: 768px) {
.scene--right .scene-copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.scene--right .scene-bg::after { background: linear-gradient(270deg, rgba(10,14,12,.82) 0%, rgba(10,14,12,.45) 50%, rgba(10,14,12,.12) 100%), linear-gradient(0deg, rgba(10,14,12,.55) 0%, rgba(10,14,12,0) 45%); }
}
/* 고정 장면: motion.js가 고정을 만들었을 때만(.is-pinned). 768px 미만·움직임 줄이기는 위 기본 배치 */
.cafe-stage.is-pinned { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); overflow: hidden; }
.cafe-stage.is-pinned .cafe-track { height: 100%; will-change: transform; }
.cafe-stage.is-pinned .scene { height: 100%; min-height: 0; }
.cafe-stage.is-pinned .scene-bg { top: -10%; bottom: -10%; }
.cafe-stage.is-pinned .scene--right .scene-copy { padding-right: 56px; }
.cafe-dots { position: absolute; right: clamp(10px, 2vw, 28px); top: 50%; z-index: 3; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; }
.cafe-dots button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.cafe-dots button::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--white); transition: width .1s ease-in-out, height .1s ease-in-out; }
.cafe-dots button[aria-current="step"]::after { width: 12px; height: 12px; }
.cafe-dots button:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; border-radius: 50%; }

/* 마무리 띠 패럴랙스: motion.js가 .is-parallax를 붙였을 때만 사진을 위아래로 여유 있게 */
.cta-band.is-parallax .bg img { position: absolute; left: 0; top: -12%; height: 124%; }

/* ---------- 구간 공통 ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.tight { padding: clamp(56px, 7vw, 90px) 0; }
.section.fog { background: var(--fog); }
.section.fog .eyebrow, .section.fog .num, .section.fog .flow-item .n { color: var(--leaf-deep); }   /* 회색 바탕 위 작은 초록 글자 대비 4.5:1 이상 */
.section.dark { background: var(--ink); color: var(--white); }
.section.forest { background: var(--forest); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: 18px; }

/* 이미지 + 글 나란히 */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--fog-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.03); }
.split-media.wide { aspect-ratio: 3 / 2; }
.split-body h2 { margin-bottom: 22px; }
.split-body .lead { margin-bottom: 26px; }
.quote { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.7; border-left: 2px solid var(--leaf); padding-left: 20px; margin: 30px 0; color: var(--ink); }
.on-dark .quote { color: var(--white); border-color: var(--sage); }

/* 제품 카드 */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.product-card .media { aspect-ratio: 16 / 10; overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .media img { transform: scale(1.03); }
.product-card .body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.product-card .label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--leaf); }
.product-card h3 { margin: 8px 0 12px; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.product-card p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; padding: 0; list-style: none; }
.tags li { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; background: var(--fog); color: var(--forest); font-weight: 500; }
.product-card .btn { margin-top: auto; align-self: flex-start; }
.note { font-size: 14.5px; color: var(--muted); margin-top: 22px; }

/* 카페 납품 구간 */
.benefits { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.benefits li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.benefits .ico { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--sage); display: grid; place-items: center; color: var(--sage); font-size: 14px; font-weight: 700; }
.benefits strong { display: block; font-size: 17.5px; margin-bottom: 2px; }
.benefits p { margin: 0; font-size: 15.5px; color: var(--muted-on-dark); line-height: 1.7; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.18); }
.flow-item { padding: 22px 18px 0 0; }
.flow-item .n { font-size: 13px; color: var(--sage); font-weight: 700; letter-spacing: .12em; }
.flow-item strong { display: block; font-size: 17px; margin-top: 4px; }
.flow-item span { font-size: 14.5px; color: var(--muted-on-dark); }
.section.fog .flow, .section:not(.dark):not(.forest) .flow { border-color: var(--line); }
.section:not(.dark):not(.forest) .flow-item .n { color: var(--leaf); }
.section:not(.dark):not(.forest) .flow-item span { color: var(--muted); }

/* 자주 묻는 질문 */
.faq-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--fog); margin-bottom: 30px; }
.faq-tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; color: var(--muted); cursor: pointer; min-height: 44px; }
.faq-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.faq-panel[hidden] { display: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 17.5px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--leaf); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .answer { padding: 0 0 26px; color: var(--muted); max-width: 760px; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }

/* 마무리 구간 */
.cta-band { position: relative; overflow: hidden; color: var(--white); text-align: center; padding: clamp(90px, 12vw, 150px) 0; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(15, 25, 19, .62); }
.cta-band .wrap { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto; color: rgba(255,255,255,.85); }
.cta-band .btn-row { justify-content: center; }

/* ---------- 하위 페이지 첫 화면 ---------- */
.page-hero { position: relative; color: var(--white); padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg .soft { opacity: 0; }            /* A1 가볍게: 스크롤하면 미리 흐린 사진이 0 → 1 */
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,19,17,.45), rgba(15,19,17,.72)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,.86); }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 14px; }

/* 본문 읽기 */
.prose { max-width: 760px; }
.prose h2 { margin: 2.2em 0 .7em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }

/* 세 칸 카드 */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.section.fog .info-card { border-color: transparent; }
.info-card .num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--leaf); }
.info-card h3 { margin: 10px 0 10px; }
.info-card p { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.7; }
.section.dark .info-card, .section.forest .info-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.dark .info-card p, .section.forest .info-card p { color: var(--muted-on-dark); }

/* 표 */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 32%; color: var(--muted); font-weight: 500; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--ink); }

/* 매장 유형 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 500; }

/* 레시피 상세 */
.recipe-list { display: grid; gap: clamp(28px, 4vw, 48px); }
.recipe-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.recipe-card:last-child { border-bottom: 0; }
.recipe-card .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.recipe-card .media img { width: 100%; height: 100%; object-fit: cover; }
.recipe-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.recipe-card .desc { color: var(--muted); }
.recipe-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.recipe-meta h4 { margin: 0 0 8px; font-size: 14px; letter-spacing: .1em; color: var(--leaf); }
.recipe-meta ul, .recipe-meta ol { margin: 0; padding-left: 1.1em; color: var(--text); font-size: 15.5px; }
.recipe-meta li { margin-bottom: 4px; }
.callout { background: var(--fog); border-radius: var(--radius); padding: 22px 26px; font-size: 15.5px; color: var(--muted); }
.callout strong { color: var(--ink); }

/* 신청 폼 */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.form-wrap > *, .form-grid > *, .field { min-width: 0; }
.field select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field .req { color: var(--leaf); margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  border: 1px solid #7d877f; border-radius: var(--radius); /* 흰 바탕 대비 3:1 이상 */
  padding: 13px 14px; min-height: 50px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31,59,45,.12); outline: none; }
.field .err { font-size: 13.5px; color: #b42318; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b42318; }
.field.invalid .err { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #7d877f; border-radius: 999px; padding: 10px 16px; font-weight: 500; cursor: pointer; min-height: 44px; }
.radio-row input { accent-color: var(--forest); }
.consent { grid-column: 1 / -1; background: var(--fog); border-radius: var(--radius); padding: 18px 20px; font-size: 14.5px; color: var(--muted); }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); cursor: pointer; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.consent ul { margin: 10px 0 0; padding-left: 1.2em; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 6px; }
.form-error { grid-column: 1 / -1; display: none; border: 1px solid #b42318; border-radius: var(--radius); padding: 14px 16px; color: #8a1c12; font-size: 15px; line-height: 1.6; }
.form-error.show { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list a { display: inline-block; padding: 4px 0; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--white); display: grid; place-items: center; margin: 0 auto 18px; font-size: 28px; }

/* 연락 정보 */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: 15px; }
.contact-list strong { font-weight: 600; }

/* ---------- 바닥글 ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 72px 0 40px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .logo { color: var(--white); }
.site-footer .logo-text span { color: var(--muted-on-dark); }
.footer-desc { margin-top: 18px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: .1em; margin: 6px 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a, .footer-links a { display: inline-block; padding: 6px 0; }
.footer-col ul { gap: 2px !important; }
.footer-col li { min-height: 30px; display: flex; align-items: center; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; line-height: 1.8; }
.biz-info span { display: inline-block; margin-right: 14px; }
.footer-links a { color: var(--white); font-weight: 600; }

/* 모바일 하단 고정 버튼 */
.mobile-bar { display: none; }

/* ---------- 등장 효과 (모든 페이지 같은 값: 0.8s, 32px 위로, 같이 들어온 것끼리 0.15s 간격) ---------- */
/* JS가 켜졌을 때(html.js)만 숨겨 둔다. JS가 없거나 실패하면 처음부터 보인다 */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* 앵커로 오거나 Tab으로 초점이 옮겨 갈 때 고정 머리글에 가리지 않게 */
html { scroll-padding-top: calc(var(--header-h) + 16px); }

/* 움직임 줄이기: 고정·흐림·흐르는 띠·스냅·등장 효과를 모두 끄고 일반 배치로 */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-photos { animation: none; transform: none; }
  .js .hero-content > *, .js .page-hero .wrap > * { animation: none; }
  html { scroll-behavior: auto; }
  .ticker-toggle { display: none; }
  .bands.is-ready .band, .bands.is-ready .band-body { transition: none; }
  .process-photos img, .split-media img, .trio-item img, .btn { transition: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .gnb { gap: 20px; }
  .gnb a { font-size: 14.5px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .gnb, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .split, .faq-layout, .form-wrap { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
  .cards-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .recipe-card { grid-template-columns: 1fr; }
  /* 브랜드 이야기: 사진 위, 판 아래. 큰 제목은 사진 아래쪽 경계에 걸침 */
  .duo { grid-template-columns: 20px 1fr 20px; min-height: 0; padding-bottom: clamp(64px, 12vw, 96px); }
  .duo-media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3.3; }
  .duo-media img { object-position: 30% 50%; }
  .duo-media::after { background: linear-gradient(180deg, rgba(31,59,45,0) 45%, rgba(31,59,45,.75) 82%, var(--forest) 100%); }
  .duo-panel { grid-column: 2; grid-row: 2; display: block; margin-top: -5.2rem; padding: 0; }
  .duo-title { width: auto; font-size: clamp(1.75rem, 6.4vw, 2.6rem); }
  .duo-body { padding-right: 0; }
  .process-grid .pstep { grid-template-columns: 1fr; gap: 20px; }
  .trio { grid-template-columns: 1fr; width: min(100% - 40px, 720px); }
  .trio-item { aspect-ratio: 4 / 3.4; }
  .recipes-grid, .cafe-intro-grid { grid-template-columns: 1fr; }
  .recipes-side { max-width: 640px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 40px, var(--wrap)); }
  .hero { align-items: flex-end; }
  .hero-scroll { display: none; }
  .hero { padding-bottom: calc(clamp(56px, 9vh, 110px) + 70px + env(safe-area-inset-bottom)); }   /* 하단 고정 버튼 줄에 첫 화면 버튼이 가리지 않게 */
  .trio-item { aspect-ratio: 4 / 4.2; }
  .btn-row .btn { flex: 1 1 100%; }
  .flow { grid-template-columns: 1fr; }
  .flow-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section:not(.dark):not(.forest) .flow-item { border-color: var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .recipe-meta { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .spec th { width: 38%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 10px; font-size: 15px; }
  body { padding-bottom: 70px; }
  html { scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom)); }   /* 하단 고정 버튼 줄에 초점·앵커가 가리지 않게 */
}

/* ---------- 11/13 대표 자료 반영 ---------- */
.name-mark { display: block; width: 132px; height: auto; margin: 0 auto 22px; }
.site-header .logo { min-height: 44px; } /* 로고 이미지가 낮아도 누르는 영역은 44px */
.contact-note { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.6; }
@media (max-width: 960px) {
  .logo-img { height: 20px; }
  .logo-footer img { width: 160px; }
  .name-mark { width: 104px; }
}
.form-preview-note { margin: 0 0 22px; padding: 14px 16px; border-radius: var(--radius); background: var(--fog); border-left: 3px solid var(--forest); font-size: 15px; line-height: 1.6; color: var(--text); }
.form-preview-note[hidden] { display: none; }
.form-preview-note a { font-weight: 600; text-decoration: underline; }
