/* ============================================================================
   CHOCHELKA BISTRO / "Codzienna Chochla" / the daily ladle-pot
   Single-page poster radiating from one enamel soup-pot disc.
   Palette: canvas #F4ECDD  ink #2E1B14  primary(beet-ruby) #8E2433
            accent(butter-amber) #E0A52E
   Display: Vollkorn   Body: Mukta
   ========================================================================= */

:root {
  --canvas:   #F4ECDD;
  --canvas-2: #EFE3CE;
  --ink:      #2E1B14;
  --ink-soft: #5A4338;
  --primary:  #8E2433;   /* cooked-beet ruby */
  --primary-d:#6F1A27;
  --accent:   #E0A52E;   /* butter amber */
  --accent-d: #C98A18;
  --broth:    #B7763A;   /* broth brown */
  --enamel:   #FBF6EC;   /* enamel white */
  --line: rgba(46, 27, 20, .14);
  --line-2: rgba(46, 27, 20, .08);
  --shadow: 0 18px 50px -22px rgba(46, 27, 20, .45);
  --shadow-sm: 0 8px 24px -14px rgba(46, 27, 20, .4);
  --rad: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--canvas);
  background-image:
    radial-gradient(1200px 700px at 50% -8%, #FBF3E2 0%, transparent 60%),
    radial-gradient(900px 600px at 110% 18%, rgba(224,165,46,.10) 0%, transparent 55%);
  color: var(--ink);
  font-family: "Mukta", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Vollkorn", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

.eyebrow {
  font-family: "Vollkorn", serif;
  font-style: italic;
  letter-spacing: .04em;
  font-size: .98rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent-d);
}

/* ---- reveal contract (JS-gated) ---- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================ HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1.1rem, 3vw, 2.2rem);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(244, 236, 221, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-2), 0 14px 30px -26px rgba(46,27,20,.6);
  padding-block: .6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: "Vollkorn", serif;
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand .ladle {
  width: 26px; height: 26px;
  flex: 0 0 auto;
  color: var(--primary);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: .2rem 0;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: .8rem; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(251,246,236,.6);
}
.lang-toggle button {
  font-family: "Mukta", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: .34rem .7rem;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--enamel);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: "Mukta", sans-serif;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: .72rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn-primary {
  background: var(--primary);
  color: var(--enamel);
  box-shadow: 0 10px 24px -12px rgba(142,36,51,.65);
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(142,36,51,.7); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-amber {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(224,165,46,.7);
}
.btn-amber:hover { background: var(--accent-d); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(251,246,236,.6);
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }

/* ============================ HERO POT ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 12vh, 9rem) 1.2rem clamp(3rem, 8vh, 5rem);
  text-align: center;
  overflow: hidden;
}
.hero::after {
  /* faint wycinanki star ticks scattered in canvas corners via gradients */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(142,36,51,.05) 0 7px, transparent 8px),
    radial-gradient(circle at 88% 22%, rgba(224,165,46,.07) 0 6px, transparent 7px);
  pointer-events: none;
}

.pot {
  position: relative;
  width: min(86vw, 620px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  z-index: 2;
}

/* rotating rim text */
.pot-rim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pot-rim svg { width: 100%; height: 100%; overflow: visible; }
.pot-rim text {
  font-family: "Vollkorn", serif;
  fill: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
}

/* the enamel disc */
.pot-disc {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, var(--enamel) 0%, #F6EAD2 52%, #EBD9BC 78%, #E2CCAB 100%);
  box-shadow:
    inset 0 0 0 10px rgba(251,246,236,.9),
    inset 0 0 0 14px var(--primary),
    inset 0 14px 40px rgba(224,165,46,.45),
    inset 0 -30px 60px rgba(142,36,51,.10),
    var(--shadow);
  display: grid;
  place-items: center;
  isolation: isolate;
  transform-origin: 50% 50%;
}
.pot-disc::before {
  /* concentric broth rings */
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      transparent 0 22px,
      rgba(183,118,58,.10) 22px 23px);
  opacity: .9;
  z-index: -1;
}
.pot-disc::after {
  /* butter-amber inner glow + faint steam sheen */
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(255,247,228,.55), transparent 62%);
  z-index: -1;
}

.pot-center {
  position: relative;
  z-index: 3;
  display: grid;
  gap: .5rem;
  place-items: center;
  padding: 1rem;
  max-width: 80%;
}
.pot-stamp {
  font-family: "Vollkorn", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.1rem);
  letter-spacing: .04em;
  color: var(--primary);
  line-height: .95;
  text-shadow: 0 1px 0 rgba(251,246,236,.7);
}
.pot-sub {
  font-family: "Mukta", sans-serif;
  font-size: clamp(.82rem, 2.4vw, 1rem);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--broth);
}
.pot-tag {
  font-family: "Vollkorn", serif;
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--ink);
  margin-top: .2rem;
}

/* the ladle laid across the pot */
.ladle {
  position: absolute;
  z-index: 4;
  width: 60%;
  left: 22%;
  top: -6%;
  transform: rotate(28deg);
  transform-origin: 50% 50%;
  color: var(--ink);
  filter: drop-shadow(0 10px 18px rgba(46,27,20,.35));
  pointer-events: none;
}

/* steam wisps */
.steam {
  position: absolute;
  z-index: 3;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 40%;
  pointer-events: none;
  opacity: .55;
}
.steam path { fill: none; stroke: rgba(251,246,236,.9); stroke-width: 5; stroke-linecap: round; }

