:root {
  --ink: #171412;
  --paper: rgba(244, 239, 231, 0.92);
  --paper-solid: #f4efe7;
  --muted: rgba(23, 20, 18, 0.62);
  --line: rgba(23, 20, 18, 0.14);
  --cream: #f5efe6;
  --ember: #8f2c18;
  --panel-width: min(43vw, 680px);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--cream);
  background: #090807;
  font-family: "Manrope", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-media,
.hero-video,
.hero-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  overflow: hidden;
  background: #090807;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.brand-panel {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: calc(100% - var(--panel-width));
  min-height: 100dvh;
  padding: clamp(34px, 5vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.brand,
.brand-actions {
  pointer-events: auto;
}

.brand {
  width: max-content;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.brand-name {
  font-family: "Michroma", sans-serif;
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.78;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.brand-type {
  margin-top: 22px;
  font-size: 27px;
  letter-spacing: 0.58em;
  font-weight: 500;

  transform: translate(16px, -90px);
}

.brand-claim {
  margin-top: 15px;
  font-size: 20px;
  letter-spacing: 0.24em;
  font-weight: 500;

  transform: translate(16px, -90px);
}

.ghost-btn {
  appearance: none;
  border: 1px solid rgba(245, 239, 230, 0.48);
  background: rgba(10, 10, 10, 0.12);
  backdrop-filter: blur(7px);
  padding: 14px 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  transition: 180ms ease;
}

.ghost-btn:hover {
  background: rgba(245, 239, 230, 0.12);
  transform: translateY(-2px);
}

.content-panel {
  position: fixed;
  z-index: 20;
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: var(--panel-width);
  color: var(--ink);
  background: var(--paper);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.panel-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 16px;
  padding: 19px 28px;
  overflow-x: auto;
  background: linear-gradient(to bottom, rgba(244, 239, 231, 0.98), rgba(244, 239, 231, 0.90));
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.panel-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  appearance: none;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: rgba(23, 20, 18, 0.48);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link.is-active {
  color: var(--ink);
}

.panel-scroll {
  height: calc(100% - 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.story-section {
  min-height: 100%;
  padding: clamp(42px, 5vw, 78px) clamp(28px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--ember);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

h1,
h2 {
  font-family: "Michroma", sans-serif;
  font-weight: 500;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(30px, 3.2vw, 50px);
}

h2 {
  font-size: clamp(28px, 2.85vw, 45px);
}

h1,
h2 {
  line-height: 1.15;
}

.lead {
  max-width: 560px;
  margin: 28px 0 34px;
  color: rgba(23, 20, 18, 0.72);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
}

.editorial-image {
  margin: 28px 0;
  overflow: hidden;
  background: #d8d0c7;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.65,.2,1);
}

.editorial-image:hover img {
  transform: scale(1.018);
}

.editorial-image--wide {
  aspect-ratio: 4 / 3;
}

.editorial-image.portrait {
  aspect-ratio: 3 / 4;
}

.food-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.food-grid .editorial-image {
  aspect-ratio: 4 / 5;
}

.text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}

.text-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

blockquote {
  margin: 34px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.25;
}

.text-link {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0 0 7px;
  cursor: pointer;
}

.reservation-card {
  width: 100%;
  margin-top: 36px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.reservation-card span:first-child {
  display: grid;
  gap: 8px;
}

.reservation-card small {
  letter-spacing: 0.16em;
  font-size: 9px;
}

.reservation-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 500;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
}

.reservation-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 220ms ease;
}

.reservation-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.reservation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.78);
  backdrop-filter: blur(10px);
}

.reservation-dialog {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 54px);
  background: var(--paper-solid);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 30px;
  cursor: pointer;
}

.reservation-form {
  margin-top: 34px;
  display: grid;
  gap: 24px;
}

.reservation-form label,
.reservation-form legend {
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  margin-top: 9px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(23,20,18,.35);
  background: transparent;
  color: var(--ink);
  outline: none;
}

.reservation-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.time-slot {
  padding: 13px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.38);
  color: var(--ink);
  cursor: pointer;
}

.time-slot.is-selected {
  background: var(--ink);
  color: var(--cream);
}

.choice-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.choice {
  cursor: pointer;
}

.choice input {
  display: none;
}

.choice span {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
}

.choice input:checked + span {
  border-color: var(--ink);
  background: rgba(23,20,18,.06);
}

.submit-btn {
  padding: 16px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
}

.form-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  :root {
    --panel-width: min(52vw, 610px);
  }

  .brand-name {
    font-size: clamp(58px, 8vw, 100px);
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .hero-media,
  .hero-video,
  .hero-overlay {
    position: fixed;
  }

  .site-shell {
    min-height: auto;
    padding: 0;
  }

  .brand-panel {
    position: relative;
    width: 100%;
    min-height: 58dvh;
    padding: 30px 22px;
  }

  .brand-name {
    font-size: clamp(66px, 21vw, 104px);
  }

  .brand-type {
    font-size: 10px;
    letter-spacing: .44em;
  }

  .brand-claim {
    font-size: 11px;
  }

  .content-panel {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    height: auto;
  }

  .panel-scroll {
    height: auto;
    overflow: visible;
  }

  .story-section {
    min-height: auto;
  }

  .panel-nav {
    padding-inline: 20px;
  }

  .text-grid,
  .food-grid {
    grid-template-columns: 1fr;
  }

  .contact-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   PEPO — RIGHT CONTENT PANEL / BLACK GLASS EDITION
   ========================================================= */
.content-panel {
  color: #fff;
  background: rgba(5, 5, 5, 0.10);

  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);

  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.20);
}

