:root {
  color-scheme: dark;
  --base: #11100f;
  --deep: #090908;
  --surface: #1b1917;
  --paper: #f3eee5;
  --ink: #171512;
  --soft: #655f58;
  --brand: #e92d27;
  --accent: #f0c35a;
}

* { box-sizing: border-box; }
html { background: var(--base); color: #f6f0e7; font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 4%, rgba(233,45,39,.13), transparent 28rem),
    radial-gradient(circle at 92% 24%, rgba(240,195,90,.06), transparent 24rem),
    var(--base);
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(9,9,8,.95);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: min(176px, 42vw); height: auto; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a {
  position: relative;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:hover { color: #fff; }
.site-header nav .menu-link {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.site-header nav .menu-link:hover { color: var(--brand); }

.page-shell { width: min(100% - 32px, 1040px); margin: auto; padding: 28px 0 80px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; overflow: hidden; padding: 8px 0 22px; color: #918980; font-size: 13px; white-space: nowrap; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span:last-child { overflow: hidden; color: #f6f0e7; text-overflow: ellipsis; }

.content-card {
  padding: clamp(24px, 5vw, 62px);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(0,0,0,.32);
}
.establishment-detail-logo {
  display: block;
  width: auto;
  max-width: min(140px, 42vw);
  height: auto;
  max-height: 96px;
  margin: 0 0 22px;
  object-fit: contain;
}
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); content: ""; }
h1, h2, h3 { font-family: "Arial Black", "Segoe UI", sans-serif; letter-spacing: -.035em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(36px, 6.5vw, 70px); line-height: .98; }
h2 { margin-top: 48px; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
h3 { font-size: 21px; }
.lead { max-width: 760px; margin: 22px 0 30px; color: var(--soft); font-size: clamp(17px, 2vw, 20px); font-weight: 600; line-height: 1.6; }
.primary-action { margin: -8px 0 30px; }

.cover-link { display: block; margin: 32px 0; cursor: zoom-in; }
.cover { display: block; width: 100%; height: auto; margin: 32px 0; border-radius: 18px; }
.cover-link .cover { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 24px 0; }
.gallery-item { display: block; overflow: hidden; border-radius: 14px; background: var(--surface); cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.04); }
.richtext img { cursor: zoom-in; }

.korner-description { margin-top: 34px; }
.korner-menu-slider { margin-top: 42px; overflow: hidden; border-radius: 22px; background: #090908; color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.korner-menu-slider__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.korner-menu-slider__head h2 { margin: 0; color: #fff; font-size: clamp(18px,3vw,24px); }
.korner-menu-slider__head span { color: rgba(255,255,255,.62); font-size: 13px; font-weight: 800; }
.korner-menu-slider__stage { position: relative; }
.korner-menu-slider__track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.korner-menu-slider__track::-webkit-scrollbar { display: none; }
.korner-menu-slide { display: flex; width: 100%; min-height: min(76vh,800px); flex: 0 0 100%; align-items: center; justify-content: center; padding: 18px; scroll-snap-align: center; background: rgba(0,0,0,.82); cursor: zoom-in; }
.korner-menu-slide img { display: block; max-width: 100%; max-height: min(82vh,940px); width: auto; height: auto; object-fit: contain; }
.korner-menu-slider__arrow { position: absolute; top: 50%; z-index: 2; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.68); color: #fff; font-size: 34px; cursor: pointer; transform: translateY(-50%); }
.korner-menu-slider__arrow.prev { left: 12px; }
.korner-menu-slider__arrow.next { right: 12px; }
.korner-pdf { margin-top: 42px; overflow: hidden; border-radius: 22px; background: #090908; color: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.korner-pdf__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.korner-pdf__head h2 { margin: 0; color: #fff; font-size: clamp(18px,3vw,24px); }
.korner-pdf__head p { margin: 4px 0 0; color: rgba(255,255,255,.56); font-size: 12px; }
.korner-pdf__head > a { flex-shrink: 0; padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
.korner-pdf__head > a:hover { border-color: var(--brand); background: var(--brand); }
.korner-pdf__viewer { display: block; width: 100%; height: min(80vh,900px); min-height: 680px; border: 0; background: #fff; }
.korner-menu-placeholder { margin-top: 42px; padding: 56px 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: #090908; color: #fff; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.korner-menu-placeholder__icon { display: grid; width: 132px; height: 132px; margin: 0 auto 26px; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.06); color: var(--accent); }
.korner-menu-placeholder__icon svg { width: 78px; height: 78px; }
.korner-menu-placeholder .eyebrow { margin: 0 0 12px; color: var(--accent); }
.korner-menu-placeholder h2 { margin: 0; color: #fff; font-size: clamp(28px,4vw,42px); }
.korner-menu-placeholder > p:not(.eyebrow) { max-width: 590px; margin: 16px auto 28px; color: rgba(255,255,255,.65); line-height: 1.7; }
.korner-menu-placeholder .button { display: inline-flex; }

.photo-viewer[hidden] { display: none; }
.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,.95);
  color: #fff;
  backdrop-filter: blur(6px);
}
.photo-viewer__top { display: flex; min-height: 64px; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; }
.photo-viewer__counter { color: rgba(255,255,255,.7); font-size: 14px; font-weight: 800; }
.photo-viewer__close, .photo-viewer__arrow, .photo-viewer__tools button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
}
.photo-viewer__close { font-size: 30px; line-height: 1; }
.photo-viewer__tools { display: flex; align-items: center; gap: 8px; }
.photo-viewer__tools .photo-viewer__zoom-reset { width: auto; min-width: 64px; padding: 0 10px; border-radius: 24px; font-size: 12px; font-weight: 800; }
.photo-viewer__tools button:disabled { cursor: default; opacity: .35; }
.photo-viewer__stage { position: relative; display: flex; min-height: 0; flex: 1; align-items: center; justify-content: center; overflow: auto; padding: 0 76px 12px; cursor: zoom-in; }
.photo-viewer__stage.is-zoomed { display: block; cursor: zoom-out; }
.photo-viewer__image { display: block; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; user-select: none; }
.photo-viewer__image.is-zoomed { max-width: none; max-height: none; height: auto; }
.photo-viewer__arrow { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); background: rgba(0,0,0,.58); font-size: 34px; }
.photo-viewer__arrow--prev { left: 18px; }
.photo-viewer__arrow--next { right: 18px; }
.photo-viewer__caption { flex-shrink: 0; margin: 0; padding: 0 20px 20px; color: rgba(255,255,255,.76); font-size: 14px; font-weight: 700; text-align: center; }

@media (max-width: 640px) {
  .photo-viewer__top { padding-right: 10px; padding-left: 10px; }
  .photo-viewer__tools { gap: 5px; }
  .photo-viewer__close, .photo-viewer__tools button { width: 40px; height: 40px; }
  .photo-viewer__tools .photo-viewer__zoom-reset { min-width: 58px; }
  .photo-viewer__stage { padding-right: 12px; padding-left: 12px; }
  .photo-viewer__arrow--prev { left: 10px; }
  .photo-viewer__arrow--next { right: 10px; }
  .korner-menu-slide { min-height: 60vh; padding: 8px; }
  .korner-menu-slider__arrow { width: 42px; height: 42px; }
  .korner-pdf__head { align-items: flex-start; padding: 14px 16px; }
  .korner-pdf__head > a { white-space: nowrap; }
  .korner-pdf__viewer { height: 72vh; min-height: 520px; }
}

.event-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.event-meta time, .place { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 12px; }
.event-meta time { background: var(--brand); color: #fff; }
.event-meta small, .place small { font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; opacity: .68; }
.event-meta time span { padding: 5px 9px; border-radius: 7px; background: rgba(0,0,0,.15); font-weight: 900; }
.place { flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid rgba(23,21,18,.14); background: #fff; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 22px 0 0; color: var(--soft); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.article-period { display: table; margin: 18px 0 0; padding: 9px 14px; border-radius: 999px; background: rgba(255,59,48,.15); color: #ff746c; font-size: 14px; font-weight: 800; }
.published { display: inline-block; color: var(--brand); font-weight: 800; }

.richtext { margin-top: 32px; color: var(--soft); font-size: 17px; line-height: 1.78; }
.richtext h2, .richtext h3 { color: var(--ink); }
.richtext a { color: var(--brand); font-weight: 700; }
.richtext img { max-width: 100%; height: auto; border-radius: 16px; }

.menu { margin-top: 52px; }
.menu-anchor { scroll-margin-top: 92px; }
.about-corner { margin-top: 52px; padding-top: 4px; border-top: 1px solid rgba(23,21,18,.12); }
.about-corner .richtext { margin-top: 0; }
.market-info-image { display: block; width: min(100%, 420px); margin: 42px auto 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.16); }
.market-info-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.establishment-info-card { width: min(100%, 420px); margin: 42px auto 0; padding: 24px; border-radius: 18px; background: var(--surface); color: #fff; box-shadow: 0 18px 48px rgba(0,0,0,.16); }
.establishment-info-card h3 { margin: 0; color: #fff; }
.establishment-info-card ul { display: grid; gap: 13px; margin: 20px 0; padding: 0; color: #b9b0a6; list-style: none; }
.establishment-info-card a:not(.button) { color: inherit; text-decoration: none; }
.establishment-info-card .button { width: 100%; justify-content: center; box-sizing: border-box; }
.menu-category { margin-top: 24px; padding: 24px; border-radius: 16px; background: var(--surface); color: #f6f0e7; }
.menu-category h3 { margin: 0 0 12px; color: #fff; }
.dish { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.dish p { margin: 6px 0 0; color: #b9b0a6; font-size: 14px; line-height: 1.5; }
.dish > b { flex-shrink: 0; color: var(--accent); }
.dish-weight { color: #a49b91; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pdf-link { display: inline-flex; margin-top: 26px; padding: 13px 19px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 900; text-decoration: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.button { display: inline-flex; min-height: 48px; align-items: center; padding: 13px 20px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.button.secondary { border: 1px solid rgba(23,21,18,.22); background: transparent; color: var(--ink); }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; width: 62px; height: 62px; place-items: center; border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; box-shadow: 0 14px 38px rgba(0,0,0,.5); transform: translateY(12px); transition: opacity .2s, transform .2s, background .2s; }
.back-to-top > span { display:grid; width:44px; height:44px; place-items:center; }
.back-to-top svg { width:29px; height:29px; overflow:visible; }
.back-to-top path { fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.back-to-top:hover { background: #ff5148; transform: translateY(-5px) scale(1.05); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

footer { display: flex; justify-content: center; gap: 18px; padding: 30px 20px; border-top: 1px solid rgba(255,255,255,.1); color: #918980; font-size: 13px; }
footer b, footer a { color: #fff; }
footer .footer-faq-button { padding: 10px 16px; border-radius: 10px; background: var(--brand); font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 8px 24px rgba(255,61,46,.25); }
footer .footer-faq-button:hover { background: #ff5148; transform: translateY(-1px); }
.error-page { display: grid; min-height: 100vh; place-content: center; padding: 20px; color: #fff; text-align: center; }
.error-page > b { color: var(--brand); font-size: 88px; }
.error-page .button { justify-self: center; }

@media (max-width: 900px) {
  .back-to-top { right: 14px; bottom: 18px; }
  .site-header nav { display: none; }
  .site-header { min-height: 66px; }
  .event-meta time { flex-wrap: wrap; }
  .content-card { border-radius: 16px; }
  .dish { align-items: flex-start; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}
