/* =====================================================================
   이음웨딩 디자인 시스템 (design.md 기반)
   - 메인 컬러만 딥그린 #005456 으로 치환, 나머지 토큰/규칙은 design.md 그대로
   - Typeface: DM Sans (한글 fallback: Noto Sans KR)
   - 버튼: 전부 pill(rounded-full) / 카드: 플랫 + 1px hairline
   ===================================================================== */

:root {
  /* ---- Colors (design.md, primary=black → 딥그린 #005456) ---- */
  --primary: #005456;
  --primary-pressed: #003c3e;      /* design.md charcoal 역할 (딥그린 pressed) */
  --primary-soft: #0b3f41;
  --on-primary: #ffffff;

  --canvas: #ffffff;
  --surface: #f7f8fa;
  --surface-soft: #f2f3f5;
  --hairline: #e5e7eb;
  --hairline-soft: #eaecf0;

  --ink: #0a0a0a;
  --ink-strong: #000000;
  --charcoal: #222222;
  --slate: #45515e;
  --steel: #5f5f5f;
  --stone: #8e8e93;
  --muted: #a8aab2;
  --on-dark: #ffffff;
  --footer-bg: #031718;            /* Contact/푸터 배경 */
  /* 상단바 + 페이지헤더 공유 배경 (뷰포트 고정으로 이음새 없이 이어짐) */
  --header-bg:
    radial-gradient(120% 150% at 100% -18%, rgba(72, 176, 166, 0.32) 0%, rgba(72, 176, 166, 0) 68%),
    linear-gradient(180deg, #005456 0%, #013f40 62%, #012e2d 100%);

  --success-bg: #e8fff0;
  --success-text: #0f8a5f;

  /* ---- Radius (design.md rounded scale) ---- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-xxl: 20px;
  --r-xxxl: 24px;
  --r-hero: 32px;
  --r-full: 9999px;

  /* ---- Spacing (design.md spacing scale, base 4px) ---- */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 20px;
  --s-xl: 24px;
  --s-xxl: 32px;
  --s-xxxl: 40px;
  --s-section-sm: 48px;
  --s-section: 64px;
  --s-section-lg: 80px;
  --s-hero: 96px;

  /* ---- Elevation (design.md elevation table) ---- */
  --e0: none;
  --e1: rgba(0, 0, 0, 0.04) 0px 1px 2px 0px;
  --e2: rgba(0, 0, 0, 0.08) 0px 4px 6px 0px;
  --e3: rgba(0, 0, 0, 0.08) 0px 0px 22px 0px;
  --e4: rgba(36, 36, 36, 0.08) 0px 12px 16px -4px;

  --font: 'DM Sans', 'Noto Sans KR', 'Inter', system-ui, sans-serif;
  --maxw: 1720px;                  /* 콘텐츠 폭 확대 (사이드 여백 축소) */
  --gutter: 40px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);   /* 150–200ms ease (design.md gap note) */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* =========================================================
   Typography tokens (design.md hierarchy)
   ========================================================= */
.t-hero    { font-size: 80px; font-weight: 600; line-height: 1.10; letter-spacing: -0.02em; }
.t-display { font-size: 56px; font-weight: 600; line-height: 1.10; letter-spacing: -1.5px; }
.t-h-lg    { font-size: clamp(38px, 4.4vw, 52px); font-weight: 600; line-height: 1.16; letter-spacing: -1px; }
.t-h-md    { font-size: clamp(28px, 3.2vw, 38px); font-weight: 600; line-height: 1.22; letter-spacing: -0.5px; }
.t-h-sm    { font-size: clamp(22px, 2.4vw, 27px); font-weight: 600; line-height: 1.30; }
.t-card    { font-size: 22px; font-weight: 600; line-height: 1.40; }
.t-subtitle{ font-size: 19px; font-weight: 500; line-height: 1.55; }
.t-body    { font-size: 17px; font-weight: 400; line-height: 1.6; }
.t-body-b  { font-size: 16px; font-weight: 700; line-height: 1.50; }
.t-sm      { font-size: 14px; font-weight: 400; line-height: 1.50; }
.t-sm-med  { font-size: 14px; font-weight: 500; line-height: 1.50; }
.t-caption { font-size: 13px; font-weight: 400; line-height: 1.70; }
.t-caption-b { font-size: 13px; font-weight: 600; line-height: 1.50; }
.t-micro   { font-size: 12px; font-weight: 400; line-height: 1.50; }

/* =========================================================
   Buttons — 전부 pill (design.md button system)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 11px 24px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-pressed); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--canvas); }
.btn-tertiary { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.btn-tertiary:hover { border-color: var(--ink); }
/* on-dark 배경(히어로) 위 버튼 변형 */
.btn-on-dark-solid { background: var(--canvas); color: var(--primary); }
.btn-on-dark-solid:hover { background: rgba(255, 255, 255, 0.88); transform: translateY(-1px); }
.btn-on-dark-outline { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.7); }
.btn-on-dark-outline:hover { background: rgba(255, 255, 255, 0.12); }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--canvas); color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 20px; line-height: 1;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); background: var(--surface); }

/* =========================================================
   Layout helpers
   ========================================================= */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
/* 콘텐츠 폭을 좁혀 좌우 여백을 넉넉하게 (services / works) */
.container-narrow { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-label { display: inline-flex; align-items: center; gap: 10px;
  color: var(--primary); font-size: 13px; font-weight: 600; line-height: 1.5;
  letter-spacing: 0.14em; text-transform: uppercase; }
.section-label::before, .section-label::after {
  content: ''; width: 22px; height: 1px; background: currentColor; opacity: 0.45;
}

/* =========================================================
   HERO — product-card-photo 감성 (primary/photo bg, on-dark)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--on-dark);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--primary); overflow: hidden; }
/* 연속 Ken Burns 줌 (컨테이너 전체 · 리셋 없이 왕복) */
.hero__slides { position: absolute; inset: 0; animation: heroKen 28s ease-in-out infinite alternate; will-change: transform; }
@keyframes heroKen { from { transform: scale(1.02); } to { transform: scale(1.09); } }
/* 이미지 교체는 오래된 크로스페이드(불투명도)만 사용 → 배율 튐 없음 */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; will-change: opacity;
  transition: opacity 1.6s ease;
}
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__slides { animation: none; }
  .hero__slide { transition: none; }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 40, 41, 0.55) 0%, rgba(0, 45, 46, 0.25) 40%, rgba(0, 40, 41, 0.75) 100%),
    linear-gradient(90deg, rgba(0, 45, 46, 0.45), rgba(0, 45, 46, 0));
}

.hero__nav {
  position: relative; z-index: 30;   /* hero__center(2) 위로 올려 드롭다운 hover 유지 */
  width: 100%; margin: 0;
  padding: clamp(34px, 3.6vw, 56px) clamp(40px, 4vw, 72px) 0;   /* 화면 폭 전체로 펼침 */
  display: flex; align-items: center; justify-content: space-between;
}
.hero__nav .has-sub { z-index: 31; }
.hero__nav .has-sub:hover { z-index: 61; }
.hero__logo { height: 44px; color: var(--on-dark); }
.hero__menu { display: flex; gap: var(--s-xxl); }
.hero__menu a {
  font-size: 18px; font-weight: 500; line-height: 1.5;
  color: var(--on-dark); opacity: 0.9;
  position: relative; padding-bottom: 4px;
  transition: opacity 0.18s var(--ease);
}
.hero__menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--on-dark); transition: width 0.25s var(--ease);
}
.hero__menu a:hover { opacity: 1; }
.hero__menu a:hover::after { width: 100%; }

