/* ============================================================
   panino — sun-yellow edition
   ============================================================ */
:root {
  --yellow:      #fcd72e;     /* color-managed correction → renders as 247,216,73 on display */
  --yellow-deep: #e2c133;
  --cream:       #fff5d0;
  --ink:         #150a00;
  --char:        #2a1810;
  --tomato:      #e63946;
  --lettuce:     #4caf50;
  --salami:      #d4716c;

  --f-display: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif:   "Fraunces", "Times New Roman", serif;
  --f-mono:    "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in:  cubic-bezier(.7,0,.84,0);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--yellow); color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 720px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
@media (max-width: 720px) { button { cursor: pointer; } }

::selection { background: var(--ink); color: var(--yellow); }

/* ====================== TOP SCROLL PROGRESS ====================== */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--ink);
  z-index: 9999;
  transition: width .08s linear;
}

/* ====================== INTRO LOADER ====================== */
#intro {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  height: 100vh;
  height: 100svh;     /* small viewport — survives iOS URL-bar growth */
  background: var(--yellow);
  display: grid;
  place-items: center;
  transition: transform .9s var(--ease-in), opacity .6s ease .3s;
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
}
#intro.gone { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.intro-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-logo {
  width: 220px; height: auto;
  filter: brightness(0) saturate(100%);
  animation: bob 1.4s var(--ease-out) infinite alternate;
}
@keyframes bob {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-10px) rotate(3deg); }
}
.intro-bar {
  width: 220px; height: 4px; background: rgba(0,0,0,.15);
  margin: 28px auto 14px; overflow: hidden; border-radius: 999px;
}
.intro-bar span {
  display: block; height: 100%; width: 0%;
  background: var(--ink);
  animation: fill 1.6s var(--ease-out) forwards;
}
@keyframes fill { to { width: 100%; } }
.intro-msg {
  font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .2em;
}

/* ====================== CUSTOM CURSOR ====================== */
#cursor, #cursor-dot {
  position: fixed; pointer-events: none; z-index: 9997;
  top: 0; left: 0;
  mix-blend-mode: difference;
}
#cursor {
  width: 36px; height: 36px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease-out), height .25s var(--ease-out),
              background .2s ease;
}
#cursor-dot {
  width: 6px; height: 6px; background: var(--cream); border-radius: 50%;
  transform: translate(-50%, -50%);
}
#cursor.hover { width: 70px; height: 70px; background: var(--cream); }
@media (max-width: 720px) { #cursor, #cursor-dot { display: none; } }

/* ====================== NAV ====================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  transition: background .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(252, 215, 46, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.12);
}
/* on the first page, the hero owns the logo — nav contents fade in after scroll */
.nav-logo, .nav-links, .nav-cta {
  transition: opacity .35s ease, transform .35s var(--ease-out);
}
.nav:not(.scrolled) .nav-logo,
.nav:not(.scrolled) .nav-links,
.nav:not(.scrolled) .nav-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.nav-logo img {
  height: 72px; width: auto;
  filter: brightness(0);   /* always ink-black */
  transition: transform .4s var(--ease-out);
}
.nav-logo:hover img { transform: rotate(-6deg) scale(1.05); }
.nav-links {
  display: flex; gap: 4px;
  background: var(--ink); border-radius: 999px;
  padding: 6px;
}
.nav-links a {
  display: inline-block;
  padding: 9px 16px;
  color: var(--cream);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: .02em;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--yellow); color: var(--ink); }
.nav-cta {
  display: inline-block;
  padding: 12px 22px;
  background: var(--ink); color: var(--yellow);
  border-radius: 999px;
  font-size: 14px; text-transform: lowercase;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--tomato); color: var(--cream); }
@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-logo img { height: 52px; }
}

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 280vh;
  isolation: isolate;
  background: var(--yellow);
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  display: block;          /* video fills the viewport; logo overlays */
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater {
  position: absolute;
  font-size: clamp(20px, 3vw, 50px);
  color: var(--ink);
  opacity: .7;
  will-change: transform;
}
.floater::before { content: attr(data-emoji); }

/* ----- big hero logo overlays the video, top center ----- */
.hero-logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: calc(env(safe-area-inset-top) + 32px) 28px 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.hero-logo img {
  height: clamp(90px, 16vh, 180px);
  width: auto;
  /* black logo + soft shadow so it stays readable on any frame */
  filter: brightness(0) drop-shadow(0 2px 16px rgba(0,0,0,.18));
  animation: bob 3.5s var(--ease-out) infinite alternate;
}

