/* ==========================================================
   가나안국수 — ganaan noodle house
   palette: 무쇠 charcoal / 소면 ivory / 유기 brass / 비빔 red
   ========================================================== */
:root {
  --ink: #16130f;
  --soot: #211d17;
  --soot-2: #2a251d;
  --ivory: #f2ead9;
  --ivory-dim: #b5ab97;
  --ivory-faint: #7d7565;
  --brass: #b98f4e;
  --brass-soft: #8a6c3e;
  --chili: #a63d2a;
  --font-display: "Song Myung", "Noto Serif KR", serif;
  --font-body: "Gowun Batang", "Noto Serif KR", serif;
  --font-brush: "Nanum Brush Script", cursive;
  --font-ui: "Noto Sans KR", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--brass); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(15, 13, 10, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 34px;
  border-bottom: 1px solid rgba(185, 143, 78, 0.15);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ivory);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.nav-brand small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  color: var(--brass);
  margin-top: 2px;
  text-align: center;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.12em;
}
.nav-links a { color: var(--ivory-dim); transition: color 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--brass);
}
.nav-tel {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--brass);
  border: 1px solid rgba(185, 143, 78, 0.4);
  padding: 7px 16px;
  transition: background 0.3s, color 0.3s;
}
.nav-tel:hover { background: var(--brass); color: var(--ink); }

/* mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
  width: 30px; height: 22px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: rgba(15, 13, 10, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ivory-dim);
}
.mobile-menu a:hover { color: var(--brass); }
.mobile-menu .tel { font-family: var(--font-ui); font-size: 1rem; color: var(--brass); letter-spacing: 0.1em; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}
/* 영상이 실제로 재생되면 밑에 깔린 대체 이미지는 숨긴다 (이중 노출 방지) */
.hero-media.playing img { display: none; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(22, 19, 15, 0.5) 0%, rgba(22, 19, 15, 0.72) 100%),
    linear-gradient(to bottom, rgba(22, 19, 15, 0.5), transparent 30%, transparent 60%, var(--ink) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.hero-calligraphy {
  writing-mode: vertical-rl;
  font-family: var(--font-brush);
  font-size: clamp(4.2rem, 9vw, 6.8rem);
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--ivory);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  animation: heroInk 2.4s var(--ease) both;
}
.hero-tag {
  font-weight: 400;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--ivory-dim);
  animation: heroFade 2s 0.9s var(--ease) both;
}
.hero-tag strong { color: var(--brass); font-weight: 400; }
.hero-scroll {
  position: absolute;
  bottom: 42px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--ivory-faint);
  animation: heroFade 2s 1.6s var(--ease) both;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes heroInk {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- shared section framing ---------- */
.section { padding: 130px 7vw; position: relative; }
.section.tight { padding-top: 90px; padding-bottom: 90px; }
.section.alt { background: var(--soot); }
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-indent: 0.02em;
  color: var(--brass);
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}
.section-title .accent { color: var(--brass); }
.lede {
  max-width: 620px;
  color: var(--ivory-dim);
  font-size: 1.02rem;
}

