:root {
  --cream: #f6eee2;
  --paper: #fffaf3;
  --choco: #4a2f20;
  --cocoa: #7a5640;
  --pink: #f3c9cf;
  --rose: #cf5f78;
  --line: rgba(74, 47, 32, 0.16);
  --serif: "Gowun Batang", "Noto Serif KR", serif;
  --sans: "Gowun Dodum", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --latin: "Fraunces", "Gowun Batang", serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--cream);
  color: var(--choco);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--choco);
  background: var(--choco);
  color: var(--paper);
  font-family: var(--sans); font-size: 16px; text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--choco); }
.btn-ghost:hover { background: var(--choco); border-color: var(--choco); color: var(--paper); }
.btn-small { padding: 9px 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(246, 238, 226, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; color: var(--choco); flex: none; }
.brand-text { font-family: var(--latin); font-weight: 600; font-size: 15px; letter-spacing: 0.22em; white-space: nowrap; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 15px; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(36px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 104px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.eyebrow { margin-bottom: 22px; }
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 14px; color: var(--cocoa);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9a593; }
.status.is-open::before { background: #4f9d69; box-shadow: 0 0 0 4px rgba(79, 157, 105, 0.18); }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.4rem); line-height: 1.12; letter-spacing: -0.03em; }
.hero h1 em {
  font-style: normal; color: var(--rose); position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.04em; height: 0.26em;
  background: var(--pink); z-index: -1; border-radius: 999px;
}
.lead { margin-top: 26px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--cocoa); max-width: 30em; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 44px; }
.hero-facts dt { font-family: var(--latin); font-style: italic; font-size: 14px; color: var(--rose); }
.hero-facts dd { font-size: 15px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  aspect-ratio: 4 / 5.4;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(74, 47, 32, 0.5);
}
.arch img { object-position: 50% 78%; }
.hero-badge {
  position: absolute; left: -14%; bottom: 7%;
  width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 7px solid var(--cream);
  box-shadow: 0 18px 36px -18px rgba(74, 47, 32, 0.55);
}
.hero-note {
  position: absolute; right: -6%; top: 9%;
  font-family: var(--latin); font-style: italic; font-size: 15px; line-height: 1.3;
  color: var(--cocoa); transform: rotate(8deg); text-align: center;
}

/* ---------- Marquee ---------- */
.marquee { background: var(--choco); color: var(--cream); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 36s linear infinite; }
.marquee span { font-family: var(--latin); font-style: italic; font-size: 20px; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--pink); font-size: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.kicker { font-family: var(--latin); font-style: italic; color: var(--rose); font-size: 17px; margin-bottom: 10px; }
.section h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.section-lead { margin-top: 18px; color: var(--cocoa); max-width: 34em; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.6vw, 32px); }
.card { background: var(--paper); border-radius: 18px; padding: 10px 10px 0; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:nth-child(3n + 2) { margin-top: 44px; margin-bottom: -44px; }
.card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 24px 40px -28px rgba(74, 47, 32, 0.55); }
.card img { aspect-ratio: 1; border-radius: 11px; height: auto; }
.card p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 13px 6px 15px; }
.card b { font-family: var(--serif); font-size: 17px; }
.card span { font-size: 13px; color: var(--cocoa); text-align: right; }
.gallery-more { margin-top: 84px; text-align: center; color: var(--cocoa); }
.gallery-more a { color: var(--rose); text-underline-offset: 4px; }

/* ---------- Menu ---------- */
.menu { background: var(--choco); color: var(--cream); }
.menu .kicker { color: var(--pink); }
.menu .section-lead, .menu-note { color: rgba(246, 238, 226, 0.72); }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 96px); }
.menu-group h3 {
  font-family: var(--latin); font-style: italic; font-weight: 400; font-size: 26px;
  color: var(--pink); margin-bottom: 14px;
}
.menu-group ul + h3 { margin-top: 40px; }
.menu-group li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; font-size: 18px; }
.menu-group li i { flex: 1; border-bottom: 1.5px dotted rgba(246, 238, 226, 0.35); transform: translateY(-5px); }
.menu-group li em { font-style: normal; font-size: 15px; color: rgba(246, 238, 226, 0.8); white-space: nowrap; }
.menu-note { margin-top: 48px; font-size: 15px; }

/* ---------- Season ---------- */
.season-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(14px, 2.2vw, 26px); align-items: end; }
.season-grid figure { position: relative; }
.season-grid img { border-radius: 16px; height: auto; aspect-ratio: 3 / 4; }
.season-grid .wide img { aspect-ratio: 4 / 3.4; }
.season-grid figcaption { margin-top: 10px; font-size: 14px; color: var(--cocoa); }