/* ----- panino video: fills the viewport so no bg is ever visible behind it ----- */
.panino-stage {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 1;
}
.panino-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  will-change: transform;
}
.panino-video {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills the viewport edge-to-edge — zero seam possible */
  object-position: center;
  display: block;
  pointer-events: none;
}

/* hero text: top headline + bottom block */
.hero-grid {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  z-index: 3;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-grid > * { pointer-events: auto; }
.hero-top { align-self: start; }
.hero-bottom { align-self: end; }
@media (max-width: 720px) { .hero { min-height: 250vh; } }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .15em;
  border-radius: 999px;
}
.hero-tag .dot {
  width: 8px; height: 8px; background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--yellow);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(252,215,46,.8); }
  70% { box-shadow: 0 0 0 12px rgba(252,215,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(252,215,46,0); }
}

.hero-title {
  font-weight: 900;
  line-height: .85;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  margin: 28px 0 30px;
}
.hero-title .line {
  display: block;
  font-size: clamp(48px, 11vw, 150px);
  transform: translateY(40px);
  opacity: 0;
  animation: rise .9s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: .1s; color: var(--ink); }
.hero-title .line:nth-child(2) { animation-delay: .2s; color: var(--tomato); font-family: var(--f-serif); font-style: italic; font-weight: 800; letter-spacing: -0.05em; }
.hero-title .line:nth-child(3) { animation-delay: .3s; }
.hero-title .line:nth-child(4) { animation-delay: .55s; font-size: clamp(18px, 1.8vw, 26px); font-weight: 400; font-family: var(--f-serif); font-style: italic; opacity: 0; }

@keyframes rise { to { transform: translateY(0); opacity: 1; } }

.hero-sub {
  max-width: 540px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  animation: rise .9s var(--ease-out) .65s forwards;
  text-wrap: pretty;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 36px;
  opacity: 0;
  animation: rise .9s var(--ease-out) .8s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 26px;
  border-radius: 999px;
  font-size: 17px; font-weight: 700;
  text-transform: lowercase;
  transition: transform .3s var(--ease-out), background .3s, color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink); color: var(--yellow);
  box-shadow: 6px 6px 0 0 rgba(0,0,0,.18);
}
.btn-primary:hover { background: var(--tomato); color: var(--cream); transform: translate(-3px,-3px); box-shadow: 9px 9px 0 0 rgba(0,0,0,.22); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--yellow); }
.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(6px); }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px 56px;
  margin-top: 60px;
  opacity: 0;
  animation: rise .9s var(--ease-out) 1s forwards;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats b {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stats span {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-top: 6px;
  opacity: .6;
}

.scroll-hint {
  position: absolute;
  bottom: 28px; right: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em;
}
.scroll-hint .line-down {
  width: 1px; height: 50px; background: var(--ink);
  animation: drop 1.6s infinite var(--ease-out);
  transform-origin: top;
}
@keyframes drop {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ====================== MARQUEE ====================== */
.marquee {
  background: var(--ink); color: var(--yellow);
  overflow: hidden;
  border-block: 3px solid var(--ink);
  padding: 18px 0;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 36px;
  white-space: nowrap;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  animation: scroll-x 26s linear infinite;
  font-family: var(--f-serif);
  font-style: italic;
}
.marquee-track span:nth-child(even) {
  font-style: normal;
  color: var(--tomato);
  font-size: .55em;
  vertical-align: middle;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ====================== MANIFEST (TAGLINE) ====================== */
.manifest {
  background: var(--yellow);
  color: var(--ink);
  padding: clamp(80px, 14vh, 160px) 28px;
  display: grid;
  place-items: center;
  text-align: center;
}
.manifest-inner { max-width: 1100px; }
.manifest .eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 28px;
}
.manifest-title {
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}
.manifest-title span { display: block; }
.manifest-title i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--tomato);
}
.manifest-sub {
  margin: 36px auto 0;
  max-width: 640px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  opacity: .85;
  text-wrap: pretty;
}

/* ====================== SECTION HEAD ====================== */
.section-head, .anatomy-head, .builder-head, .tod-head {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 28px;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 16px;
  opacity: .7;
}
.section-title {
  font-size: clamp(48px, 8vw, 120px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  text-wrap: balance;
}
.section-title i {
  font-style: italic;
  font-weight: 400;
  font-family: var(--f-serif);
  color: var(--tomato);
}
.section-sub {
  margin-top: 18px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.4;
  opacity: .8;
}

/* ====================== ANATOMIJA ====================== */
.anatomy {
  background: var(--cream);
  color: var(--ink);
  padding: 100px 0 140px;
  overflow: hidden;
}
.anatomy-stage {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px 0;
  min-height: 720px;
  display: grid;
  place-items: center;
}
.anatomy-img {
  width: min(420px, 60vw);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(70,40,0,.18));
  animation: float 6s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translateY(-10px) rotate(-1deg); }
  to   { transform: translateY(10px) rotate(1deg); }
}