/* ---------- story (교차 레이아웃) ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.story-grid + .story-grid { margin-top: clamp(80px, 10vw, 140px); }
.story-grid.flip .story-media { order: 2; }
.story-media {
  position: relative;
  overflow: hidden;
}
.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.story-media:hover img { transform: scale(1.04); }
.story-media.portrait img { aspect-ratio: 3 / 4; object-position: center 20%; }
.story-media::before {
  content: attr(data-caption);
  position: absolute;
  z-index: 2;
  right: 18px; top: 18px;
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: rgba(242, 234, 217, 0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.story-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.55;
  margin-bottom: 24px;
}
.story-body p { color: var(--ivory-dim); margin-bottom: 18px; max-width: 480px; }
.story-body p strong { color: var(--ivory); font-weight: 400; }
.story-rule {
  width: 46px; height: 1px;
  background: var(--brass);
  margin-bottom: 28px;
}

/* ---------- menu ---------- */
.menu-intro { text-align: center; margin-bottom: 70px; }
.menu-intro .eyebrow { text-indent: 0.5em; }
.menu-intro .lede { margin: 0 auto; }
.menu-chapter { margin-bottom: 90px; }
.menu-chapter:last-child { margin-bottom: 0; }
.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid rgba(185, 143, 78, 0.25);
  padding-bottom: 16px;
  margin-bottom: 46px;
}
.chapter-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.12em;
}
.chapter-head span {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--ivory-faint);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px 28px;
}
.menu-card { position: relative; }
.menu-card figure {
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  background: var(--soot-2);
}
.menu-card figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform 1.2s var(--ease), opacity 0.6s;
}
.menu-card:hover figure img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  padding: 5px 10px;
  color: var(--ivory);
}
.badge.hot { background: var(--chili); }
.badge.season { background: rgba(22, 19, 15, 0.75); border: 1px solid rgba(242, 234, 217, 0.4); }
.menu-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.menu-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.menu-card .price {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--brass);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.menu-card .desc {
  font-size: 0.85rem;
  color: var(--ivory-faint);
  line-height: 1.7;
}
.menu-note {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 234, 217, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--ivory-faint);
  letter-spacing: 0.05em;
}
.menu-note b { color: var(--ivory-dim); font-weight: 400; }

/* ---------- chef quote band ---------- */
.quote-band {
  position: relative;
  padding: 150px 7vw;
  background-image: linear-gradient(rgba(22, 19, 15, 0.78), rgba(22, 19, 15, 0.78)), var(--band-img, none);
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.08em;
  max-width: 720px;
  margin: 0 auto 26px;
}
.quote-band cite {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--brass);
}

/* ---------- visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.visit-info dl { display: grid; grid-template-columns: 92px 1fr; row-gap: 20px; margin: 40px 0; }
.visit-info dt {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--brass);
  padding-top: 5px;
}
.visit-info dd { color: var(--ivory-dim); }
.visit-info dd strong { color: var(--ivory); font-weight: 400; }
.visit-info dd small { display: block; font-size: 0.82rem; color: var(--ivory-faint); margin-top: 4px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  padding: 15px 34px;
  border: 1px solid rgba(185, 143, 78, 0.5);
  color: var(--ivory);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
  cursor: pointer;
  background: none;
}
.btn:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn.solid { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn.solid:hover { background: var(--ivory); border-color: var(--ivory); }
.visit-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ---------- sub-cta strip (index bottom) ---------- */
.cta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242, 234, 217, 0.08);
}
.cta-strip a {
  padding: 64px 30px;
  text-align: center;
  border-right: 1px solid rgba(242, 234, 217, 0.08);
  transition: background 0.4s;
  position: relative;
}
.cta-strip a:last-child { border-right: none; }
.cta-strip a:hover { background: var(--soot); }
.cta-strip .eyebrow { margin-bottom: 12px; text-indent: 0.5em; }
.cta-strip h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.cta-strip p { font-size: 0.82rem; color: var(--ivory-faint); }
.cta-strip .arrow {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--brass);
  transition: transform 0.35s var(--ease);
}
.cta-strip a:hover .arrow { transform: translateX(6px); }

/* ---------- footer ---------- */
.footer {
  background: #0f0d0a;
  padding: 70px 7vw 46px;
  border-top: 1px solid rgba(185, 143, 78, 0.15);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.4em;
  margin-bottom: 14px;
}
.footer-brand small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.5em;
  color: var(--brass);
  margin-top: 4px;
}
.footer-col p, .footer-col li {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ivory-faint);
  line-height: 2.1;
  letter-spacing: 0.03em;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--ivory-dim);
  margin-bottom: 14px;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid rgba(242, 234, 217, 0.06);
  padding-top: 26px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  color: #5b5446;
  letter-spacing: 0.05em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  justify-content: space-between;
}

