/* Editorial photo-led refinement for the home page. */
.hero {
  display: block;
  position: relative;
  min-height: min(830px, calc(100svh - 82px));
  height: 790px;
  overflow: hidden;
  color: #fffaf0;
  background: #1c2c25;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #1a2b21;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  transition: transform 1.6s ease;
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10,24,17,.83) 0%, rgba(15,29,21,.70) 25%, rgba(16,29,21,.27) 54%, rgba(0,0,0,.03) 76%),
              linear-gradient(0deg, rgba(14,23,16,.45), transparent 28%);
}
.hero-layout {
  position: relative;
  z-index: 1;
  height: 100%;
  padding-top: 88px;
  padding-bottom: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-inner { max-width: 640px; }
.hero h1 {
  font-size: clamp(58px, 6.6vw, 91px);
  line-height: 1.07;
  color: #fffaf0;
  letter-spacing: -.048em;
  text-wrap: pretty;
  margin-bottom: 31px;
}
.hero p {
  color: #f3eee2;
  font-size: 19px;
  max-width: 490px;
  line-height: 1.7;
  text-shadow: 0 1px 16px #14271a99;
}
.hero-buttons { margin-top: 37px; gap: 14px; }
.hero .button-primary { background: #e7c593; color: #1f382a; }
.hero .button-primary:hover { background: #f7deba; }
.hero .button-outline { color: #fffaf0; border-color: #fff9ecb8; background: #15241b30; }
.hero .button-outline:hover { background: #fef9f025; border-color: #fff; }
.hero-address {
  position: absolute;
  bottom: 43px;
  left: 0;
  color: #fff6e8;
  letter-spacing: .018em;
  font-size: 14px;
  text-shadow: 0 1px 12px #061509;
  margin-top: 0;
}
.hero-address svg { width: 20px; height: 20px; }

.food-ticker { background: #eee3cf; color: #244334; border-color: #d0bba0; }
.food-ticker-set {
  min-height: 72px;
  font: 400 22px/1.2 var(--serif);
  letter-spacing: -.015em;
  gap: 34px;
  padding-right: 34px;
}
.food-ticker-set i { background: #b6a081; height: 24px; }

.about-section {
  position: relative;
  overflow: hidden;
  background: #1b3329;
}
.about-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.about-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 26%, rgba(14,23,17,.19) 100%);
  pointer-events: none;
}
.about-wrap {
  position: relative;
  min-height: 800px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.about-text {
  background: #fcf8ef;
  color: #263b30;
  padding: 53px 53px 15px;
  width: min(550px, 100%);
  box-shadow: 0 20px 75px #0d211e50;
  border: 1px solid #fdfaf1;
}
.about-text h2 { font-size: clamp(42px, 4.2vw, 58px); margin-bottom: 25px; }
.about-text p { font-size: 16px; line-height: 1.75; color: #5e655e; }
.about-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  margin-top: 22px;
}
.about-links { display: flex; flex-direction: column; gap: 10px; margin: 0 0 27px; }
.about-links a { font-size: 15px; }
.about-card-foot img {
  width: clamp(130px, 12vw, 175px);
  height: auto;
  margin: 0 -20px -3px 0;
  filter: saturate(.75) contrast(1.06);
  flex: none;
}

.menu-section { background: #e9dfd0; border-top: 1px solid #d9ccba; }
.menu-section .section-heading { margin-bottom: 40px; align-items: flex-end; }
.menu-section .section-heading p { max-width: 640px; }
.menu-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 26px; }
.pdf-panel {
  border: 8px solid #fbf7ed;
  box-shadow: 0 22px 50px #2d35251c;
  background: #fff;
}
.pdf-toolbar { background: #fffcf5; border-color: #ded7ca; }
.pdf-panel iframe { height: 725px; }
.menu-side {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 797px;
  border: 0;
  background: #19382c;
}
.menu-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  transition: transform .9s ease;
}
.menu-side:hover img { transform: scale(1.04); }
.menu-side-body {
  position: absolute;
  inset: auto 0 0;
  padding: 100px 36px 36px;
  color: #fff8ee;
  background: linear-gradient(0deg, #12251df5 8%, #12251dc9 52%, transparent 100%);
}
.menu-side h3 { font-size: 38px; color: #fff8ee; max-width: 320px; }
.menu-side p { font-size: 15px; line-height: 1.7; color: #e5e9de; }
.menu-side .sample-note { color: #d3d3c8!important; }

.story-section {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  padding: 0;
  color: #fff9ec;
  background: #182b24;
}
.story-image { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0e221ad9 0%, #11261caa 39%, #1b2b1d17 75%);
  pointer-events: none;
}
.story-wrap {
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.story-text { max-width: 570px; }
.story-text h2 { color: #fff8e9; font-size: clamp(43px, 4.4vw, 65px); }
.story-text p { color: #e2e6d9; font-size: 17px; max-width: 490px; }

@media (min-width: 1550px) {
  .hero { height: 880px; }
  .hero-inner { max-width: 705px; }
  .about-wrap { min-height: 850px; }
}
@media (max-width: 1150px) {
  .hero { height: 710px; }
  .hero h1 { font-size: clamp(54px, 6.9vw, 75px); }
  .hero-inner { max-width: 540px; }
  .about-wrap { min-height: 730px; }
  .about-text { width: 520px; padding: 42px 40px 12px; }
  .menu-layout { gap: 17px; }
  .menu-side { min-height: 780px; }
}
@media (max-width: 850px) {
  .hero { height: 680px; min-height: 0; }
  .hero-image { min-height: 0; }
  .hero-layout { padding-top: 70px; padding-bottom: 67px; }
  .hero-inner { max-width: 510px; }
  .hero h1 { font-size: 62px; }
  .hero-shade { background: linear-gradient(90deg,#10281fe8,#10281faa 52%,#10281f36 100%); }
  .hero-address { bottom: 29px; }
  .about-wrap { min-height: 680px; }
  .about-text { width: 480px; }
  .about-card-foot img { width: 125px; }
  .menu-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .68fr); }
  .menu-side { min-height: 740px; }
  .menu-side-body { padding: 80px 23px 27px; }
  .menu-side h3 { font-size: 31px; }
  .menu-side p { font-size: 14px; }
  .pdf-panel iframe { height: 665px; }
}
@media (max-width: 650px) {
  .hero { height: 710px; min-height: 0; display: block; }
  .hero-image { height: 100%; min-height: 0; }
  .hero-image img { object-position: 67% center; }
  .hero-shade {
    background: linear-gradient(180deg, #10251a9e 0%, #10251ad1 28%, #10251ab0 59%, #07180f65 100%);
  }
  .hero-layout { padding-top: 70px; padding-bottom: 80px; justify-content: flex-start; }
  .hero-inner { max-width: 100%; }
  .hero h1 { font-size: clamp(49px, 11.6vw, 65px); line-height: 1.1; margin-bottom: 24px; }
  .hero p { font-size: 16px; max-width: 340px; }
  .hero-buttons { gap: 11px; margin-top: 30px; }
  .hero .button { min-height: 49px; }
  .hero-address { bottom: 25px; font-size: 13px; }
  .food-ticker-set { min-height: 61px; gap: 25px; padding-right: 25px; font-size: 19px; }
  .food-ticker-set i { height: 20px; }
  .about-section { overflow: visible; }
  .about-image { position: relative; height: 440px; }
  .about-image img { object-position: 45% center; }
  .about-shade { display: none; }
  .about-wrap {
    min-height: 0;
    width: min(calc(100% - 30px), 530px);
    display: block;
    padding: 0 0 55px;
    margin-top: -64px;
    z-index: 2;
  }
  .about-text { padding: 34px 28px 10px; width: 100%; }
  .about-text h2 { font-size: clamp(36px, 9.4vw, 49px); }
  .about-text p { font-size: 15px; }
  .about-card-foot img { width: 125px; margin-right: -15px; }
  .about-links { margin-bottom: 26px; }
  .menu-section { padding: 78px 0 68px; }
  .menu-section .section-heading { margin-bottom: 28px; }
  .menu-layout { display: flex; flex-direction: column; gap: 18px; }
  .pdf-panel { border-width: 5px; }
  .pdf-panel iframe { height: 520px; }
  .menu-side { height: 420px; min-height: 420px; }
  .menu-side img { height: 100%; width: 100%; }
  .menu-side-body { padding: 100px 25px 27px; }
  .menu-side h3 { font-size: 32px; }
  .menu-side p { font-size: 14px; }
  .story-section, .story-wrap { min-height: 600px; }
  .story-image { height: 100%; }
  .story-image img { object-position: 64% center; }
  .story-shade { background: linear-gradient(180deg,#0b231cdb 0%,#0b231cba 60%,#0b231c75 100%); }
  .story-wrap { padding-top: 85px; padding-bottom: 80px; align-items: flex-start; }
  .story-text h2 { font-size: clamp(39px, 9vw, 51px); }
  .story-text p { font-size: 16px; }
}
@media (max-width: 390px) {
  .hero { height: 750px; }
  .hero h1 { font-size: 47px; }
  .hero-buttons { display: flex; align-items: stretch; flex-direction: column; }
  .hero-buttons .button { align-self: flex-start; }
  .about-text { padding: 30px 23px 9px; }
  .about-card-foot img { width: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image img, .menu-side img { transition: none; }
}

/* Small Czech-pub details and movement: never at the expense of the photos. */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 2;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: #e6bf82;
  pointer-events: none;
}
.brand svg { transition: transform .4s cubic-bezier(.25,.8,.25,1); transform-origin: 50% 80%; }
.brand:hover svg { transform: rotate(-7deg); }

.food-ticker-set span { transition: color .22s ease; }
.food-ticker-set span:hover { color: #865e3f; }

/* Recognizable Czech cartoon-character stickers: separated, never stacked. */
.sticker {
  display: block;
  object-fit: contain;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 1px #142c1f30) drop-shadow(0 12px 10px #112a1e33);
  transform: rotate(var(--sticker-angle, -12deg));
  transform-origin: center 58%;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero-sticker-layer { position: absolute; inset: 0; pointer-events: none; }
.sticker-hero-krtecek {
  position: absolute;
  width: clamp(142px, 14vw, 195px);
  right: 1px;
  bottom: 24px;
  --sticker-angle: -13deg;
  animation: heroStickerEnter 1.2s cubic-bezier(.2,.8,.2,1) .6s both;
}
.sticker-czech-flag {
  position: absolute;
  width: 91px;
  height: 62px;
  right: 33px;
  top: 115px;
  border: 7px solid #fff4df;
  border-radius: 3px 4px 2px 5px;
  background: linear-gradient(#fff 0 50%,#d8283f 50%);
  box-shadow: 0 6px 16px #0b211b75;
  transform: rotate(19deg);
  animation: flagStickerEnter 1.1s cubic-bezier(.2,.8,.2,1) .8s both;
}
.sticker-czech-flag::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  background: #17488b;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@keyframes heroStickerEnter {
  from { opacity: 0; transform: translateY(25px) scale(.86) rotate(-25deg); }
  to { opacity: 1; transform: rotate(-13deg); }
}
@keyframes flagStickerEnter {
  from { opacity: 0; transform: translateY(-15px) rotate(38deg); }
  to { opacity: 1; transform: rotate(19deg); }
}

.about-text { position: relative; }
.sticker-about-svejk {
  position: absolute;
  width: 166px;
  left: -122px;
  top: 60px;
  z-index: 2;
  --sticker-angle: -11deg;
}
.about-card-foot .sticker-about-rumcajs {
  width: clamp(112px, 10vw, 145px);
  margin: 0 -13px -6px 0;
  flex: none;
  --sticker-angle: 9deg;
  filter: drop-shadow(0 4px 1px #142c1f22) drop-shadow(0 7px 5px #112a1e32);
}
.about-text:hover .sticker-about-svejk { transform: rotate(-15deg) translateY(-4px); }
.about-text:hover .sticker-about-rumcajs { transform: rotate(12deg) translateY(-4px); }

.menu-section .menu-section-heading, .beer-section .beer-section-heading { align-items: center; }
.menu-section-heading > div:first-child,
.beer-section-heading > div:first-child { flex: 1 1 0; min-width: 0; }
.menu-heading-scene,
.beer-heading-scene {
  flex: 0 0 315px;
  height: 270px;
  position: relative;
  pointer-events: none;
}
.beer-heading-scene { flex-basis: 330px; height: 245px; }
.sticker-cluster .sticker { position: absolute; }
.sticker-menu-patmat {
  width: 238px;
  right: 19px;
  top: 0;
  --sticker-angle: 7deg;
}
.menu-side .sticker-menu-bobbobek {
  position: absolute;
  width: 156px;
  height: auto;
  max-width: none;
  inset: 26px 29px auto auto;
  z-index: 2;
  --sticker-angle: 11deg;
  object-fit: contain;
}
.sticker-beer-svejk {
  width: 148px;
  left: 3px;
  top: 5px;
  --sticker-angle: -9deg;
}
.sticker-beer-ferda {
  width: 126px;
  right: 7px;
  top: 5px;
  --sticker-angle: 8deg;
}
.sticker-cluster .text-link {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 0 0 5px;
  max-width: 190px;
  pointer-events: auto;
  text-align: right;
  white-space: normal;
}
.sticker-cluster:hover .sticker-menu-patmat { transform: rotate(4deg) translateY(-4px); }
.menu-side:hover .sticker-menu-bobbobek { transform: rotate(8deg) translateY(-4px); }
.sticker-cluster:hover .sticker-beer-svejk { transform: rotate(-12deg) translateY(-3px); }
.sticker-cluster:hover .sticker-beer-ferda { transform: rotate(12deg) translateY(-3px); }

.hero-image img { animation: heroBreathing 32s cubic-bezier(.37,.05,.63,.95) infinite alternate; will-change: transform; }
@keyframes heroBreathing {
  from { transform: scale(1.018) translate3d(0,0,0); }
  to { transform: scale(1.085) translate3d(-.75%,.45%,0); }
}
.hero-shade::after {
  content: '';
  position: absolute;
  inset: -15%;
  pointer-events: none;
  opacity: .2;
  background: radial-gradient(ellipse at 80% 28%,#ffc67a50 0%,transparent 38%);
  animation: pubLightDrift 19s ease-in-out infinite alternate;
}
@keyframes pubLightDrift {
  from { transform: translate3d(-2%,0,0); opacity: .12; }
  to { transform: translate3d(2%,1%,0); opacity: .24; }
}
.story-image img { animation: storyBreathing 38s ease-in-out infinite alternate; }
@keyframes storyBreathing {
  from { transform: scale(1.015); }
  to { transform: scale(1.065) translateX(-.6%); }
}
.sticker-about-rumcajs { animation: stickerRockRight 8s ease-in-out infinite alternate; }
.sticker-menu-patmat { animation: stickerRockRight 7s ease-in-out infinite alternate; }
.sticker-beer-svejk { animation: stickerRockLeft 6.8s ease-in-out infinite alternate; }
.sticker-beer-ferda { animation: stickerRockRight 7.7s ease-in-out 1.4s infinite alternate; }
@keyframes stickerRockLeft {
  from { transform: rotate(-9deg) translateY(0); }
  to { transform: rotate(-6deg) translateY(-4px); }
}
@keyframes stickerRockRight {
  from { transform: rotate(8deg) translateY(0); }
  to { transform: rotate(10deg) translateY(-4px); }
}
.pdf-panel { transition: box-shadow .65s ease; }
.pdf-panel:hover { box-shadow: 0 27px 65px #2d35252d; }
.about-image img, .story-image img { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.about-section:hover .about-image img, .story-section:hover .story-image img { transform: scale(1.025); }
.about-card-foot img { transform-origin: 53% 85%; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.about-text:hover .about-card-foot img { transform: rotate(-3deg) translateY(-5px); }

.section-heading h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: #b48f62;
  margin-top: 17px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s cubic-bezier(.2,.8,.2,1) .2s;
}
.section-heading.shown h2::after { transform: scaleX(1); }
.beer-item { overflow: hidden; }
.beer-item img { transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.beer-item:hover img, .beer-item:focus-visible img { transform: scale(1.065); }
.beer-item[data-reveal]:nth-child(2) { transition-delay: .06s; }
.beer-item[data-reveal]:nth-child(3) { transition-delay: .12s; }
.beer-item[data-reveal]:nth-child(4) { transition-delay: .18s; }
.beer-item[data-reveal]:nth-child(5) { transition-delay: .24s; }
.button:active, .reservation-phone:active { transform: translateY(1px) scale(.985); }
.reservation-phone svg { transition: transform .28s ease; }
.reservation-phone:hover svg { transform: rotate(-12deg); }

@media (max-width: 650px) {
  .section-heading h2::after { margin-top: 13px; }
  .hero-image img { animation-duration: 30s; }
}
@media (max-width: 850px) {
  .menu-heading-scene { flex-basis: 245px; height: 222px; }
  .beer-heading-scene { flex-basis: 235px; height: 212px; }
  .sticker-menu-patmat { width: 183px; right: 4px; top: 0; }
  .sticker-beer-svejk { width: 104px; left: 1px; top: 2px; }
  .sticker-beer-ferda { width: 89px; right: 3px; top: 2px; }
  .sticker-about-svejk { width: 134px; left: -93px; top: 42px; }
  .menu-side .sticker-menu-bobbobek { width: 125px; right: 17px; top: 20px; }
}
@media (max-width: 650px) {
  .sticker-hero-krtecek { width: 101px; bottom: 81px; right: 1px; }
  .sticker-czech-flag { width: 62px; height: 44px; border-width: 5px; top: auto; bottom: 19px; right: 28px; }
  .sticker-about-svejk { width: 101px; left: auto; top: -115px; right: -3px; --sticker-angle: 11deg; }
  .about-card-foot .sticker-about-rumcajs { width: 105px; }
  .menu-heading-scene,
  .beer-heading-scene {
    margin-top: 15px;
    width: 100%;
    display: block;
  }
  .menu-heading-scene { height: 205px; }
  .beer-heading-scene { height: 195px; }
  .sticker-menu-patmat { width: 168px; left: 5px; right: auto; top: 0; }
  .sticker-beer-svejk { width: 115px; left: 3px; top: 0; }
  .sticker-beer-ferda { width: 100px; right: 5px; top: 0; }
  .menu-side .sticker-menu-bobbobek { width: 105px; right: 14px; top: 16px; }
  .sticker-cluster .text-link { max-width: 148px; bottom: 4px; font-size: 13px; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image img, .story-image img, .hero-shade::after { animation: none!important; }
  .sticker-hero-krtecek, .sticker-czech-flag, .sticker-about-rumcajs,
  .sticker-menu-patmat, .sticker-beer-svejk, .sticker-beer-ferda { animation: none!important; }
  .section-heading h2::after { transform: scaleX(1); transition: none; }
  .brand svg, .about-card-foot img, .beer-item img, .about-image img, .story-image img, .reservation-phone svg, .sticker { transition: none!important; }
}
