/* ═══════════════════════════════════════════════════════════
   AIR-OUT — 화이트 리퀴드 글라스 · 정제된 모던 톤
   광원: 로고 그라디언트 #8113FB → #FF4AEE → #F4DAAD → #57EEFF
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #1A1A1A;
  --ink-60: rgba(26, 26, 26, .62);
  --ink-40: rgba(26, 26, 26, .42);
  --bg: #FAFAFC;
  --violet: #8113FB;
  --magenta: #FF4AEE;
  --sand: #F4DAAD;
  --cyan: #57EEFF;
  --grad: linear-gradient(118deg, var(--violet) 0%, var(--magenta) 28%, var(--sand) 55%, var(--cyan) 100%);
  /* 텍스트용: 로고의 색 흐름(바이올렛→마젠타→시안)을 유지하되 밝은 샌드·라이트시안 제거 + 톤다운 */
  --grad-text: linear-gradient(118deg, #7527D8 0%, #D94BC8 48%, #2E9FC0 100%);
  --radius: 24px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;          /* 한국어 어절 단위 줄바꿈 — 단어 중간 꺾임 방지 */
  overflow-wrap: break-word;
}

h1, h2, h3 {
  text-wrap: balance;            /* 두 줄 제목의 좌우 균형 */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ─── 배경 오로라 (은은하게) ─── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .22;
  will-change: transform;
}

.aurora__blob--violet  { width: 40vw; height: 40vw; background: var(--violet);  top: -14%; right: -10%; animation: drift1 30s ease-in-out infinite alternate; opacity: .15; }
.aurora__blob--magenta { width: 32vw; height: 32vw; background: var(--magenta); top: 42%;  left: -14%;  animation: drift2 36s ease-in-out infinite alternate; opacity: .14; }
.aurora__blob--cyan    { width: 34vw; height: 34vw; background: var(--cyan);    bottom: -14%; right: 12%; animation: drift1 40s ease-in-out infinite alternate-reverse; opacity: .18; }

@keyframes drift1 { to { transform: translate(-6vw, 5vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(6vw, -4vh) scale(.94); } }

@media (prefers-reduced-motion: reduce) {
  .aurora__blob { animation: none; }
}

/* ─── 리퀴드 글라스 공통 ─── */
.glass {
  position: relative;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  border-radius: var(--radius);
  box-shadow:
    0 10px 36px rgba(26, 26, 26, .06),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .45);
}

/* 상단 스펙큘러 하이라이트 — 유리 윗면에 빛이 스치는 느낌 */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

/* ─── 내비게이션 ─── */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 24px;
  border-radius: 999px;
  width: min(940px, 100%);
  transition: background .3s ease, box-shadow .3s ease;
}

/* 햄버거 버튼 (모바일 전용) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  border: none;
  border-radius: 999px;
  background: rgba(26, 26, 26, .05);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 모바일 드롭다운 패널 (데스크톱 숨김) */
.nav-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: min(940px, 100%);
  margin-top: 10px;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: max-height .28s ease, opacity .22s ease, transform .28s ease;
}
.nav-panel a {
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.nav-panel a:hover { background: rgba(26, 26, 26, .05); }
.nav-panel a.is-current { background: rgba(26, 26, 26, .06); }
.nav-panel__cta {
  background: var(--ink);
  color: #fff !important;
  text-align: center;
  margin-top: 2px;
}

.nav--scrolled {
  background: rgba(255, 255, 255, .74);
  box-shadow:
    0 8px 28px rgba(26, 26, 26, .1),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .5);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav__logo img { height: 32px; width: auto; }

.nav__name {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: .01em;
}

/* 페이지 메뉴 — 데스크톱에선 오른쪽으로 밀어붙임 */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 16px;
  font-weight: 600;
}

.nav__menu a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink-60);
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}

