/* Choi's Garden 스타일 (브랜드 팔레트 Ink & Paper) */

:root {
  /* 기본 팔레트 (brand/tokens.css와 같은 값) */
  --ink: #231F20;      /* 먹: 글자, 어두운 배경 */
  --hanji: #F2ECE1;    /* 한지: 기본 배경 */
  --rice: #FBF8F2;     /* 쌀: 밝은 면 */
  --stone: #8C857B;    /* 돌: 선 전용 (작은 글자에 쓰지 않음) */
  --perilla: #3E4A30;  /* 깻잎: 유일한 포인트 색 */
  --border: #D6CFC3;
  --muted: #77706A;    /* 작은 회색 글자 */

  --head: 'IBM Plex Sans KR', Arial, sans-serif;  /* 제목도 산세리프로 통일 */
  --body: 'IBM Plex Sans KR', Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--hanji); color: var(--ink); font-family: var(--body); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h2, .page-title { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 28px; text-wrap: balance; }
h3 { font-size: 20px; margin: 32px 0 8px; }
p + p { margin-top: 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--perilla); margin-bottom: 16px; }
.small { font-size: 14px; color: var(--muted); }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--perilla); text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: currentColor; }

/* 로고: 원본 SVG 모양 그대로, 색만 브랜드 색으로 칠해요 (늘리거나 변형하지 않음) */
.logo { display: block; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; font-size: 0; color: inherit; }
.logo-one { --logo: url(/assets/cg_one.svg); aspect-ratio: 3252 / 552; }
.logo-two { --logo: url(/assets/cg_two.svg); aspect-ratio: 3160 / 1960; }

/* 버튼 */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-block; padding: 14px 28px; font: 500 15px var(--body); letter-spacing: .04em; text-decoration: none; border: 1px solid; cursor: pointer; transition: background .2s, color .2s; }
.btn[hidden] { display: none; }
.btn-light { background: var(--hanji); color: var(--ink); border-color: var(--hanji); }
.btn-light:hover { background: var(--rice); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { background: var(--hanji); color: var(--ink); border-color: var(--hanji); }
.btn-dark { background: var(--perilla); color: var(--hanji); border-color: var(--perilla); }
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--perilla); outline-offset: 3px; }

/* 상단 메뉴 */
.nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); background: rgba(35, 31, 32, .92); color: var(--hanji); backdrop-filter: blur(6px); }
.nav-logo { width: 150px; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.nav nav a { font-size: 14px; letter-spacing: .06em; text-decoration: none; opacity: .85; }
.nav nav a:hover { opacity: 1; }

/* 첫 화면 */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--hanji); background: var(--ink); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { opacity: .5; }
.hero-text { position: relative; text-align: center; padding: 120px var(--gutter) 80px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { width: min(440px, 76vw); margin-bottom: 40px; }
.tagline { font-family: var(--head); font-size: clamp(20px, 2.6vw, 28px); }
.tagline-ko { font-family: var(--head); font-size: 16px; opacity: .8; margin-top: 4px !important; }
.notice { margin-top: 28px !important; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 10px 18px; }
.hero .buttons { justify-content: center; }

/* 한눈에 보는 정보 */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--perilla); color: var(--hanji); }
.facts > div { padding: 40px var(--gutter); border-right: 1px solid rgba(242, 236, 225, .2); }
.facts > div:last-child { border-right: 0; }
.facts .label { margin-bottom: 8px; color: var(--hanji); opacity: .75; }
.facts a { color: var(--hanji); text-decoration-color: rgba(242, 236, 225, .5); }
.facts p:not(.label) { font-family: var(--head); font-size: 18px; line-height: 1.5; }

/* 이야기 */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story-text p:not(.label) { font-size: 18px; max-width: 34em; }
.story-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* 사진 띠 */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.gallery img { width: 100%; height: clamp(220px, 34vw, 480px); object-fit: cover; }

/* 메뉴 */
.tabs { display: flex; gap: 8px; margin-bottom: 48px; }
.tabs button { font: 500 15px var(--body); letter-spacing: .06em; background: none; border: 1px solid var(--ink); color: var(--ink); padding: 10px 26px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--perilla); border-color: var(--perilla); color: var(--hanji); }
.menu-body { columns: 2 380px; column-gap: clamp(40px, 6vw, 96px); }
.menu-sec { break-inside: avoid; margin-bottom: 56px; }
.menu-sec h3 { font-size: 22px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.menu-sec h3 span { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.sec-note { margin-bottom: 16px; }
.menu-sec ul { list-style: none; }
.item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: 8px; padding: 9px 0; }
.item .ko { font-family: var(--head); font-weight: 700; font-size: 17px; }
.item .dots { border-bottom: 1px dotted var(--stone); transform: translateY(-4px); }
.item .price { font-family: var(--head); font-size: 17px; }
.item .en { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.item .en em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--perilla); margin-left: 6px; }
.raw { color: var(--muted); margin-left: 2px; }
.menu-note { margin: 8px 0 20px; }

/* 오시는 길 */
.visit { background: var(--ink); color: var(--hanji); }
.visit .label { color: var(--hanji); opacity: .7; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.hours dd { opacity: .85; }
.visit-media { display: grid; gap: 6px; align-content: start; }
.visit-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.map { width: 100%; aspect-ratio: 3 / 2; border: 0; }

/* 문의 */
.contact { max-width: 760px; }
.form { display: grid; gap: 20px; margin-top: 8px; }
.form[hidden] { display: none; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form textarea { font: 16px var(--body); color: var(--ink); background: var(--rice); border: 1px solid var(--border); padding: 12px 14px; border-radius: 0; }
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form .btn { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form select { font: 16px var(--body); color: var(--ink); background: var(--rice); border: 1px solid var(--border); padding: 12px 14px; border-radius: 0; }
.optional { font-weight: 400; color: var(--muted); }
.contact-intro { margin-bottom: 32px; max-width: 36em; }
.nav nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.hp { display: none; }

/* 바닥글 */
.footer { background: var(--ink); color: var(--hanji); text-align: center; padding: 72px var(--gutter); border-top: 1px solid #3a3536; display: grid; gap: 10px; justify-items: center; }
.footer-logo { width: 200px; margin-bottom: 16px; }
.footer .small { color: var(--stone-light, #B9B2A8); }

/* 휴대폰 화면 */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding-block: 14px; }
  .nav-logo { width: 116px; }
  .nav nav { gap: 14px; }
  .nav nav a { font-size: 13px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-right: 0; border-bottom: 1px solid rgba(242, 236, 225, .2); padding-block: 28px; }
  .story, .visit-grid, .form-row { grid-template-columns: 1fr; }
  .story-img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: 1 / -1; }
  .gallery img { height: 220px; }
}
@media (max-width: 380px) {
  .nav nav a[href="#story"] { display: none; }
}