.anatomy-label {
  position: absolute;
  top: var(--top); left: var(--left);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  text-align: left;
  cursor: none;
  transition: transform .35s var(--ease-out), background .25s, color .25s, opacity .5s;
  opacity: 0;
  transform: translateY(20px);
  z-index: 5;
  max-width: 280px;
}
.anatomy-label.in { opacity: 1; transform: translateY(0); }
.anatomy-label:hover { background: var(--tomato); transform: translateY(-4px) rotate(-1deg) scale(1.05); }
.anatomy-label[data-side="r"] { transform-origin: left center; }
.anatomy-label[data-side="l"] { transform-origin: right center; }

.anatomy-label .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .15em;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.anatomy-label .dot {
  width: 8px; height: 8px;
  background: var(--cream);
  border-radius: 50%;
  flex-shrink: 0;
}
.anatomy-label .text {
  display: flex; flex-direction: column;
  line-height: 1.2;
}
.anatomy-label .text b {
  font-weight: 800;
  font-size: 16px;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}
.anatomy-label .text i {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .65;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .anatomy-stage { min-height: 600px; padding-top: 20px; }
  .anatomy-img { width: min(280px, 55vw); }
  .anatomy-label { font-size: 12px; padding: 10px 14px; max-width: 200px; }
  .anatomy-label .text b { font-size: 13px; }
  .anatomy-label .text i { font-size: 9px; }
}

/* ====================== MENU ====================== */
.menu {
  background: var(--yellow);
  color: var(--ink);
  padding: 100px 0 120px;
  position: relative;
}
.menu-filters {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.chip {
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-transform: lowercase;
  background: transparent;
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.chip:hover { background: var(--cream); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: var(--yellow); }

.menu-list {
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* category header rows */
.menu-head {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: end;
  padding: 38px 0 14px;
  border-bottom: 2px solid var(--ink);
}
.menu-head:first-child { padding-top: 0; }
.menu-head.is-hidden { display: none; }
.menu-head-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .55;
  padding-bottom: 8px;
}
.menu-head-text h3 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: lowercase;
  font-family: var(--f-display);
}
.menu-head-text span {
  display: block;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .55;
}

.menu-note {
  display: block;
  margin-top: 40px;
  padding: 22px 26px;
  border: 1.5px dashed rgba(0,0,0,.4);
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.5;
  background: rgba(0,0,0,.04);
}
.menu-note b {
  font-weight: 800;
  text-transform: lowercase;
  margin-right: 4px;
}
@media (max-width: 720px) {
  .menu-head { grid-template-columns: 40px 1fr; gap: 14px; padding-top: 30px; }
}
.menu-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,.18);
  position: relative;
  cursor: none;
  transition: padding .35s var(--ease-out), color .25s;
  overflow: hidden;
}
.menu-row::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease-out);
  z-index: -1;
}
.menu-row:hover::before { transform: scaleY(1); transform-origin: top; }
.menu-row:hover { color: var(--yellow); padding-left: 18px; padding-right: 18px; }
.menu-row.is-hidden { display: none; }

.menu-num {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .15em; text-transform: uppercase;
  opacity: .6;
}
.menu-name {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  line-height: 1;
}
.menu-name i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  opacity: .85;
}
.menu-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 6px;
}
.menu-tags span {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,.08);
}
.menu-tags span.hot-tag {
  background: var(--tomato);
  color: var(--cream);
}
.menu-row:hover .menu-tags span { background: rgba(255,255,255,.18); }
.menu-row:hover .menu-tags span.hot-tag { background: var(--tomato); color: var(--cream); }

/* wolt cta below the menu list */
.menu-cta {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 28px;
  display: flex;
  justify-content: center;
}
.menu-cta .btn { padding: 22px 32px; font-size: 19px; }
.menu-price {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.menu-arrow {
  width: 44px; height: 44px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-out);
}
.menu-row:hover .menu-arrow { transform: rotate(-45deg); }

#menuPreview {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 50;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .35s var(--ease-out), opacity .25s;
  opacity: 0;
  background: var(--cream);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 6px 6px 0 0 var(--ink);
}
#menuPreview.show { transform: translate(-50%, -120%) scale(1); opacity: 1; }
.preview-emoji { font-size: 32px; }
.preview-name {
  font-size: 14px; font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -.01em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .menu-row { grid-template-columns: 40px 1fr auto; gap: 14px; }
  .menu-row .menu-arrow { display: none; }
}

