@charset "utf-8";
/* ==========================================================================
   FARMERS BRANDING — 메인 HOME-02 ~ HOME-08
   레이아웃·모션: _reference-audit/REFERENCE_SPEC.md 의 실측값(REF-03~10)
   색·서체·간격: 파머스브랜딩 디자인 시스템 (references/파머스브랜딩_디자인시스템.pdf)
   ========================================================================== */

/* ---------- 디자인 시스템 토큰 ---------- */
:root {
    --fb-point: #59C07F;      /* Field Green */
    --fb-point-300: #9DDBB3;
    --fb-point-100: #D8F2E1;
    --fb-point-50: #EFF9F2;
    --fb-point-text: #267345; /* 흰 바탕 녹색 글자 */
    --fb-logo-green: #056738;
    --fb-ink: #111311;
    --fb-ink-700: #3A3D39;
    --fb-ink-500: #6B6F6A;
    --fb-ink-300: #C9CCC6;
    --fb-line: #E3E5E0;
    --fb-fog: #F3F4F1;
    --fb-paper: #FFFFFF;
    --fb-support-bg: #FFF3D6;
    --fb-support: #7A5600;
    --fb-alert: #D93F2B;

    /* 섹션 본문 시작선 = 헤더 로고·메인 카피 시작선(--main-gap: 1361 이상 80px, 768~1360 40px).
       1280 고정 폭을 가운데 두면 넓은 화면에서 헤더보다 오른쪽으로 밀려 보여서, 헤더처럼 화면 폭을 따라가게 했다(2560 화면까지 헤더와 같은 시작선) */
    --fb-max: 2400px;
    --fb-side: var(--main-gap, 40px);
    --fb-sec-pad: 140px;
    --fb-ease: cubic-bezier(.22, .61, .36, 1);
}
@media (width <= 767px) { :root { --fb-sec-pad: 80px; } } /* 모바일 좌우 여백도 헤더와 같은 --main-gap(20px) */

/* body 기본 자간(-1px)을 섹션 안에서는 디자인 시스템 값으로 */
.fb-sec { position: relative; letter-spacing: -0.02em; color: var(--fb-ink); }
.fb-sec p, .fb-sec h2, .fb-sec h3, .fb-sec dl, .fb-sec dt, .fb-sec dd, .fb-sec button { margin: 0; }
.fb-wrap { width: min(var(--fb-max), 100% - var(--fb-side) * 2); margin: 0 auto; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 메타 라벨 (디자인 시스템: 12~14, 라벨 +0.14em) */
.fb-eyebrow {
    display: block; font-size: 14px; font-weight: 600; line-height: 1.5;
    letter-spacing: .14em; text-transform: uppercase; color: var(--fb-point-text);
}
/* 단락 제목 36/45, 본문 18/1.75 */
.fb-h2 { font-size: 42px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
@media (width <= 1100px) { .fb-h2 { font-size: 34px; } }
.fb-body { font-size: 18px; font-weight: 400; line-height: 1.75; letter-spacing: 0; color: var(--fb-ink-500); }
@media (width <= 767px) {
    .fb-h2 { font-size: 26px; line-height: 1.4; }
    .fb-body { font-size: 16px; line-height: 1.7; }
}
/* 데스크톱용 줄바꿈은 좁은 폭에서 어색하게 끊기므로 자연 줄바꿈 */
@media (width <= 1100px) { .fb-wrap .fb-body br:not(.keep-br) { display: none; } }

/* 플레이스홀더 표시 (확정 전 데이터) */
.fb-ph {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--fb-fog); color: var(--fb-ink-500);
    font-size: 12px; font-weight: 500; letter-spacing: .04em; line-height: 1.4;
}
.fb-ph-chip {
    display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1;
    color: var(--fb-support); background: var(--fb-support-bg); white-space: nowrap; vertical-align: middle;
}

/* 태그 (디자인 시스템: 높이 24 알약) */
.fb-tag {
    display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
    font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--fb-point-text); background: var(--fb-point-50);
}