@keyframes potSettle {
  from { transform: rotate(-90deg) scale(.96); opacity: 0; }
  to   { transform: rotate(0deg) scale(1); opacity: 1; }
}
@keyframes rimSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes steamRise {
  0%   { opacity: 0; transform: translateX(-50%) translateY(8px) scaleY(.9); }
  35%  { opacity: .6; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-26px) scaleY(1.15); }
}
html.js .pot-disc { animation: potSettle 1.4s var(--ease) both; }
html.js .pot-rim  { animation: rimSpin 120s linear infinite; transform-origin: 50% 50%; }
html.js .steam    { animation: steamRise 5.5s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  html.js .pot-disc, html.js .pot-rim, html.js .steam { animation: none !important; }
  .steam { opacity: .5; }
}

.hero-meta {
  position: relative;
  z-index: 5;
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .8rem 1.2rem;
}
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--enamel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .9rem;
  font-size: .92rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.rating-chip b { font-family: "Vollkorn", serif; color: var(--primary); font-weight: 700; }
.rating-chip .stars { color: var(--accent-d); letter-spacing: .05em; }

.scroll-cue {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: grid;
  justify-items: center;
  gap: .4rem;
  z-index: 5;
}
.scroll-cue .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0); opacity:.5 } 50%{ transform: translateY(6px); opacity:1 } }
@media (prefers-reduced-motion: reduce){ .scroll-cue .dot{ animation:none } }

/* ============================ SECTION SHELL ============================ */
.section { padding: clamp(4rem, 9vh, 7rem) 0; position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vh, 3rem); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin-top: .6rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }
.section.alt { background:
  linear-gradient(180deg, transparent, rgba(224,165,46,.06) 18%, rgba(224,165,46,.06) 82%, transparent);
}

/* divider scallop ribbon */
.ribbon {
  height: 14px;
  background:
    radial-gradient(circle at 10px -4px, transparent 10px, var(--primary) 11px) 0 0 / 20px 14px repeat-x;
  opacity: .9;
}

/* ============================ DZISIAJ / TODAY ============================ */
.today-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.dish {
  position: relative;
  background: var(--enamel);
  border: 1px solid var(--line-2);
  border-radius: var(--rad);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish::before {
  /* enamel rim arc top-right */
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  right: -50px; top: -50px;
  border-radius: 50%;
  border: 12px solid rgba(224,165,46,.16);
}
.dish .tick {
  width: 30px; height: 30px;
  color: var(--primary);
  margin-bottom: .7rem;
}
.dish h3 { font-size: 1.3rem; }
.dish p { color: var(--ink-soft); font-size: .98rem; margin: .5rem 0 0; }
.dish .pl-note { font-size: .82rem; color: var(--broth); font-style: italic; margin-top: .8rem; }

/* ============================ GALLERY MOSAIC ============================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 168px;
  gap: 14px;
}
.mosaic figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--rad);
  box-shadow: var(--shadow-sm);
}
.mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem .9rem .8rem;
  font-size: .82rem;
  color: var(--enamel);
  background: linear-gradient(180deg, transparent, rgba(46,27,20,.78));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mosaic figure:hover figcaption,
.mosaic figure:focus-within figcaption { opacity: 1; transform: none; }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }
.m-big  { grid-column: span 2; grid-row: span 2; }

/* ============================ STORY / O NAS ============================ */
.story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media .badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: var(--primary);
  color: var(--enamel);
  font-family: "Vollkorn", serif;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: .5rem .95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.story-copy h2 { font-size: clamp(2rem, 4.6vw, 2.9rem); }
.story-copy p { color: var(--ink-soft); margin-top: 1.1rem; }
.facts {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: .9rem;
}
.facts li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: 1rem;
}
.facts svg { width: 22px; height: 22px; color: var(--primary); flex: 0 0 auto; margin-top: 2px; }
.facts b { font-family: "Vollkorn", serif; }

/* ============================ INFO / VISIT ============================ */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: stretch;
}
.info-card {
  background: var(--enamel);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.3rem;
  align-content: start;
}
.info-row { display: grid; grid-template-columns: 30px 1fr; gap: .9rem; align-items: start; }
.info-row svg { width: 24px; height: 24px; color: var(--primary); margin-top: 2px; }
.info-row h4 { font-family: "Vollkorn", serif; font-size: 1.08rem; margin-bottom: .15rem; }
.info-row p, .info-row a { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.info-row a:hover { color: var(--primary); }
.info-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }

.map-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-2);
  min-height: 420px;
}
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.hours-note {
  font-size: .86rem;
  color: var(--broth);
  font-style: italic;
}

/* ============================ FOOTER ============================ */
.site-footer {
  background: var(--ink);
  color: #EAD9C7;
  padding: clamp(3rem, 7vh, 5rem) 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.footer-grid .brand { color: var(--enamel); }
.footer-grid .brand .ladle { color: var(--accent); }
.site-footer p { color: rgba(234,217,199,.78); font-size: .96rem; }
.footer-col h4 { font-family: "Vollkorn", serif; color: var(--accent); font-size: 1rem; margin-bottom: .8rem; letter-spacing: .03em; }
.footer-col a, .footer-col p { color: rgba(234,217,199,.82); font-size: .96rem; display: block; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--enamel); }
.disclaimer {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(234,217,199,.16);
  font-size: .82rem;
  color: rgba(234,217,199,.6);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
}
.disclaimer span { max-width: 60ch; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; }
  .story-media { aspect-ratio: 16/11; max-height: 460px; }
  .visit { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; }
  .m-big { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: var(--canvas);
    padding: 2rem;
    transform: translateX(110%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(46,27,20,.6);
    z-index: 70;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.2rem; }
  .nav-toggle { display: inline-block; z-index: 75; }
  .header-cta { display: none; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .m-wide, .m-big { grid-column: span 2; }
  .m-big { grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (max-width: 460px) {
  .ladle { width: 66%; left: 18%; }
  .mosaic { grid-auto-rows: 120px; }
}