/* ---------- Gift ---------- */
.gift {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding-top: 0;
}
.gift > * { margin: 0; }
.gift .section-head { margin-bottom: 28px; }
.gift-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(74, 47, 32, 0.5); }
.gift-photo img { object-position: 50% 70%; }
.gift-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 8px 16px; border-radius: 999px;
  background: var(--pink); color: var(--choco); font-size: 15px;
}
.gift-badge::before { content: "✦"; color: var(--rose); font-size: 12px; }
.gift-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gift-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px; }
.gift-list h3 { font-size: 18px; margin-bottom: 6px; }
.gift-list h3::before { content: "✦"; color: var(--rose); font-size: 12px; margin-right: 8px; vertical-align: 2px; }
.gift-list p { font-size: 15px; color: var(--cocoa); line-height: 1.6; }
.gift-note { margin-top: 22px; font-size: 15px; color: var(--cocoa); }
.gift-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Order ---------- */
.order { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { padding-top: 22px; border-top: 1.5px solid var(--choco); }
.steps .num { font-family: var(--latin); font-style: italic; color: var(--rose); font-size: 20px; }
.steps h3 { font-size: 22px; margin: 6px 0 8px; }
.steps p { color: var(--cocoa); font-size: 16px; }
.order-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.visit > * { margin: 0; }
.visit-photo { aspect-ratio: 4 / 5; border-radius: 18px 18px 999px 999px; overflow: hidden; }
.visit-photo img { object-position: 50% 62%; }
.visit dl { margin-top: 30px; border-top: 1px solid var(--line); }
.visit dl div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit dt { color: var(--rose); font-size: 15px; }
.visit dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.visit dd a:hover { color: var(--rose); border-color: var(--rose); }
.visit small { color: var(--cocoa); font-size: 14px; }
.visit-actions { margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--choco); color: rgba(246, 238, 226, 0.75); text-align: center; padding: 56px var(--gutter) 64px; font-size: 14px; }
.footer-brand { font-family: var(--latin); font-size: 20px; letter-spacing: 0.3em; color: var(--cream); margin-bottom: 14px; }
.footer a { text-underline-offset: 4px; }
.footer span { margin: 0 8px; }

/* ---------- Christmas promo popup ---------- */
.promo {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0;
  border-radius: 24px; overflow: auto;
  background: var(--paper); color: var(--choco);
  box-shadow: 0 40px 80px -30px rgba(40, 22, 12, 0.6);
}
.promo::backdrop { background: rgba(40, 22, 12, 0.55); backdrop-filter: blur(3px); }
.promo[open] { animation: promo-in .35s ease; }
@keyframes promo-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.promo-photo { aspect-ratio: 4 / 3; }
.promo-body { padding: 24px 26px 18px; text-align: center; }
.promo .kicker { margin-bottom: 6px; }
.promo h2 { font-size: 26px; }
.promo-text { margin-top: 12px; font-size: 15px; color: var(--cocoa); }
.promo-actions { margin-top: 20px; display: grid; gap: 10px; }
.promo-skip {
  margin-top: 14px; padding: 6px 10px; border: 0; background: none;
  font: inherit; font-size: 13px; color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.promo-close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255, 250, 243, 0.92); color: var(--choco);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.promo-close:hover { background: var(--paper); color: var(--rose); }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.js-reveal .reveal.in { opacity: 1; translate: 0 0; }
.js-reveal .gallery .reveal:nth-child(3n + 2) { transition-delay: .1s; }
.js-reveal .gallery .reveal:nth-child(3n) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { width: min(78%, 380px); margin-top: 8px; }
  .hero-badge { left: -16%; }
  .hero-note { right: -16%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(3n + 2) { margin: 0; }
  .card:nth-child(2n) { margin-top: 28px; margin-bottom: -28px; }
  .gallery-more { margin-top: 64px; }
  .menu-cols { grid-template-columns: 1fr; gap: 40px; }
  .season-grid { grid-template-columns: 1.2fr 1fr; }
  .gift { grid-template-columns: 1fr; }
  .gift-photo { width: min(70%, 340px); margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .visit-photo { width: min(70%, 340px); margin: 0 auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .nav .btn-small { display: none; }
  .brand-text { font-size: 13px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .card p { flex-direction: column; gap: 0; padding: 10px 4px 12px; }
  .card span { text-align: left; }
  .card b { font-size: 15px; }
  .menu-group li { font-size: 16px; }
  .order-cta .btn, .gift-actions .btn { flex: 1 1 100%; }
  .gift-list { grid-template-columns: 1fr; }
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--choco); border-radius: 999px; overflow: hidden;
    border: 1px solid rgba(255, 250, 243, 0.28);
    box-shadow: 0 14px 30px -12px rgba(74, 47, 32, 0.6);
  }
  .dock a { padding: 14px 0; text-align: center; color: var(--paper); text-decoration: none; font-size: 15px; }
  .dock a + a { border-left: 1px solid rgba(255, 250, 243, 0.2); }
}