/* ---------- sub-page hero ---------- */
.page-hero {
  position: relative;
  padding: 210px 7vw 110px;
  background-image: linear-gradient(to bottom, rgba(22,19,15,0.45) 0%, rgba(22,19,15,0.72) 70%, var(--ink) 100%), var(--page-img, none);
  background-size: cover;
  background-position: center 40%;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  margin-bottom: 20px;
}
.page-hero p {
  color: var(--ivory-dim);
  letter-spacing: 0.1em;
  font-size: 1rem;
}

/* ---------- feature trio (sub pages) ---------- */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.trio-card {
  border: 1px solid rgba(242, 234, 217, 0.1);
  padding: 44px 34px;
  background: rgba(33, 29, 23, 0.5);
}
.trio-card .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brass);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.trio-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  line-height: 1.6;
}
.trio-card p { font-size: 0.88rem; color: var(--ivory-faint); }

/* ---------- contact form ---------- */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.form-field { display: flex; flex-direction: column; gap: 10px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--brass);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(33, 29, 23, 0.6);
  border: 1px solid rgba(242, 234, 217, 0.14);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color 0.3s;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; margin-top: 10px; }
.form-hint { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ivory-faint); font-weight: 300; }
.form-result {
  grid-column: 1 / -1;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 14px 18px;
  display: none;
}
.form-result.ok { display: block; border: 1px solid rgba(185,143,78,0.5); color: var(--brass); }
.form-result.err { display: block; border: 1px solid rgba(166,61,42,0.6); color: #d98873; }

/* direct contact cards */
.direct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 56px;
}
.direct-card {
  border: 1px solid rgba(242, 234, 217, 0.1);
  padding: 40px 34px;
  text-align: center;
}
.direct-card h3 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--ivory-dim);
  margin-bottom: 16px;
}
.direct-card .big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  margin-bottom: 8px;
}
.direct-card p { font-size: 0.82rem; color: var(--ivory-faint); }

/* ---------- shop (준비중) ---------- */
.shop-hold {
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 7vw 120px;
}
.shop-hold .brush {
  font-family: var(--font-brush);
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--ivory);
  margin-bottom: 30px;
}
.shop-hold h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  margin-bottom: 24px;
}
.shop-hold p { color: var(--ivory-dim); max-width: 480px; margin-bottom: 40px; }

/* ---------- about: chapter opener ---------- */
.chapter-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-bottom: 8px;
}
.chapter-place {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ivory-faint);
  margin-bottom: 28px;
}

/* pull quote (대표 인터뷰) */
.pullquote {
  border-left: 1px solid var(--brass);
  padding: 4px 0 4px 26px;
  margin: 34px 0 26px;
  max-width: 520px;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--ivory);
  margin-bottom: 14px;
}
.pullquote cite {
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--brass);
}

/* ---------- about: 이름의 뜻 (signature) ---------- */
.creed {
  position: relative;
  padding: clamp(120px, 16vw, 190px) 7vw;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(185, 143, 78, 0.09), transparent 70%),
    var(--ink);
  overflow: hidden;
}
.creed-name {
  font-family: var(--font-brush);
  font-size: clamp(4.5rem, 13vw, 9rem);
  line-height: 1;
  color: var(--ivory);
  margin-bottom: 10px;
}
.creed-roman {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  color: var(--brass);
  margin-bottom: 54px;
}
.creed-verse {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.05em;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--ivory);
}
.creed-verse em {
  font-style: normal;
  color: var(--brass);
}
.creed-body {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ivory-dim);
  font-size: 1rem;
  line-height: 2.05;
}
.creed-body + .creed-body { margin-top: 18px; }
.creed-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--brass), transparent);
  margin: 0 auto 46px;
}

/* ---------- about: 연혁 timeline ---------- */
.timeline {
  max-width: 720px;
  margin: 60px auto 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(185, 143, 78, 0.45) 12%, rgba(185, 143, 78, 0.45) 88%, transparent);
}
.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding-bottom: 52px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  color: var(--brass);
  text-align: right;
  padding-top: 2px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 114px;
  top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}
