@charset "utf-8";
/*
 * 프레쉬랩 서브페이지 공통 스타일 (story / store / bibida / muin / takoyaki 공용)
 * - 색·치수 토큰은 css/sm-brand.css 의 --fl-* 변수만 사용한다 (hex 직접 사용 금지).
 * - 히어로 + eyebrow/타이틀/리드 → 섹션(텍스트·이미지 그리드) → 포인트 리스트 → CTA 밴드 구조.
 * - 참고 구조: busanbcm-gnuboard/theme/busanbcm/page/css/bcm-sub.css (색은 가져오지 않음)
 */

#container > .sm-sub { padding-bottom: 0; background: var(--sm-white); }
.sm-sub { word-break: keep-all; }
/* gw.css 의 body { overflow-x: hidden } 은 body 를 스크롤 컨테이너로 만들어 position: sticky 가 동작하지 않는다.
   서브페이지에서는 가로 넘침만 잘라내는 clip 으로 바꿔 sticky 를 살린다 */
body:has(.sm-sub) { overflow-x: clip; overflow-y: visible; }
.sm-sub *, .sm-sub *::before, .sm-sub *::after { box-sizing: border-box; }
.sm-sub img { display: block; max-width: 100%; }

/* ---------- 히어로 ---------- */

.sm-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 480px;
    padding: 120px 0 64px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}