.hero__center {
  position: relative; z-index: 2; flex: 1;
  width: 100%;
  padding: 0 clamp(40px, 4vw, 72px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  text-align: left;
}
.hero__eyebrow {
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: var(--s-lg);
  animation: fadeUp 0.9s 0.15s both var(--ease);
}
.hero__title {
  color: #ffffff;
  font-family: 'Italiana', serif;   /* 히어로 전용 */
  font-size: clamp(48px, 6.6vw, 84px);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.12;
  max-width: 24ch;
  animation: fadeUp 0.9s 0.3s both var(--ease);
}
.hero__title em { font-weight: 400; font-style: normal; color: #ffffff; }
/* 히어로 상단 배지 */
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  color: var(--on-dark); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: var(--s-lg);
  animation: fadeUp 0.9s 0.05s both var(--ease);
}
.hero__chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a9e3d8; box-shadow: 0 0 0 4px rgba(169, 227, 216, 0.25); }
.hero__title em { font-style: normal; color: #ffffff; }
.hero__subtitle {
  margin-top: var(--s-lg);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;              /* 살짝 가볍게 */
  max-width: 46ch;
  animation: fadeUp 0.9s 0.45s both var(--ease);
}
.hero__actions {
  margin-top: var(--s-xxl); display: flex; gap: var(--s-sm); flex-wrap: wrap; justify-content: flex-start;
  animation: fadeUp 0.9s 0.6s both var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* 슬라이드 인디케이터 (좌측 하단, 활성 점이 길어짐) */
.hero__dots {
  position: absolute; left: clamp(40px, 4vw, 72px); bottom: clamp(28px, 3vw, 46px); z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.hero__dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.4); cursor: pointer;
  transition: width 0.5s var(--ease), background 0.5s var(--ease);
}
.hero__dots button.is-active { width: 42px; background: var(--on-dark); }

/* 스크롤 다운 (우측 하단) */
.hero__scrolldown {
  position: absolute; right: clamp(40px, 4vw, 72px); bottom: clamp(24px, 3vw, 42px); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--on-dark);
}
.hero__scrolltext { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; opacity: 0.85; }
.hero__scroll {
  width: 24px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-full); display: flex; justify-content: center; padding-top: 7px;
}
.hero__scroll span { width: 3px; height: 8px; background: var(--on-dark); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   INTRO band
   ========================================================= */
.intro { background: #ebebeb; text-align: center; }
.intro__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(88px, 10vw, 132px) var(--gutter) clamp(52px, 6vw, 72px); }
.intro__lead { margin: var(--s-md) auto 0; max-width: 24ch; color: var(--ink); }
.intro__body { margin-top: var(--s-lg); color: var(--slate); }
.intro__creds { margin-top: var(--s-xl); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-xs); }
.intro__creds li {
  background: var(--surface); color: var(--slate);
  border: 1px solid var(--hairline); border-radius: var(--r-full);
  padding: 6px 14px; font-size: 13px; font-weight: 500; line-height: 1.5;
}

/* 신뢰 스탯 밴드 */
.stats {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline-soft); border-radius: var(--r-xxxl);
  background: var(--surface); overflow: hidden;
}
.stat { padding: clamp(26px, 3vw, 40px) var(--s-lg); text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--hairline); }
.stat__num { color: var(--primary); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -0.5px; }
.stat__label { margin-top: 8px; color: var(--steel); font-size: 14px; font-weight: 500; }