.tl-item.now::before {
  width: 9px; height: 9px;
  left: 112px;
  top: 8px;
  background: var(--ivory);
  box-shadow: 0 0 0 4px rgba(242, 234, 217, 0.12);
}
.tl-body h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-bottom: 8px;
}
.tl-body p {
  font-size: 0.9rem;
  color: var(--ivory-faint);
  line-height: 1.85;
}
.tl-note {
  max-width: 720px;
  margin: 46px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 234, 217, 0.08);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--ivory-faint);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ---------- about: 원칙 리스트 ---------- */
.creed-list {
  max-width: 780px;
  margin: 54px auto 0;
}
.creed-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 34px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid rgba(242, 234, 217, 0.08);
}
.creed-row:first-child { border-top: 1px solid rgba(242, 234, 217, 0.08); }
.creed-key {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.creed-val h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}
.creed-val p {
  font-size: 0.88rem;
  color: var(--ivory-faint);
  line-height: 1.8;
}

/* ---------- about: 방송 수상 ---------- */
.award {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(185, 143, 78, 0.35);
  padding: clamp(38px, 5vw, 54px) clamp(24px, 4vw, 46px);
  background: rgba(33, 29, 23, 0.5);
}
.award-program {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ivory-dim);
  margin-bottom: 22px;
}
.award-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--brass);
  line-height: 1.5;
  margin-bottom: 14px;
}
.award-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ivory);
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.award-rule {
  width: 40px; height: 1px;
  background: var(--brass);
  margin: 0 auto 24px;
}
.award p.desc {
  font-size: 0.9rem;
  color: var(--ivory-faint);
  line-height: 1.9;
  max-width: 420px;
  margin: 0 auto;
}

/* 방송 캡처 (수상 장면) */
.onair-shot {
  max-width: 820px;
  margin: 0 auto 60px;
}
.onair-shot figure { margin: 0; overflow: hidden; background: var(--soot-2); }
.onair-shot img { width: 100%; display: block; }
.onair-shot figcaption {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ivory-faint);
  line-height: 1.8;
  margin-top: 14px;
  text-align: center;
}
.onair-shot figcaption b { color: var(--brass); font-weight: 400; }

/* 방송 출연 이력 타임라인 */
.bcast { max-width: 800px; margin: 0 auto; }
.bcast-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(242, 234, 217, 0.09);
  align-items: start;
}
.bcast-item:first-child { border-top: 1px solid rgba(242, 234, 217, 0.09); }
.bc-net {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  line-height: 1.4;
}
.bc-date {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ivory-faint);
  margin-top: 7px;
}
.bc-prog {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ivory);
  line-height: 1.6;
  margin-bottom: 7px;
}
.bc-ep {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ivory-faint);
  margin-left: 10px;
}
.bc-desc {
  font-size: 0.88rem;
  color: var(--ivory-faint);
  line-height: 1.8;
}
.bc-badge {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--brass);
  border: 1px solid rgba(185, 143, 78, 0.5);
  padding: 6px 14px;
}

/* 방송에서 공개된 것 */
.aired {
  max-width: 860px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1px;
  background: rgba(242, 234, 217, 0.09);
  border: 1px solid rgba(242, 234, 217, 0.09);
}
.aired-cell {
  background: var(--ink);
  padding: 30px 26px;
}
.section.alt .aired-cell { background: var(--soot); }
.aired-cell h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ivory);
  margin-bottom: 10px;
}
.aired-cell p {
  font-size: 0.85rem;
  color: var(--ivory-faint);
  line-height: 1.8;
}

/* 손님 반응 */
.voices {
  max-width: 860px;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.voice {
  text-align: center;
  padding: 30px 22px;
  border-top: 1px solid rgba(185, 143, 78, 0.3);
}
.voice p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ivory);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.voice span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--ivory-faint);
}