/* ====================== DOBA DANA (TIME-OF-DAY) ====================== */
.time-of-day {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 28px 120px;
  transition: background .6s ease, color .6s ease;
}
.time-of-day.tod-jutro   { background: #fff5d0; color: var(--ink); }
.time-of-day.tod-popodne { background: var(--yellow); color: var(--ink); }
.time-of-day.tod-vecer   { background: #c44a2a; color: var(--cream); }
.time-of-day.tod-noc     { background: #0e0828; color: var(--cream); }

.time-of-day .section-title { color: inherit; }
.time-of-day .section-title i { color: currentColor; opacity: .85; }
.time-of-day .eyebrow { opacity: .6; }
.time-of-day .section-sub { opacity: .8; }

.tod-picker {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .tod-picker { grid-template-columns: repeat(2, 1fr); } }

.tod-btn {
  padding: 24px 16px;
  border: 2px solid currentColor;
  border-radius: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-align: left;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
  font-family: inherit;
}
.tod-btn:hover { transform: translateY(-4px); }
.tod-btn.is-active {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
  transform: translateY(-4px);
}
.tod-btn.is-active .tod-emoji,
.tod-btn.is-active .tod-name,
.tod-btn.is-active .tod-time {
  filter: none;
  mix-blend-mode: normal;
}
/* per-theme active variants — readable on each section background */
.time-of-day.tod-jutro   .tod-btn.is-active { background: var(--ink);   color: var(--cream);  border-color: var(--ink); }
.time-of-day.tod-popodne .tod-btn.is-active { background: var(--ink);   color: var(--yellow); border-color: var(--ink); }
.time-of-day.tod-vecer   .tod-btn.is-active { background: var(--cream); color: #c44a2a;       border-color: var(--cream); }
.time-of-day.tod-noc     .tod-btn.is-active { background: var(--yellow); color: var(--ink);   border-color: var(--yellow); }
.tod-emoji { font-size: 32px; line-height: 1; }
.tod-name {
  font-size: 22px; font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -.02em;
  margin-top: 6px;
}
.tod-time {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  opacity: .7;
}

.tod-card {
  max-width: 1200px;
  margin: 0 auto;
  border: 2px solid currentColor;
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 280px;
}
@media (max-width: 900px) {
  .tod-card { grid-template-columns: 1fr; }
}
.tod-card-left h3 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: lowercase;
}
.tod-card-left h3 i {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.tod-card-left p {
  margin-top: 16px;
  font-size: 17px;
  opacity: .85;
  line-height: 1.4;
  max-width: 460px;
}
.tod-card-emoji {
  font-size: clamp(120px, 18vw, 200px);
  text-align: center;
  line-height: 1;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.2));
  transition: transform .5s var(--ease-out);
}
.tod-card:hover .tod-card-emoji { transform: rotate(-8deg) scale(1.05); }
.tod-card-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.tod-card-meta span b {
  display: block;
  font-family: var(--f-display);
  font-size: 24px;
  letter-spacing: -.02em;
  font-weight: 800;
  margin-top: 4px;
}

/* ====================== BUILDER ====================== */
.builder {
  background: var(--yellow);
  color: var(--ink);
  padding: 100px 0 120px;
}

.builder-stage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .builder-stage { grid-template-columns: 1fr; }
}

.palette {
  background: var(--ink);
  color: var(--cream);
  padding: 28px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-content: start;
}
.palette-title {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .7;
  margin-bottom: 6px;
}
.ing {
  background: var(--char);
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 10px;
  text-align: center;
  cursor: grab;
  transition: transform .25s var(--ease-out), background .25s, border-color .25s;
  user-select: none;
  touch-action: none;
}
.ing:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-3px) rotate(-2deg); }
.ing.dragging { opacity: .4; }
.ing-emoji { font-size: 36px; line-height: 1; }
.ing-name { font-size: 12px; margin-top: 8px; text-transform: lowercase; font-weight: 600; }
.ing-price { font-family: var(--f-mono); font-size: 10px; opacity: .6; margin-top: 2px; }