.nav__menu a:hover { color: var(--ink); background: rgba(26, 26, 26, .05); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__cta {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.nav__cta:hover { background: #333 !important; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-60);
  background: rgba(26, 26, 26, .05);
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.lang-toggle:hover { color: var(--ink); background: rgba(26, 26, 26, .09); }

/* ─── 히어로 ─── */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 168px 24px 96px;
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.16;
}

.hero__title > span { display: block; }

.grad-text {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: clamp(15px, 2vw, 17.5px);
  color: var(--ink-60);
  font-weight: 500;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 26, 26, .22);
}
.btn--primary:hover { background: #333; box-shadow: 0 10px 28px rgba(26, 26, 26, .28); }

.btn--glass { color: var(--ink); }

/* ─── platform.ooo 운영 현황 ─── */
.stats-wrap { margin-top: 68px; }

.stats-label {
  text-align: center;
  margin-bottom: 16px;
}

/* 영문 태그(모노) + 한글 설명(Pretendard) 두 줄 — 한글을 모노에 넣지 않아 폰트 안 깨짐 */
.stats-label__tag {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.stats-label__txt {
  display: block;
  margin-top: 5px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-60);
}

.stats {
  margin: 0 auto;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 34px 28px 24px;
}

.stats__item dt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-60);
  order: 2;
}

.stats__item dd {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  /* 절제된 강조 — 로고 톤다운 그라디언트 */
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 스크롤 진입 시 순차 등장 (count-up과 함께) */
.stats--anim .stats__item {
  animation: statRise .6s cubic-bezier(.22, .8, .3, 1) both;
}
.stats--anim .stats__item:nth-child(1) { animation-delay: 0s; }
.stats--anim .stats__item:nth-child(2) { animation-delay: .09s; }
.stats--anim .stats__item:nth-child(3) { animation-delay: .18s; }
.stats--anim .stats__item:nth-child(4) { animation-delay: .27s; }

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

@media (prefers-reduced-motion: reduce) {
  .stats--anim .stats__item { animation: none; }
}

.stats__note {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 26, 26, .07);
  font-size: 12px;
  color: var(--ink-40);
}

/* ─── 섹션 공통 ─── */
.section {
  max-width: 1020px;
  margin: 0 auto;
  padding: 84px 24px;
}

.section__eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 12px;
  text-align: center;
}

.section__title {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.22;
  text-align: center;
}

.section__title--xl {
  font-size: clamp(34px, 5vw, 52px);
}

.pipeline__icon {
  color: var(--ink);
  margin-bottom: 12px;
}

.pipeline__icon svg { width: 26px; height: 26px; }

.section__sub {
  margin: 14px auto 0;
  font-size: 16px;
  color: var(--ink-60);
  max-width: 560px;
  text-align: center;
}

/* ─── 카드 ─── */
.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.card {
  padding: 26px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(26, 26, 26, .1),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .55);
}

/* 카테고리 카드 아이콘: 칩 없이 28px 베어 스트로크 (레퍼런스 스케일) */
.card__icon {
  color: var(--ink);
  margin-bottom: 14px;
}

.card__icon svg { width: 28px; height: 28px; }

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(26, 26, 26, .05);
  color: var(--ink-60);
  white-space: nowrap;
}

/* 서비스 카드: 상단 미디어(악센트 틴트 + 64px 아이콘) + 본문 */
.svc {
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.svc:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(26, 26, 26, .1),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.svc__media {
  height: 168px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--a) 7%, #fff);
  color: var(--a);
}

.svc__media svg { width: 64px; height: 64px; }

.svc__body { padding: 22px 26px 26px; }

.svc__label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 10px;
}

.svc__body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.svc__lead {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 7px 0 10px;
}

.svc__body p:not(.svc__label):not(.svc__lead) {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.65;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-60);
  line-height: 1.68;
}

/* ─── 파이프라인 ─── */
.pipeline {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px 8px;
}

.pipeline__stage {
  padding: 0 26px;
  position: relative;
}

.pipeline__stage + .pipeline__stage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(26,26,26,.12), transparent);
}

.pipeline__num {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.pipeline__stage p {
  font-size: 14px;
  color: var(--ink-60);
  line-height: 1.62;
}

/* ─── 문의 ─── */
.section--contact { padding-bottom: 104px; }

.contact {
  text-align: center;
  padding: clamp(44px, 7vw, 68px) 32px;
}

.contact__title {
  font-size: clamp(25px, 3.8vw, 37px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.24;
}

.contact__sub {
  margin: 16px auto 30px;
  font-size: 16px;
  color: var(--ink-60);
  max-width: 440px;
}

/* ─── 푸터 ─── */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 44px 24px 52px;
  border-top: 1px solid rgba(26, 26, 26, .07);
}

.footer img { height: 34px; width: auto; }

.footer p {
  font-size: 13px;
  color: var(--ink-40);
}

/* ─── 모션 ─── */
.reveal-load {
  opacity: 0;
  transform: translateY(16px);
  animation: rise .8s cubic-bezier(.22, .8, .3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 120ms);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22, .8, .3, 1), transform .7s cubic-bezier(.22, .8, .3, 1);
}

