/* Daily Bap Box — ivory, warm and modern. Phone-first, big text, big buttons. */

:root {
  --ivory: #F8F4EC;
  --ivory-deep: #F1EADD;
  --paper: #FFFDF9;
  --ink: #2B2622;
  --ink-soft: #4A423B;
  --muted: #7A6F65;
  --line: #E7DECF;
  --line-strong: #D8CBB5;
  --accent: #B5532F;
  --accent-deep: #8E3F22;
  --accent-tint: #F6E7DD;
  --sage: #5E6E4C;
  --sage-tint: #E8ECDF;
  --gold: #A9844B;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(64, 42, 20, 0.05);
  --shadow: 0 1px 2px rgba(64, 42, 20, 0.04), 0 12px 32px -16px rgba(64, 42, 20, 0.22);
  --shadow-lg: 0 2px 4px rgba(64, 42, 20, 0.04), 0 24px 48px -24px rgba(64, 42, 20, 0.3);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-serif-ko: "Noto Serif KR", "AppleMyungjo", serif;
  --font-serif-en: "Fraunces", Georgia, serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;

}
@media (min-width: 820px) {
  html { font-size: 19px; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 520px at 85% -120px, rgba(214, 160, 120, 0.16), transparent 70%),
    radial-gradient(900px 480px at -10% 0, rgba(168, 178, 140, 0.14), transparent 70%),
    var(--ivory);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
body.has-bar { padding-bottom: 104px; }

img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 8px; z-index: 60;
  background: var(--paper); padding: 8px 14px; border-radius: 10px;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 0.8em; }

.bi { display: block; }
.bi > .ko, .bi > .en { display: block; }
.bi > .en { color: var(--muted); font-size: 0.86em; margin-top: 0.1em; letter-spacing: 0; }