/* 파트너 마퀴 (함께한 공간) */
.marquee { border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft);
  background: var(--canvas); padding: var(--s-lg) 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--canvas), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--canvas), transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: var(--s-xxl);
  white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: var(--s-xxl);
  color: var(--slate); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.marquee__item::after { content: '✦'; color: var(--primary); opacity: 0.5; font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   SERVICES — card-base (flat, hairline, rounded-xl)
   ========================================================= */
.services { background: #121212; }
.services .section-label { color: #a9e3d8; }
.services__inner { padding-top: clamp(96px, 10vw, 140px); padding-bottom: clamp(96px, 10vw, 140px); }
.services__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.services__head h2 { margin-top: var(--s-sm); color: #ffffff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-xxxl);
  padding: clamp(28px, 3vw, 42px);
  transition: box-shadow 0.18s var(--ease), transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.card:hover { box-shadow: var(--e2); transform: translateY(-4px); border-color: var(--hairline); background: var(--canvas); }
.card__icon {
  width: 62px; height: 62px; border-radius: var(--r-xl);
  background: #e3efec; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-xl);
}
.card__icon svg { width: 30px; height: 30px; }
.card { position: relative; overflow: hidden; }
.card__index { position: absolute; top: 18px; right: 22px; font-size: 46px; font-weight: 700;
  line-height: 1; letter-spacing: -1px; color: var(--primary); opacity: 0.08; }
.card__en { color: var(--stone); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.card__ko { margin-top: var(--s-xxs); color: var(--ink); }
.card__lead { margin-top: var(--s-sm); color: var(--slate); font-weight: 400; }
.card__more { margin-top: var(--s-lg); display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 14px; font-weight: 600;
  transition: gap 0.18s var(--ease); }
.card:hover .card__more { gap: 11px; }

/* =========================================================
   WORKS — 카드 캐러셀 (배경 메인그린 · 이미지 상단 카드)
   ========================================================= */
.works {
  padding: clamp(96px, 10vw, 140px) 0;
  background: var(--primary); color: var(--on-dark);
  /* 콘텐츠 좌측 정렬 기준(1040 컨테이너 콘텐츠 왼쪽 가장자리) */
  --works-inset: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.works .section-label { color: #a9e3d8; }
.works__head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.works__head h2 { margin-top: var(--s-sm); color: var(--on-dark); }

/* 풀블리드: 왼쪽은 콘텐츠 기준 정렬, 오른쪽은 화면 끝까지(카드가 살짝 peek) */
.wcarousel { position: relative; margin: 0; padding: 0; }
.wcarousel__viewport {
  display: flex; gap: clamp(24px, 3vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--works-inset) var(--s-xxs);
  scroll-padding-left: var(--works-inset);
  scrollbar-width: none;
}
.wcarousel__viewport::-webkit-scrollbar { display: none; }

.wcard { flex: 0 0 auto; width: clamp(300px, 33%, 430px); scroll-snap-align: start; }
.wcard__media {
  aspect-ratio: 4 / 3; border-radius: var(--r-xxl); overflow: hidden;
  background: var(--primary-soft); box-shadow: var(--e2);
}
.wcard__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.wcard:hover .wcard__img { transform: scale(1.05); }
.wcard__label { margin-top: var(--s-lg); color: #a9e3d8; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.wcard__title { margin-top: 6px; color: var(--on-dark); }

.wcarousel__bar { position: relative; height: 3px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.22); overflow: hidden;
  margin: var(--s-xxxl) var(--works-inset) 0; }
.wcarousel__bar span { position: absolute; top: 0; height: 100%; width: 28%;
  background: var(--on-dark); border-radius: var(--r-full); transition: left 0.25s var(--ease); }

/* ---- 스포트라이트 캐러셀 (가운데 큰 카드 + 양옆 peek) ---- */
.spotlight { position: relative; }
.spotlight__viewport { overflow: hidden; padding: 10px 0; }
.spotlight__track { display: flex; gap: clamp(16px, 2vw, 28px); list-style: none; padding: 0; margin: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.spot { flex: 0 0 clamp(260px, 60%, 840px); position: relative; height: clamp(300px, 40vw, 500px);
  border-radius: var(--r-hero); overflow: hidden; box-shadow: var(--e2);
  opacity: 1; }
.spot__link { display: block; height: 100%; color: #fff;
  width: 100%; padding: 0; border: none; background: none; font: inherit; text-align: left; cursor: pointer; }
.spot__img { width: 100%; height: 100%; object-fit: cover; }
.spot__overlay { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2, 22, 22, 0.72) 0%, rgba(2, 22, 22, 0.35) 45%, rgba(2, 22, 22, 0) 80%); }
.spot__body { position: absolute; left: clamp(26px, 3.5vw, 56px); top: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; max-width: 62%; }
.spot__name { font-size: clamp(24px, 3.2vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.5px; color: #fff; }
.spot__tag { border: 1px solid rgba(255, 255, 255, 0.7); border-radius: var(--r-full);
  padding: 7px 18px; font-size: 13px; font-weight: 600; color: #fff; }
.spot__more { margin-top: 6px; display: inline-block; background: #fff; color: var(--ink);
  border-radius: var(--r-full); padding: 13px 30px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  transition: transform 0.18s var(--ease); }
.spot__link:hover .spot__more { transform: translateY(-2px); }

.spotlight__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: clamp(30px, 4vw, 52px); }

/* 서비스 상세 안의 '진행하고 있는 예식' — 한 화면에 들어오도록 축소 */
.page .works { margin-top: clamp(72px, 9vw, 120px); padding: clamp(52px, 5.5vw, 80px) 0; }
.page .works__head { margin-bottom: clamp(24px, 2.8vw, 38px); }
.page .works__head h2 { font-size: clamp(26px, 3vw, 40px); }
.page .spot { flex: 0 0 clamp(240px, 54%, 720px); height: clamp(230px, 29vw, 380px); }
.page .spot__name { font-size: clamp(20px, 2.2vw, 32px); }
.page .spot__body { gap: 12px; }
.page .spot__more { padding: 11px 24px; }
.page .spotlight__ctrl { margin-top: clamp(20px, 2.4vw, 32px); }
.page .spot-arrow { width: 48px; height: 48px; font-size: 19px; }
.spot-arrow { width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: #0a0a0a; color: #fff; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: transform 0.18s var(--ease), background 0.18s var(--ease); }
.spot-arrow:hover { transform: scale(1.06); background: #000; }
.spot-viewmore { border: none; cursor: pointer; font: inherit;
  background: #0a0a0a; color: #fff; border-radius: var(--r-full);
  padding: 17px 44px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; transition: background 0.18s var(--ease); }
.spot-viewmore:hover { background: #000; }
@media (max-width: 720px) {
  .spot { flex-basis: 84%; }
  .spot__body { max-width: 80%; }
}

/* =========================================================
   FOOTER — footer-region (bg = primary, on-dark)
   ========================================================= */
.footer { background: var(--footer-bg); color: var(--on-dark); }
.footer__inner { padding: clamp(72px, 8vw, 104px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.footer__cta { text-align: center; padding-bottom: var(--s-xxxl); }
.footer__cta .section-label { color: rgba(255, 255, 255, 0.7); }
.footer__cta h2 { margin-top: var(--s-sm); color: var(--on-dark); }
.footer__mail { display: inline-block; margin-top: var(--s-lg); color: var(--on-dark); font-size: 20px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 4px; transition: border-color 0.18s var(--ease); }
.footer__mail:hover { border-color: var(--on-dark); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-lg) var(--s-xxxl); padding: var(--s-xl) 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer__links li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer__k { color: rgba(255, 255, 255, 0.6); font-size: 12px; letter-spacing: 0.08em; }
.footer__links a { color: var(--on-dark); font-size: 14px; opacity: 0.92; transition: opacity 0.18s var(--ease); }
.footer__links a:hover { opacity: 1; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-xs); margin-top: var(--s-xl); }
.footer__logo { height: 22px; color: var(--on-dark); opacity: 0.95; }
.footer__copy { color: rgba(255, 255, 255, 0.6); font-size: 12px; }

/* =========================================================
   소셜 아이콘 (히어로 nav / 상단바 공용)
   ========================================================= */
.social { display: flex; align-items: center; gap: var(--s-xs); }
.social a {
  width: 36px; height: 36px; border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); color: var(--ink);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.social a:hover { color: var(--primary); border-color: var(--primary); background: var(--surface); }
.social svg { width: 18px; height: 18px; }
/* 히어로(어두운 배경) 위 소셜 */
.social--on-dark a { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.35); }
.social--on-dark a:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.7); color: var(--on-dark); }

/* 히어로 nav 오른쪽 그룹 */
.hero__right { display: flex; align-items: center; gap: var(--s-xl); }

/* =========================================================
   상단바 (서브페이지 솔리드 네비)
   ========================================================= */
.topbar { position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); background-attachment: fixed; background-size: 100% 100vh; background-repeat: no-repeat; }
.topbar__inner { width: 100%; margin: 0;
  padding: clamp(34px, 3.6vw, 56px) clamp(40px, 4vw, 72px) clamp(26px, 2.8vw, 38px);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.28s var(--ease); }
.topbar__logo { height: 44px; color: var(--on-dark); transition: height 0.28s var(--ease); }
/* 상단바 축소 시 문서 높이가 변하면서 브라우저가 스크롤 위치를 보정(scroll anchoring)해
   축소↔복원이 반복되며 떨리는 현상을 막습니다. */
html { overflow-anchor: none; }
/* 스크롤을 내렸을 때만 상단바·로고 축소 */
.topbar.is-scrolled .topbar__inner { padding-top: clamp(10px, 1.1vw, 15px); padding-bottom: clamp(10px, 1.1vw, 15px); }
.topbar.is-scrolled .topbar__logo { height: 30px; }
.topbar__right { display: flex; align-items: center; gap: var(--s-xl); }
/* 메인 히어로 메뉴(.hero__menu)와 완전히 동일한 크기·간격 */
.navlinks { display: flex; align-items: center; gap: var(--s-xxl); }
.navlinks a { font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: normal;
  color: rgba(255, 255, 255, 0.9); padding: 0 0 4px; position: relative; transition: color 0.18s var(--ease); }
.navlinks a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #a9e3d8; transition: width 0.25s var(--ease); }
.navlinks a:hover, .navlinks a.is-active { color: #fff; }
/* 현재 위치는 굵기 대신 밑줄로만 표시 (메인 헤더와 크기 동일하게) */
.navlinks a:hover::after, .navlinks a.is-active::after { width: 100%; }
/* 좁은 화면에선 가로 메뉴 숨기고 Menu 버튼으로 */
@media (max-width: 960px) { .navlinks, .hero__menu { display: none; } }
/* 좁은 화면에선 오버레이 패널을 넓게 */
@media (max-width: 820px) { .menu-panel { width: min(440px, 86vw); } }
@media (max-width: 480px) { .menu-panel { width: 100%; } }

/* =========================================================
   페이지 헤더 밴드 (서브페이지)
   ========================================================= */
.pagehead { background: var(--primary); color: var(--on-dark); position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 104px) 0 clamp(44px, 6vw, 72px); }
.pagehead::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%); }
.pagehead__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.pagehead .section-label { color: #a9e3d8; }
.pagehead h1 { margin-top: var(--s-md); color: var(--on-dark); }
.pagehead__sub { margin: var(--s-md) auto 0; color: rgba(255, 255, 255, 0.86); max-width: 56ch; }

/* =========================================================
   페이지 헤더 (breadcrumb + 섹션 타이틀 + 하위 탭)
   ========================================================= */
.phead { position: relative; overflow: hidden; border-bottom: none;
  background: var(--header-bg); background-attachment: fixed; background-size: 100% 100vh; background-repeat: no-repeat;
  color: var(--on-dark);
  padding-top: clamp(24px, 3vw, 36px); }
.phead::before { display: none; }

/* =========================================================
   서비스 상세 — 풀스크린 히어로 헤더
   ========================================================= */
html { scroll-behavior: smooth; }

.phead--hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 0;
  background-image: none;
  position: relative;
  overflow: hidden;
}
/* 배경 이미지 — 천천히 축소되는 켄 번스 효과 (이미지에 이미 톤이 적용돼 있어 오버레이 없음) */
.phead--hero::before {
  display: block; content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.14);
  animation: heroZoomOut 10s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoomOut { from { transform: scale(1.14); } to { transform: scale(1); } }

.phead--hero .phead__inner { width: 100%; padding-top: 0; padding-bottom: 0; text-align: center; }
.phead--hero .crumb { justify-content: center; }
.phead--hero .phead__title { justify-content: center; }

/* 히어로 페이지에서는 상단바가 사진 위에 겹쳐지고, 스크롤하면 배경이 살아납니다 */
.has-hero .topbar { position: fixed; top: 0; left: 0; right: 0; background: none; }
.has-hero .topbar.is-scrolled { background: var(--header-bg); background-attachment: fixed;
  background-size: 100% 100vh; background-repeat: no-repeat; }

/* 스크롤 안내 (하단 중앙) */
.phead--hero .hero__scrolldown { left: 50%; right: auto; transform: translateX(-50%); }

/* 큰 타이틀 헤더 (서비스 상세) — 좌측 정렬, 히어로와 같은 Italiana */
.phead--lg .phead__title h1 { font-family: 'Italiana', serif; font-weight: 400;
  font-size: clamp(56px, 9vw, 150px); letter-spacing: 0.5px; line-height: 1.05; text-transform: none; }
.phead--lg .phead__diamond { width: 22px; height: 22px; margin-top: clamp(14px, 2.4vw, 30px); }
/* 모바일: 제목만 화면 폭에 맞춰 크게 (고정 2배는 넘쳐서 vw 기준으로 최대치) */
@media (max-width: 640px) {
  .phead--lg .phead__title h1 { font-size: 21vw; letter-spacing: -0.5px; }
  .phead--lg .phead__diamond { width: 12px; height: 12px; margin-top: 10px; }
}
/* 아래에서 위로 올라오는 등장 */
@keyframes riseUp { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
.phead--lg .crumb { animation: riseUp 0.7s var(--ease) both; }
.phead--lg .phead__title { animation: riseUp 0.9s 0.12s var(--ease) both; }
.phead--lg .phead__sub { animation: riseUp 0.8s 0.28s var(--ease) both; }
.phead__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(26px, 3vw, 40px); }
.crumb { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 500; }
.crumb a { display: inline-flex; align-items: center; color: rgba(255, 255, 255, 0.75); transition: color 0.18s var(--ease); }
.crumb a:hover { color: #fff; }
.crumb__home svg { width: 18px; height: 18px; display: block; }
.crumb__sep { color: rgba(255, 255, 255, 0.5); }
.crumb__current { color: #a9e3d8; font-weight: 600; }
.phead__title { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(10px, 1.5vw, 16px); }
.phead__title h1 { color: var(--on-dark); font-weight: 700; letter-spacing: -1.5px; text-transform: uppercase;
  font-size: clamp(40px, 6.6vw, 74px); line-height: 1.02; }
.phead__diamond { flex: 0 0 auto; width: 15px; height: 15px; background: #a9e3d8; border-radius: 3px;
  transform: rotate(45deg); margin-top: clamp(8px, 1.4vw, 15px); }
.phead__sub { margin-top: var(--s-md); color: rgba(255, 255, 255, 0.85); max-width: 58ch; }
/* 부제(왼쪽) + 하위 탭(오른쪽) 한 줄 배치 */
.phead__foot { display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: clamp(16px, 3vw, 48px); margin-top: clamp(20px, 3vw, 36px); }
.phead__foot .phead__sub { margin-top: 0; }
.phead__foot .ptabs { margin-top: 0; }
.ptabs { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 4vw, 44px); margin-top: clamp(22px, 3vw, 38px); }
.ptabs__label { padding-bottom: 12px; margin-right: clamp(4px, 1vw, 14px);
  font-size: clamp(17px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.3px; color: #fff; }
.ptabs a { position: relative; padding-bottom: 12px; font-size: clamp(17px, 2.2vw, 24px); font-weight: 700;
  color: rgba(255, 255, 255, 0.65); letter-spacing: -0.3px; transition: color 0.18s var(--ease); }
.ptabs a:hover { color: #fff; }
.ptabs a.is-active { color: #fff; }
.ptabs a::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 3px;
  background: #a9e3d8; border-radius: 2px; transition: width 0.25s var(--ease); }
.ptabs a:hover::after { width: 100%; }
.ptabs a.is-active::after { width: 100%; }

/* 페이지 헤더 등장 (좌 → 우 페이드인) */
.phead .crumb { animation: fadeInLeft 0.6s var(--ease) both; }
.phead__title { animation: fadeInLeft 0.6s 0.08s var(--ease) both; }
.phead__sub { animation: fadeInLeft 0.6s 0.16s var(--ease) both; }
.phead .ptabs { animation: fadeInLeft 0.6s 0.24s var(--ease) both; }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

/* 공통 콘텐츠 섹션 */
.page { padding: clamp(88px, 9vw, 128px) 0; }
/* 서비스 상세: 헤더와 본문 사이 간격 축소 */
.phead--lg + .page { padding-top: 64px; }
.phead--hero + .page { padding-top: clamp(64px, 7vw, 96px); }
.page--soft { background: var(--surface); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 1120px; }
.block + .block { margin-top: clamp(48px, 6vw, 80px); }
.block__label { margin-bottom: var(--s-md); }
.block h2 { color: var(--ink); }
.prose { color: var(--slate); }
.prose + .prose { margin-top: var(--s-md); }

/* About — 이력/프로필 리스트 */
.exp { display: grid; gap: var(--s-md); margin-top: var(--s-xl); }
.exp__item { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-lg);
  background: var(--canvas); border: 1px solid var(--hairline-soft); border-radius: var(--r-xl); padding: var(--s-xl); }
.exp__name { color: var(--primary); font-weight: 600; font-size: 16px; }
.exp__desc { color: var(--slate); }
.awards { display: flex; flex-direction: column; gap: var(--s-sm); margin-top: var(--s-lg); }
.awards li { display: flex; gap: var(--s-sm); color: var(--charcoal); }
.awards li::before { content: '✦'; color: var(--primary); }

/* Service — 상세 교차 행 */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.srow + .srow { margin-top: clamp(40px, 5vw, 72px); }
.srow:nth-child(even) .srow__media { order: 2; }
.srow__media { aspect-ratio: 4 / 3; border-radius: var(--r-xxl); overflow: hidden; box-shadow: var(--e2); }
.srow__media img { width: 100%; height: 100%; object-fit: cover; }
.srow__no { color: var(--primary); font-size: 40px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.srow__en { margin-top: var(--s-sm); color: var(--stone); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.srow__ko { margin-top: var(--s-xxs); color: var(--ink); }
.srow__lead { margin-top: var(--s-md); color: var(--charcoal); font-weight: 500; }
.srow__desc { margin-top: var(--s-sm); color: var(--slate); }

/* Portfolio — 카드 그리드 */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.pcard { display: flex; flex-direction: column; }
.pcard__media { aspect-ratio: 4 / 3; border-radius: var(--r-xxl); overflow: hidden; box-shadow: var(--e1); background: var(--surface); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__blurb { margin-top: var(--s-md); color: var(--primary); font-size: 13px; font-weight: 600; }
.pcard__name { margin-top: var(--s-xxs); color: var(--ink); }
.pcard__desc { margin-top: var(--s-xs); color: var(--slate); font-size: 14px; }

/* Connect — 연락처 + 폼 */
.connect { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.cinfo { display: flex; flex-direction: column; gap: var(--s-md); }
.cinfo__item { display: flex; flex-direction: column; gap: 2px; padding: var(--s-md) 0; border-bottom: 1px solid var(--hairline-soft); }
.cinfo__k { color: var(--stone); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.cinfo__v { color: var(--ink); font-size: 17px; font-weight: 500; }
.cinfo__v:hover { color: var(--primary); }
.form { background: var(--surface); border: 1px solid var(--hairline-soft); border-radius: var(--r-xxl); padding: clamp(24px, 3vw, 36px); }
.field { margin-bottom: var(--s-md); }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--charcoal); }
.field input, .field textarea { width: 100%; background: var(--canvas); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: var(--s-sm) var(--s-md); font-family: var(--font); font-size: 15px; color: var(--ink); transition: border-color 0.18s var(--ease); }
.field input { height: 46px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border: 2px solid var(--primary); }
.form .btn { width: 100%; margin-top: var(--s-xs); }
.form__note { margin-top: var(--s-sm); color: var(--stone); font-size: 12px; text-align: center; }

/* =========================================================
   드롭다운 서브메뉴 (Service)
   ========================================================= */
.has-sub { position: relative; }
.caret { font-size: 9px; opacity: 0.8; margin-left: 4px; display: inline-block; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 184px; background: var(--canvas);
  border: 1px solid var(--hairline-soft); border-radius: var(--r-lg);
  box-shadow: var(--e2);
  /* 위쪽 여백을 패딩으로 두어 메뉴~드롭다운 사이 hover 가 끊기지 않게 함 */
  padding: 12px 6px 6px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); z-index: 60;
}
/* 메뉴 항목과 드롭다운 사이 투명 브릿지 (hover 유지) */
.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: block !important; padding: 10px 14px; border-radius: var(--r-md);
  color: var(--charcoal) !important; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 1 !important;
}
.submenu a::after { display: none !important; }
.submenu a:hover { background: var(--surface); color: var(--primary) !important; }

/* =========================================================
   서비스 상세 페이지
   ========================================================= */
.feature { border-radius: var(--r-xxl); overflow: hidden; box-shadow: var(--e2);
  aspect-ratio: 3 / 1; background: var(--surface); margin-bottom: clamp(32px, 5vw, 56px); }
.feature img { width: 100%; height: 100%; object-fit: cover; }

/* 우리 레퍼런스 갤러리 (마우스오버=장소명 / 클릭=원본 라이트박스) */
/* 레퍼런스 밴드 — 메인 그린 배경 (풀블리드) */
.refband { background: var(--primary); color: var(--on-dark);
  margin-top: clamp(64px, 8vw, 110px); padding: clamp(56px, 6.5vw, 92px) 0; }
.refband .section-label { color: #a9e3d8; }
.refband .block h2, .refband h2 { color: var(--on-dark); }

/* 큰 Reference 제목 (히어로급) */
.refband__title { font-family: 'Italiana', serif; font-weight: 400; text-transform: none;
  color: var(--on-dark); line-height: 1; letter-spacing: 0.5px;
  font-size: clamp(52px, 9vw, 128px); }
.refband__sub { margin-top: 12px; color: rgba(255, 255, 255, 0.75);
  font-size: clamp(14px, 1.2vw, 17px); }

/* 장소 필터 탭 */
.reffilter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3vw, 40px); }
.reffilter button { border: 1px solid rgba(255, 255, 255, 0.35); background: transparent;
  color: rgba(255, 255, 255, 0.85); border-radius: var(--r-full); padding: 9px 20px;
  font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease); }
.reffilter button:hover { border-color: #fff; color: #fff; }
.reffilter button.is-active { background: #fff; color: var(--primary); border-color: #fff; }

/* 더보기 접기/펼치기 */
.refgal-wrap { position: relative; }
.refgal-wrap.is-collapsed .refgal { max-height: clamp(460px, 58vh, 680px); overflow: hidden; }
.refgal-fade { display: none; }
.refgal-wrap.is-collapsed .refgal-fade { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  pointer-events: none; background: linear-gradient(180deg, rgba(0,84,86,0) 0%, var(--primary) 92%); }
.refgal-more { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 38px); }
.refgal-more button { border: 1.5px solid rgba(255,255,255,0.6); background: transparent; color: #fff;
  border-radius: var(--r-full); padding: 12px 34px; font-family: var(--font); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease); }
.refgal-more button:hover { background: #fff; color: var(--primary); }
/* 상세 순서 변경: 설명/카드 다음에 오는 대표 이미지 간격 */
.srow + .feature, .pointgrid + .feature, .sintro + .feature { margin-top: clamp(48px, 6vw, 80px); }

.refgal { columns: 3 260px; column-gap: 16px; margin-top: var(--s-lg); }
.refitem { position: relative; display: block; width: 100%; break-inside: avoid; margin: 0 0 16px;
  padding: 0; border: none; background: none; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.refitem img { width: 100%; display: block; transition: transform 0.5s var(--ease); }
.refitem:hover img { transform: scale(1.05); }
.refitem__cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  color: #fff; font-size: 15px; font-weight: 600; text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 55%);
  opacity: 0; transition: opacity 0.25s var(--ease); }
.refitem:hover .refitem__cap { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.86); padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 92vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.3); color: #fff; font-size: 20px; cursor: pointer; }
.lightbox__close:hover { background: rgba(0, 0, 0, 0.6); }
/* 서비스 상세 인트로 (단일 컬럼, 가운데 정렬) */
.sintro { max-width: 1100px; margin-left: auto; margin-right: auto; text-align: center; }
.sintro .srow__desc { margin-left: auto; margin-right: auto; }
/* 레퍼런스 헤딩도 가운데 정렬 */
.refband .block { text-align: center; }
/* 1rem = 10px 기준 환산: 5rem → 50px, 2.2rem → 22px */
.sintro .srow__ko { font-size: 50px; line-height: 1.25; letter-spacing: -1.2px; }
.sintro .srow__ko .hl { color: var(--primary); }
.sintro .srow__desc { font-size: 22px; line-height: 1.7; }
@media (max-width: 1024px) {
  .sintro .srow__ko { font-size: 38px; }
  .sintro .srow__desc { font-size: 19px; }
}
@media (max-width: 640px) {
  .sintro .srow__ko { font-size: 28px; }
  .sintro .srow__desc { font-size: 16px; }
}

/* 포인트 카드 그리드 */
/* 2 x 2 카드 (클래스명 scard — 포트폴리오 .pcard 와 충돌 방지) */
.pointgrid { display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 26px); margin-top: clamp(36px, 4.5vw, 56px); }
.scard { display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #eaf1ef; border-radius: 22px;
  padding: clamp(34px, 3.4vw, 52px) clamp(24px, 2.6vw, 44px);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), background 0.32s var(--ease); }
.scard__no { display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%; flex: 0 0 auto;
  background: #fff; color: var(--primary); font-size: 17px; font-weight: 700;
  box-shadow: rgba(0, 84, 86, 0.1) 0 3px 10px;
  transition: transform 0.32s var(--ease); }
.scard__title { margin-top: clamp(20px, 2vw, 28px); color: var(--ink); font-weight: 700;
  line-height: 1.4; font-size: clamp(17px, 1.35vw, 21px); transition: color 0.32s var(--ease); }
.scard__desc { margin-top: clamp(10px, 1vw, 14px); color: var(--slate);
  line-height: 1.75; font-size: clamp(14px, 1.05vw, 16px); max-width: 44ch;
  transition: color 0.32s var(--ease); }
.scard:hover { transform: translateY(-6px); background: var(--primary); box-shadow: var(--e3); }
.scard:hover .scard__title { color: #fff; }
.scard:hover .scard__desc { color: rgba(255, 255, 255, 0.88); }
.scard:hover .scard__no { transform: scale(1.06); }
@media (max-width: 720px) { .pointgrid { grid-template-columns: 1fr; } }

/* =========================================================
   서비스 상세 — 인트로 아래 대표 이미지 (박스형)
   ========================================================= */
.sfeature { margin-top: clamp(36px, 4.5vw, 60px); border-radius: 20px; overflow: hidden;
  aspect-ratio: 16 / 5; background: var(--surface);
  box-shadow: rgba(0, 84, 86, 0.1) 0 6px 26px; }
.sfeature img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease); }
.sfeature:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .sfeature { aspect-ratio: 16 / 9; border-radius: 14px; } }

/* 대표 이미지 2장 — 항상 좌우 나란히, 세로는 낮게(정사각) */
.sfeature-pair { margin-top: clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 18px); }
.sfeature-pair .sfeature { margin-top: 0; aspect-ratio: 1 / 1; }
@media (max-width: 640px) { .sfeature-pair { gap: 8px; border-radius: 14px; } .sfeature-pair .sfeature { border-radius: 12px; } }

/* =========================================================
   진행 프로세스 (서비스 상세)
   ========================================================= */
.process { margin-top: clamp(72px, 9vw, 120px); text-align: center; }

/* 가로 4단 — 상단 라인이 호버 시 그린으로 채워지는 세그먼트 형태 */
.process__list { display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 40px);
  max-width: 1460px; margin: clamp(38px, 4.5vw, 62px) auto 0; text-align: left; }
.pstep { position: relative; padding-top: clamp(20px, 2vw, 28px);
  border-top: 2px solid rgba(0, 84, 86, 0.16); }
/* 호버 시 상단 라인이 왼쪽부터 채워짐 */
.pstep::before { content: ''; position: absolute; left: 0; top: -2px; height: 2px; width: 0;
  background: var(--primary); transition: width 0.5s var(--ease); }
.pstep:hover::before { width: 100%; }
.pstep__no { display: block; font-size: clamp(32px, 3.2vw, 52px); font-weight: 700;
  line-height: 1; letter-spacing: -2px; color: rgba(0, 84, 86, 0.2);
  transition: color 0.35s var(--ease); }
.pstep:hover .pstep__no { color: var(--primary); }
.pstep__t { margin-top: clamp(12px, 1.3vw, 18px); color: var(--ink); font-weight: 700;
  font-size: clamp(16px, 1.25vw, 21px); line-height: 1.4; letter-spacing: -0.4px; }
.pstep__d { margin-top: clamp(8px, 0.8vw, 12px); color: var(--slate);
  font-size: clamp(14px, 1vw, 16px); line-height: 1.8; }
@media (max-width: 1024px) { .process__list { grid-template-columns: repeat(2, 1fr); row-gap: clamp(28px, 4vw, 44px); } }
@media (max-width: 560px) { .process__list { grid-template-columns: 1fr; } .pstep__no { font-size: 30px; } }

/* =========================================================
   자주 묻는 질문 (아코디언 — details/summary, JS 불필요)
   ========================================================= */
.faq { margin-top: clamp(72px, 9vw, 120px); text-align: center; }
.faq__list { max-width: 900px; margin: clamp(30px, 3.5vw, 46px) auto 0;
  border-top: 1px solid rgba(0, 84, 86, 0.16); text-align: left; }
.faq__item { border-bottom: 1px solid rgba(0, 84, 86, 0.16); }
.faq__item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.2vw, 28px) 4px; cursor: pointer; list-style: none;
  color: var(--ink); font-weight: 700; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5;
  transition: color 0.2s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--primary); }