.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-load { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ─── 반응형 ─── */
@media (max-width: 860px) {
  .pipeline {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px;
  }
  .pipeline__stage { padding: 0; }
  .pipeline__stage + .pipeline__stage::before {
    left: 0; right: 0; top: -13px; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26,26,26,.12), transparent);
  }
}

@media (max-width: 640px) {
  /* 모바일: 로고 + EN + 햄버거 (단일 행), 메뉴/CTA는 드롭다운으로 */
  .nav {
    gap: 8px;
    padding: 9px 10px 9px 16px;
  }
  .nav__logo img { height: 26px; }
  .nav__menu { display: none; }        /* 인라인 메뉴 숨김 → 드롭다운으로 */
  .nav__cta { display: none; }         /* 인라인 CTA 숨김 → 드롭다운에 포함 */
  .lang-toggle { margin-left: auto; }  /* EN + 햄버거를 우측으로 */
  .nav__burger { display: flex; }

  .nav-panel { display: flex; }        /* 모바일에서만 존재 (닫힘 상태) */
  .nav-panel.is-open {
    max-height: 280px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero { padding-top: 136px; padding-bottom: 72px; }
  .hero__sub br { display: none; }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 8px;
    padding: 26px 20px 18px;
  }
  .section { padding: 60px 20px; }
}

/* ═══ 멀티페이지 컴포넌트 (SITE_PLAN §1) ═══ */

/* 서브페이지 히어로 */
.hero--page { padding: 152px 24px 40px; }

.hero__title--page { font-size: clamp(30px, 4.6vw, 46px); }

/* 섹션 간격 축소 변형 (히어로 직후 비주얼 등) */
.section--tight { padding-top: 24px; }

/* 내비 현재 페이지 표기 */
.nav__menu a.is-current { color: var(--ink); background: rgba(26, 26, 26, .06); }

/* 더보기 링크 */
.section__more { margin-top: 28px; text-align: center; }

.more-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(26, 26, 26, .05);
  transition: background .2s ease, transform .2s ease;
}

.more-link:hover { background: rgba(26, 26, 26, .09); transform: translateY(-1px); }

.more-link::after { content: " →"; }

/* 카드가 링크일 때 */
a.card { display: block; color: inherit; }

/* 프레임드 이미지 (visual-control) */
.frame {
  padding: 10px;
  max-width: 960px;
  margin: 0 auto;
}

.frame img { border-radius: 16px; width: 100%; height: auto; }

.frame figcaption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-40);
  text-align: center;
  padding: 12px 0 4px;
}

/* 스플릿 히어로 (services) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.split .hero__actions { justify-content: flex-start; }

/* 좁은 좌측 컬럼에서 제목이 3줄로 깨지지 않도록 크기 축소 */
.split .hero__title--page { font-size: clamp(28px, 3.4vw, 40px); }

.split__media img {
  width: 100%;
  height: auto;
  /* 제품이 우측 바깥이 아닌 중앙(카피) 쪽을 바라보도록 좌우반전 */
  transform: scaleX(-1);
  /* 이미지의 흰 배경 가장자리를 페이지 배경으로 부드럽게 녹임 */
  -webkit-mask-image: radial-gradient(78% 78% at 50% 47%, #000 54%, transparent 100%);
          mask-image: radial-gradient(78% 78% at 50% 47%, #000 54%, transparent 100%);
}

/* 모바일에선 이미지가 카피 위(세로 배치)라 반전 불필요 */
@media (max-width: 860px) {
  .split__media img { transform: none; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; text-align: center; }
  .split .hero__actions { justify-content: center; }
}

/* 서비스 상태 그룹 라벨 */
.group-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);   /* 한글 라벨 — 모노폰트는 한글 글리프가 없어 깨짐 */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-60);
  margin-bottom: 20px;
}

.group-label__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-40);
}

.group-label__dot--live { background: #34c759; }

/* 팝업 스토어 morph (RIVE 교체 포인트) */
.morph-wrap {
  margin-top: 44px;
  padding: 10px;
  max-width: 920px;
}

.morph {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
}

.morph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 1.1s cubic-bezier(.4, 0, .2, 1);
}

