/* ============================================================
   DASAA 홈페이지 스타일
   문구는 이 파일에 없습니다 — content/ 를 보세요.

   시스템 한 줄 요약: 가는 선이 아니라 채워진 판때기(plate)로 만든 안내판.
   동남아 다섯 시장을 코드로 세운 지역 보드가 이 사이트의 중심 장치입니다.
   왜 이렇게 생겼는지는 docs/디자인-결정-기록.md 를 보세요.
   ============================================================ */

/* --- 리셋 --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-kr);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;          /* 한국어를 어절 단위로만 끊습니다. 지우지 마세요. */
  overflow-wrap: break-word;
  overflow-x: clip;              /* hidden 은 sticky 헤더를 깨뜨립니다 */
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--tint); color: var(--primary-deep); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--ink); color: var(--on-dark);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus-visible { top: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

/* --- 레이아웃 ----------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

section { position: relative; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-tint { background: var(--tint); }

/* ------------------------------------------------------------
   글자 크기의 역할 규칙 (크기 값 자체는 tokens.css 3절 램프)

     17 --fs-body  설명하는 문장. 홈이든 하위 페이지든, 카드 안이든 밖이든
     15 --fs-sm    UI 요소 — 버튼·폼·푸터 목록·칩·흐름 라인
     13 --fs-xs    플레이트·캡션·태그·날짜 띠

   홈의 설명 문장이 15 로 내려가 있어서 하위 페이지보다 작아 보였습니다(2026-08-26).
   같은 역할이면 페이지가 달라도 같은 크기여야 합니다.
   ------------------------------------------------------------ */

/* ============================================================
   플레이트 — 이 사이트의 기본 단위
   ============================================================ */
.plate {
  display: inline-flex; align-items: center;
  font-family: var(--font-en);
  font-variation-settings: var(--wide);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  padding: .46rem .68rem .42rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
/* 긴 라벨은 좁은 화면에서 줄을 바꿉니다. 짧은 라벨은 어차피 한 줄로 남습니다.
   nowrap 을 그대로 두면 라벨이 그리드 트랙을 밀어내 레이아웃이 틀어집니다. */
.hero-text > .plate { white-space: normal; }

.plate-ink { background: var(--ink); color: var(--on-dark); }
.plate-coral { background: var(--primary); color: var(--ink); }
.plate-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.plate-light { background: var(--on-dark); color: var(--ink); }

/* 플레이트 + 굵은 규칙선 — 섹션이 시작한다는 신호를 색이 아니라 형태로 */
.board-bar { display: flex; align-items: center; gap: .8rem; margin-bottom: clamp(1.25rem, 2.4vw, 1.9rem); }
.board-rule { flex: 1 1 auto; height: 2px; background: var(--ink); border-radius: 1px; }
.board-trailing {
  flex: 0 0 auto;
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.section-dark .board-rule { background: var(--on-dark); }
.section-dark .board-trailing { color: var(--on-dark-mid); }

.section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.section-title { font-size: var(--fs-h2); font-weight: 800; max-width: 20ch; }
.section-lead { margin-top: 1.1rem; max-width: 38rem; font-size: var(--fs-lead); color: var(--secondary); }
.section-dark .section-lead { color: var(--on-dark-mid); }
.section-foot { margin-top: clamp(2rem, 3.5vw, 3rem); }

/* 로고(DASAA + 점)의 점을 헤드라인 끝에 한 번만 반복합니다. */
.dot-accent {
  display: inline-block; vertical-align: baseline;
  width: .24em; height: .24em; margin-left: .18em;
  border-radius: 999px; background: var(--primary);
}

.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.tag {
  font-size: var(--fs-xs); font-weight: 500; color: var(--secondary);
  background: transparent; border: 1px solid var(--border);
  padding: .22rem .55rem; border-radius: var(--radius-sm);
}

/* --- 버튼 — 알약이 아니라 판때기 ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: var(--fs-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn-arrow { transition: transform .18s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); }
.section-dark .btn-ghost { color: var(--on-dark); border-color: var(--on-dark); }
.section-dark .btn-ghost:hover { background: var(--on-dark); color: var(--ink); }
.btn-sm { padding: .58rem 1.05rem; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: var(--fs-body); }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* --- 사진 패널 — 아래 잉크 띠에 촬영 장소 ------------------- */
.panel { margin: 0; position: relative; }
.panel-strip {
  background: var(--ink); color: var(--on-dark);
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em;
  padding: .6rem .9rem; line-height: 1.2;
}

/* 영상 패널 — 자동재생 루프. 자바스크립트를 쓰지 않습니다.
   동작을 줄이는 설정이면 영상을 감추고 포스터 정지 이미지를 대신 보여줍니다. */
.panel-video { display: block; width: 100%; background: var(--tint); }
.panel-video-still { display: none; }

@media (prefers-reduced-motion: reduce) {
  .panel-video { display: none; }
  .panel-video-still { display: block; }
}

/* ============================================================
   헤더
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 2px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--ink); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: height .25s var(--ease);
}
.site-header.is-stuck .header-inner { height: calc(var(--header-h) - 10px); }
.brand img { height: 21px; width: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); }
.site-nav a {
  font-family: var(--font-en); font-variation-settings: var(--wide);
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .1em; color: var(--secondary);
  padding-block: .4rem; position: relative;
  transition: color .18s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--ink); }
.site-nav a[aria-current='page']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars i { display: block; width: 16px; height: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  display: none; padding: 1rem var(--gutter) 1.75rem;
  border-top: 1px solid var(--border); background: var(--bg);
}
.mobile-nav ul { display: grid; gap: .25rem; margin-bottom: 1.25rem; }
.mobile-nav ul a {
  display: block; padding: .85rem 0;
  font-family: var(--font-en); font-variation-settings: var(--wide);
  font-weight: 600; letter-spacing: .1em; border-bottom: 1px solid var(--border);
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-sm { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav[hidden] { display: none; }
}

/* ============================================================
   히어로 — 텍스트는 .wrap 선에, 사진만 오른쪽 화면 끝까지
   ============================================================ */
.hero { padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44vw);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-text { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-title {
  font-size: var(--fs-hero); font-weight: 800;
  letter-spacing: -0.045em; margin: 1.5rem 0 0;
}
.hero-body {
  margin-top: 1.6rem; max-width: 27rem;
  font-size: var(--fs-lead); color: var(--secondary);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.3rem; }

.hero-panel :is(img, video) {
  width: 100%; aspect-ratio: 5 / 6; max-height: min(74vh, 720px); object-fit: cover;
  /* 데스크톱에서는 오른쪽이 화면 끝까지 흘러서 왼쪽 두 모서리만 둥글게 합니다. */
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

@media (max-width: 900px) {
  .hero { padding-top: 1.5rem; }
  /* 1fr 은 minmax(auto, 1fr) 이라 내용이 안 줄어들면 트랙이 컨테이너를 넘습니다.
     minmax(0, 1fr) 이어야 좁은 화면에서 넘치지 않습니다. */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .hero-text { padding-left: 0; padding-inline: var(--gutter); }
  /* 데스크톱의 우측 풀블리드를 모바일까지 끌고 오면 오른쪽으로 치우쳐 보입니다.
     좁은 화면에서는 아래 본문과 같은 좌우 여백으로 맞춥니다. */
  .hero-media { order: -1; padding-inline: var(--gutter); }
  .hero-panel :is(img, video) { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
}

/* ============================================================
   지역 보드 — 시그니처
   다섯 시장을 코드로 세운 안내판. 칸 사이 선은 gap 1px 로 만들어
   몇 열로 접히든 격자가 저절로 맞습니다.
   ============================================================ */
.territory { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.territory-board {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--bg);
  border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden;
}
/* 칸 사이 선은 gap 이 아니라 그림자로 긋습니다.
   gap+배경색 방식은 마지막 줄이 덜 찼을 때(다섯 칸이 2열로 접힐 때 등)
   빈 자리에 배경색이 그대로 드러나 '깨진 칸'처럼 보입니다. */
.territory-cell {
  background: var(--bg);
  box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border);
  padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(.85rem, 1.6vw, 1.3rem) clamp(1.15rem, 2.2vw, 1.5rem);
  display: flex; flex-direction: column; align-items: flex-start;
}
.territory-cell.is-primary { background: var(--tint); }
.territory-code {
  font-family: var(--font-en); font-variation-settings: var(--wider);
  font-weight: 900; font-size: var(--fs-display);
  line-height: .92; letter-spacing: -0.03em;
}
.territory-name { margin-top: .65rem; font-size: var(--fs-sm); font-weight: 700; }
.territory-en {
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); letter-spacing: .06em; color: var(--secondary); line-height: 1.4;
}
.territory-note { margin-top: .8rem; }

@media (max-width: 900px) { .territory-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .territory-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================
   접근 3항목 — 나란한 세 진술이므로 나란히 놓습니다

   순서도 위계도 없는 항목이라 세로로 쌓으면 진행처럼 읽힙니다.
   바로 위 지역 보드도 가로 격자이지만, 저쪽은 테두리로 닫힌 조밀한 칸이고
   여기는 테두리 없이 열린 큰 타이포입니다. 밀도를 반대로 줘서
   같은 격자 논리가 반복이 아니라 리듬이 되게 했습니다.
   ============================================================ */
.pillars { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.pillar-rows {
  border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: clamp(1.6rem, 3vw, 2.5rem);
}
.pillar-row { padding-inline: clamp(1.25rem, 3vw, 2.5rem); }
.pillar-row:first-child { padding-left: 0; }
.pillar-row:last-child { padding-right: 0; }
.pillar-row + .pillar-row { border-left: 1px solid var(--border); }
.pillar-label { margin-bottom: clamp(1rem, 2vw, 1.4rem); }
.pillar-title {
  font-family: var(--font-en); font-variation-settings: var(--wide);
  font-weight: 800; font-size: var(--fs-h2);
  letter-spacing: -0.035em; line-height: 1.02;
}
.pillar-desc { margin-top: .8rem; color: var(--secondary); font-size: var(--fs-body); }

/* 좁아지면 다시 세로로 — 세 단을 억지로 유지하면 제목이 잘게 쪼개집니다. */
@media (max-width: 760px) {
  .pillar-rows { grid-template-columns: 1fr; padding-top: 0; }
  .pillar-row { padding-inline: 0; padding-block: clamp(1.4rem, 4vw, 1.9rem); }
  .pillar-row + .pillar-row { border-left: 0; border-top: 1px solid var(--border); }
  .pillar-label { margin-bottom: .85rem; }
}

/* ============================================================
   BUSINESS — 안내판 행 목록
   번호(01~04)를 뺐습니다. 네 사업은 순서가 아니라 단계이므로
   단계 이름(MARKETING·COMMERCE·DISTRIBUTION)을 라벨로 씁니다.
   ============================================================ */
.business-home { padding-block: var(--section-y); }
.biz-rows { border-top: 2px solid var(--ink); }
.biz-row {
  display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto;
  gap: var(--rail-gap); align-items: start;
  padding: clamp(1.5rem, 2.8vw, 2.15rem) clamp(.6rem, 1.4vw, 1.1rem);
  border-bottom: 1px solid var(--border);
  transition: background .2s var(--ease);
}
.biz-rows > li:last-child .biz-row { border-bottom: 2px solid var(--ink); }
.biz-row:hover { background: var(--paper); }
.biz-stage { display: block; padding-top: .2rem; }
.biz-row:hover .plate-outline { background: var(--primary); border-color: var(--primary); color: #fff; }
.biz-title { display: block; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.03em; }
.biz-flow {
  display: block; margin-top: .45rem;
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .05em; color: var(--primary-deep);
}
.biz-desc { display: block; margin-top: .85rem; color: var(--secondary); font-size: var(--fs-body); max-width: 46rem; }
.biz-go {
  font-family: var(--font-en); font-size: var(--fs-lead); color: var(--secondary); padding-top: .1rem;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.biz-row:hover .biz-go { transform: translateX(4px); color: var(--primary); }

@media (max-width: 760px) {
  .biz-row { grid-template-columns: minmax(0, 1fr) auto; gap: .9rem 1rem; }
  .biz-stage { grid-column: 1 / -1; }
}

/* ============================================================
   소식 — 현장 기록. 날짜는 사진 아래 잉크 띠에 박습니다.
   ============================================================ */
.news-home { padding-block: var(--section-y); }
.news-index { padding-block: clamp(2rem, 4vw, 3rem) var(--section-y); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
.news-cell { display: flex; }
.news-cell > .news-card { width: 100%; }
.news-year-group + .news-year-group { margin-top: clamp(3rem, 6vw, 5rem); }

.news-year-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.75rem; }
.news-year-num {
  font-family: var(--font-en); font-variation-settings: var(--wide);
  font-size: var(--fs-h2); font-weight: 900;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1;
}
.news-year-rule { flex: 1 1 auto; height: 2px; background: var(--ink); border-radius: 1px; }
.news-year-count {
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); font-weight: 600; color: var(--secondary);
  font-variant-numeric: tabular-nums;
}

.news-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .22s var(--ease);
}
.news-card:hover { border-color: var(--ink); }
.news-media { position: relative; aspect-ratio: 3 / 4; background: var(--tint); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-media.is-empty {
  display: grid; place-items: center; padding: 2rem 1.5rem 3.5rem;
  background: color-mix(in srgb, var(--primary) 13%, var(--paper));
}
.news-media-fallback {
  font-size: var(--fs-h3); font-weight: 700;
  color: var(--primary-deep); text-align: center; line-height: 1.35; letter-spacing: -0.025em;
  opacity: .75;
}
.news-dateline {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--on-dark);
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .09em;
  font-variant-numeric: tabular-nums;
  padding: .55rem .85rem; line-height: 1.2;
}
.news-body { padding: clamp(1.3rem, 2vw, 1.7rem); display: flex; flex-direction: column; flex: 1; }
.news-title { font-size: var(--fs-h3); }
.news-summary { margin-top: .8rem; color: var(--secondary); font-size: var(--fs-body); flex: 1; }
.news-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--primary-deep);
  border-bottom: 1.5px solid var(--primary);
  align-self: flex-start; padding-bottom: 2px;
}
.news-link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.news-link-source { color: var(--mid); font-weight: 500; }
.empty { color: var(--mid); }

@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* ============================================================
   OUR WORKS (다크) — 같은 규격의 증거 모음
   순번 배지 대신 촬영 장소. 비율은 전부 4/5 로 통일했습니다.
   ============================================================ */
.works { padding-block: var(--section-y); }
.carousel { position: relative; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.carousel-track {
  /* 좌우 여백을 .wrap 과 맞추되, 슬라이드는 화면 끝까지 이어지게 합니다. */
  --carousel-inset: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; align-items: stretch; gap: clamp(.7rem, 1.4vw, 1.1rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--carousel-inset);
  /* 이게 없으면 스냅이 왼쪽 패딩만큼 밀려 첫 장이 잘려 보입니다. 항상 같이 움직여야 합니다. */
  scroll-padding-inline: var(--carousel-inset);
  padding-bottom: .5rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.work-slide {
  position: relative; flex: 0 0 clamp(230px, 27vw, 330px);
  margin: 0; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  background: var(--on-dark-border);
}
.work-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work-place {
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
  color: var(--on-dark-mid);
  background: color-mix(in srgb, var(--on-dark) 8%, transparent);
  padding: .6rem .8rem; line-height: 1.3;
}
.carousel-nav {
  display: flex; gap: .55rem; margin-top: 1.75rem;
  padding-inline: var(--gutter); max-width: var(--wrap); margin-inline: auto;
}
.carousel-btn {
  width: 46px; height: 46px; border-radius: var(--radius-sm); cursor: pointer;
  background: transparent; border: 1.5px solid var(--on-dark-border); color: var(--on-dark);
  display: grid; place-items: center;
  transition: background .18s var(--ease), border-color .18s var(--ease), opacity .18s var(--ease);
}
.carousel-btn:hover { background: var(--on-dark-border); border-color: var(--on-dark-mid); }
.carousel-btn[disabled] { opacity: .28; cursor: default; }
.partners .carousel-btn { border-color: var(--ink); color: var(--ink); }

/* ============================================================
   파트너 — 지역 보드와 같은 격자 문법
   ============================================================ */
.partners { padding-block: var(--section-y); }
.partner-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  background: var(--bg);
  /* 안쪽 칸 선과 같은 굵기·색 — 로고월 전체가 가벼운 격자로 읽히게 합니다.
     2px 잉크 프레임은 시그니처인 지역 보드에만 씁니다. */
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.partner-logo {
  background: var(--bg);
  box-shadow: 1px 0 0 var(--border), 0 1px 0 var(--border);
  aspect-ratio: 5 / 3; display: grid; place-items: center; padding: 1.15rem 1.5rem;
  transition: background .22s var(--ease);
}
.partner-logo:hover { background: var(--paper); }
.partner-logo img {
  max-height: 44px; max-width: 100%; width: auto; object-fit: contain;
  opacity: .52; transition: opacity .22s var(--ease);
}
.partner-logo:hover img { opacity: 1; }

/* ============================================================
   하위 페이지
   ============================================================ */
.page-hero { padding-block: clamp(3rem, 5.5vw, 5rem) clamp(2rem, 4vw, 3.25rem); }
.page-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; }
.page-title-lg { max-width: 20ch; }
.page-lead { margin-top: 1.35rem; max-width: 42rem; font-size: var(--fs-lead); color: var(--secondary); }

/* --- ABOUT -------------------------------------------------- */
.about { padding-bottom: var(--section-y); }
.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-panel { position: sticky; top: calc(var(--header-h) + 2rem); }
.about-panel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.about-panel .panel-strip { border-radius: 0 0 var(--radius) var(--radius); }
.about-text p { margin-bottom: 1.6rem; color: var(--secondary); }
.about-text p.lede {
  font-size: var(--fs-lead); color: var(--ink); font-weight: 500;
  line-height: 1.65; margin-bottom: 2rem;
}
.region-note { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.region-label { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 1rem; }
.region-primary { color: var(--primary-deep); }
.region-row { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; }
.region-item { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-panel { position: static; }
  .about-panel img { aspect-ratio: 16 / 10; }
}

/* --- BUSINESS 상세 ------------------------------------------ */
.biz-section { padding-block: clamp(3.25rem, 6.5vw, 6rem); border-top: 2px solid var(--ink); scroll-margin-top: var(--header-h); }
.biz-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.biz-section.is-reversed .biz-section-media { order: -1; }
.biz-section-title { font-size: var(--fs-h2); margin-top: 1.1rem; font-weight: 800; }
.biz-section-flow {
  margin-top: .9rem;
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-sm); font-weight: 600; color: var(--primary-deep); letter-spacing: .03em;
}
.biz-section-desc { margin-top: 1.35rem; font-size: var(--fs-lead); }
.biz-section-detail { margin-top: 1rem; color: var(--secondary); }
.biz-section-media { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.biz-img-main { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.biz-img-sub { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); grid-column: 1 / 2; }

@media (max-width: 900px) {
  .biz-section-grid { grid-template-columns: 1fr; }
  .biz-section.is-reversed .biz-section-media { order: 0; }
  .biz-img-sub { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* --- FAQ ---------------------------------------------------- */
.faq { padding-block: var(--section-y); }
.faq-list { margin-top: 2.25rem; border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--fs-h3); font-weight: 600; transition: color .18s var(--ease); }
.faq-item summary:hover h3 { color: var(--primary-deep); }
.faq-mark { position: relative; flex: 0 0 18px; height: 18px; }
.faq-mark::before, .faq-mark::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 2px;
  background: var(--ink); transition: transform .22s var(--ease);
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-answer { padding-bottom: 1.6rem; max-width: 62ch; }
.faq-answer p { color: var(--secondary); }

/* --- CTA 밴드 ----------------------------------------------- */
.cta-band { background: var(--ink); color: var(--on-dark); }
.cta-band-inner {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band-title { font-size: var(--fs-h2); font-weight: 800; max-width: 22ch; }
.cta-band-body { margin-top: 1rem; color: var(--on-dark-mid); max-width: 40rem; }

/* --- 인사이트 ----------------------------------------------- */
.insight-index { padding-bottom: var(--section-y); }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
.insight-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .22s var(--ease); }
.insight-card:hover { border-color: var(--ink); }
.insight-media { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; }
.insight-body { padding: clamp(1.4rem, 2.2vw, 2rem); }
.insight-date {
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-xs); color: var(--secondary); letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.insight-title { margin-top: .6rem; font-size: var(--fs-h3); }
.insight-summary { margin-top: .8rem; color: var(--secondary); font-size: var(--fs-body); }

@media (max-width: 760px) { .insight-grid { grid-template-columns: 1fr; } }

.article-head { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.article-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; margin-top: .75rem; }
.article-meta {
  margin-top: 1.25rem; display: flex; gap: .6rem; align-items: center; color: var(--mid);
  font-family: var(--font-en); font-variation-settings: var(--normal);
  font-size: var(--fs-sm); font-variant-numeric: tabular-nums;
}
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-body { padding-block: clamp(2rem, 4vw, 3.25rem); font-size: var(--fs-body); }
.article-body h2 { font-size: var(--fs-h2); margin-top: 2.9rem; margin-bottom: 1rem; }
.article-body h3 { font-size: var(--fs-h3); margin-top: 2.1rem; margin-bottom: .75rem; }
.article-body p { margin-bottom: 1.6rem; color: var(--secondary); }
.article-body ul, .article-body ol { margin: 0 0 1.6rem; padding-left: 1.2rem; color: var(--secondary); }
.article-body ul li { list-style: disc; margin-bottom: .5rem; }
.article-body ol li { list-style: decimal; margin-bottom: .5rem; }
.article-body a { color: var(--primary-deep); border-bottom: 1.5px solid var(--primary); }
.article-body blockquote { margin: 0 0 1.6rem; padding: 1.35rem 1.6rem; background: var(--tint); border-radius: var(--radius-sm); }
.article-body blockquote p { margin: 0; color: var(--ink); }
.article-body code { font-size: .9em; background: var(--tint); padding: .15em .4em; border-radius: 3px; }
.article-body img { border-radius: var(--radius); margin-bottom: 1.6rem; }
.article-body hr { border: 0; border-top: 2px solid var(--ink); margin: 2.5rem 0; }
.article-foot { padding-bottom: var(--section-y); }
.back-link { display: inline-flex; gap: .5rem; align-items: center; font-size: var(--fs-sm); font-weight: 600; color: var(--primary-deep); }

/* --- 문의 --------------------------------------------------- */
.contact { padding-bottom: var(--section-y); }
.contact-grid { display: grid; grid-template-columns: 1.55fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: grid; gap: .5rem; }
.field-textarea, .field-select { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.req { color: var(--primary); margin-left: .3rem; font-size: var(--fs-xs); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-sm); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: .85rem 1rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mid); }
.field :is(input, select, textarea)[aria-invalid='true'] { border-color: var(--primary-deep); }

.consent { margin-top: 1.75rem; padding: 1.35rem; background: var(--tint); border-radius: var(--radius-sm); }
.consent-check { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.consent-check input { margin-top: .35rem; accent-color: var(--primary); width: 16px; height: 16px; }
.consent-detail { margin-top: .75rem; font-size: var(--fs-xs); color: var(--secondary); line-height: 1.7; }
.form-note { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--secondary); }
.contact-form .btn-lg { margin-top: 1.75rem; }
.form-status { margin-top: 1rem; font-size: var(--fs-sm); }
.form-status.is-success { color: var(--secondary); }
.form-status.is-error { color: var(--primary-deep); }
.form-status strong { display: block; color: var(--ink); margin-bottom: .25rem; }

.contact-aside { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 2.6vw, 2rem); }
.contact-aside .footer-list { color: var(--secondary); }
.contact-aside .footer-list .k { color: var(--mid); }
.contact-aside-note { margin-bottom: 1.25rem; font-size: var(--fs-sm); color: var(--secondary); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

/* --- 404 ---------------------------------------------------- */
.notfound { min-height: 56vh; display: grid; align-content: center; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(3.25rem, 6vw, 5.5rem); overflow: hidden; }
.footer-grid {
  display: grid; grid-template-columns: 1.45fr 1.2fr .95fr .7fr;
  gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer-brand img { height: 26px; width: auto; }
.footer-definition { margin-top: 1.35rem; max-width: 32rem; color: var(--on-dark-mid); font-size: var(--fs-sm); }
.footer-h {
  font-family: var(--font-en); font-variation-settings: var(--wide);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--on-dark);
  border-radius: var(--radius-sm);
  display: inline-block; padding: .46rem .68rem .42rem; line-height: 1;
  margin-bottom: 1.15rem;
}
.contact-aside .board-bar { margin-bottom: .9rem; }
.footer-list { display: grid; gap: .6rem; font-size: var(--fs-sm); color: var(--on-dark-mid); }
.footer-list li { display: flex; gap: .75rem; align-items: baseline; }
.footer-list .k { flex: 0 0 auto; min-width: 4.75rem; color: var(--on-dark); font-weight: 500; }
.footer-list a { transition: color .18s var(--ease); }
.footer-list a:hover { color: var(--on-dark); }
.footer-sitemap li { display: block; }
.footer-sitemap a { font-family: var(--font-en); font-variation-settings: var(--wide); letter-spacing: .1em; }

/* 바닥에 깔리는 큰 워드마크 */
.footer-watermark {
  font-family: var(--font-en); font-variation-settings: var(--wider);
  font-weight: 900; font-size: clamp(5rem, 18vw, 15rem); line-height: .8;
  letter-spacing: -0.055em; text-align: center;
  color: color-mix(in srgb, var(--on-dark) 6%, transparent);
  margin: 0 0 -.16em; user-select: none; pointer-events: none;
}

.footer-bottom {
  border-top: 1px solid var(--on-dark-border);
  padding-block: 1.75rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--on-dark-mid);
}
.biz-line { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.biz-item .k { color: var(--on-dark); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- 플로팅 CTA --------------------------------------------- */
.floating-cta {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: #fff; font-weight: 600; font-size: var(--fs-sm);
  padding: .9rem 1.4rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  transition: background .18s var(--ease), opacity .25s var(--ease), transform .25s var(--ease);
}
.floating-cta:hover { background: var(--primary-deep); }
/* 푸터에 닿으면 조용히 물러납니다. */
.floating-cta.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

@media (max-width: 560px) {
  .floating-cta { left: var(--gutter); right: var(--gutter); justify-content: center; }
  .site-footer { padding-bottom: 4.5rem; }
}

/* ============================================================
   동작 — 한 곳에서만 연출합니다
   히어로와 지역 보드가 순서대로 서고, 나머지는 조용히 나타납니다.

   전부 .js 클래스가 붙었을 때만 걸립니다. 자바스크립트가 꺼져 있으면
   클래스가 안 붙어서 모든 요소가 그냥 보입니다. 이 구조를 바꾸지 마세요.
   (opacity:0 을 기본값으로 두면 AI 크롤러에게 빈 페이지가 됩니다.)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* 페이지가 열릴 때 한 번만 일어나는 연출 */
  .js .hero-text > *,
  .js .hero-media,
  .js .territory-cell {
    opacity: 0;
    animation: plate-in .65s var(--ease) forwards;
  }
  .js .hero-text > *:nth-child(1) { animation-delay: .06s; }
  .js .hero-text > *:nth-child(2) { animation-delay: .14s; }
  .js .hero-text > *:nth-child(3) { animation-delay: .22s; }
  .js .hero-text > *:nth-child(4) { animation-delay: .30s; }
  .js .hero-media { animation-delay: .10s; }
  /* 보드는 왼쪽에서 오른쪽으로 한 칸씩 세워집니다. */
  .js .territory-cell { animation-delay: calc(.42s + var(--n, 0) * .07s); }
  /* 지역 보드는 자체 연출이 있으므로 공통 등장 효과를 끕니다. */
  .js .territory-board[data-reveal] { opacity: 1; transform: none; transition: none; }
}

@keyframes plate-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* 세로 콘텐츠(인플루언서 게시물)를 쓰는 사업 섹션.
   기본 배치는 가로 큰 사진 + 정사각 작은 사진인데, 세로 원본을 16:10 으로 자르면
   절반이 날아갑니다. 이 변형은 세로 두 장을 나란히 놓습니다.
   content 의 sections[].mediaLayout = "portrait" 로 켭니다. */
.biz-section-media.is-portrait { grid-template-columns: 1fr 1fr; }
.biz-section-media.is-portrait :is(.biz-img-main, .biz-img-sub) {
  grid-column: auto; aspect-ratio: 3 / 4;
}

/* 좁은 화면에서 세로 두 장을 나란히 두면 162px 까지 줄어듭니다.
   다른 사업 섹션은 모바일에서 사진이 전폭이므로 여기도 한 열로 내립니다. */
@media (max-width: 620px) {
  .biz-section-media.is-portrait { grid-template-columns: 1fr; }
}
