/* Meokja Meokja — site styles (bright theme) */
:root {
  --bg: #fffaf2;          /* warm white page */
  --surface: #ffffff;
  --tint: #fff1d6;        /* soft butter yellow */
  --tint-2: #ffe3a8;
  --line: #f0e2c8;
  --ink: #1d1a24;
  --text: #2c2833;
  --muted: #645e6b;
  --red: #e0402a;         /* gochujang red */
  --red-dark: #b8301d;
  --red-soft: #fde4de;
  --yellow: #ffc533;
  --green: #1f9d63;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px -18px rgba(120, 60, 20, .28);
  --display: "Fraunces", "Recoleta", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .97rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(224, 64, 42, .7); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }
.text-link { color: var(--red); font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 242, .92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 54px; height: 54px; }
.site-footer .brand img { width: 72px; height: 72px; }
.brand-name { font-family: var(--display); font-size: 1.35rem; font-weight: 800; font-variation-settings: "SOFT" 100; letter-spacing: 0; }
.brand-tag { font-size: .66rem; font-weight: 700; letter-spacing: .18em; color: var(--red); background: var(--red-soft); padding: .2rem .55rem; border-radius: 999px; }
.nav { display: flex; gap: 2px; }
.nav a {
  text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500;
  padding: .5rem .9rem; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--tint-2); font-weight: 700; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .92rem;
  background: var(--red); color: #fff; padding: .55rem 1rem; border-radius: 999px;
}
.header-phone:hover { background: var(--red-dark); }
.header-phone svg { width: 16px; height: 16px; }
.header-call { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; padding: .55rem .6rem; border-radius: 999px; }
.header-call:hover { color: var(--red); }
.header-call svg { width: 16px; height: 16px; }
.reserve-short { display: none; }
@media (max-width: 1080px) { .header-call span { display: none; } }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .reserve-long { display: none; }
  .reserve-short { display: inline; }
  .header-phone { padding: .5rem .85rem; }
  .brand-tag { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 12px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); }
.hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  right: -160px; top: -200px; background: radial-gradient(circle, rgba(255, 197, 51, .55), rgba(255, 197, 51, 0) 70%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 72px 0 44px; }
.hero h1 .accent { color: var(--red); }
.hero-lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; padding: .4rem .85rem; border-radius: 999px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }
.hero-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(120, 60, 20, .45); transform: rotate(1.5deg); border: 6px solid #fff; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  padding: .7rem 1rem; border-radius: 14px; font-weight: 700; font-size: .95rem;
}
.hero-photo figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }

.info-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin: 0 0 40px; padding: 16px 22px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 18px; font-size: .92rem; color: var(--ink);
}
.info-bar > * { display: inline-flex; align-items: center; gap: 8px; }
.info-bar svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #bbb; flex: none; }
.status-dot.open { background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 99, .18); }
.status-dot.closed { background: var(--red); box-shadow: 0 0 0 4px rgba(224, 64, 42, .15); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0 28px; gap: 36px; }
  .hero-photo { transform: none; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .info-bar { flex-direction: column; align-items: flex-start; }
}

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--tint) 0%, var(--bg) 100%); padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  right: -120px; top: -220px; background: radial-gradient(circle, rgba(255, 197, 51, .5), rgba(255, 197, 51, 0) 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; }
.page-hero p { color: var(--muted); max-width: 44rem; font-size: 1.08rem; margin: 0; }
.page-hero p a { color: var(--red); font-weight: 700; }
.crumbs { font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* Sections */
.section { padding: 88px 0; }
.section-sand { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* Signature dish cards (text only) */
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dish {
  position: relative; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.dish::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red); }
.dish:nth-child(2)::before { background: var(--yellow); }
.dish:nth-child(4)::before { background: var(--yellow); }
.dish:hover { transform: translateY(-4px); border-color: var(--tint-2); }
.dish-top { display: flex; justify-content: flex-start; align-items: center; gap: 8px; padding: 28px 22px 0; }
.dish-kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--tint); padding: .25rem .6rem; border-radius: 999px; }
.dish-body { padding: 14px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dish-body h3 { font-size: 1.2rem; margin-bottom: .45em; }
.dish-body p { color: var(--muted); font-size: .94rem; flex: 1; }
.price { font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100; font-size: 1.35rem; color: var(--red); }
@media (max-width: 1000px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dish-grid { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--tint); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 16px; }
.feature:nth-child(2) .icon { background: var(--yellow); color: var(--ink); }
.feature .icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-imgs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.split-imgs img { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip img { border-radius: 18px; width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Yellow call-to-action band */
.band { background: var(--yellow); color: var(--ink); }
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.cta p { color: #3d3626; max-width: 36rem; margin: 0 auto 1.8rem; font-size: 1.08rem; }
.cta .hero-actions { justify-content: center; }
.band .eyebrow { color: var(--ink); }
.band .btn-primary { box-shadow: none; }

/* Menu page */
.menu-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.cat-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; }
.cat-nav button {
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: .55rem .95rem; border-radius: 12px; font: inherit; font-size: .96rem; font-weight: 500; color: var(--muted);
}
.cat-nav button:hover { color: var(--ink); background: var(--tint); }
.cat-nav button[aria-pressed="true"] { background: var(--red); color: #fff; font-weight: 700; }
.menu-cat { margin-bottom: 52px; scroll-margin-top: 96px; }
.menu-cat h2 { font-size: 2rem; padding-bottom: .5rem; border-bottom: 3px solid var(--yellow); margin-bottom: .4rem; }
.menu-cat .cat-note { color: var(--muted); font-size: .92rem; margin: .6rem 0 0; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-weight: 700; color: var(--ink); }
.item-top .leader { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 12px; }
.item-top .price { font-size: 1.1rem; }
.item-desc { color: var(--muted); font-size: .9rem; margin: .25rem 0 0; }
.combo { grid-column: 1 / -1; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .6rem; }
.size { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem; font-size: .86rem; }
.size b { color: var(--red); margin-left: 4px; }
@media (max-width: 860px) {
  .menu-layout { grid-template-columns: 1fr; gap: 0; }
  .cat-nav {
    top: 72px; z-index: 10; flex-direction: row; overflow-x: auto; gap: 6px;
    background: var(--bg); padding: 12px 24px; margin: 0 -24px 24px;
    scrollbar-width: none;
  }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav button { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
  .items { grid-template-columns: 1fr; }
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--tint-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--ink); }

.guide { display: grid; gap: 64px; }
.guide h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.guide p { max-width: 48rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--tint-2); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; max-width: 48rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100; font-size: 2.4rem; color: var(--red); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Gallery */
.gallery-group { margin-bottom: 64px; }
.gallery-group > p { color: var(--muted); max-width: 46rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
.gallery figure { margin: 0; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; border-radius: 18px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(29, 26, 36, .92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.card .big { font-family: var(--display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-decoration: none; display: block; margin-bottom: 14px; line-height: 1.2; }
.hours { width: 100%; font-size: .95rem; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
.hours .today dt, .hours .today dd { color: var(--red); }
.map { margin-top: 40px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; width: 100%; height: 420px; display: block; background: var(--tint); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer (red) */
.site-footer { background: var(--red-dark); color: #ffe9e3; padding: 64px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.4fr 1.6fr; gap: 40px; }
.site-footer h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 16px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brand { margin-bottom: 14px; color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #ffd0c4; }
.site-footer .hours div { border-color: rgba(255, 255, 255, .18); }
.site-footer .hours dt { color: #ffd9cf; }
.site-footer .hours dd { color: #fff; }
.site-footer .hours .today dt, .site-footer .hours .today dd { color: var(--yellow); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .84rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #ffd9cf; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dish, .btn, .gallery img, .hero-photo { transition: none; transform: none; }
}

/* Small phones: keep the header on one line */
.brand-name { white-space: nowrap; }
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.04rem; }
  .header-phone svg { display: none; }
  .header-phone { padding: .45rem .8rem; font-size: .88rem; }
  .header-call { padding: .45rem; }
  .menu-toggle { padding: 4px; }
}

@media (max-width: 400px) { .header-call { display: none; } }