/* ---------- 오시는 길 지도 ---------- */
.map-card {
  border: 1px solid rgba(185, 143, 78, 0.28);
  background: var(--soot);
  overflow: hidden;
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--soot-2);
}
a.map-frame { display: block; cursor: pointer; }
.map-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.32) contrast(1.04) brightness(0.93);
  transition: filter 0.4s var(--ease);
}
.map-frame:hover img { filter: grayscale(0.05) contrast(1.02) brightness(1); }
body.light .map-frame img { filter: grayscale(0.15) contrast(1.02); }
.map-open {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--ivory);
  background: rgba(22, 19, 15, 0.82);
  border: 1px solid rgba(185, 143, 78, 0.5);
  padding: 8px 16px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.map-frame:hover .map-open { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.map-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-top: 1px solid rgba(185, 143, 78, 0.22);
}
.map-foot p {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ivory-dim);
  line-height: 1.6;
  margin: 0;
}
.map-foot p b { color: var(--ivory); font-weight: 400; }
.map-links { display: flex; gap: 8px; flex: none; }
.map-links a {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 1px solid rgba(185, 143, 78, 0.45);
  color: var(--ivory);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.map-links a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
@media (max-width: 900px) {
  .map-frame { aspect-ratio: 1 / 1; }
  .map-foot { flex-direction: column; align-items: flex-start; }
  .map-links { width: 100%; }
  .map-links a { flex: 1; text-align: center; }
}

/* ---------- FAQ (자주 묻는 질문) ---------- */
.faq { max-width: 780px; margin: 54px auto 0; }
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(242, 234, 217, 0.09);
}
.faq-item:first-child { border-top: 1px solid rgba(242, 234, 217, 0.09); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: var(--ivory);
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}
.faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--brass);
}
.faq-item p {
  font-size: 0.92rem;
  color: var(--ivory-dim);
  line-height: 1.9;
  padding-left: 26px;
}
.faq-item p strong { color: var(--ivory); font-weight: 400; }

/* ==========================================================
   LIGHT THEME — 정보 페이지용 (메뉴 · 오시는 길 · 협업문의)
   같은 집의 "낮": 종이빛 아이보리 바탕, 먹색 글씨, 브라스 포인트 유지
   ========================================================== */