.faq__item summary::after { content: ''; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 4px;
  background: currentColor; transition: transform 0.28s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.faq__item[open] summary { color: var(--primary); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__a { padding: 0 4px clamp(22px, 2.4vw, 30px); color: var(--slate); line-height: 1.85;
  font-size: clamp(15px, 1.1vw, 16px); max-width: 74ch; }

.points { display: grid; gap: var(--s-md); margin-top: var(--s-lg); }
.points li { display: flex; gap: var(--s-sm); color: var(--charcoal); align-items: flex-start; }
.points li::before { content: ''; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: #e3efec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23005456' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/13px no-repeat; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-md); margin-top: clamp(32px, 5vw, 56px); }
.gallery__item { aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--e1); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.cta-band { text-align: center; margin-top: clamp(40px, 6vw, 72px); }
.cta-band h2 { color: var(--ink); margin-bottom: var(--s-lg); }

/* =========================================================
   Portfolio 게시판 (데모)
   ========================================================= */
.board-tools { display: flex; align-items: center; justify-content: space-between; gap: var(--s-md);
  flex-wrap: wrap; margin-bottom: var(--s-xl); }
.board-tools__count { color: var(--steel); font-size: 14px; }
.board-tools__count b { color: var(--ink); }

.pcard { cursor: pointer; text-align: left; background: none; border: none; padding: 0; font: inherit; width: 100%;
  text-decoration: none; color: inherit; }
.pcard__cat { display: inline-block; margin-top: var(--s-md); background: var(--surface);
  border: 1px solid var(--hairline); color: var(--primary); font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-full); }
.pcard__date { margin-top: var(--s-xs); color: var(--stone); font-size: 12px; }
.board-empty { grid-column: 1 / -1; text-align: center; padding: clamp(40px, 7vw, 80px) 0; color: var(--steel); }

/* 게시글 상세 페이지 (블로그 형태) */
.postpage__media { border-radius: var(--r-xxl); overflow: hidden; margin-bottom: var(--s-xl); background: var(--surface); }
.postpage__media img { width: 100%; display: block; }
.postpage__meta { color: var(--stone); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.postpage__title { color: var(--ink); margin-bottom: var(--s-lg); }
.postpage__body { color: var(--slate); white-space: pre-wrap; line-height: 1.9; font-size: 17px; }

/* 모달 */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: var(--s-lg); }
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(12, 24, 23, 0.55); backdrop-filter: blur(2px); }
.modal__panel { position: relative; z-index: 1; width: 100%; max-width: 640px; max-height: 90vh; overflow: auto;
  background: var(--canvas); border-radius: var(--r-xxl); box-shadow: var(--e4); padding: clamp(24px, 4vw, 40px); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); background: var(--canvas); color: var(--ink); font-size: 18px; cursor: pointer; line-height: 1; }
