/* 킹스가든 메인 홈. 베이커리 사이트와 같은 색감 (크림 · 짙은 갈색 · 올리브). 라이트 모드만 */
/* 색·기본 글꼴·로고·지도 바로가기는 base.css (공통) */

main { flex: 1; width: 100%; }

/* 상단 — 흰 띠 · 아래 선 */
.top-bar { background: rgba(255, 253, 248, .94); border-bottom: 1px solid var(--line); }
.top { max-width: 1120px; margin: 0 auto; padding: 10px 24px; min-height: 68px; display: flex; align-items: center; }
.logo:focus-visible, .btn:focus-visible { outline: 3px solid var(--point); outline-offset: 3px; }

/* 첫 장면 — 큰 상호 + 옅은 방패 무늬 */
.hero { position: relative; overflow: hidden; padding: clamp(88px, 13vw, 150px) 24px clamp(80px, 11vw, 130px); text-align: center; }
/* 방패는 첫 장면 높이 안에, 위아래 여백을 두고 (높이 기준, 너비는 비율로) */
.hero-water { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 78%; width: auto; max-width: 80vw; color: var(--logo); opacity: .06; pointer-events: none; }
.hero-copy { position: relative; }
.hero-title {   /* 베이커리 첫 장면과 같은 크기 · 늘 두 줄 (KING'S / GARDEN) */
  font-family: "Cormorant Garamond", "Noto Serif KR", serif; font-weight: 600;
  font-size: clamp(54px, 9vw, 120px); line-height: .92; letter-spacing: .02em; margin: 0 auto; max-width: 5.4em;
}

/* 두 갈래 — 넓은 화면은 나란히, 휴대폰은 위아래 */
.doors { max-width: 960px; margin: 0 auto; padding: 0 24px clamp(64px, 9vw, 104px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  display: flex; flex-direction: column; gap: 6px; padding: 32px 30px 28px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.door:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -24px rgba(36, 27, 21, .5); }
.door.is-groupware { background: var(--dark); border-color: var(--dark); color: var(--dark-ink); }
.door-ico { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--logo); margin-bottom: 14px; }
.door.is-groupware .door-ico { background: rgba(239, 230, 214, .1); color: var(--dark-ink); }
.door-kicker { font-size: 12px; letter-spacing: .32em; font-weight: 700; color: var(--point); }
.door.is-groupware .door-kicker { color: rgba(239, 230, 214, .65); }
.door-title { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.3; }
.door-desc { color: var(--ink-2); }
.door.is-groupware .door-desc { color: rgba(239, 230, 214, .78); }
.door-go { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--point); }
.door.is-groupware .door-go { border-top-color: rgba(239, 230, 214, .16); color: var(--dark-ink); }


/* 상단 메뉴 — 회사소개 · 브랜드 · 오시는 길 (각각 다른 페이지). 지금 페이지는 굵게 */
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a:focus-visible, .door:focus-visible { outline: 3px solid var(--point); outline-offset: 3px; }

/* 메뉴 페이지 — 머리(작은 영문 + 제목) 아래 흰 칸 */
.page-head { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 24px 28px; }
.page-head h1 { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: clamp(30px, 4vw, 42px); margin: 0; }
.sec { background: var(--surface); border-top: 1px solid var(--line); }
.sec .brand-card, .sec .c-ico { background: var(--bg); }
.narrow { max-width: 720px; margin-left: 0; }
.sec { padding: clamp(40px, 6vw, 72px) 24px clamp(56px, 8vw, 96px); }
.sec-in { max-width: 1072px; margin: 0 auto; }
.kicker { font-size: 12px; letter-spacing: .32em; color: var(--point); font-weight: 700; margin-bottom: 10px; }
.sec h2 { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: clamp(26px, 3.2vw, 34px); margin: 0; }
.lead { margin-bottom: 28px; color: var(--ink-2); font-size: 1.05em; max-width: 36em; }

/* 회사소개 */
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-weight: 500; }
.facts dd { margin: 0; font-weight: 500; }

/* 브랜드 */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-card { display: flex; flex-direction: column; gap: 6px; padding: 30px 28px 26px; border-radius: 22px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.b-ico { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--logo); margin-bottom: 14px; }
.b-kicker { font-size: 12px; letter-spacing: .32em; font-weight: 700; color: var(--point); }
.b-title { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; }
.b-desc { color: var(--ink-2); }

/* 오시는 길 — 왼쪽 지도, 오른쪽 주소·지도 앱 (휴대폰은 위아래) */
.loc { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.map-go-h { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.map-go { display: flex; flex-wrap: wrap; gap: 8px; }
.contact { margin: 0 0 28px; display: grid; gap: 14px; }
.contact > div { display: flex; gap: 14px; align-items: center; }
.c-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.c-ico svg { width: 22px; height: 22px; }
.contact dt { font-size: 13px; color: var(--ink-2); }
.contact dd { margin: 0; font-weight: 500; }
.contact a { color: var(--ink); }

/* 없는 주소 */
.msg { max-width: 640px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.msg h1 { font-family: "Noto Serif KR", serif; font-size: 1.5em; margin: 0 0 8px; }
.msg p { color: var(--ink-2); margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }

/* 하단 — 짙은 갈색 · 사업자 정보 */
.foot { background: var(--dark); color: rgba(239, 230, 214, .72); padding: 44px 24px 40px; font-size: 13px; line-height: 1.7; }
.foot > * { max-width: 1072px; margin-left: auto; margin-right: auto; }
.foot-brand { margin-bottom: 16px; }
.foot-info span { display: inline-block; margin-right: 12px; }
.foot-info b { font-weight: 500; color: var(--dark-ink); margin-right: 4px; }
.foot-copy { margin-top: 8px; font-size: 12px; }

@media (max-width: 720px) {
  .top { padding: 8px 16px 8px 20px; min-height: 60px; }
  .nav { margin-left: auto; gap: 16px; }
  .nav a { font-size: 14px; }
  .doors, .brand-grid, .loc { grid-template-columns: 1fr; gap: 14px; }
  .loc { gap: 24px; }
  .doors { padding: 0 16px 56px; }
  .door { padding: 24px 22px 20px; }
  .door-ico { width: 44px; height: 44px; margin-bottom: 10px; }
  .brand-card { padding: 24px 22px 20px; }
  .sec { padding: 48px 20px; }
  .foot { padding: 36px 20px 32px; }
}
@media (max-width: 420px) { .top .mark-name { display: none; } }   /* 좁은 휴대폰은 방패만 — 메뉴 세 개가 한 줄에 */