.bread-wrap {
  position: sticky; top: 100px;
}
.bread {
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 30px;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  min-height: 380px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  box-shadow: 8px 8px 0 0 var(--ink);
}
.bread.over { transform: scale(1.02) rotate(-1deg); box-shadow: 14px 14px 0 0 var(--ink); }
.bread.shake { animation: shake .5s var(--ease-out); }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-10px) rotate(-2deg); }
  40% { transform: translateX(10px) rotate(2deg); }
  60% { transform: translateX(-6px) rotate(-1deg); }
  80% { transform: translateX(6px) rotate(1deg); }
}
.bread-top, .bread-bottom {
  font-size: 80px; line-height: 1; text-align: center;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.15));
}
.bread-bottom { transform: scaleY(-1); }
.bread-fill {
  flex: 1;
  background: var(--yellow);
  border-radius: 18px;
  padding: 18px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-content: center; justify-content: center;
  min-height: 160px;
  border: 2px dashed transparent;
  transition: border-color .25s, background .25s;
}
.bread.over .bread-fill { border-color: var(--ink); background: #fce473; }
.bread-fill .empty {
  font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .2em;
  opacity: .55;
}
.in-bread {
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  animation: pop .35s var(--ease-out);
}
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.in-bread .x {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: grid; place-items: center;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.in-bread .x:hover { background: var(--tomato); }
.in-bread em { font-size: 18px; font-style: normal; }

.builder-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.builder-actions .btn { padding: 14px 22px; }

/* ====================== STORY ====================== */
.story {
  background: var(--ink);
  color: var(--cream);
  padding: 120px 28px;
}
.story-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-text { grid-column: 1 / -1; }
}
.story-text .section-title { color: var(--cream); }
.story-text .section-title i { color: var(--yellow); }
.story-text p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.5;
  opacity: .85;
  text-wrap: pretty;
  max-width: 460px;
}
.story-card {
  background: var(--yellow);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px;
  transition: transform .35s var(--ease-out);
}
.story-card.alt { background: var(--tomato); color: var(--cream); }
.story-card.third { background: var(--lettuce); color: var(--cream); }
.story-card:hover { transform: translateY(-8px) rotate(-2deg); }
.story-num {
  font-size: clamp(70px, 10vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline;
  font-family: var(--f-display);
}
.story-num i { font-size: .35em; font-style: normal; opacity: .65; margin-left: 4px; }
.story-card p {
  font-size: 16px; font-weight: 600;
  text-transform: lowercase;
}

/* ====================== QUOTES ====================== */
.quotes {
  background: var(--tomato);
  color: var(--cream);
  padding: 40px 0;
  overflow: hidden;
  border-block: 3px solid var(--ink);
}
.quotes-track {
  display: flex; gap: 80px;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  font-family: var(--f-serif);
  font-style: italic;
  letter-spacing: -0.02em;
}
.quotes-track blockquote { display: inline-flex; align-items: baseline; gap: 16px; }
.quotes-track cite {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .7;
}

/* ====================== CONTACT ====================== */
.contact {
  background: var(--yellow);
  color: var(--ink);
  padding: 120px 28px;
}
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.addr {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.hours {
  list-style: none;
  margin-top: 30px;
  border-top: 2px solid var(--ink);
}
.hours li {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  font-size: 18px;
  text-transform: lowercase;
}
.hours li b { font-weight: 800; font-variant-numeric: tabular-nums; }

.socials {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.socials a {
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
  transition: background .25s, color .25s, transform .25s var(--ease-out);
}
.socials a:hover { background: var(--ink); color: var(--yellow); transform: rotate(-2deg); }

.contact-map {
  position: relative;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 28px;
  min-height: 460px;
  overflow: hidden;
  box-shadow: 8px 8px 0 0 var(--ink);
}
.map-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.map-tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--ink);
  color: var(--yellow);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
  z-index: 2;
  transition: transform .3s var(--ease-out), background .25s, color .25s;
  text-decoration: none;
}
.map-tag:hover {
  transform: translateY(-2px) rotate(-2deg);
  background: var(--tomato);
  color: var(--cream);
}

/* ====================== FOOTER ====================== */
.foot {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(252,215,46,.06), transparent 70%),
    var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
  overflow: hidden;
  position: relative;
}

.foot-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
}

/* centered hero block: logo + tagline + live status + actions */
.foot-center {
  text-align: center;
  padding: 50px 0 40px;
}
.foot-logo {
  height: 88px;
  width: auto;
  margin: 0 auto 22px;
  filter: brightness(0) invert(1);
  animation: bob 4s var(--ease-out) infinite alternate;
}
.foot-tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  max-width: 600px;
  margin: 0 auto 26px;
  opacity: .88;
  text-wrap: balance;
}
.foot-tagline i {
  font-style: italic;
  color: var(--yellow);
  font-weight: 600;
}