.content-panel .panel-nav {
  background: rgba(5, 5, 5, 0.36);
  -webkit-backdrop-filter: blur(22px) saturate(115%);
  backdrop-filter: blur(22px) saturate(115%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.content-panel .nav-link,
.content-panel .nav-link.is-active,
.content-panel .eyebrow,
.content-panel h1,
.content-panel h2,
.content-panel .lead,
.content-panel .text-grid p,
.content-panel blockquote,
.content-panel .text-link,
.content-panel .reservation-card,
.content-panel .contact-row {
  color: #fff;
}

.content-panel .nav-link {
  opacity: 0.58;
}

.content-panel .nav-link.is-active {
  opacity: 1;
}

.content-panel .lead,
.content-panel .text-grid p,
.content-panel .contact-row {
  color: rgba(255, 255, 255, 0.76);
}

.content-panel .story-section,
.content-panel .panel-nav {
  border-color: rgba(255, 255, 255, 0.18);
}

.content-panel .text-link {
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.content-panel .reservation-card {
  border-top-color: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.panel-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.panel-scroll::-webkit-scrollbar {
    display: none;
}

/* LOGO PEPO*/
.brand-logo {
  display: block;
  width: min(100%, 600px);
  height: auto;
  object-fit: contain;

transform: translate(-25px, -30px);
}

/* KRÁTKÁ LINKA POD RESTAURANT */
.brand-type::after {
  content: "";
  display: block;

  width: 70px;        /* délka linky */
  height: 2px;        /* tloušťka linky */

  margin-top: 22px;   /* vzdálenost od RESTAURANT */
  margin-bottom: 8px;

  background: #fff;
}



/* =========================================
   PEPO — ZVĚTŠENÍ TEXTŮ V PRAVÉM PANELU
   ========================================= */

/* horní navigace */
.content-panel .nav-link {
  font-size: 12px;
}

/* malé PEPO RESTAURANT nad hlavním nadpisem */
.content-panel .eyebrow {
  font-size: 12px;
}

/* hlavní popis pod nadpisem */
.content-panel .lead {
  font-size: clamp(17px, 1.25vw, 20px);
}

/* malé texty pod fotografiemi */
.content-panel .text-grid p {
  font-size: 16px;
}

/* kontaktní / doplňkové texty */
.content-panel .contact-row {
  font-size: 15px;
}

/* malé texty v rezervační části */
.content-panel .reservation-card small {
  font-size: 12px;
}

/* motto v CHEF sekci */
.content-panel blockquote {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
}

/* =========================================
   PEPO — FULLSCREEN MENU
   ========================================= */
.menu-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.menu-modal.is-open { visibility: visible; opacity: 1; }
.menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.menu-dialog {
  position: absolute; z-index: 2; inset: 22px;
  overflow-y: auto;
  padding: clamp(42px, 6vw, 88px) clamp(28px, 8vw, 120px);
  color: #fff;
  background: rgba(5,5,5,.78);
  border: 1px solid rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  scrollbar-width: none;
}
.menu-dialog::-webkit-scrollbar { display:none; }
.menu-close {
  position: fixed; z-index: 4; top: 42px; right: 48px;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.35); color:#fff; font-size: 30px; line-height: 1;
  cursor:pointer;
}
.menu-head { max-width: 820px; margin-bottom: 58px; }
.menu-head .eyebrow { margin-bottom: 18px; }
.menu-head h2 { margin:0 0 16px; font-size:clamp(48px,6vw,92px); font-weight:400; text-transform:uppercase; }
.menu-head > p:last-child { margin:0; color:rgba(255,255,255,.68); font-size:clamp(16px,1.3vw,20px); }
.menu-columns { max-width: 1180px; display:grid; grid-template-columns: 1fr 1.35fr; gap: 54px 80px; }
.menu-group--main { grid-row: span 2; }
.menu-group h3 { margin:0 0 22px; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.32); font-size:12px; letter-spacing:.18em; text-transform:uppercase; }
.menu-item { display:grid; grid-template-columns:1fr auto; gap:18px; padding:18px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.menu-item strong { display:block; font-size:clamp(17px,1.35vw,21px); font-weight:500; }
.menu-item p { margin:7px 0 0; color:rgba(255,255,255,.62); font-size:14px; line-height:1.55; }
.menu-item > span { white-space:nowrap; font-size:15px; padding-top:2px; }
body.menu-open { overflow:hidden; }
@media (max-width: 760px) {
  .menu-dialog { inset:8px; padding:64px 22px 42px; }
  .menu-close { top:22px; right:22px; width:40px; height:40px; }
  .menu-head { margin-bottom:38px; }
  .menu-columns { grid-template-columns:1fr; gap:40px; }
  .menu-group--main { grid-row:auto; }
  .menu-item { gap:12px; }
  .menu-item p { font-size:13px; }
}



/* =========================================
   PEPO — RESPONSIVE LOGO + BRAND TEXT
   ========================================= */

/* menší tablety */
@media (max-width: 760px) {
  .brand-logo {
    width: calc(100vw - 50px);
    max-width: 520px;
    height: auto;
    transform: translate(0, -15px);
  }

  .brand-type {
    margin-top: 18px;
    font-size: 18px;
    letter-spacing: 0.58em;
    transform: translate(10px, -55px);
  }

  .brand-claim {
    margin-top: 15px;
    font-size: 15px;
    letter-spacing: 0.24em;
    transform: translate(10px, -55px);
  }
}

/* telefony */
@media (max-width: 540px) {
  .brand-logo {
    width: calc(100vw - 40px);
    max-width: none;
    height: auto;
    transform: translate(0, -10px);
  }

  .brand-type {
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 0.58em;
    transform: translate(30px, -38px);
  }

  .brand-claim {
    margin-top: 15px;
    font-size: 14px;
    letter-spacing: 0.24em;
    transform: translate(30px, -38px);
  }

  .brand-type::after {
    width: 70px;
    height: 2px;
    margin-top: 22px;
    margin-bottom: 8px;
  }
}

/* malé telefony */
@media (max-width: 400px) {
  .brand-logo {
    width: calc(100vw - 34px);
  }

  .brand-type {
    font-size: 13px;
    transform: translate(25px, -34px);
  }

  .brand-claim {
    font-size: 13px;
    transform: translate(25px, -34px);
  }
}