.sm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--sm-dark) 32%, transparent) 0%, color-mix(in srgb, var(--sm-dark) 82%, transparent) 100%);
}
.sm-hero .sm-container { position: relative; z-index: 1; }
.sm-hero .sm-eyebrow { color: var(--sm-mango-on-dark); } /* 어두운 사진 위 — 밝은 톤 */
.sm-hero .sm-title { color: #fff; }
.sm-hero .sm-lead { color: rgba(255, 255, 255, .86); max-width: 640px; }
.sm-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* 인용형 히어로(사진 없이 그라데이션) — 브랜드 스토리 헤드라인용 */
.sm-hero.is-quote {
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 110px 0;
    text-align: center;
    background-image: none;
    background: linear-gradient(135deg, var(--sm-primary-dark) 0%, var(--sm-primary) 55%, var(--sm-mango) 130%);
}
.sm-hero.is-quote::before { content: none; }
.sm-hero.is-quote .sm-container { max-width: 880px; }
.sm-hero.is-quote .sm-title { font-size: clamp(24px, 3.6vw, 42px); }
.sm-hero.is-quote .sm-lead { margin: 0 auto; }

/* ---------- 섹션 ---------- */

.sm-sec { padding: var(--sm-sec-pad) 0; }
.sm-sec.is-cream { background: var(--sm-cream); }
.sm-sec.is-ice { background: var(--sm-ice); }
.sm-sec.is-dark { background: var(--sm-dark); color: #fff; }
.sm-sec.is-dark .sm-title, .sm-sec.is-dark .sm-sec-head .sm-lead { color: #fff; }
.sm-sec.is-dark .sm-lead { color: rgba(255, 255, 255, .72); }
.sm-sec + .sm-sec { border-top: 0; }

/* ---------- 텍스트 + 이미지 2단 ---------- */

.sm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sm-split.is-reverse .sm-split-media { order: 2; }
.sm-split-media { border-radius: var(--sm-radius); overflow: hidden; box-shadow: var(--sm-shadow); aspect-ratio: 4 / 3; }
.sm-split-media img { width: 100%; height: 100%; object-fit: cover; }
.sm-split-media.is-tall { aspect-ratio: 3 / 4; }
.sm-split-media-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.sm-split-media-pair .sm-split-media { aspect-ratio: auto; height: 100%; }
.sm-split-body h3 { margin-bottom: 18px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.4; color: var(--sm-ink); }
.sm-split-body p { font-size: 16px; line-height: 1.85; color: var(--sm-ink-2); }
.sm-split-body p + p { margin-top: 14px; }
.sm-split-body .sm-btn { margin-top: 26px; }

/* ---------- 공통 그리드 ---------- */

.sm-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 해법·특징 번호 리스트 ---------- */

.sm-num-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sm-num-item { display: flex; gap: 18px; padding: 28px; background: #fff; border-radius: var(--sm-radius-sm); box-shadow: var(--sm-shadow); }
.sm-num-badge {
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--sm-primary-soft); color: var(--sm-primary-dark);
    font-family: var(--sm-font-en); font-weight: 800; font-size: 18px;
}
.sm-num-body h4 { margin-bottom: 6px; font-size: 17px; font-weight: 800; color: var(--sm-ink); }
.sm-num-body p { font-size: 14.5px; line-height: 1.7; color: var(--sm-ink-2); }

/* ---------- 추구 방향 3키워드 ---------- */

.sm-key-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sm-key-card { padding: 44px 26px; text-align: center; background: #fff; border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); }
.sm-key-mark {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--sm-primary); color: #fff;
    font-family: var(--sm-font-en); font-weight: 800; font-size: 22px;
}
.sm-key-card:nth-child(2) .sm-key-mark { background: var(--sm-mango); }
.sm-key-card:nth-child(3) .sm-key-mark { background: var(--sm-leaf); }
.sm-key-card h4 { margin-bottom: 10px; font-size: 19px; font-weight: 800; color: var(--sm-ink); }
.sm-key-card p { font-size: 14.5px; line-height: 1.75; color: var(--sm-ink-2); }

/* ---------- 사업 영역 5항목 ---------- */

.sm-area-list { display: grid; margin-top: 8px; border-top: 1px solid var(--sm-line); counter-reset: sm-area; }
.sm-area-row { display: flex; align-items: center; gap: 20px; padding: 22px 6px; border-bottom: 1px solid var(--sm-line); counter-increment: sm-area; }
.sm-area-row::before {
    content: counter(sm-area, decimal-leading-zero);
    flex: 0 0 auto; width: 40px;
    font-family: var(--sm-font-en); font-weight: 800; font-size: 15px; color: var(--sm-primary);
}
.sm-area-row span { font-size: 16px; font-weight: 600; color: var(--sm-ink); }

/* ---------- 브랜드 카드 3개 ---------- */

.sm-brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sm-brand-card {
    display: block; overflow: hidden; background: #fff; border-radius: var(--sm-radius);
    box-shadow: var(--sm-shadow); text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.sm-brand-card:hover { box-shadow: var(--sm-shadow-lg); transform: translateY(-6px); }
.sm-brand-card-media { overflow: hidden; aspect-ratio: 4 / 3; }
.sm-brand-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sm-brand-card:hover .sm-brand-card-media img { transform: scale(1.06); }
.sm-brand-card-body { padding: 24px 22px 26px; }
.sm-brand-card-body h4 { margin-bottom: 8px; font-size: 18px; font-weight: 800; color: var(--sm-ink); }
.sm-brand-card-body p { margin-bottom: 14px; font-size: 14px; line-height: 1.7; color: var(--sm-ink-2); min-height: 44px; }
.sm-brand-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--sm-primary); }
.sm-brand-card-link i { font-size: 12px; }

/* ---------- 메뉴 카테고리 카드 (bibida 4개) ---------- */

.sm-cat-card {
    display: block; position: relative; overflow: hidden; border-radius: var(--sm-radius);
    box-shadow: var(--sm-shadow); text-decoration: none; aspect-ratio: 3 / 4;
}
.sm-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sm-cat-card:hover img { transform: scale(1.08); }
.sm-cat-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15,20,17,.78) 100%);
}
.sm-cat-card-label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 18px;
    color: #fff; font-size: 17px; font-weight: 800; text-align: center;
}
.sm-cat-card-label small { display: block; margin-top: 4px; font-family: var(--sm-font-en); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.75); text-transform: uppercase; }

/* ---------- 이미지 갤러리 (시그니처 빙수 / 타코야끼 메뉴) ---------- */