/* dynamic open/closed status pill */
.foot-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin: 0 auto 30px;
  background: rgba(255,255,255,.03);
  transition: background .35s, color .35s, border-color .35s;
}
.foot-status .status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #8a8a8a;
  flex-shrink: 0;
}
.foot-status.is-open {
  background: rgba(76,175,80,.12);
  border-color: rgba(76,175,80,.35);
  color: #cdebcf;
}
.foot-status.is-open .status-dot {
  background: var(--lettuce);
  box-shadow: 0 0 0 0 var(--lettuce);
  animation: pulse-open 1.6s infinite;
}
@keyframes pulse-open {
  0% { box-shadow: 0 0 0 0 rgba(76,175,80,.7); }
  70% { box-shadow: 0 0 0 10px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}
.foot-status.is-closed {
  background: rgba(230,57,70,.1);
  border-color: rgba(230,57,70,.32);
  color: #f4c5c9;
}
.foot-status.is-closed .status-dot { background: var(--tomato); }

.foot-actions {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.foot-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: -.005em;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-out);
  white-space: nowrap;
}
.foot-pill.primary {
  background: var(--yellow);
  color: var(--ink);
}
.foot-pill.primary:hover { background: var(--cream); transform: translateY(-2px); }
.foot-pill.ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,.22);
}
.foot-pill.ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

/* divider with stars */
.foot-divider {
  display: flex; align-items: center;
  gap: 18px;
  margin: 30px auto 50px;
  max-width: 800px;
  color: var(--yellow);
  opacity: .55;
}
.foot-divider .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}
.foot-divider .star {
  font-size: 14px;
  animation: starspin 6s linear infinite;
}
.foot-divider .star:nth-child(3) { animation-delay: -2s; }
.foot-divider .star:nth-child(4) { animation-delay: -4s; }
@keyframes starspin { to { transform: rotate(360deg); } }

/* four columns */
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
@media (max-width: 900px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 40px 24px; text-align: center; }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr; gap: 32px; }
  .foot-logo { height: 72px; }
}

.foot-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .55;
  margin-bottom: 18px;
}
.foot-col ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  align-items: center;
}
.foot-col ul li {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.005em;
  text-transform: lowercase;
  line-height: 1.4;
}
.foot-col ul a {
  transition: color .2s ease, transform .25s var(--ease-out);
  display: inline-block;
}
.foot-col ul a:hover { color: var(--yellow); transform: translateY(-2px); }

.foot-hours li {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}
.foot-hours li span { opacity: .65; font-size: 14px; text-align: right; }
.foot-hours li b   { font-weight: 700; font-size: 15px; text-align: left; }

/* bottom strip */
.foot-bottom {
  margin-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .55;
}
.foot-bottom a { transition: opacity .2s, color .2s; }
.foot-bottom a:hover { opacity: 1; color: var(--yellow); }
.foot-credit a {
  font-weight: 700;
  color: var(--yellow);
  opacity: 1;
}
.foot-credit a:hover { text-decoration: underline; }
.foot-top {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  opacity: .8;
}
.foot-top:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); opacity: 1; }
@media (max-width: 600px) {
  .foot-bottom { justify-content: center; text-align: center; }
}

/* ====================== TOAST ====================== */
#toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translate(-50%, 200%);
  background: var(--ink);
  color: var(--yellow);
  padding: 18px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  z-index: 200;
  box-shadow: 0 14px 40px rgba(0,0,0,.3);
  transition: transform .5s var(--ease-out);
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden; text-overflow: ellipsis;
}
#toast.show { transform: translate(-50%, 0); }

/* ====================== REVEAL ====================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ====================== BURGER + MOBILE MENU ====================== */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: transparent;
  position: relative;
  z-index: 102;
  border-radius: 12px;
  transition: background .25s, transform .25s;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
  transform-origin: center;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--yellow);
  z-index: 101;
  padding: calc(80px + env(safe-area-inset-top)) 28px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  gap: 24px;
  transform: translateY(-101%);
  transition: transform .55s cubic-bezier(.7, 0, .15, 1);
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 14px);
  right: 14px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform .25s, background .25s;
}
.mobile-menu-close:active { transform: scale(.92); background: var(--tomato); }
.mobile-menu-close span {
  position: absolute;
  width: 22px;
  height: 2.5px;
  background: var(--yellow);
  border-radius: 2px;
}
.mobile-menu-close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu-nav {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}
.mobile-menu-nav a {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(36px, 11vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  line-height: 1;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: padding .35s var(--ease-out), color .25s;
}
.mobile-menu-nav a:active { color: var(--tomato); padding-left: 12px; }

.mobile-menu-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 22px 28px;
  background: var(--ink); color: var(--yellow);
  border-radius: 999px;
  font-size: 18px; font-weight: 700;
  text-transform: lowercase;
  text-align: center;
  align-self: stretch;
  transition: transform .25s, background .25s;
}
.mobile-menu-cta:active { transform: scale(.96); background: var(--tomato); color: var(--cream); }
.mobile-menu-cta span { font-size: 14px; }

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.12);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  display: flex; flex-direction: column;
  gap: 10px;
  opacity: .85;
}
.mobile-menu-foot a { color: var(--ink); font-weight: 700; }