.morph.layout-0 img { transform: scale(1.9) translate(23%, 6%); }
.morph.layout-1 img { transform: scale(1.9) translate(-17%, 17%); }
.morph.layout-2 img { transform: scale(1.8) translate(-2%, -20%); }

@media (prefers-reduced-motion: reduce) {
  .morph img { transition: none; }
}

.morph-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 6px;
}

.morph-tab {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-60);
  background: rgba(26, 26, 26, .05);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.morph-tab.is-active { color: #fff; background: var(--ink); }

/* 지도 오피스 탭 (contact) */
.map-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.map-tab {
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-60);
  background: rgba(26, 26, 26, .05);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.map-tab.is-active { color: #fff; background: var(--ink); }

/* 지도 카드 (contact) */
.map-card {
  margin-top: 14px;
  padding: 10px;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(26, 26, 26, .04);
}

.contact-info { margin-top: 20px; }

.contact-info .card p a { font-weight: 600; }

/* 푸터 확장 */
.footer__nav {
  display: flex;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 600;
}

.footer__nav a { color: var(--ink-60); }
.footer__nav a:hover { color: var(--ink); }

.footer__info {
  font-size: 13px;
  color: var(--ink-40);
  text-align: center;
  line-height: 1.7;
}

.footer__addr { display: block; }
.footer__addr b { color: var(--ink-60); font-weight: 700; margin-right: 6px; }
.footer__mail { display: inline-block; margin-top: 6px; }

.footer__info a { color: var(--ink-60); }

.footer__copy { font-size: 12.5px; color: var(--ink-40); }

/* 섹션 헤더 뒤에 오는 프레임 간격 (popup 등) */
.section__sub ~ .frame { margin-top: 44px; }

/* 홈 시그니처 매장 비주얼 (쿼터뷰) — 히어로 텍스트와 CTA 사이 */
.hero-visual {
  max-width: 940px;
  margin: 40px auto 8px;
}

/* 가장자리를 페이지 배경으로 부드럽게 녹이는 페이드 (사방 소프트 비네트) */
.hero-visual img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(72% 72% at 50% 47%, #000 52%, transparent 100%);
          mask-image: radial-gradient(72% 72% at 50% 47%, #000 52%, transparent 100%);
}

/* ═══ 블로그 ═══ */
/* 글 목록 카드 */
.post-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26, 26, 26, .1),
    inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.post-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--violet) 5%, #fff);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
.post-card__tag {
  align-self: flex-start;
  font-family: var(--font);   /* 한글 태그 — 모노폰트는 한글 글리프 없어 깨짐 */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-60);
  background: rgba(26, 26, 26, .05);
  padding: 4px 11px;
  border-radius: 999px;
}
.post-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.32;
  margin: 14px 0 8px;
}
.post-card__excerpt {
  font-size: 14.5px;
  color: var(--ink-60);
  line-height: 1.62;
  flex: 1;
}
.post-card__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-40);
  margin-top: 16px;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-40);
  padding: 40px 0;
}

/* 글 본문 */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 152px 24px 40px;
}
.post__head { margin-bottom: 36px; }
.post__back {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-60);
  margin-bottom: 22px;
}
.post__back:hover { color: var(--ink); }
.post__tag {
  display: inline-block;
  font-family: var(--font);   /* 한글 태그 — 모노폰트는 한글 글리프 없어 깨짐 */
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #6D4AD1;
  margin-bottom: 12px;
}
.post__title {
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
/* 헤더 이미지 (글 상단) */
.post__hero {
  margin: 0 0 28px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--violet) 5%, #fff);
}
.post__hero img { width: 100%; height: 100%; object-fit: cover; }

/* 발행일 · 수정일 */
.post__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-40);
}
.post__dates time { color: var(--ink-60); }
.post__sep { color: var(--ink-40); }

.post__body { font-size: 17px; line-height: 1.8; color: var(--ink); }
.post__body .post__lead {
  font-size: 19px;
  color: var(--ink-60);
  line-height: 1.72;
  margin-bottom: 32px;
}
.post__body h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.post__body p { margin-bottom: 20px; color: var(--ink-60); }
.post__body strong { color: var(--ink); font-weight: 700; }