/* 공통 진입 모션 fadeInUp (20px, .7s) */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--fb-ease), transform .7s var(--fb-ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HOME-02 · 포트폴리오 + 메시지 — 저절로 움직이지 않는 가로 목록
   ========================================================================== */
.home-lanes { padding: var(--fb-sec-pad) 0; background: var(--fb-paper); }
/* 머리줄: 작은 라벨 3개 + 위아래 선 */
.works-bar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; padding: 14px 0; border-top: 1px solid var(--fb-ink); border-bottom: 1px solid var(--fb-line); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--fb-ink-500); }
.works-bar > span:first-child { color: var(--fb-ink); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.works-bar .js-works-total { font-variant-numeric: tabular-nums; }
/* 큰 제목 + 글자 사이 사진 */
.home-lanes .lanes-title { margin-top: 64px; font-size: clamp(44px, 6.2vw, 92px); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.pill { display: inline-block; width: 1.9em; height: .78em; margin: 0 .04em; border-radius: 999px; overflow: hidden; vertical-align: -0.04em; background: var(--fb-fog); }
.pill img { display: block; width: 100%; height: 100%; object-fit: cover; }
.js .pill { width: 0; margin: 0 -.12em; transition: width .8s var(--fb-ease), margin .8s var(--fb-ease); }
.js .pill.on { width: 1.9em; margin: 0 .04em; }
.works-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-top: 40px; }
.home-lanes .lanes-desc { font-size: 17px; }
/* 메시지: 스크롤에 따라 단어가 회색 → 검정 */
.js-fill .w { transition: color .35s var(--fb-ease); }
.js .lanes-title .w { color: var(--fb-ink-300); }
.js .lanes-desc .w { color: var(--fb-line); }
.js .lanes-title .w.on { color: var(--fb-ink); }
.js .lanes-desc .w.on { color: var(--fb-ink-500); }

.works-nav { display: flex; align-items: center; gap: 8px; }
.works-count { margin-right: 14px; font-size: 14px; font-weight: 500; color: var(--fb-ink-500); font-variant-numeric: tabular-nums; }
.works-count b { font-weight: 600; color: var(--fb-ink); }
.works-btn { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--fb-line); color: var(--fb-ink); transition: border-color .3s, background-color .3s, color .3s; }
.works-btn svg { width: 20px; height: 20px; }
.works-btn:hover:not(:disabled) { border-color: var(--fb-ink); background: var(--fb-ink); color: #fff; }
.works-btn:disabled { opacity: .35; cursor: default; }
.works-btn:focus-visible { outline: 2px solid var(--fb-point-text); outline-offset: 3px; }

.works-rail {
    --pad: max(var(--fb-side), (100% - var(--fb-max)) / 2);
    display: flex; gap: 24px; margin-top: 48px; padding: 8px var(--pad) 8px; /* 위 8px: 마우스 오버 때 6px 올라가는 썸네일이 잘리지 않게 */
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.works-rail::-webkit-scrollbar { display: none; }
.works-rail.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.works-rail:focus-visible { outline: 2px solid var(--fb-point-text); outline-offset: 4px; }
/* 카드 = 가로형 썸네일(원본 100 : 76.7). 세로형(4:5)이면 원본 좌우가 40% 넘게 잘려 패키지·로고가 빠지므로 원본 비율을 그대로 쓴다.
   폭은 1280 본문에서 약 2.4장이 보이도록(다음 카드가 걸쳐 보여 넘길 수 있음을 알림) 36vw, 최대 520px */
.work-card { flex: 0 0 clamp(280px, 36vw, 520px); scroll-snap-align: start; display: block; color: inherit; text-decoration: none; }
.work-card:focus-visible { outline: 2px solid var(--fb-point-text); outline-offset: 4px; border-radius: 12px; }
.work-thumb { position: relative; aspect-ratio: 100 / 76.7; border-radius: 12px; overflow: hidden; background: var(--fb-fog); transition: transform .6s var(--fb-ease); }
.work-thumb picture, .work-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-thumb img { object-fit: cover; object-position: center; -webkit-user-drag: none; }
.work-card:hover .work-thumb { transform: translateY(-6px); }

.work-meta { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.work-no { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--fb-point-text); font-variant-numeric: tabular-nums; }
.work-title { font-size: 19px; font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-desc { margin-top: 4px; font-size: 15px; line-height: 1.6; letter-spacing: 0; color: var(--fb-ink-500); }

@media (width <= 900px) {
    .works-bar { grid-template-columns: 1fr auto; }
    .works-bar-mid { display: none; }
}
@media (width <= 767px) {
    .home-lanes .lanes-title { margin-top: 40px; font-size: 34px; line-height: 1.3; }
    .works-foot { margin-top: 24px; }
    .home-lanes .lanes-desc { font-size: 15px; }
    .home-lanes .lanes-desc br { display: none; }
    .works-nav { display: none; }
    .works-rail { gap: 12px; margin-top: 28px; cursor: auto; }
    .work-card { flex-basis: 82vw; }
    .work-title { font-size: 17px; }
}

/* ==========================================================================
   HOME-04 · Lean Branding 6단계 — 왼쪽 제목 고정, 오른쪽 단계가 차례로 밝아짐
   ========================================================================== */
.home-lean { padding: var(--fb-sec-pad) 0; color: #fff; background: var(--fb-ink); overflow: clip; }
.home-lean .lean-deco { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .025); pointer-events: none; }
.home-lean .lean-deco.d1 { width: 620px; height: 620px; left: 18%; top: -180px; }
.home-lean .lean-deco.d2 { width: 560px; height: 560px; right: 10%; bottom: -260px; }
.home-lean .lean-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.home-lean .lean-head { position: sticky; top: 140px; }
.home-lean .fb-eyebrow { color: var(--fb-point); }
.home-lean .fb-h2 { margin-top: 14px; }
.home-lean .fb-body { margin-top: 24px; font-size: 17px; color: var(--fb-ink-300); }
/* 설명 두 문장은 데스크톱에서 줄을 나눈다(2026-10-20 지시). 1100 이하는 공통 규칙으로 자연 줄바꿈 */
.home-lean .lean-note { margin-top: 24px; }

.lean-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .22); }
.lean-row {
    display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; row-gap: 10px;
    padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.js .lean-row { opacity: .28; transition: opacity .6s var(--fb-ease); }
.js .lean-row.is-on { opacity: 1; }
.lean-row .row-no { grid-row: 1 / 3; padding-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--fb-point); }
.lean-row .row-dash { display: none; }
.lean-row .row-name { font-size: 30px; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.lean-row .row-desc { font-size: 17px; line-height: 1.7; letter-spacing: 0; color: var(--fb-ink-300); }

@media (width <= 900px) {
    .home-lean .lean-grid { grid-template-columns: 1fr; gap: 48px; }
    .home-lean .lean-head { position: static; }
    .lean-row { grid-template-columns: 56px 1fr; padding: 30px 0; }
    .lean-row .row-name { font-size: 24px; }
}
@media (width <= 767px) {
    .lean-row { grid-template-columns: 44px 1fr; padding: 24px 0; row-gap: 6px; }
    .lean-row .row-no { padding-top: 6px; font-size: 12px; }
    .lean-row .row-name { font-size: 20px; }
    .lean-row .row-desc { font-size: 15px; }
    .home-lean .lean-deco { display: none; }
}

/* ==========================================================================
   HOME-05 · 두 가지 사업 영역 — 영상 패널 두 장, 올린 쪽이 넓어짐
   ========================================================================== */
.home-areas { padding: var(--fb-sec-pad) 0; background: var(--fb-paper); }
.home-areas .areas-head, .home-exec .exec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.home-areas .fb-h2, .home-exec .fb-h2 { margin-top: 14px; }
.home-areas .areas-head .fb-body, .home-exec .exec-head .fb-body { max-width: 460px; font-size: 17px; text-align: right; }
@media (width <= 1100px) {
    .home-areas .areas-head, .home-exec .exec-head { flex-direction: column; align-items: flex-start; }
    .home-areas .areas-head .fb-body, .home-exec .exec-head .fb-body { max-width: 640px; text-align: left; }
}

/* 메인 영상 장면 (공통) */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ways { display: flex; gap: 12px; height: clamp(480px, 46vw, 660px); margin-top: 56px; }
.way { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 12px; background: var(--fb-ink); color: #fff; transition: flex-grow .8s var(--fb-ease); }
.way.is-main { flex-grow: 1.55; }
.ways:hover .way { flex-grow: 1; }
.ways .way:hover { flex-grow: 1.9; }
.way .scene { transform: scale(1.04); transition: transform 1.2s var(--fb-ease); }
/* 새로 만든 영상을 메인 영상 톤(조금 어둡고 차분한 색)에 맞춤 + 옅은 필름 입자 */
.scene.is-graded { filter: brightness(.87) saturate(.8) contrast(1.03) hue-rotate(2deg); }
.grain {
    position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.way:hover .scene { transform: scale(1); }
.way::after { content: ""; position: absolute; inset: 0; background: rgba(17, 19, 17, .32); transition: background-color .6s; }
.way:hover::after { background: rgba(17, 19, 17, .2); }
.way-top, .way-bottom { position: absolute; left: 0; right: 0; z-index: 1; padding: 28px 32px; }
.way-top { top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.way-bottom { bottom: 0; }
.way-role { flex-shrink: 0; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; }
.is-main .way-role { color: var(--fb-ink); background: var(--fb-point); }
.is-sub .way-role { color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.way-en { font-family: Poppins, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.way-title { font-size: 30px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; white-space: nowrap; }
/* 서비스 설명 한 문장 (기존 .way-steps 단계 나열과 같은 글자 크기·색) */
.way-desc { max-width: 34em; margin: 14px 0 0; font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: 0; color: rgba(255, 255, 255, .88); }

@media (width <= 1100px) {
    .way-title { font-size: 24px; white-space: normal; }
    .way-desc { font-size: 14px; }
}
@media (width <= 900px) {
    .home-areas .areas-head, .home-exec .exec-head { flex-direction: column; align-items: flex-start; }
    .home-areas .areas-head .fb-body, .home-exec .exec-head .fb-body { text-align: left; }
    .ways { flex-direction: column; height: auto; margin-top: 40px; }
    .way, .way.is-main { flex: none; height: 440px; }
}
@media (width <= 767px) {
    .way, .way.is-main { height: 400px; }
    .way-top, .way-bottom { padding: 20px; }
    .way-title { font-size: 22px; }
}

/* ==========================================================================
   HOME-06 · 실행·지원 — 스크롤하면 겹쳐 쌓이는 카드
   ========================================================================== */
.home-exec { padding: var(--fb-sec-pad) 0; background: var(--fb-fog); }
.stack { margin: 56px 0 0; padding: 0; list-style: none; }
.stack-card {
    position: sticky; top: calc(110px + var(--i, 0) * 28px);
    display: grid; grid-template-columns: 5fr 7fr; height: min(560px, calc(100vh - 200px)); min-height: 420px;
    margin-bottom: 120px; overflow: hidden; border-radius: 16px; background: var(--fb-paper); color: var(--fb-ink);
}
.stack-card:last-child { margin-bottom: 0; }
.stack-card:nth-child(2) { --i: 1; background: var(--fb-point); }
.stack-card:nth-child(3) { --i: 2; background: var(--fb-ink); color: #fff; }
.stack-text { display: flex; flex-direction: column; justify-content: space-between; padding: 36px 40px 40px; }
.stack-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stack-top .exec-no { font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.stack-top .exec-en { font-family: Poppins, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .14em; opacity: .7; }
.stack-card .exec-title { font-size: 34px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.stack-card .exec-desc { margin-top: 14px; font-size: 16px; line-height: 1.75; letter-spacing: 0; opacity: .75; }
.stack-card:nth-child(1) .exec-no { color: var(--fb-point-text); }
.stack-card:nth-child(3) .exec-no { color: var(--fb-point); }
.stack-media { position: relative; overflow: hidden; }

@media (width <= 900px) {
    .stack-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: auto; min-height: 0; top: calc(84px + var(--i, 0) * 16px); }
    .stack-media { order: -1; aspect-ratio: 16 / 10; }
    .stack-text { gap: 28px; padding: 24px 24px 28px; }
    .stack-card .exec-title { font-size: 24px; }
    .stack-card .exec-desc { font-size: 15px; }
    .stack-card .exec-desc br { display: none; }
}

/* ==========================================================================
   HOME-07 · 데이터 및 고객사 (REF-08 + REF-09) — 통과 중 페이지 다크 전환
   ========================================================================== */
body { transition: background-color .3s; }
body.is-dark { background-color: var(--fb-ink); }
.home-data { padding: var(--fb-sec-pad) 0; background: transparent; text-align: center; transition: color .3s; }
.home-data .data-eyebrow { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--fb-point-text); }
.home-data .data-title { margin-top: 14px; font-size: 42px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.home-data .data-note { margin-top: 20px; }

.data-numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.data-numbers li { position: relative; padding: 0 12px; }
.data-numbers li + li::before { content: ""; position: absolute; left: 0; top: 14px; height: 76px; width: 1px; background: var(--fb-line); transition: background-color .3s; }
.data-num { display: inline-flex; align-items: flex-start; font-size: 48px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.data-num sup { font-size: 36px; line-height: 1; margin-left: 2px; top: 0; }
.data-num.is-placeholder { color: var(--fb-ink-300); }
.data-label { margin-top: 18px; font-size: 20px; font-weight: 500; color: var(--fb-ink-500); }
.data-label .fb-ph-chip { margin-left: 6px; }

.data-sub { margin-top: 160px; }
.data-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.data-certs li {
    display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 89px; padding: 24px 30px;
    background: var(--fb-fog); font-size: 20px; font-weight: 500; color: var(--fb-ink-500); transition: background-color .3s, color .3s;
}

.data-logos { margin-top: 56px; display: grid; gap: 22px; }
.logo-row { overflow: hidden; }
.logo-track { display: flex; width: max-content; }
.js .logo-row:nth-child(1) .logo-track { animation: fb-marquee 64s linear infinite; }
.js .logo-row:nth-child(2) .logo-track { animation: fb-marquee 64s linear infinite reverse; }
@keyframes fb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-slot { flex: 0 0 auto; width: 194px; height: 100px; padding: 18px; }
.logo-slot span {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    border: 1px dashed var(--fb-ink-300); border-radius: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--fb-ink-500); transition: border-color .3s, color .3s;
}

/* 다크 상태 */
body.is-dark .home-data { color: #fff; }
body.is-dark .home-data .data-eyebrow,
body.is-dark .home-data .data-label { color: var(--fb-ink-300); }
body.is-dark .home-column .data-eyebrow { color: var(--fb-point); }
body.is-dark .data-numbers li + li::before { background: var(--fb-ink-700); }
body.is-dark .data-num.is-placeholder { color: var(--fb-ink-500); }
body.is-dark .data-certs li { background: #1D201D; color: var(--fb-ink-300); }
body.is-dark .logo-slot span { border-color: var(--fb-ink-700); color: var(--fb-ink-500); }

@media (width <= 1100px) {
    .home-data .data-title { font-size: 34px; }
    .data-num { font-size: 38px; } .data-num sup { font-size: 30px; }
    .data-label, .data-certs li { font-size: 18px; }
    .data-sub { margin-top: 120px; }
}
@media (width <= 767px) {
    .home-data .data-eyebrow { font-size: 14px; }
    .home-data .data-title { font-size: 26px; line-height: 1.4; }
    .data-numbers { grid-template-columns: repeat(2, 1fr); row-gap: 32px; margin-top: 40px; }
    .data-numbers li + li::before { display: none; }
    .data-num { font-size: 30px; } .data-num sup { font-size: 24px; }
    .data-label { margin-top: 8px; font-size: 15px; }
    .data-label .fb-ph-chip { display: flex; width: max-content; margin: 6px auto 0; }
    .data-sub { margin-top: 90px; }
    .data-certs { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
    .data-certs li { min-height: 61px; padding: 16px 20px; font-size: 16px; }
    .data-logos { margin-top: 36px; gap: 8px; }
    .logo-slot { width: 130px; height: 70px; padding: 12px; }
}

/* ==========================================================================
   HOME-07 · 최신 칼럼 (숫자 확정 전 대체, 다크 전환 유지)
   ========================================================================== */
.home-column { text-align: left; }
.home-column .column-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.column-all { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 500; color: inherit; text-decoration: none; white-space: nowrap; transition: gap .3s var(--fb-ease); }
.column-all:hover { gap: 14px; }
.column-all svg { width: 20px; height: 20px; }
/* position: relative — 카드 안 .sr-only(absolute)가 모바일 가로 스크롤 목록 밖으로 빠져 문서 폭을 넓히지 않도록 */
.column-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 0; padding: 0; list-style: none; }
.column-card a { display: block; color: inherit; text-decoration: none; }
.column-thumb { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--fb-fog); }
.column-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--fb-ease); }
.column-card a:hover .column-thumb img { transform: scale(1.03); }
.column-tag { display: block; margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--fb-point-text); }
.column-title { margin-top: 8px; font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; }
.column-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 6px; font-size: 15px; line-height: 1.65; letter-spacing: 0; color: var(--fb-ink-500); }
body.is-dark .column-desc { color: var(--fb-ink-300); }
.column-date { display: block; margin-top: 10px; font-size: 14px; color: var(--fb-ink-500); font-variant-numeric: tabular-nums; }
body.is-dark .column-thumb { background: #1D201D; }
body.is-dark .column-thumb.fb-ph { color: var(--fb-ink-500); }
body.is-dark .column-tag { color: var(--fb-point); }

@media (width <= 900px) { .column-list { gap: 14px; } .column-title { font-size: 17px; } }
@media (width <= 767px) {
    .home-column .column-head { flex-direction: column; align-items: flex-start; }
    .column-list {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74vw; gap: 12px; margin: 36px calc(var(--fb-side) * -1) 0; padding: 0 var(--fb-side);
        overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--fb-side); scrollbar-width: none;
    }
    .column-list::-webkit-scrollbar { display: none; }
    .column-card { scroll-snap-align: start; }
}

/* ==========================================================================
   HOME-08 · Q&A (REF-10 구조 + 아코디언)
   ========================================================================== */
.home-qna { padding: var(--fb-sec-pad) 0; background: transparent; transition: color .3s; }
.home-qna .qna-inner { display: grid; grid-template-columns: 300px 1fr; gap: 80px; }
.home-qna .qna-title { margin-top: 14px; font-size: 42px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.home-qna .qna-desc { margin-top: 28px; font-size: 17px; line-height: 1.75; letter-spacing: 0; color: var(--fb-ink-500); }
.qna-list { border-top: 1px solid var(--fb-ink); }
.qna-item { border-bottom: 1px solid var(--fb-line); }
.qna-q {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 40px 0; text-align: left;
    font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em;
}
.qna-q .q-mark { flex: 0 0 auto; width: 28px; font-weight: 600; color: var(--fb-point-text); }
.qna-q .q-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qna-q .q-icon { flex: 0 0 auto; display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; transition: transform .3s; }
.qna-q .q-icon svg { width: 26px; height: 26px; }
.qna-q:hover .q-icon { transform: rotate(-45deg); }
.qna-q[aria-expanded="true"] .q-icon { transform: rotate(90deg); }
.qna-q[aria-expanded="true"] .q-text { white-space: normal; }
.qna-q:focus-visible { outline: 2px solid var(--fb-point-text); outline-offset: 4px; }
.qna-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--fb-ease); }
.qna-a > div { overflow: hidden; }
.qna-a p { padding: 0 42px 36px 38px; font-size: 16px; line-height: 1.75; letter-spacing: 0; color: var(--fb-ink-500); }
.qna-item.is-open .qna-a { grid-template-rows: 1fr; }
.no-js .qna-a { grid-template-rows: 1fr; }

body.is-dark .home-qna { color: #fff; }
body.is-dark .qna-list { border-top-color: #fff; }
body.is-dark .qna-item { border-bottom-color: var(--fb-ink-500); }

@media (width <= 1100px) {
    .home-qna .qna-inner { grid-template-columns: 1fr; gap: 48px; }
    .home-qna .qna-title { font-size: 34px; }
    .qna-q { padding: 32px 0; font-size: 17px; }
}
@media (width <= 767px) {
    .home-qna .qna-title { font-size: 26px; line-height: 1.4; }
    .home-qna .qna-desc { margin-top: 16px; font-size: 15px; }
    .qna-q { padding: 25px 0; font-size: 15px; }
    .qna-q .q-mark { width: 22px; }
    .qna-a p { padding: 0 8px 24px 32px; font-size: 14px; }
}

/* ==========================================================================
   움직임 줄이기
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .js .logo-track { animation: none !important; }
    .js .pill { width: 1.9em !important; margin: 0 .04em !important; transition: none !important; }
    .work-thumb { transition: none !important; }
    .js [data-reveal], .js .lean-row { opacity: 1 !important; transform: none !important; transition: none !important; }
    .way, .way .scene { transition: none !important; }
    .js .lanes-title .w { color: var(--fb-ink) !important; }
    .js .lanes-desc .w { color: var(--fb-ink-500) !important; }
    body, .qna-a, .qna-q .q-icon { transition: none !important; }
}

/* 태블릿·모바일 줄바꿈: 마지막 줄에 한 단어만 남지 않게 줄 길이를 고르게 나눈다 */
@media (width <= 1023px) {
    .main-copy-desc, .fb-sec .fb-h2, .fb-sec .fb-body, .lanes-desc, .way-desc, .exec-desc, .column-desc, .data-title, .qna-title, .qna-desc, .foot-cta-title { text-wrap: balance; }
}
/* 묶음 단어(기획·디자인·마케팅)·나열 항목이 줄 끝에서 갈라지지 않게 */
.nw { white-space: nowrap; }
