/* ==========================================================================
   Danbi — warm & homey theme
   ========================================================================== */

:root {
  --cream: #FBF5EC;
  --tan: #F3E7D6;
  --tan-deep: #E8D5BC;
  --white: #FFFDF9;
  --red: #B8322A;
  --red-dark: #962820;
  --red-tint: #FBE9E6;
  --brown: #3B2A20;
  --brown-soft: #7A6352;
  --sand: #D9C6AE;
  --green: #2E7D32;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(59, 42, 32, 0.08);
  --shadow-lift: 0 10px 28px rgba(59, 42, 32, 0.16);
  --header-h: 72px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ko: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.5vw + 1rem, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
[lang="ko"] { font-family: var(--font-ko); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brown); color: var(--cream); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--cream); }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  padding: 0.7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-lg { padding: 0.9em 1.7em; font-size: 1.05rem; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  background: rgba(251, 245, 236, 0.96); border-bottom: 1px solid var(--tan-deep);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 50px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: 4px; }
.site-nav a {
  color: var(--brown); text-decoration: none; font-weight: 500;
  padding: 0.5em 0.95em; border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--tan); color: var(--brown); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .header-order { margin-left: auto; padding: 0.55em 1em; font-size: 0.9rem; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--brown); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 8px 20px 20px;
    background: var(--cream); border-bottom: 1px solid var(--tan-deep); box-shadow: var(--shadow-lift);
  }
  .site-nav a { padding: 0.85em 1em; font-size: 1.1rem; }
  .nav-open .site-nav { display: flex; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 380px) {
  .brand img { height: 42px; }
  .header-inner { gap: 10px; }
}

/* ---- Status badge ---- */
.status { display: inline-flex; align-items: center; gap: 0.5em; margin: 0; font-weight: 600; font-size: 0.92rem; }
.status::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--brown-soft); flex: none; }
.status.is-open::before { background: var(--green); }
.status.is-closed::before { background: var(--red); }
.status:empty { display: none; }
.status-pill { background: var(--white); border: 1px solid var(--tan-deep); padding: 0.4em 0.95em; border-radius: 999px; }