.modal__close:hover { background: var(--surface); }
.modal h3 { color: var(--ink); margin-bottom: var(--s-md); }

.post__media { border-radius: var(--r-xl); overflow: hidden; margin: var(--s-xs) 0 var(--s-lg);
  aspect-ratio: 16 / 9; background: var(--surface); }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__meta { color: var(--stone); font-size: 13px; margin-bottom: var(--s-sm); }
.post__body { color: var(--slate); white-space: pre-wrap; line-height: 1.85; }
.post__actions { display: flex; gap: var(--s-sm); margin-top: var(--s-xl); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-danger { background: transparent; color: #b23b3b; border: 1px solid #e3b3b3; }
.btn-danger:hover { background: #b23b3b; color: #fff; }

.upload-prev { margin-top: var(--s-xs); aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px dashed var(--hairline); display: flex; align-items: center; justify-content: center; }
.upload-prev img { width: 100%; height: 100%; object-fit: cover; }
.upload-prev span { color: var(--stone); font-size: 13px; }

/* =========================================================
   상단바 컨트롤 (언어 pill + Menu 버튼) & 전체화면 메뉴 오버레이
   ========================================================= */
.lang-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); background: transparent; color: var(--ink); font-family: var(--font);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color 0.18s var(--ease); }
.lang-pill:hover { border-color: var(--primary); }
.lang-pill .flag { font-size: 15px; }
.lang-pill--on-dark { border-color: rgba(255, 255, 255, 0.5); color: var(--on-dark); }
.lang-pill--on-dark:hover { border-color: var(--on-dark); }

.menu-btn { padding: 12px 30px; border-radius: var(--r-full); border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 700;
  letter-spacing: 0.02em; cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease); }
