/* ── 위드다윗 공통 ── */
@font-face { font-family: 'SsurroundAir'; src: url('fonts/Cafe24SsurroundAir-v1.1.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'NanumMyeongjo'; font-weight: 400; src: url('fonts/NanumMyeongjo-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'NanumMyeongjo'; font-weight: 700; src: url('fonts/NanumMyeongjo-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'NanumMyeongjo'; font-weight: 800; src: url('fonts/NanumMyeongjo-800.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 300; src: url('fonts/Pretendard-Light.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 400; src: url('fonts/Pretendard-Regular.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 500; src: url('fonts/Pretendard-Medium.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 700; src: url('fonts/Pretendard-Bold.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'Pretendard'; font-weight: 800; src: url('fonts/Pretendard-ExtraBold.woff') format('woff'); font-display: swap; }

:root {
  --bg: #f8f4ed;        /* 아이보리 바탕 */
  --bg-2: #efe8dc;      /* 한 톤 짙은 아이보리 (ABOUT) */
  --ink: #2b221b;
  --muted: #85766a;
  --line: #e0d6c7;
  --brown: #784c31;
  --serif: 'NanumMyeongjo', 'Noto Serif KR', Georgia, serif;
  --sans: 'Pretendard', -apple-system, sans-serif;
  --pad: clamp(22px, 7.4vw, 110px);
  --sec: 90px;          /* 모든 섹션 위아래 여백 (휴대폰 60px) */
}
* { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
p { text-wrap: pretty; } /* 문단 끝에 한두 단어만 남는 줄 방지 */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* 머리 줄 */
.hd { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 92px; padding: 0 var(--pad); transition: height .3s; }
.hd.fixed { position: fixed; background: rgba(248, 244, 237, .96); height: 68px; box-shadow: 0 1px 0 var(--line); }
.logo { font-family: 'SsurroundAir', sans-serif; font-size: 26px; color: var(--ink); line-height: 1; }
.hd nav { display: flex; gap: 40px; }
.hd nav a { font-family: var(--serif); font-size: 14px; color: var(--ink); transition: color .2s; }
.hd nav a:hover { color: var(--brown); }

/* 햄버거 (좁은 화면) */
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: #8a7b6e; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .dim { position: absolute; inset: 0; background: rgba(43, 34, 27, .45); opacity: 0; transition: opacity .3s; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(78vw, 320px); background: var(--bg); padding: 26px 28px; transform: translateX(100%); transition: transform .35s cubic-bezier(.25,1,.5,1); }
.drawer.open .dim { opacity: 1; } .drawer.open .panel { transform: none; }
.drawer .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.drawer .x { width: 44px; height: 44px; margin-right: -12px; font-size: 20px; color: var(--muted); }
.drawer nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 15px; }
.drawer .logo { font-size: 18px; }

/* 화살표 링크: 움직이지 않음, 마우스를 올리면 색만 브라운 */
.more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1; color: var(--ink); transition: color .2s; }
.more .c { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #cdbfac; border-radius: 50%; transition: background .2s, border-color .2s, color .2s; }
.more .c svg { width: 6px; height: 10px; stroke: currentColor; stroke-width: 1.3; fill: none; }
.more:hover { color: var(--brown); }
.more:hover .c { background: var(--brown); border-color: var(--brown); color: #fff; }
.eyebrow { display: block; font-size: 12px; font-weight: 500; letter-spacing: 3px; color: var(--ink); }
.rule { display: block; width: 52px; height: 1px; background: var(--line); }

/* 바닥글 */
.ft { border-top: 1px solid var(--line); padding: 34px var(--pad) 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ft .l { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ft .logo { font-size: 20px; }
.ft .info { font-size: 11px; line-height: 1.6; }
.ft .fam { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 2px; color: var(--muted); }
.ft .fam i { width: 1px; height: 12px; background: #cdbfac; }
.ft .fam a { padding: 7px 12px; border-radius: 8px; background: #e9dfd0; letter-spacing: 0; font-family: 'SsurroundAir', sans-serif; font-size: 13px; line-height: 1.2; color: var(--ink); transition: background .2s, color .2s; }
.ft .fam a:hover { background: var(--brown); color: #fff; }

@media (max-width: 760px) {
  :root { --sec: 60px; }
  .hd { height: 88px; }
  .hd.fixed { height: 64px; }
  .hd nav { display: none; }
  .burger { display: block; }
  .logo { font-size: 22px; }
  .drawer .logo { font-size: 18px; }
  .ft { flex-direction: column; align-items: flex-start; }
}