.sm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sm-gallery.is-3col { grid-template-columns: repeat(3, 1fr); }
.sm-gallery-item { overflow: hidden; background: #fff; border-radius: var(--sm-radius-sm); box-shadow: var(--sm-shadow); }
.sm-gallery-media { aspect-ratio: 1 / 1; overflow: hidden; }
.sm-gallery-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sm-gallery-item:hover .sm-gallery-media img { transform: scale(1.07); }
.sm-gallery-cap { padding: 14px 12px; font-size: 14.5px; font-weight: 700; text-align: center; color: var(--sm-ink); }

/* ---------- 이용 방법 단계 ---------- */

.sm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: sm-step; }
.sm-step { position: relative; padding: 32px 20px; text-align: center; background: #fff; border-radius: var(--sm-radius-sm); box-shadow: var(--sm-shadow); counter-increment: sm-step; }
.sm-step::before {
    content: counter(sm-step);
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
    background: var(--sm-leaf); color: #fff; font-family: var(--sm-font-en); font-weight: 800; font-size: 17px;
}
.sm-step h4 { margin-bottom: 8px; font-size: 16px; font-weight: 800; color: var(--sm-ink); }
.sm-step p { font-size: 13.5px; line-height: 1.65; color: var(--sm-ink-2); }
.sm-step:not(:last-child)::after {
    content: ""; position: absolute; top: 54px; right: -14px; width: 20px; height: 2px; background: var(--sm-line);
}

/* ---------- 제철 과일 카드 ---------- */

.sm-season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sm-season-card { padding: 28px 24px; background: #fff; border-radius: var(--sm-radius-sm); box-shadow: var(--sm-shadow); }
.sm-season-label { display: block; margin-bottom: 12px; font-family: var(--sm-font-en); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sm-primary); }
.sm-season-card h4 { margin-bottom: 8px; font-size: 17px; font-weight: 800; color: var(--sm-ink); }
.sm-season-card p { font-size: 14px; line-height: 1.75; color: var(--sm-ink-2); }

/* ---------- 매장 두 공간 카드 (store.php) ---------- */

.sm-space-card { overflow: hidden; background: #fff; border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); }
.sm-space-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.sm-space-media img { width: 100%; height: 100%; object-fit: cover; }
.sm-space-tag { position: absolute; top: 18px; left: 18px; }
.sm-space-body { padding: 26px 24px 28px; }
.sm-space-body h4 { margin-bottom: 10px; font-size: 20px; font-weight: 800; color: var(--sm-ink); }
.sm-space-body p { margin-bottom: 18px; font-size: 14.5px; line-height: 1.8; color: var(--sm-ink-2); }

/* ---------- 간판 이미지 2장 (store.php) ---------- */

.sm-sign-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; height: 380px; }
.sm-sign-grid .sm-media { height: 100%; border-radius: var(--sm-radius-sm); overflow: hidden; }
.sm-sign-grid .sm-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 정보 표 ---------- */

.sm-info-table { width: 100%; border-top: 2px solid var(--sm-ink); border-collapse: collapse; }
.sm-info-table th, .sm-info-table td { padding: 18px 22px; border-bottom: 1px solid var(--sm-line); font-size: 15.5px; line-height: 1.65; text-align: left; vertical-align: top; }
.sm-info-table th { width: 190px; font-weight: 700; color: var(--sm-ink); background: var(--sm-cream); }
.sm-info-table td { color: var(--sm-ink-2); background: #fff; }
.sm-info-table td a { color: var(--sm-primary-dark); font-weight: 700; }

/* ---------- 지도 ---------- */

.sm-map-wrap { overflow: hidden; border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); }
.sm-map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.sm-map-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- 공동구매·안내 박스 ---------- */

.sm-note-box { padding: 28px 30px; background: var(--sm-leaf-soft); border-radius: var(--sm-radius-sm); }
.sm-note-box h4 { margin-bottom: 10px; font-size: 17px; font-weight: 800; color: var(--sm-leaf); }
.sm-note-box p { font-size: 14.5px; line-height: 1.8; color: var(--sm-ink-2); }
.sm-note-box .sm-order-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--sm-font-en); font-size: 20px; font-weight: 800; color: var(--sm-leaf); text-decoration: none; }

/* ---------- 하단 CTA 밴드 ---------- */