.menu-btn:hover { background: var(--ink); color: var(--canvas); }
.menu-btn--on-dark { border-color: var(--on-dark); color: var(--on-dark); }
.menu-btn--on-dark:hover { background: var(--on-dark); color: var(--primary); }

/* Contact 알약 — Menu 왼쪽, 테두리 박스(배경 없음) */
.contact-pill { display: inline-flex; align-items: center;
  padding: 12px 30px; border-radius: var(--r-full); border: 1.5px solid var(--on-dark);
  background: transparent; color: var(--on-dark); font-family: var(--font); font-size: 15px; font-weight: 700;
  letter-spacing: 0.02em; cursor: pointer; text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease); }
.contact-pill:hover { background: var(--on-dark); color: var(--primary); }
.navlinks a.contact-pill::after, .hero__menu a.contact-pill::after { display: none; }

/* Menu 햄버거 아이콘 버튼 (박스·글자 없음) */
.menu-icon { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 9px; background: none; border: none; cursor: pointer; }
.menu-icon span { display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--ink); transition: background 0.18s var(--ease), transform 0.2s var(--ease); }
.menu-icon--on-dark span { background: var(--on-dark); }
.menu-icon:hover span { opacity: 0.7; }

/* 오버레이 = 반투명 스크림 (뒤 페이지가 살짝 비침) + 오른쪽 절반 패널 */
.menu-overlay { position: fixed; inset: 0; z-index: 200; color: var(--ink);
  background: rgba(16, 26, 24, 0.34);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
  overflow: hidden; display: flex; justify-content: flex-end; }