body.light {
  --ink: #F6F1E6;          /* 바탕: 따뜻한 종이 */
  --soot: #EEE7D8;         /* 교대 섹션 */
  --soot-2: #E5DCC9;       /* 카드 밑판 */
  --ivory: #1E1A14;        /* 본문 글씨: 먹색 */
  --ivory-dim: #5A5245;
  --ivory-faint: #7A7160;
  --brass: #8F6B2E;        /* 밝은 바탕에선 한 톤 진한 브라스 */
  --brass-soft: #6B4F22;
}
body.light ::selection { background: var(--brass); color: #F6F1E6; }

/* 나비게이션 */
body.light .nav.scrolled {
  background: rgba(246, 241, 230, 0.94);
  border-bottom-color: rgba(143, 107, 46, 0.22);
}
body.light .nav-toggle span { background: var(--ivory); }
body.light .mobile-menu { background: rgba(246, 241, 230, 0.98); }

/* 서브페이지 헤더: 사진 위 글씨는 밝게 유지, 아래로 종이빛에 녹아듦 */
body.light .page-hero {
  background-image:
    linear-gradient(to bottom, rgba(30, 26, 20, 0.72) 0%, rgba(30, 26, 20, 0.66) 62%, var(--ink) 100%),
    var(--page-img, none);
}
body.light .page-hero h1 { color: #F2EAD9; }
body.light .page-hero p { color: #E4DBC8; }
body.light .page-hero .eyebrow { color: #C9A45C; }

/* 하이라인 (아이보리 기준 선 → 먹색 기준 선) */
body.light .menu-note,
body.light .tl-note,
body.light .creed-row,
body.light .creed-row:first-child,
body.light .faq-item,
body.light .faq-item:first-child,
body.light .bcast-item,
body.light .bcast-item:first-child,
body.light .footer-bottom { border-color: rgba(30, 26, 20, 0.12); }
body.light .aired { background: rgba(30, 26, 20, 0.12); border-color: rgba(30, 26, 20, 0.12); }
body.light .aired-cell { background: var(--ink); }
body.light .section.alt .aired-cell { background: var(--soot); }
body.light .trio-card,
body.light .direct-card { border-color: rgba(30, 26, 20, 0.12); background: rgba(255, 253, 248, 0.6); }
body.light .cta-strip,
body.light .cta-strip a { border-color: rgba(30, 26, 20, 0.1); }
body.light .cta-strip a:hover { background: var(--soot); }

/* 배지: 밝은 사진 위에서도 읽히게 */
body.light .badge.season { background: rgba(30, 26, 20, 0.78); border-color: transparent; color: #F2EAD9; }

/* 폼 */
body.light .form-field input,
body.light .form-field select,
body.light .form-field textarea {
  background: #FFFDF8;
  border-color: rgba(30, 26, 20, 0.18);
}

/* 버튼 */
body.light .btn { border-color: rgba(143, 107, 46, 0.55); }
body.light .btn:hover { color: #F6F1E6; }
body.light .btn.solid { color: #F6F1E6; }
body.light .btn.solid:hover { background: var(--ivory); border-color: var(--ivory); color: #F6F1E6; }

/* 푸터 */
body.light .footer { background: #EEE7D8; border-top-color: rgba(143, 107, 46, 0.25); }
body.light .footer-bottom { color: #7A7160; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .nav-links { gap: 18px; font-size: 0.76rem; }
  .nav { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 1120px) {
  .nav-links { gap: 13px; font-size: 0.72rem; letter-spacing: 0.05em; }
  .nav-brand { font-size: 1.15rem; letter-spacing: 0.3em; text-indent: 0.3em; }
  .nav-tel { padding: 6px 12px; font-size: 0.74rem; }
}
@media (max-width: 1024px) {
  .quote-band { background-attachment: scroll; }
}
@media (max-width: 900px) {
  .nav-links, .nav-tel { display: none; }
  .nav-toggle { display: block; }
  .nav-brand { position: static; transform: none; }
  .nav { justify-content: space-between; flex-direction: row-reverse; }
  .story-grid, .visit-grid, .direct-grid { grid-template-columns: 1fr; }
  .story-grid.flip .story-media { order: 0; }
  .trio { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; }
  .cta-strip a { border-right: none; border-bottom: 1px solid rgba(242, 234, 217, 0.08); }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 90px 6vw; }
  .hero-tag { letter-spacing: 0.16em; text-indent: 0.16em; padding: 0 24px; }
  /* 세로 붓글씨가 화면 높이를 넘어 두 줄로 꺾이지 않도록 */
  .hero-calligraphy { white-space: nowrap; word-break: keep-all; }
}
@media (max-width: 600px) {
  .hero-inner { gap: 26px; }
  .hero-calligraphy { font-size: clamp(3rem, 13vw, 3.8rem); letter-spacing: 0.14em; }
  .hero-tag {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-indent: 0;
    line-height: 2;
    word-break: keep-all;
    padding: 0 18px;
  }
  /* "행주산성 맛집, 가나안국수"는 한 덩어리로 다음 줄에 */
  .hero-tag strong { display: block; white-space: nowrap; }
  .hero { min-height: 560px; }

  /* about page */
  .timeline::before { left: 4px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; padding-bottom: 40px; }
  .tl-item::before { left: 0; top: 12px; }
  .tl-item.now::before { left: -2px; top: 10px; }
  .tl-year { text-align: left; padding-top: 0; }
  .creed-row { grid-template-columns: 1fr; gap: 8px; }
  .bcast-item { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .bc-date { display: inline; margin-top: 0; margin-left: 12px; }
  .bc-ep { display: block; margin-left: 0; margin-top: 5px; }
  .pullquote { padding-left: 20px; }
  .mobile-menu { gap: 22px; }
  .mobile-menu a { font-size: 1.32rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-calligraphy, .hero-tag, .hero-scroll { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .quote-band { background-attachment: scroll; }
}