.sm-cta-band { padding: 70px 0; background: var(--sm-dark); color: #fff; }
.sm-cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sm-cta-band h3 { margin-bottom: 10px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.sm-cta-band p { font-size: 15.5px; color: rgba(255, 255, 255, .74); }
.sm-cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 반응형 ---------- */

@media screen and (max-width: 1280px) {
    .sm-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 1024px) {
    .sm-hero { min-height: 400px; padding: 96px 0 56px; }
    .sm-split { grid-template-columns: 1fr; gap: 32px; }
    .sm-split.is-reverse .sm-split-media { order: -1; }
    .sm-split-media-pair { height: 320px; }
    .sm-grid-3, .sm-grid-4, .sm-brand-grid, .sm-key-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-num-list { grid-template-columns: 1fr; }
    .sm-gallery, .sm-gallery.is-3col { grid-template-columns: repeat(3, 1fr); }
    .sm-steps, .sm-season-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-step:nth-child(2)::after { display: none; }
    .sm-cta-band-inner { text-align: center; justify-content: center; }
}

@media screen and (max-width: 768px) {
    .sm-hero { min-height: 360px; padding: 76px 0 48px; }
    .sm-hero-cta, .sm-cta-band-actions, .sm-map-actions { flex-direction: column; align-items: stretch; }
    .sm-hero-cta .sm-btn, .sm-cta-band-actions .sm-btn, .sm-map-actions .sm-btn { width: 100%; }
    .sm-grid-2, .sm-grid-3, .sm-grid-4, .sm-brand-grid, .sm-key-grid, .sm-season-grid { grid-template-columns: 1fr; }
    .sm-gallery, .sm-gallery.is-3col { grid-template-columns: repeat(2, 1fr); }
    .sm-steps { grid-template-columns: 1fr; }
    .sm-step::after { display: none; }
    .sm-sign-grid { grid-template-columns: 1fr; height: auto; }
    .sm-sign-grid .sm-media { height: 260px; }
    .sm-split-media-pair { grid-template-columns: 1fr; height: auto; }
    .sm-split-media-pair .sm-split-media { aspect-ratio: 4 / 3; }
    .sm-info-table th { width: 120px; padding: 14px 12px; font-size: 14px; }
    .sm-info-table td { padding: 14px 12px; font-size: 14px; }
    .sm-cta-band-inner { flex-direction: column; text-align: center; }
    .sm-note-box { padding: 24px 22px; }
}

@media screen and (max-width: 480px) {
    .sm-gallery, .sm-gallery.is-3col { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* 테마 #container 의 회색 배경·상단 여백 제거 (서브 탭바 바로 아래부터 페이지 섹션 시작) */
#container:has(> .sm-sub) { padding-top: 0; background: var(--sm-white); }

/* ---------------------------------------------------------------------
   심플 톤 보정 (크림 & 그린, 벤치마크 myeongbondang.co.kr 참고)
   서브 비주얼(사진)과 페이지 히어로(사진)가 연달아 나와 무거워지는 문제 →
   페이지 히어로는 사진 없이 크림 배경의 소개 밴드로 표시한다. (인용형 is-quote 는 그린 밴드 유지)
--------------------------------------------------------------------- */
.sm-hero:not(.is-quote) {
    background-image: none !important; background-color: var(--sm-cream);
    color: var(--sm-ink); min-height: 0; padding: 88px 0 80px; align-items: center; text-align: center;
}
.sm-hero:not(.is-quote)::before { content: none; }
.sm-hero:not(.is-quote) .sm-container { max-width: 880px; }
.sm-hero:not(.is-quote) .sm-eyebrow { color: var(--sm-primary); }
.sm-hero:not(.is-quote) .sm-title { color: var(--sm-ink); }
.sm-hero:not(.is-quote) .sm-lead { color: var(--sm-ink-2); margin: 16px auto 0; }
.sm-hero:not(.is-quote) .sm-hero-cta { justify-content: center; }
.sm-hero:not(.is-quote) .sm-btn--white { background: var(--sm-primary); color: #fff; }
.sm-hero:not(.is-quote) .sm-btn--white:link, .sm-hero:not(.is-quote) .sm-btn--white:visited { color: #fff; }
.sm-hero:not(.is-quote) .sm-btn--ghost-white { border-color: var(--sm-ink); }
.sm-hero:not(.is-quote) .sm-btn--ghost-white:link, .sm-hero:not(.is-quote) .sm-btn--ghost-white:visited { color: var(--sm-ink); }
.sm-hero:not(.is-quote) .sm-btn--ghost-white:hover { background: var(--sm-ink); color: #fff; }
@media (max-width: 576px) { .sm-hero:not(.is-quote) { padding: 60px 0 56px; } }

/* 브랜드 아이콘이 들어간 원형 마크 */
.sm-key-mark--ico .sm-ico { font-size: 32px; }
.sm-num-badge--ico .sm-ico { font-size: 26px; }
.sm-num-badge--ico { width: 56px; height: 56px; }
.sm-biz-body .sm-ico-badge, .sm-flow-card .sm-ico-badge { margin-bottom: 10px; }
.sm-step .sm-ico-badge { margin: 0 auto 10px; }
.sm-split-body > .sm-ico-badge { display: flex; }

/* ---------- 스크롤 등장 애니메이션 (page/js/sm-sub.js) — 메인 '추구하는 방향'과 같은 곡선·거리 ---------- */
.sm-reveal-on [data-sm-reveal] { transition: opacity .9s ease, transform .9s cubic-bezier(.22, .8, .24, 1); }
.sm-reveal-on [data-sm-reveal]:not(.is-in) { opacity: 0; transform: translateY(48px); }
.sm-reveal-on [data-sm-reveal="left"]:not(.is-in) { transform: translateX(-80px); }
.sm-reveal-on [data-sm-reveal="right"]:not(.is-in) { transform: translateX(80px); }
/* 목록 안에서는 차례로 */
.sm-reveal-on li[data-sm-reveal]:nth-child(2) { transition-delay: .12s; }
.sm-reveal-on li[data-sm-reveal]:nth-child(3) { transition-delay: .24s; }

/* PC 에서만 줄바꿈 */
.sm-br-pc { display: inline; }
@media (max-width: 768px) { .sm-br-pc { display: none; } }


/* ===================== 슬로밀 서브 보정 ===================== */
@charset "utf-8";
/* 슬로밀 서브페이지 보정 — sm-sub.css 공통 컴포넌트 위에 브랜드 서체·전용 컴포넌트를 얹는다. 색은 --fl-* 토큰만 사용 */

.sm-sub .sm-title, .sm-sub .sm-split-body h3, .sm-cta-band h3 { font-family: var(--sm-font-serif); font-weight: 400; letter-spacing: -0.02em; }
.sm-sub .sm-eyebrow { font-family: var(--sm-font); font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--sm-dark); }
.sm-sub .sm-sec.is-cream { background: var(--sm-cream); }
.sm-sub .sm-sec.is-cocoa { background: var(--sm-cocoa); color: var(--sm-cream); --sm-focus: var(--sm-white); }
.sm-sub .sm-sec.is-cocoa .sm-title, .sm-sub .sm-sec.is-cocoa .sm-split-body h3 { color: var(--sm-cream); }
.sm-sub .sm-sec.is-cocoa .sm-lead, .sm-sub .sm-sec.is-cocoa .sm-split-body p { color: color-mix(in srgb, var(--sm-cream) 82%, transparent); }
.sm-sub .sm-sec.is-cocoa .sm-eyebrow { color: var(--sm-mango-on-dark); }
.sm-cta-band { background: var(--sm-dark); }
/* 서브페이지가 문의 띠로 끝나면 푸터 둥근 모서리 뒤를 같은 다크 색으로 채워 흰 틈이 보이지 않게 */
body:has(.sm-sub > .sm-cta-band:last-child) .gw-footer-container { background: var(--sm-dark); }
body:has(.sm-sub > .sm-cta-band:last-child) .sm-ft-inner { background: color-mix(in srgb, var(--sm-dark) 82%, #000); } /* 둥근 모서리가 문의 띠와 구분되게 한 톤 어둡게 */

/* 큰 영문 세리프 문구 */
.sm-display { font-family: var(--sm-font-display); font-size: clamp(48px, 6vw, 96px); font-weight: 600; line-height: .95; text-transform: uppercase; color: var(--sm-dark); }
.sm-display em { font-style: normal; color: var(--sm-primary); }

/* 소개 2단: 왼쪽 큰 제목 / 오른쪽 본문 */
.sm-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sm-intro-title { font-family: var(--sm-font-serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.35; color: var(--sm-ink); word-break: keep-all; }
.sm-intro-body p { font-size: 17px; line-height: 1.9; color: var(--sm-ink-2); }
.sm-intro-body p + p { margin-top: 18px; }
.sm-intro-body strong { color: var(--sm-dark); }

/* 미션·비전 카드 */
.sm-vision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sm-vision-card { padding: clamp(32px, 4vw, 52px); border-radius: 24px; background: var(--sm-white); box-shadow: var(--sm-shadow); }
.sm-vision-card.is-dark { background: var(--sm-dark); color: var(--sm-cream); }
.sm-vision-k { font-family: var(--sm-font-display); font-size: 32px; font-weight: 600; text-transform: uppercase; color: var(--sm-primary); }
.sm-vision-card.is-dark .sm-vision-k { color: var(--sm-mango-on-dark); }
.sm-vision-card p { margin-top: 16px; font-size: 17px; line-height: 1.85; word-break: keep-all; }
.sm-vision-card:not(.is-dark) p { color: var(--sm-ink-2); }

/* 이름 풀이: SLOW + MEAL / MILE */
.sm-name { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; text-align: center; }
.sm-name-part { display: flex; flex-direction: column; gap: 8px; }
.sm-name-part strong { font-family: var(--sm-font-display); font-size: clamp(44px, 5vw, 72px); font-weight: 600; line-height: 1; color: var(--sm-dark); text-transform: uppercase; }
.sm-name-part span { font-size: 15px; color: var(--sm-ink-2); }
.sm-name-op { font-family: var(--sm-font-display); font-size: 48px; color: var(--sm-primary); }

/* 카드형 리스트(사업영역·경쟁력 등) */
.sm-cards { display: grid; grid-template-columns: repeat(var(--sm-cols, 3), minmax(0, 1fr)); gap: 18px; }
.sm-tile { display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: 20px; background: var(--sm-white); box-shadow: var(--sm-shadow); }
.sm-tile-no { font-family: var(--sm-font-display); font-size: 34px; font-weight: 600; line-height: 1; color: var(--sm-dark); }
.sm-tile h4 { font-size: 18px; font-weight: 800; line-height: 1.45; color: var(--sm-ink); word-break: keep-all; }
.sm-tile p { font-size: 15px; line-height: 1.75; color: var(--sm-ink-2); word-break: keep-all; }
.sm-tile ul { display: grid; gap: 6px; }
.sm-tile li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.6; color: var(--sm-ink-2); }
.sm-tile li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--sm-primary); }

/* 단계 (상단 굵은 선) */
.sm-stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sm-stage { padding-top: 22px; border-top: 4px solid var(--sm-dark); }
.sm-stage span { font-family: var(--sm-font-display); font-size: 42px; font-weight: 600; line-height: 1; color: var(--sm-primary); }
.sm-stage h4 { margin-top: 14px; font-size: 17px; font-weight: 800; line-height: 1.45; color: var(--sm-ink); word-break: keep-all; }
.sm-stage p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--sm-ink-2); word-break: keep-all; }

/* 연혁 */
.sm-history { position: relative; max-width: 920px; margin: 0 auto; }
.sm-history::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 2px; background: var(--sm-line); }
.sm-history-row { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 40px; padding: 26px 0; }
.sm-history-row::before { content: ""; position: absolute; left: 134px; top: 36px; width: 14px; height: 14px; border-radius: 50%; background: var(--sm-white); border: 3px solid var(--sm-primary); box-sizing: border-box; }
.sm-history-year { font-family: var(--sm-font-display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--sm-dark); }
.sm-history-list { display: grid; gap: 10px; padding-left: 12px; }
.sm-history-list li { font-size: 17px; line-height: 1.6; color: var(--sm-ink); word-break: keep-all; }
.sm-history-list li small { display: block; font-size: 14px; color: var(--sm-ink-3); }

/* 수치 */
.sm-facts { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 32px; }
.sm-facts li { display: flex; flex-direction: column; gap: 6px; }
.sm-facts strong { font-family: var(--sm-font-display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--sm-primary); }
.sm-facts small { font-family: var(--sm-font); font-size: .42em; font-weight: 700; margin-left: 2px; }
.sm-facts span { font-size: 14px; color: var(--sm-ink-2); }
.sm-sec.is-cocoa .sm-facts strong { color: var(--sm-mango-on-dark); }
.sm-sec.is-cocoa .sm-facts span { color: color-mix(in srgb, var(--sm-cream) 75%, transparent); }

/* 제품 카드(패키지 사진) */
.sm-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sm-product { overflow: hidden; border-radius: 20px; background: var(--sm-white); box-shadow: var(--sm-shadow); }
.sm-product figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sm-ice); }
.sm-product img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sm-product:hover img { transform: scale(1.06); }
.sm-product-body { padding: 18px 20px 22px; }
.sm-product-body h4 { font-size: 17px; font-weight: 800; color: var(--sm-ink); }
.sm-product-body p { margin-top: 4px; font-size: 14px; color: var(--sm-ink-2); }
.sm-product-body .sm-chip { margin-bottom: 8px; }

/* 이름 목록(수제 찹쌀떡 9종 등) */
.sm-taglist { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-taglist li { padding: 10px 18px; border-radius: 999px; background: var(--sm-white); border: 1.5px solid var(--sm-line); font-size: 15px; font-weight: 600; color: var(--sm-ink); }

/* 사진 그리드 */
.sm-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(200px, 20vw, 300px); gap: 14px; }
.sm-photos figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--sm-ice); }
.sm-photos figure.is-tall { grid-row: span 2; }
.sm-photos figure.is-wide { grid-column: span 2; }
.sm-photos img { width: 100%; height: 100%; object-fit: cover; }