.menu-overlay.is-open { opacity: 1; visibility: visible; }

.menu-panel { width: min(560px, 50vw); height: 100%;
  background: rgba(238, 241, 234, 0.92); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: -18px 0 60px rgba(0, 0, 0, 0.22);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.menu-overlay.is-open .menu-panel { transform: translateX(0); }

.menu-overlay__bar { flex: 0 0 auto; width: 100%; margin: 0; padding: clamp(20px, 2.4vw, 32px) clamp(26px, 3vw, 44px);
  display: flex; align-items: center; justify-content: space-between; }
.menu-overlay__logo { height: 24px; color: var(--primary); }
.menu-close { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: var(--r-full);
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--font);
  font-size: 14px; font-weight: 700; cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease); }
.menu-close:hover { background: var(--ink); color: var(--canvas); }
.menu-overlay__inner { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto;
  width: 100%; margin: 0;
  padding: clamp(8px, 2vh, 20px) clamp(26px, 3vw, 44px) clamp(20px, 4vh, 40px);
  display: flex; flex-direction: column; justify-content: center; }

.menu-wordmark { display: none; }
.menu-list { position: relative; z-index: 2; }
.menu-row { border-top: 1px solid rgba(0, 0, 0, 0.12); }
.menu-row:last-of-type { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.menu-row__head { display: flex; align-items: baseline; gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(12px, 2vh, 20px) 0; }
.menu-row__name { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.6px; color: var(--ink);
  transition: color 0.18s var(--ease); }
.menu-row:hover .menu-row__name { color: var(--primary); }
.menu-row__subs { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 34px); align-self: center;
  opacity: 0; transform: translateX(-8px); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); pointer-events: none; }
.menu-row:hover .menu-row__subs { opacity: 1; transform: none; pointer-events: auto; }
.menu-row__subs a { font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; color: var(--charcoal); }
.menu-row__subs a:hover { color: var(--primary); }

.menu-preview { display: none; }

.menu-info { position: static; margin-top: clamp(24px, 4vh, 44px); z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--slate); }
.menu-info .dot { display: none; }
.menu-info b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.menu-info a { color: var(--slate); }
.menu-info a:hover { color: var(--primary); }
.menu-info .dot { color: var(--stone); }

/* =========================================================
   맨 위로 버튼 (스크롤 내리면 나타남)
   ========================================================= */
.to-top { position: fixed; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--primary); color: #fff; box-shadow: var(--e3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.18s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-pressed); transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; }

/* =========================================================
   스크롤 리빌 (구역이 뷰포트에 들어오면 나타남)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .phead--hero::before { animation: none; transform: none; }
}

/* =========================================================
   Responsive (design.md breakpoints)
   ========================================================= */