/* ---- Sections ---- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tan { background: var(--tan); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.link-arrow { font-weight: 600; text-decoration: none; }
.eyebrow { margin: 0 0 0.8rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.lede { font-size: 1.15rem; color: var(--brown-soft); max-width: 34em; }
.page-hero { padding: clamp(40px, 6vw, 72px) 0 24px; }
.page-hero p { color: var(--brown-soft); max-width: 42em; font-size: 1.1rem; }

/* ---- Home hero ---- */
.hero { position: relative; overflow: hidden; container-type: inline-size; }
.hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  min-height: 47.5cqw; padding-top: clamp(28px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 48px);
}
.hero-art {
  aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(150deg, #C8453A, var(--red-dark));
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art.hero-photo { aspect-ratio: 3 / 4; max-width: 400px; max-height: none; justify-self: center; width: 100%; background: var(--brown); }
.hero-art.hero-photo img { object-position: 50% 30%; }
.hero-panel {
  padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--cream);
  box-shadow: 0 18px 48px rgba(59, 42, 32, 0.18);
}
.hero-panel .btn-row { margin-bottom: 1.25rem; }
/* Colorful bojagi-style tablecloths laid behind the hero (decorative). */
.hero-cloths { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Four equal columns; top row (pink, blue) and bottom row (red, yellow) meet corner to corner. */
.hero-cloth { position: absolute; width: 25cqw; aspect-ratio: 1 / 0.95; height: auto; object-fit: cover; }
.hero-cloth-pink { left: 0; top: 0; }
.hero-cloth-red { left: 25cqw; top: 23.75cqw; }
.hero-cloth-blue { left: 50cqw; top: 0; }
.hero-cloth-yellow { left: 75cqw; top: 23.75cqw; }
.hero-ko { font-family: var(--font-ko); font-weight: 700; font-size: clamp(4rem, 11vw, 8.5rem); line-height: 1; }
.hero-en { font-family: var(--font-head); font-style: italic; font-size: 1.4rem; opacity: 0.9; margin-top: 0.4rem; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { aspect-ratio: 16 / 9; max-height: 260px; }
  .hero-art.hero-photo { aspect-ratio: 4 / 5; max-width: none; }
  .hero-inner { min-height: 0; }
  .hero-cloth-blue, .hero-cloth-red { display: none; }
  .hero-cloth-pink { left: auto; right: 0; top: 0; width: 50cqw; }
  .hero-cloth-yellow { left: 0; top: auto; bottom: 0; width: 50cqw; }
}

/* ---- Dish cards ---- */
.dish-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.dish-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dish-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dish-photo { position: relative; aspect-ratio: 4 / 3; background: var(--tan); }
.dish-photo-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.dish-photo-btn img { width: 100%; height: 100%; object-fit: cover; }
.dish-photo-placeholder {
  position: absolute; inset: 0; padding: 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35em;
  color: var(--brown-soft);
  background: radial-gradient(circle at 50% 42%, rgba(184, 50, 42, 0.08) 0 34%, transparent 35%), var(--tan);
}
.dish-photo:not(.is-empty) .dish-photo-placeholder { display: none; }
.dish-photo.is-empty .dish-photo-btn { display: none; }
.placeholder-ko { font-family: var(--font-ko); font-weight: 700; font-size: 1.6rem; line-height: 1.25; color: var(--brown); opacity: 0.6; }
.placeholder-note { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.dish-body { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 16px 18px 20px; }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-name { margin: 0; font-size: 1.1rem; }
.dish-price { display: flex; flex-direction: column; align-items: flex-end; font-weight: 600; color: var(--red); white-space: nowrap; }
.dish-price-multi { font-size: 0.9rem; }
.dish-ko { margin: 0; font-size: 0.95rem; color: var(--brown-soft); }
.dish-desc, .dish-choices { margin: 6px 0 0; font-size: 0.93rem; color: var(--brown-soft); }
.dish-choices { font-size: 0.86rem; }
.dish-options {
  list-style: none; display: grid; gap: 4px; margin: 10px 0 0; padding: 10px 0 0;
  border-top: 1px dashed var(--tan-deep); font-size: 0.9rem;
}
.dish-options li { display: flex; justify-content: space-between; gap: 12px; }
.dish-option-price { font-weight: 600; white-space: nowrap; }
.spicy { font-size: 0.85em; }

/* ---- Signature dishes: interactive table ---- */
.table-hint { margin: -8px 0 16px; color: var(--brown-soft); }
.table-wrap { position: relative; }
.table-photo { position: relative; }
.table-photo > img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lift); }
.table-overlay { position: absolute; inset: 0; }
.table-shapes { display: block; width: 100%; height: 100%; }
.table-shape {
  fill: rgba(255, 255, 255, 0); stroke: transparent; stroke-width: 3; vector-effect: non-scaling-stroke;
  pointer-events: all; cursor: pointer; outline: none; transition: fill 0.15s, stroke 0.15s;
}
.table-shape:hover, .table-shape[aria-expanded="true"] { fill: rgba(255, 255, 255, 0.12); stroke: rgba(255, 255, 255, 0.9); }
.table-shape:focus-visible { stroke: #fff; stroke-width: 4; stroke-dasharray: 10 6; }
.table-popup {
  --tx: -50%; --ty: 12px;
  position: absolute; z-index: 3; width: min(340px, 80%); padding: 16px 18px;
  transform: translate(var(--tx), var(--ty));
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lift); pointer-events: none;
}
.table-popup[data-horizontal="start"] { --tx: -28px; }
.table-popup[data-horizontal="end"] { --tx: calc(-100% + 28px); }
.table-popup[data-vertical="above"] { --ty: calc(-100% - 12px); }
.table-popup-tag { margin: 0 0 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown-soft) !important; }
.table-popup h3 { margin: 0 0 4px; font-size: 1.2rem; }
.table-popup h3 span { font-size: 0.95rem; font-weight: 700; color: var(--red); margin-left: 4px; }
.table-popup p { margin: 0; font-size: 0.95rem; color: var(--brown-soft); }
@media (max-width: 760px) {
  .table-popup { position: static; width: auto; margin-top: 16px; transform: none; pointer-events: auto; border-left: 4px solid var(--red); }
}

