/* Csuszi-minifánk · koncepció-oldal, v2 "a stand"
   Egyedi váz: cégtábla-hero belógó fotókkal + csíkos ponyva + futó árszalag +
   vízszintes vitrin ár-matricákkal + krétatábla + pult-infó.
   Paletta: vanília-papír, ét-csoki tinta, eper-piros, ponyva-csíkok. */

:root {
  --paper: #F7F0E2;
  --card: #FFFBF2;
  --ink: #3B2A1D;
  --milk: #77604C;
  --red: #C22B3E;
  --red-deep: #A31F31;
  --choc: #46311F;
  --line: #E3D6BF;
  --serif: "Young Serif", "Georgia", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --awning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 22'%3E%3Cpath d='M0 0 H44 V0 A22 22 0 0 1 0 0 Z' fill='%23C22B3E'/%3E%3Cpath d='M0 0 a22 22 0 0 0 44 0 Z' fill='%23C22B3E'/%3E%3Cpath d='M44 0 a22 22 0 0 0 44 0 Z' fill='%23EFE2CB'/%3E%3C/svg%3E");
}

@font-face {
  font-family: "Young Serif";
  src: url("assets/fonts/young-serif-v2-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-v12-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-v12-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-v12-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-v23-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-v23-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
:target, section[id] { scroll-margin-top: 84px; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--red); color: var(--paper); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; border: 2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: var(--milk); }

.hand {
  font-family: var(--hand);
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.demo-bar {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem var(--gutter);
  color: var(--milk);
  border-bottom: 1px solid var(--line);
}

/* ---- fejléc, alul ponyva-csíkokkal ---- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem var(--gutter);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
}
.site-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 13px;
  background-image: var(--awning);
  background-size: 76px 19px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 38px; height: 38px; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.35rem; }
.head-tel {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.head-tel:hover, .head-tel:focus-visible { color: var(--red); }

/* ---- gombok: tálca-forma ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: translate 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}
.btn-red {
  background: var(--red);
  color: #FFF6E9;
  box-shadow: 3px 3px 0 0 var(--choc);
}
.btn-red:hover, .btn-red:focus-visible {
  background: var(--red-deep);
  translate: -1px -1px;
  box-shadow: 4px 4px 0 0 var(--choc);
}
.btn-red:active { translate: 1px 1px; box-shadow: 1px 1px 0 0 var(--choc); }
.btn-red:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-link {
  padding: 0.8rem 0.2rem;
  border-radius: 0;
  color: var(--ink);
  background-image: linear-gradient(90deg, currentColor 0 74%, var(--red) 74% 100%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: left bottom;
}
.btn-link:hover, .btn-link:focus-visible { background-size: 100% 3.5px; translate: 0 -1px; }

/* ---- cégtábla-hero, belógó fotókkal ---- */
.sign {
  position: relative;
  padding: clamp(4rem, 11vh, 7.5rem) var(--gutter) clamp(3.5rem, 9vh, 6rem);
  text-align: center;
  overflow: hidden;
}
.sign::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='340' height='340'%3E%3Cg stroke-linecap='round' stroke-width='5' fill='none'%3E%3Cpath d='M40 60 l14 8' stroke='%23E4B8C0'/%3E%3Cpath d='M200 30 l12 10' stroke='%23BFD8D5'/%3E%3Cpath d='M300 120 l-14 6' stroke='%23E8D5A4'/%3E%3Cpath d='M110 200 l14 -7' stroke='%23BFD8D5'/%3E%3Cpath d='M260 250 l12 9' stroke='%23E4B8C0'/%3E%3Cpath d='M60 300 l15 5' stroke='%23E8D5A4'/%3E%3C/g%3E%3C/svg%3E");
}
.peek {
  position: absolute;
  width: clamp(150px, 19vw, 280px);
  border: 8px solid var(--card);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(70, 49, 31, 0.22);
  overflow: hidden;
  pointer-events: none;
}
.peek img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.peek-l { left: max(-70px, -6vw); top: 16%; transform: rotate(-8deg); }
.peek-r { right: max(-70px, -6vw); top: 24%; transform: rotate(7deg); }
.sign-inner { position: relative; max-width: 46rem; margin: 0 auto; }
.sign-kicker { color: var(--red); transform: rotate(-2deg); }
.sign-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
  margin-top: 0.4rem;
}
.sign-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--milk);
  margin-top: 0.9rem;
}
.sign-place {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9375rem;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 1.1rem;
}
.sign-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* ---- futó árszalag ---- */
.ribbon {
  background: var(--choc);
  color: #F6EDDD;
  overflow: hidden;
  padding: 0.7rem 0;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}