.display .ko {
  display: block;
  font-family: var(--font-serif-ko);
  font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.display .en {
  display: block;
  margin-top: 0.35em;
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 3.6vw, 1.65rem);
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.title .ko {
  display: block;
  font-family: var(--font-serif-ko);
  font-weight: 600;
  font-size: clamp(1.55rem, 4.6vw, 2.1rem);
  letter-spacing: -0.03em;
}
.title .en {
  display: block;
  margin-top: 0.2em;
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.lead { font-size: 1.08rem; color: var(--ink-soft); }
.lead .en { font-size: 0.9em; }
.small { font-size: 0.88rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 244, 236, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(216, 203, 181, 0.6);
}
.header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: center;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-ko {
  font-family: var(--font-serif-ko);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}
.brand-en {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--ivory-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 4px 6px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.nav-ko { font-weight: 700; font-size: 0.92rem; }
.nav-en { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; }
.nav a:hover { background: rgba(255, 253, 249, 0.7); }
.nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}
.nav a[aria-current="page"] .nav-en { color: var(--accent); }

@media (min-width: 820px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .brand { align-self: auto; }
  .nav { width: 470px; }
}

.demo-banner {
  margin: 0;
  padding: 10px 16px;
  background: #FBF1D6;
  border-bottom: 1px solid #EEDDA8;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn .en { font-size: 0.78em; font-weight: 500; opacity: 0.85; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(142, 63, 34, 0.7);
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink-soft); }
.btn-block { width: 100%; }
.btn-big { min-height: 68px; font-size: 1.15rem; }
.btn-row { display: grid; gap: 10px; }
@media (min-width: 560px) {
  .btn-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ---------- Page sections ---------- */

.page { padding-top: 36px; }
@media (min-width: 820px) { .page { padding-top: 64px; } }

.section { margin-top: 64px; }
@media (min-width: 820px) { .section { margin-top: 96px; } }

.section-head { margin-bottom: 28px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .hint { margin: 12px 0 0; color: var(--muted); }

/* ---------- States (loading, closed, error) ---------- */

.state {
  max-width: 640px;
  margin: 12px auto 0;
  padding: 44px 24px;
  text-align: center;
}
.state h1 { margin-bottom: 14px; }
.state .lead { margin-bottom: 26px; }
.state-art { width: 96px; height: 96px; margin: 0 auto 22px; }

.spinner {
  width: 44px; height: 44px;
  margin: 40px auto 18px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Menu hero ---------- */

.hero {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
}

.hero-lead { margin: 22px 0 0; font-size: 1.08rem; color: var(--ink-soft); max-width: 30em; }

.facts {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
}
.fact dt {
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd { margin: 0; font-weight: 700; }
.fact dd .en { font-weight: 500; }
.fact-deadline { background: var(--accent-tint); border-color: #EDD3C2; }
.fact-deadline dd { color: var(--accent-deep); }
.fact-deadline .bi > .en { color: var(--accent-deep); opacity: 0.8; }
.countdown {
  display: inline-block;
  margin-top: 8px !important;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.kit-card {
  position: relative;
  padding: 30px 26px 26px;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 110% -20%, rgba(181, 83, 47, 0.1), transparent 70%),
    var(--paper);
}
.kit-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.kit-label {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.kit-name .ko { font-family: var(--font-serif-ko); font-size: 1.45rem; font-weight: 600; }
.kit-name .en { font-family: var(--font-serif-en); font-style: italic; font-size: 1.05rem; }
.kit-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kit-price {
  margin: 0;
  font-family: var(--font-serif-en);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.kit-count { margin: 0; text-align: right; font-weight: 700; font-size: 0.92rem; }
.kit-count .en { font-weight: 500; }
.kit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.kit-list li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 500;
}
.kit-card .btn { width: 100%; position: relative; z-index: 1; }

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--sage-tint);
  color: var(--sage);
  font-weight: 600;
}
.note::before { content: "✦"; font-size: 1.1rem; line-height: 1.5; }
.note .bi > .en { color: var(--sage); opacity: 0.85; font-weight: 500; }

/* ---------- Dishes ---------- */

.dish-grid {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .dish-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }

.dish {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dish.has-extra { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }

.dish-media { position: relative; margin: 0; }
.dish-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ivory-deep);
}
.dish-num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.dish-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.dish-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.dish-name { margin-bottom: 8px; }
.dish-name .ko { display: block; font-family: var(--font-serif-ko); font-size: 1.3rem; font-weight: 600; }
.dish-name .en {
  display: block;
  margin-top: 2px;
  font-family: var(--font-serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--muted);
}
.dish-desc { margin: 0 0 18px; font-size: 0.95rem; color: var(--ink-soft); }
.dish-desc .en { font-size: 0.88em; }

.extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.extras-label { font-size: 0.92rem; font-weight: 600; }
.extras-label .en { font-size: 0.85em; font-weight: 500; }
.extras-none { color: var(--muted); font-size: 0.88rem; }

.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
}
.step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--accent);
  font: inherit;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}
.step:hover:not(:disabled) { background: var(--accent); color: #fff; }
.step:disabled { color: #CDBFAA; box-shadow: none; background: transparent; cursor: default; }
.count { min-width: 2ch; text-align: center; font-size: 1.25rem; font-weight: 700; }

/* ---------- Order section ---------- */

.order-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) {
  .order-layout { grid-template-columns: 0.9fr 1.1fr; gap: 32px; }
  .summary-card { position: sticky; top: 110px; }
}

.summary-card { padding: 26px 24px; }
.summary-card h3 { margin-bottom: 10px; }
.summary-card h3 .ko { font-size: 1.15rem; }
.summary-card .small { margin: 14px 0 0; }

.form { padding: 28px 22px; }
@media (min-width: 640px) { .form { padding: 36px; } }

.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

label { display: block; margin-bottom: 8px; font-weight: 700; }
label [lang="en"] { font-weight: 500; color: var(--muted); }
.req { color: var(--accent); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.85em; }

input:not([type="checkbox"]), textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
textarea { resize: vertical; min-height: 104px; }
input:not([type="checkbox"]):focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
input[aria-invalid="true"] { border-color: var(--accent); background: #fff; }
::placeholder { color: #A89C8F; }

.hint { margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); }
.field-error { margin: 8px 0 0; color: var(--accent-deep); font-weight: 700; font-size: 0.9rem; }
.field-error .en { color: var(--accent-deep); }

.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--sage-tint);
  font-weight: 600;
  cursor: pointer;
}
.check input { width: 26px; height: 26px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--sage); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-weight: 700;
}
.form-error .en { color: var(--accent-deep); }
.form-error .btn { width: 100%; margin-top: 8px; }

.form-foot { margin: 14px 0 0; text-align: center; }

/* ---------- Summary lines (order + receipt) ---------- */