/* ---- Menu page ---- */
.menu-nav-wrap { position: sticky; top: var(--header-h); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--tan-deep); }
.menu-nav { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none; padding: 0.45em 1em; border-radius: 999px;
  background: var(--tan); color: var(--brown); text-decoration: none; font-weight: 500; font-size: 0.92rem;
}
.menu-nav a:hover, .menu-nav a.is-active { background: var(--red); color: #fff; }
.menu-section { padding: 40px 0 8px; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-section h2 { margin-bottom: 0.25em; }
.menu-section-note { color: var(--brown-soft); max-width: 48em; }
.menu-notes { margin: 48px 0 32px; padding-top: 20px; border-top: 1px solid var(--tan-deep); font-size: 0.9rem; color: var(--brown-soft); }
.menu-notes p { margin-bottom: 0.4em; }
.cta-band { margin: 0 0 64px; padding: 40px 24px; border-radius: 20px; text-align: center; background: var(--brown); color: var(--cream); }
.cta-band h2 { color: var(--cream); }
.cta-band .btn-row { justify-content: center; margin-bottom: 0; }
.cta-band .btn-outline { border-color: var(--cream); color: var(--cream); }
.cta-band .btn-outline:hover { background: var(--cream); color: var(--brown); }

/* ---- Lightbox ---- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(30, 20, 14, 0.82); }
.lightbox figure { position: relative; margin: 0; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 10px; text-align: center; color: var(--cream); font-family: var(--font-head); font-size: 1.2rem; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(251, 245, 236, 0.94); color: var(--brown); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---- Story ---- */
.story { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; max-width: 980px; }
.story-mark { font-family: var(--font-ko); font-weight: 700; font-size: clamp(4rem, 10vw, 7rem); line-height: 1; color: var(--red); }
.story p { font-size: 1.1rem; }
.story-sign { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
@media (max-width: 700px) { .story { grid-template-columns: 1fr; gap: 8px; } }

/* ---- Story: sliding photo rows behind the card ---- */
.story-section { position: relative; overflow: hidden; padding: clamp(110px, 13vw, 160px) 0; background: var(--tan); }
.story-rows { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; padding: 12px 0; }
.story-row { min-height: 0; overflow: hidden; }
.story-track { display: flex; width: max-content; height: 100%; animation: 80s linear infinite; }
.story-row.is-ltr .story-track { animation-name: story-ltr; }
.story-row.is-rtl .story-track { animation-name: story-rtl; }
.story-track img { flex: none; height: 100%; width: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-right: 12px; border-radius: 10px; }
.story-section.is-paused .story-track { animation-play-state: paused; }
@keyframes story-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes story-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.story-card {
  position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: clamp(28px, 5vw, 56px);
  border-radius: 24px; background: var(--cream); box-shadow: 0 24px 60px rgba(30, 20, 14, 0.28);
}
.story-pause {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border: 0; border-radius: 999px;
  background: rgba(59, 42, 32, 0.88); color: var(--cream); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.story-pause::before { content: ""; width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.story-pause[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.story-pause:focus-visible { outline-color: var(--cream); }

/* ---- Hours / visit ---- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; max-width: 460px; margin: 16px 0; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { padding: 7px 10px 7px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tan-deep); }
.hours-table th { font-weight: 600; white-space: nowrap; padding-right: 16px; }
.hours-table tr.is-today { background: var(--white); }
.hours-table tr.is-today th::after { content: " · Today"; color: var(--red); }
.map-frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--tan); box-shadow: var(--shadow); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.info-list { list-style: none; display: grid; gap: 14px; margin: 0 0 1.5rem; padding: 0; }
.info-label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown-soft); }
.info-list a { font-weight: 600; font-size: 1.05rem; }

/* ---- Order tiles ---- */
.order-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 28px; }
.order-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 28px 24px; border-radius: 16px; border: 2px solid transparent;
  background: var(--white); color: var(--brown); text-decoration: none; box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.order-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--brown); }
.order-tile-featured { border-color: var(--red); }
.order-tile h3 { margin: 0; font-size: 1.5rem; }
.order-tile p { flex: 1; margin: 0 0 12px; color: var(--brown-soft); }
.order-tile-tag {
  padding: 0.25em 0.75em; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---- Careers ---- */
.careers-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .careers-grid { grid-template-columns: 1fr; } }
.position-list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.5rem; padding: 0; }
.position-list li { padding: 14px 16px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.position-list strong { display: block; }
.position-list span { color: var(--brown-soft); font-size: 0.92rem; }
.apply-form { display: grid; gap: 18px; padding: clamp(20px, 4vw, 36px); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.apply-form h2 { margin: 0; font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
fieldset.field { margin: 0; padding: 0; border: 0; }
fieldset.field > legend { margin-bottom: 6px; }
.hint { font-size: 0.85rem; font-weight: 400; color: var(--brown-soft); }
.req { color: var(--red); }
.apply-form input[type="text"], .apply-form input[type="email"], .apply-form input[type="tel"],
.apply-form input[type="date"], .apply-form select, .apply-form textarea {
  width: 100%; padding: 0.7em 0.85em; border: 1.5px solid var(--tan-deep); border-radius: 10px;
  background: var(--cream); color: var(--brown); font: inherit;
}
.apply-form textarea { min-height: 110px; resize: vertical; }
.apply-form input:not([type="checkbox"]):not([type="file"]):focus, .apply-form select:focus, .apply-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(184, 50, 42, 0.2);
}
.apply-form input:user-invalid, .apply-form select:user-invalid, .apply-form textarea:user-invalid { border-color: var(--red); }
.apply-form input[type="file"] { font: inherit; font-size: 0.9rem; max-width: 100%; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 8px; padding: 0.45em 0.9em; cursor: pointer;
  border: 1.5px solid var(--tan-deep); border-radius: 999px; background: var(--cream); font-weight: 500;
}
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.check:has(input:checked) { border-color: var(--red); background: var(--red-tint); }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-line input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }

/* ---- Thanks ---- */
.thanks { padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.thanks-mark { font-family: var(--font-ko); font-size: clamp(2.2rem, 9vw, 4rem); font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 16px; }
.thanks .btn-row { justify-content: center; }

/* ---- Footer ---- */
.site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--cream); }
.site-footer { padding: 56px 0 24px; background: var(--brown); color: var(--cream); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #fff; }
.site-footer h2 { margin-bottom: 12px; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer-list { list-style: none; display: grid; gap: 6px; margin: 0; padding: 0; }
.site-footer .hours-table { margin: 0; font-size: 0.85rem; }
.site-footer .hours-table th, .site-footer .hours-table td { padding: 4px 8px 4px 0; border-color: rgba(251, 245, 236, 0.15); }
.site-footer .hours-table tr.is-today { background: rgba(251, 245, 236, 0.08); }
.site-footer .hours-table tr.is-today th::after { color: #F2A99F; }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(251, 245, 236, 0.15); font-size: 0.85rem; color: var(--sand); }

/* ---- Motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .story-track { animation: none; }
  .story-pause { display: none; }
}