.ribbon-track {
  display: inline-flex;
  align-items: baseline;
  gap: 2.2rem;
  white-space: nowrap;
  width: max-content;
  animation: ribbon-roll 36s linear infinite;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}
.ribbon-track span:nth-child(even) { color: var(--red); }
@keyframes ribbon-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- vitrin: vízszintes sín, ár-matricákkal ---- */
.vitrin { padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(2.5rem, 6vh, 4rem); }
.v-head {
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding: 0 var(--gutter);
  max-width: 78rem;
  margin: 0 auto 1.6rem;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.16;
}
.v-hand { color: var(--red); transform: rotate(-2deg); }
.v-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gutter);
  padding: 1.2rem var(--gutter) 1.6rem;
  scrollbar-width: none;
}
.v-rail::-webkit-scrollbar { display: none; }
.prod {
  position: relative;
  flex: 0 0 clamp(230px, 26vw, 320px);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 10px 0.6rem;
  cursor: zoom-in;
  transition: translate 0.25s ease, box-shadow 0.25s ease;
}
.prod:hover {
  translate: 0 -6px;
  box-shadow: 0 16px 28px rgba(70, 49, 31, 0.16);
}
.prod img, .p-illu {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}
.p-illu {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFE2CB;
  color: var(--choc);
}
.p-illu svg { width: 55%; height: auto; }
.p-name {
  font-weight: 700;
  text-align: center;
  padding: 0.55rem 0.4rem 0.25rem;
  color: var(--ink);
  font-size: 1.45rem;
}
.tag {
  position: absolute;
  top: -12px;
  right: -8px;
  z-index: 2;
  background: var(--red);
  color: #FFF6E9;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.55rem 0.8rem 0.45rem;
  border-radius: 999px 999px 999px 4px;
  box-shadow: 2px 3px 0 0 var(--choc);
  transform: rotate(6deg);
}
.prod-coffee { cursor: default; }
.v-src {
  padding: 0 var(--gutter);
  max-width: 78rem;
  margin: 0 auto;
  color: var(--milk);
  font-size: 0.8125rem;
}