/* 브랜드 로고 박스 */
.sm-logo-box { display: flex; align-items: center; justify-content: center; padding: 40px; border-radius: 24px; background: var(--sm-white); }
.sm-logo-box img { max-width: 280px; width: 100%; height: auto; }

/* 외부 링크 카드 */
.sm-link-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 20px; background: var(--sm-dark); color: #fff; text-decoration: none; transition: transform .2s; }
.sm-link-card:hover { transform: translateY(-3px); }
.sm-link-card strong { font-family: var(--sm-font-serif); font-size: 22px; font-weight: 400; }
.sm-link-card span { display: block; margin-top: 4px; font-size: 14.5px; color: color-mix(in srgb, #fff 78%, transparent); }
.sm-link-card i { font-size: 28px; }
.sm-link-card:link, .sm-link-card:visited { color: #fff; }

/* 씨글 일러스트 면(사진 자료 전) */
.sm-sea-art {
    display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: var(--sm-radius);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='30' viewBox='0 0 160 30'%3E%3Cpath d='M0 15 Q20 0 40 15 T80 15 T120 15 T160 15' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E") repeat,
        radial-gradient(60% 50% at 50% 30%, color-mix(in srgb, var(--sm-mango-on-dark) 45%, transparent), transparent 70%),
        linear-gradient(180deg, #2f6f8f 0%, #1d4660 100%);
}
.sm-sea-art span { font-family: var(--sm-font-display); font-size: clamp(48px, 6vw, 84px); font-style: italic; font-weight: 600; color: #fff; }

/* 메뉴 표 */
.sm-menu-list { display: grid; gap: 0; border-top: 2px solid var(--sm-dark); }
.sm-menu-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--sm-line); font-size: 17px; color: var(--sm-ink); }
.sm-menu-list li span:last-child { font-weight: 700; color: var(--sm-dark); white-space: nowrap; }

/* 안내 문구 */
.sm-note { margin-top: 18px; font-size: 13.5px; line-height: 1.7; color: var(--sm-ink-3); }

@media (max-width: 1024px) {
    .sm-intro { grid-template-columns: 1fr; }
    .sm-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
    .sm-cards { --sm-cols: 2 !important; }
    .sm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .sm-vision { grid-template-columns: 1fr; }
    .sm-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .sm-photos figure.is-wide { grid-column: 1 / -1; }
    .sm-history::before { left: 84px; }
    .sm-history-row { grid-template-columns: 84px minmax(0, 1fr); gap: 24px; }
    .sm-history-row::before { left: 78px; }
    .sm-history-year { font-size: 30px; }
}
@media (max-width: 576px) {
    .sm-cards { --sm-cols: 1 !important; }
    .sm-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-link-card { padding: 22px; }
}