/* ====================== TOUCH-DEVICE OVERRIDES ====================== */
.is-touch { cursor: auto; }
.is-touch body, .is-touch button, .is-touch a { cursor: auto; }
.is-touch #cursor,
.is-touch #cursor-dot,
.is-touch #menuPreview { display: none !important; }
/* tap highlights — kill the default blue */
* { -webkit-tap-highlight-color: transparent; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ====================== MOBILE LAYOUT (≤ 720px) ====================== */
@media (max-width: 720px) {
  /* nav */
  .nav {
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top));
  }
  .nav-logo img { height: 52px; }
  .nav-links, .nav-cta { display: none !important; }
  .nav-burger { display: flex; }
  /* burger stays visible even on hero so users can navigate */
  .nav:not(.scrolled) .nav-burger { opacity: 1; pointer-events: auto; transform: none; }
  .nav.scrolled .nav-burger { background: rgba(0,0,0,.06); }

  /* MOBILE HERO — same scroll-scrub UX as desktop.
     Video FILLS the viewport (object-fit: cover) so there is no surrounding
     background to mismatch. The logo overlays at the top with a soft shadow. */
  .hero { min-height: 250vh; }
  .hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: block;
    padding: 0;
    overflow: hidden;
    background: transparent;     /* video owns the bg, no CSS color visible */
  }
  /* logo sits absolutely over the video, top center */
  .hero-logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: calc(env(safe-area-inset-top) + 18px) 16px 0;
    z-index: 5;
    pointer-events: none;        /* never block taps to the video */
    display: flex;
    justify-content: center;
  }
  .hero-logo img {
    height: clamp(72px, 12vh, 108px);
    /* black logo + soft shadow stays legible on any video frame */
    filter: brightness(0) drop-shadow(0 2px 14px rgba(0,0,0,.18));
  }
  /* video stage fills the entire viewport */
  .panino-stage {
    position: absolute;
    inset: 0;
    display: block;
  }
  .panino-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .panino-video {
    width: 100%;
    height: 100%;
    /* contain → full video visible, reaches both side edges of the device */
    object-fit: contain;
    object-position: center;
  }
  /* burger follows the same hide-on-hero rule as the rest of the nav */
  .nav:not(.scrolled) .nav-burger {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  /* marquee */
  .marquee { padding: 14px 0; border-block-width: 2px; }
  .marquee-track { gap: 24px; }

  /* manifest */
  .manifest { padding: clamp(60px, 12vh, 100px) 20px; }
  .manifest .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .manifest-title { font-size: clamp(44px, 14vw, 88px); }
  .manifest-sub { margin-top: 24px; font-size: 17px; }

  /* section heads */
  .section-head, .anatomy-head, .builder-head, .tod-head { padding: 0 20px; margin-bottom: 28px; }
  .section-title { font-size: clamp(40px, 11vw, 72px); }
  .section-sub { font-size: 16px; }

  /* ANATOMIJA — stack labels under the image (no absolute positioning) */
  .anatomy { padding: 70px 0 80px; }
  .anatomy-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 20px 20px 0;
    gap: 12px;
  }
  .anatomy-img {
    width: min(72vw, 320px);
    margin: 0 auto 22px;
    animation: none;            /* less motion on small screens */
  }
  .anatomy-label {
    position: static;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    max-width: 100%;
    width: 100%;
    opacity: 1;
    padding: 14px 18px;
    font-size: 13px;
    transition: background .2s, transform .2s;
  }
  .anatomy-label.in,
  .anatomy-label { opacity: 1; transform: none; }
  .anatomy-label:active { background: var(--tomato); transform: scale(.98); }
  .anatomy-label .text b { font-size: 15px; }
  .anatomy-label .text i { font-size: 10px; }

  /* MENU */
  .menu { padding: 70px 0 80px; }
  .menu-filters {
    padding: 0 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 18px;
    padding-bottom: 4px;
  }
  .menu-filters::-webkit-scrollbar { display: none; }
  .chip { padding: 9px 16px; font-size: 13px; flex-shrink: 0; }

  .menu-list { padding: 0 20px; }
  .menu-head { grid-template-columns: 38px 1fr; gap: 12px; padding: 30px 0 12px; }
  .menu-head-text h3 { font-size: clamp(26px, 6.5vw, 36px); }
  .menu-head-text span { font-size: 10px; }
  .menu-row {
    grid-template-columns: 38px 1fr auto;
    gap: 12px;
    padding: 18px 0;
  }
  .menu-row .menu-arrow { display: none; }
  .menu-num { font-size: 10px; }
  .menu-name { font-size: clamp(20px, 5vw, 28px); }
  .menu-name i { display: block; font-size: 13px; opacity: .7; margin-top: 4px; font-weight: 400; }
  .menu-tags { margin-top: 8px; }
  .menu-price { font-size: clamp(18px, 5vw, 24px); }
  /* turn the hover sweep into a tap state */
  .menu-row:hover { padding-left: 0; padding-right: 0; }
  .menu-row:hover::before { transform: scaleY(0); }
  .menu-row:active { color: var(--yellow); }
  .menu-row:active::before { transform: scaleY(1); transform-origin: top; }

  .menu-cta { margin: 30px auto 0; padding: 0 20px; }
  .menu-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 18px 22px;
    font-size: 15px;
    text-align: center;
  }
  .menu-note { margin-top: 30px; padding: 18px 20px; font-size: 13px; }

  /* DOBA DANA */
  .time-of-day { padding: 70px 20px 80px; }
  .tod-picker { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 28px; }
  .tod-btn { padding: 18px 14px; border-radius: 20px; }
  .tod-emoji { font-size: 26px; }
  .tod-name { font-size: 17px; }
  .tod-time { font-size: 10px; letter-spacing: .15em; }
  .tod-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    border-radius: 22px;
    min-height: auto;
    gap: 20px;
  }
  .tod-card-left h3 { font-size: clamp(28px, 8vw, 44px); }
  .tod-card-left p { font-size: 15px; margin-top: 12px; }
  .tod-card-emoji { font-size: clamp(96px, 28vw, 140px); }
  .tod-card-meta { gap: 14px 22px; margin-top: 16px; font-size: 10px; }
  .tod-card-meta span b { font-size: 18px; }

  /* STORY */
  .story { padding: 80px 20px; }
  .story-grid { grid-template-columns: 1fr; gap: 18px; }
  .story-text p { font-size: 16px; }
  .story-card { padding: 24px; min-height: auto; border-radius: 22px; }
  .story-card p { font-size: 14px; }
  .story-num { font-size: clamp(56px, 16vw, 90px); }

  /* QUOTES */
  .quotes { padding: 28px 0; border-block-width: 2px; }
  .quotes-track { gap: 50px; font-size: clamp(18px, 5vw, 24px); }

  /* CONTACT */
  .contact { padding: 80px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .addr { font-size: 20px; }
  .hours li { font-size: 16px; padding: 12px 0; }
  .socials a { padding: 10px 16px; font-size: 13px; }
  .contact-map {
    min-height: 320px;
    border-radius: 22px;
    box-shadow: 6px 6px 0 0 var(--ink);
  }
  .map-tag { font-size: 11px; left: 12px; bottom: 12px; padding: 8px 12px; }

  /* FOOTER */
  .foot { padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); }
  .foot-inner { padding: 0 20px; }
  .foot-logo { height: 72px; margin-bottom: 18px; }
  .foot-tagline { font-size: 17px; margin-bottom: 22px; }
  .foot-status {
    font-size: 10px;
    letter-spacing: .14em;
    padding: 9px 14px;
    text-align: center;
  }
  .foot-actions { gap: 10px; }
  .foot-pill { padding: 13px 18px; font-size: 13px; }
  .foot-divider { margin: 24px auto 36px; gap: 14px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 40px; }
  .foot-col h4 { font-size: 10px; margin-bottom: 14px; }
  .foot-col ul li { font-size: 15px; }
  .foot-hours li { gap: 8px; }
  .foot-hours li span, .foot-hours li b { font-size: 13px; }
  .foot-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-size: 10px;
  }
  .foot-top { margin-top: 6px; }

  /* TOAST — let it wrap on mobile */
  #toast {
    max-width: calc(100vw - 32px);
    bottom: calc(20px + env(safe-area-inset-bottom));
    font-size: 14px;
    padding: 14px 20px;
    white-space: normal;
    text-align: center;
  }

  /* INTRO */
  .intro-logo { width: 160px; }
  .intro-bar { width: 160px; }
}

/* very small phones */
@media (max-width: 380px) {
  .nav { padding: 10px 12px; }
  .nav-logo img { height: 44px; }
  .hero-logo img { height: clamp(64px, 12vh, 92px); }
  .manifest-title { font-size: clamp(38px, 13vw, 64px); }
  .section-title { font-size: clamp(34px, 11vw, 60px); }
  .menu-name { font-size: 18px; }
  .menu-name i { font-size: 12px; }
  .menu-price { font-size: 16px; }
  .tod-picker { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .mobile-menu { padding-left: 22px; padding-right: 22px; }
  .mobile-menu-nav a { font-size: 36px; padding: 12px 0; }
}

/* prefers-reduced-motion: cut down on animation across the board */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