@media (max-width: 720px) {
  .menu-preview { display: none; }
  .menu-row__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .menu-row__subs { opacity: 1; transform: none; pointer-events: auto; }
  .lang-pill { display: none; }
}
@media (max-width: 1023px) {
  .t-hero { font-size: 56px; }
}
@media (max-width: 900px) {
  .connect { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; }
  .srow:nth-child(even) .srow__media { order: 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pgrid { grid-template-columns: 1fr; }
  .exp__item { grid-template-columns: 1fr; gap: var(--s-xs); }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .t-hero { font-size: 40px; }
  .t-h-lg { font-size: 32px; }
  .t-display { font-size: 40px; }
  .hero__nav { padding: var(--s-md) var(--s-lg) 0; }
  .hero__menu { gap: var(--s-md); }
  .wcard { width: clamp(240px, 82%, 340px); }
  .container-narrow { padding-left: var(--s-lg); padding-right: var(--s-lg); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(1)::before { display: none; }
  .navlinks { gap: var(--s-md); }
  .navlinks a { font-size: 13px; }
  .topbar__inner { padding: 0 var(--s-lg); height: 60px; }
  .topbar__right { gap: var(--s-md); }
}
@media (max-width: 520px) {
  .navlinks { gap: 12px; }
  .navlinks a { font-size: 12px; }
  .social a { width: 32px; height: 32px; }
  .social svg { width: 16px; height: 16px; }
}
@media (max-width: 479px) {
  .t-hero { font-size: 32px; }
  .hero__menu a { font-size: 13px; }
  .hero__logo { height: 28px; }
}

/* =========================================================
   FLORAL — 배경색만 다르게 (나머지는 다른 페이지와 동일)
   ========================================================= */
.theme-floral { background: #faf5f0; }
.theme-floral .page { background: #faf5f0; }

/* =========================================================
   공지사항 게시판 (테이블형 리스트)
   ========================================================= */
.ntable { width: 100%; border-collapse: collapse; margin-top: var(--s-lg);
  border-top: 2px solid var(--primary); }
.ntable thead th { padding: 16px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--steel); text-align: left; border-bottom: 1px solid var(--line); }
.ntable thead th.col-no, .ntable td.col-no { width: 76px; text-align: center; }
.ntable thead th.col-date, .ntable td.col-date { width: 140px; white-space: nowrap; }
.ntable thead th.col-act, .ntable td.col-act { width: 96px; text-align: right; }
.ntable tbody td { padding: 18px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--charcoal); }
.ntable td.col-no { color: var(--stone); font-size: 14px; }
.ntable td.col-date { color: var(--stone); font-size: 14px; }
.nrow { cursor: pointer; transition: background 0.16s var(--ease); }
.nrow:hover { background: var(--surface); }
.nrow:hover .ntitle { color: var(--primary); }
.ntitle { color: var(--ink); font-weight: 600; font-size: clamp(15px, 1.15vw, 17px); }
.nbadge { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(0, 84, 86, 0.08); color: var(--primary); font-size: 12px; font-weight: 700; vertical-align: middle; }
.ndel { border: 1px solid var(--line); background: #fff; color: var(--steel); border-radius: 8px;
  padding: 6px 10px; font-size: 12px; cursor: pointer; transition: all 0.16s var(--ease); }
.ndel:hover { border-color: #d9534f; color: #d9534f; }
@media (max-width: 640px) {
  .ntable thead th.col-no, .ntable td.col-no,
  .ntable thead th.col-act, .ntable td.col-act { display: none; }
  .ntable thead th.col-date, .ntable td.col-date { width: 92px; }
}

/* 공지 상세 본문 */
.npost__meta { display: flex; gap: 14px; align-items: center; color: var(--stone); font-size: 14px;
  padding-bottom: clamp(20px, 2.4vw, 30px); border-bottom: 1px solid var(--line); margin-top: var(--s-sm); }
.npost__body { margin-top: clamp(26px, 3vw, 40px); color: var(--charcoal); line-height: 1.95;
  font-size: clamp(15px, 1.15vw, 17px); white-space: pre-wrap; }
/* HTML 서식 본문 (공지 상세) */
.npost__body.is-html { white-space: normal; }
.npost__body.is-html p { margin: 0 0 12px; }
/* 소제목: 본문보다 2pt 크게 + 굵게 */
.npost__body .npost__h { margin: clamp(26px, 3vw, 36px) 0 12px; color: var(--ink);
  font-weight: 700; font-size: clamp(18px, 1.5vw, 20px); letter-spacing: -0.3px; line-height: 1.4; }
.npost__body .npost__note { margin: 4px 0 6px; color: var(--stone); font-size: 13px; line-height: 1.6; }
.npost__body .npost__list { margin: 8px 0 0; padding: 0; list-style: none; }
.npost__body .npost__list li { position: relative; padding-left: 16px; margin: 7px 0; }
.npost__body .npost__list li::before { content: ''; position: absolute; left: 3px; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }

/* =========================================================
   메인 프로모션 팝업
   ========================================================= */
/* 오른쪽 하단에 카드만 표시 (배경 스크림/블러 없음, 페이지 조작 가능) */
.promo-overlay { position: fixed; inset: 0; z-index: 300; display: none;
  align-items: flex-end; justify-content: flex-end; padding: clamp(20px, 3vw, 40px);
  background: none; pointer-events: none; }
.promo-overlay.is-open { display: flex; }
.promo { pointer-events: auto; }
.promo { width: min(400px, 86vw); border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); animation: promoUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes promoUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* 팝업 이미지 (클릭 시 이벤트 게시글로) */
.promo__img { display: block; cursor: pointer; }
.promo__img img { width: 100%; height: auto; display: block; }
.promo__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px;
  background: #f4f4f2; }
.promo__again { display: inline-flex; align-items: center; gap: 8px; background: none; border: none;
  color: var(--steel); font-family: var(--font); font-size: 14px; cursor: pointer; }
.promo__again::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--stone);
  background-size: 12px; background-position: center; background-repeat: no-repeat; }
.promo__again.on::before { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); border-color: var(--primary); }
.promo__close { background: none; border: none; color: var(--ink); font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer; padding: 6px 8px; }

/* =========================================================
   모바일 정리 (스마트폰)
   ========================================================= */
@media (max-width: 640px) {
  /* 좌우 여백 축소 → 콘텐츠 더 크게 */
  :root { --gutter: 20px; }

  /* 헤더 Contact 알약 숨김 (Contact 는 메뉴 안에 있음) */
  .contact-pill { display: none !important; }

  /* 전체화면 메뉴 + 하단 정보(이메일·인스타 등) 숨기고 메뉴만 */
  .menu-panel { width: 100%; border-radius: 0; box-shadow: none; }
  .menu-info { display: none; }
  .menu-overlay__inner { justify-content: center; padding-top: clamp(12px, 3vh, 28px); }
  .menu-row__name { font-size: 30px; }
  .menu-row__head { padding: clamp(16px, 2.4vh, 24px) 0; }
}

/* =========================================================
   문의 접수 완료 팝업
   ========================================================= */
.sent-overlay { position: fixed; inset: 0; z-index: 320; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(6, 20, 18, 0.5); }
.sent-overlay.is-open { display: flex; }
.sent { width: min(360px, 90vw); background: #fff; border-radius: 20px; text-align: center;
  padding: clamp(34px, 6vw, 44px) clamp(26px, 5vw, 34px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: promoUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.sent__icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(0, 84, 86, 0.1); display: flex; align-items: center; justify-content: center; }
.sent__icon svg { width: 30px; height: 30px; color: var(--primary); }
.sent__title { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.4px; }
.sent__desc { margin-top: 10px; color: var(--slate); font-size: 15px; line-height: 1.65; }
.sent__btn { margin-top: 24px; width: 100%; border: none; cursor: pointer;
  background: var(--primary); color: #fff; border-radius: var(--r-full); padding: 14px 0;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  transition: background 0.18s var(--ease); }
.sent__btn:hover { background: var(--primary-pressed); }