/* ---- krétatábla ---- */
.board {
  position: relative;
  background: var(--choc);
  color: #F6EDDD;
  padding: clamp(3.5rem, 9vh, 6rem) var(--gutter);
  border-top: 10px solid #5C4936;
  border-bottom: 10px solid #5C4936;
  overflow: hidden;
}
.chalk {
  position: absolute;
  width: clamp(70px, 9vw, 120px);
  color: rgba(246, 237, 221, 0.4);
}
.chalk-l { left: 4%; top: 16%; transform: rotate(-8deg); }
.chalk-r { right: 4%; bottom: 14%; transform: rotate(6deg); }
.board-quote { max-width: 46rem; margin: 0 auto; text-align: center; }
.board-quote p.hand {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.3;
}
.board-line { color: #CBB9A4; margin-top: 1.2rem; }
.board-rec {
  display: inline-block;
  margin-top: 1.3rem;
  color: #F6EDDD;
  font-size: 1.5rem;
  border-bottom: 3px solid var(--red);
  padding-bottom: 0.15rem;
  transform: rotate(-1.5deg);
}

/* ---- a pult ---- */
.pult {
  padding: clamp(3.5rem, 9vh, 6rem) var(--gutter);
  text-align: center;
}
.pult-addr {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin-top: 0.9rem;
}
.pult-tel {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--red);
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.pult-tel:hover, .pult-tel:focus-visible { color: var(--red); }
.pult-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.pult-note {
  color: var(--milk);
  max-width: 46ch;
  margin: 1.6rem auto 0;
}
.pult .soc { margin-top: 1.1rem; }

/* ---- social ---- */
.soc {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}
.soc span {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}
.soc:hover span, .soc:focus-visible span { border-bottom-color: var(--red); }

/* ---- lábléc ---- */
.site-foot {
  border-top: 1px solid var(--line);
  background: var(--card);
  padding: 1.4rem var(--gutter) 6rem;
}
.foot-note {
  max-width: 74rem;
  margin: 0 auto;
  color: var(--milk);
  font-size: 0.8125rem;
  text-align: center;
}

/* ---- mobil CTA ---- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  text-align: center;
  padding: 0.95rem;
}
html.js .mobile-cta {
  opacity: 0;
  translate: 0 18px;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, translate 0.5s ease, visibility 0s linear 0.5s;
}
html.js .mobile-cta.show {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s ease, translate 0.5s ease;
}

/* ---- lightbox ---- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(40, 27, 15, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.9rem;
  padding: 3.5rem 4.5rem;
}
.lb[hidden] { display: none; }
.lb img {
  max-width: min(88vw, 1100px);
  max-height: 80vh;
  border-radius: 10px;
  background: var(--card);
}
.lb figcaption { color: #F0E6D2; font-size: 1.35rem; text-align: center; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #F6EDDD;
  padding: 0.7rem;
  cursor: pointer;
  transition: color 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #E88A97; }
.lb-close { top: 1rem; right: 1.1rem; }
.lb-prev { left: 0.7rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 0.7rem; top: 50%; translate: 0 -50%; }
@media (max-width: 720px) {
  .lb { padding: 3rem 0.8rem; }
  .lb img { max-width: 94vw; }
}

/* ---- felúszó reveal ---- */
.rv { opacity: 0; transform: translateY(16px); }
.rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.tag.rv { transform: scale(0.4) rotate(6deg); }
.tag.rv.in {
  transform: rotate(6deg);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.35);
}

/* ---- reszponzív ---- */
@media (max-width: 980px) {
  .peek-l { top: 6%; }
  .peek-r { top: auto; bottom: 4%; }
}
@media (max-width: 767px) {
  .peek { display: none; }
  .chalk { display: none; }
}
@media (max-width: 720px) {
  :target, section[id] { scroll-margin-top: 102px; }
  .brand-name { font-size: 1.1rem; white-space: nowrap; }
  .brand-mark { width: 32px; height: 32px; }
  .site-head { gap: 0.8rem; }
  .head-tel { font-size: 0.95rem; white-space: nowrap; }
  .mobile-cta { display: block; }
  .sign { padding-top: 3rem; }
  .peek { width: clamp(110px, 26vw, 150px); border-width: 5px; }
  .peek-l { left: -34px; top: 4%; }
  .peek-r { right: -34px; bottom: 2%; }
  .prod { flex-basis: min(72vw, 280px); }
  .board-quote p.hand { font-size: 1.7rem; }
}

/* ---- mozgás-visszafogás ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-track { animation: none; }
  .rv, .tag.rv { opacity: 1; transform: none; }
  .tag.rv, .tag.rv.in { transform: rotate(6deg); }
  .prod, .prod:hover { transition: none; translate: 0 0; }
  html.js .mobile-cta, html.js .mobile-cta.show { transition: none; }
  .btn, .btn-red, .btn-link { transition: none; }
}