.sum-list, .lines { list-style: none; margin: 0; padding: 0; }
.sum-list li, .lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.sum-name { font-size: 0.95rem; font-weight: 500; }
.sum-name .en { font-size: 0.85em; font-weight: 400; }
.sum-qty { color: var(--muted); font-size: 0.92rem; }
.sum-price { font-weight: 700; min-width: 3.4em; text-align: right; font-variant-numeric: tabular-nums; }
.sum-list .sum-total {
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: none;
  padding-top: 18px;
  font-weight: 700;
}
.sum-total strong {
  font-family: var(--font-serif-en);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

/* ---------- Floating total bar ---------- */

.total-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 25;
  max-width: 620px;
  margin: 0 auto;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(43, 38, 34, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.total-bar.is-away { transform: translateY(140%); opacity: 0; }
.total-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.total-bar-sum { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 0.85rem; }
.total-bar-sum .bi > .en { color: #CFC4B8; }
.total-bar-sum strong { font-family: var(--font-serif-en); font-weight: 500; font-size: 1.7rem; line-height: 1; }
.total-bar .btn { min-height: 54px; padding: 6px 22px; font-size: 0.98rem; box-shadow: none; }

/* ---------- Receipt (order confirmation) ---------- */

.receipt {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 26px 30px;
  text-align: center;
}
.receipt::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--accent);
}
.done-check {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-tint);
  color: var(--sage);
}
.receipt h1 { margin-bottom: 16px; }
.receipt h1 .ko { font-family: var(--font-serif-ko); font-size: 1.7rem; }
.receipt h1 .en { font-family: var(--font-serif-en); font-style: italic; font-size: 1.1rem; font-weight: 400; }
.order-no {
  display: inline-block;
  margin-bottom: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.order-no strong { color: var(--accent-deep); font-size: 1.15rem; }
.done-who { color: var(--muted); margin: 6px 0 20px; }
.receipt .lines { text-align: left; margin: 0 0 20px; border-top: 1px dashed var(--line-strong); }

.due { padding: 20px; margin-bottom: 16px; border-radius: var(--radius); background: var(--accent-tint); }
.due p { margin: 0; }
.due .bi { font-weight: 700; color: var(--accent-deep); }
.due .bi .en { color: var(--accent-deep); opacity: 0.85; }
.due-amount {
  margin-top: 8px !important;
  font-family: var(--font-serif-en);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent);
}
.callout {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--sage-tint);
  color: var(--sage);
  font-weight: 700;
  font-size: 1.05rem;
}
.callout .en { color: var(--sage); }

.details { text-align: left; margin: 0 0 24px; padding: 0; }
.details dt { font-weight: 700; margin-top: 14px; }
.details dt [lang="en"] { font-weight: 500; color: var(--muted); }
.details dd { margin: 2px 0 0; white-space: pre-wrap; color: var(--ink-soft); }

/* ---------- Past kits ---------- */

.weeks { display: grid; gap: 26px; }

.week { overflow: hidden; }
@media (min-width: 820px) {
  .week { display: grid; grid-template-columns: 1.05fr 1fr; }
}

.week-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 16 / 10;
  background: var(--paper);
}
.week-mosaic img { width: 100%; height: 100%; object-fit: cover; background: var(--ivory-deep); }
.week-mosaic img:first-child { grid-row: 1 / 3; }
.week-mosaic.is-single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.week-mosaic.is-single img:first-child { grid-row: auto; }
@media (min-width: 820px) { .week-mosaic { aspect-ratio: auto; min-height: 320px; } }

.week-body { padding: 24px 22px 26px; }
@media (min-width: 820px) { .week-body { padding: 32px 34px; } }

.week-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.week-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  line-height: 1;
}
.week-date b { font-family: var(--font-serif-en); font-size: 1.55rem; font-weight: 500; }
.week-date span { margin-top: 5px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.week-title .ko { display: block; font-weight: 700; font-size: 1.05rem; }
.week-title .en { display: block; font-family: var(--font-serif-en); font-style: italic; font-weight: 400; font-size: 0.95rem; color: var(--muted); }
.week-heading { min-width: 0; }
.week-count {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.week-dishes {
  display: grid;
  gap: 2px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dish;
}
@media (min-width: 480px) { .week-dishes { grid-template-columns: 1fr 1fr; } }
.week-dishes li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 8px 0;
  counter-increment: dish;
  line-height: 1.35;
}
.week-dishes li::before {
  content: counter(dish, decimal-leading-zero);
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  color: var(--gold);
  padding-top: 2px;
}
.week-dishes .ko { display: block; font-weight: 600; }
.week-dishes .en { display: block; font-size: 0.85rem; color: var(--muted); }

.more-wrap { margin-top: 30px; text-align: center; }

/* ---------- Catering ---------- */

.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .split-aside { position: sticky; top: 120px; }
}

.features { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
}
.features .ko { font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 96px;
  padding: 44px 0 40px;
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
}
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 820px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.footer-brand p { margin: 0; }
.footer-name { font-family: var(--font-serif-ko); font-weight: 700; font-size: 1.1rem; }
.footer-name [lang="en"] { font-family: var(--font); font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.footer-tag { color: var(--muted); font-size: 0.9rem; margin-top: 4px !important; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 820px) { .footer-nav { justify-content: flex-end; } }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 6px 0; }
.footer-nav a:hover { color: var(--accent-deep); }
.footer-copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.8rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 3s; }
  .total-bar, .btn, .nav a { transition: none; }
}

.form-title { margin-bottom: 22px; }
.form-title .ko { font-family: var(--font-serif-ko); font-size: 1.35rem; }

.section, [data-view] { scroll-margin-top: 170px; }
@media (min-width: 820px) { .section, [data-view] { scroll-margin-top: 110px; } }
