/* A · Dobrý den s lepkem: sections */
section { position: relative; }
.h2 { font-size: clamp(2rem, 4.6vw, 4rem); margin-bottom: 18px; text-wrap: balance; }
.kicker { font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--crumb); margin-bottom: 12px; }
.kicker-dk { color: var(--crust-dk); }
.kicker-cr { color: var(--crumb); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-sub { font-size: 1.1rem; }

/* gluten explainer */
.lepek { padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 9vw, 120px); background: var(--flour); }
.lepek-in { display: grid; gap: clamp(22px, 3vw, 36px); }
.lepek-h { font-size: clamp(2.8rem, 10vw, 9.5rem); line-height: .95; color: var(--blue); }
.lepek-h em { font-style: normal; color: var(--crust-dk); display: inline-block; rotate: -3deg; }
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 800 clamp(1.1rem, 2.4vw, 2rem)/1 var(--fd); }
.eq-t { padding: .45em .8em; border-radius: 999px; background: var(--white); border: 3px solid var(--ink); }
.eq-g { background: var(--crumb); }
.eq-b { background: var(--blue); color: var(--white); border-color: var(--blue); }
.eq-op { color: var(--crust-dk); font-size: 1.3em; }
.lepek-txt { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.lepek-p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.45; font-weight: 600; max-width: 34ch; margin: 0; }
.lepek-kind { margin: 0; padding: 20px 22px; border-radius: var(--r); background: var(--white); border: 2px dashed var(--crust-dk); font-weight: 600; }
.cup { font-size: 1.3em; }
.motion .lepek-h.in em { animation: nope .8s var(--spring) .35s both; }
@keyframes nope { 0% { rotate: -3deg; } 20% { rotate: 6deg; } 40% { rotate: -8deg; } 60% { rotate: 4deg; } 100% { rotate: -3deg; } }
@media (max-width: 760px) { .lepek-txt { grid-template-columns: 1fr; } }

/* tying the pretzel (signature) */
.tie { background: var(--blue); color: var(--white); }
.tie-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "head stage" "caps stage" "note stage"; align-content: center; gap: 0 clamp(20px, 4vw, 64px); max-width: var(--max); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gut); }
.tie-head { grid-area: head; align-self: end; }
.tie-stage { grid-area: stage; position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; justify-self: center; align-self: center; }
.tie-caps { grid-area: caps; display: grid; gap: 14px; margin: 10px 0 18px; counter-reset: c; }
.tie-caps li { display: flex; align-items: center; gap: 14px; font: 800 clamp(1.1rem, 2vw, 1.7rem)/1.2 var(--fd); }
.tc-n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--crumb); color: var(--crumb); font-size: 1rem; transition: background-color .3s, color .3s; }
.tie-note { grid-area: note; font-size: .95rem; opacity: .85; }
html.gl .tie { height: 330vh; }
html.gl .tie-pin { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); padding-top: 24px; padding-bottom: 24px; }
html.gl .tie-caps li { opacity: .35; translate: 0 0; transition: opacity .35s, translate .45s var(--spring); }
html.gl .tie-caps li.on { opacity: 1; translate: 8px 0; }
html.gl .tie-caps li.on .tc-n, html.gl .tie-caps li.done .tc-n { background: var(--crumb); color: var(--ink); }
html.gl .tie-caps li.done { opacity: .7; }
@media (max-width: 860px) {
  .tie-pin { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "caps" "note"; }
  .tie-stage { max-width: 380px; }
  html.gl .tie { height: 300vh; }
  html.gl .tie-pin { align-content: center; gap: 0; padding-top: 18px; padding-bottom: 12px; }
  html.gl .tie-stage { width: auto; height: min(50svh, 92vw); max-width: none; aspect-ratio: 1 / 1; }
  html.gl .tie-caps { position: relative; min-height: 4.4em; margin: 6px 0 0; }
  html.gl .tie-caps li { position: absolute; inset: 0 0 auto 0; opacity: 0; translate: 0 14px; }
  html.gl .tie-caps li.on { opacity: 1; translate: 0 0; }
  html.gl .tie-caps li.done { opacity: 0; translate: 0 -14px; }
  html.gl .tie-head .h2 { font-size: 1.9rem; margin-bottom: 4px; }
  html.gl .tie-head .kicker { margin-bottom: 4px; }
}

/* products */
.bake { padding: clamp(72px, 9vw, 130px) 0; background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.card { position: relative; display: flex; flex-direction: column; padding: 18px 20px 22px; border-radius: var(--r); min-height: 100%; transition: transform .4s var(--spring), box-shadow .3s; }
.card h3 { font-size: clamp(1.15rem, 1.5vw, 1.45rem); margin: 6px 0 8px; }
.card p { margin: 0; font-size: .98rem; line-height: 1.5; }
.c-art { height: 150px; display: grid; place-items: center; margin: 0 -6px 10px; }
.c-art svg { width: 78%; max-height: 140px; overflow: visible; }
.c-photo .c-art { height: 190px; margin: -8px -10px 12px; border-radius: 16px; overflow: hidden; }
.c-photo .c-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.c-n { font: 800 .85rem var(--fd); opacity: .75; }
.c-blue { background: var(--blue); color: var(--white); }
.c-crust { background: var(--crust-dk); color: var(--white); }
.c-ink { background: var(--ink); color: var(--white); }
.c-flour, .c-photo { background: var(--flour); }
.c-white { background: var(--white); border: 3px solid var(--ink); }
.c-link { margin-top: 12px; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--white); text-underline-offset: 4px; }
.c-link:focus-visible { outline-color: var(--crumb); }
.card:focus-within { animation: wiggle .6s var(--spring); }
@media (hover: hover) {
  .card:hover { transform: rotate(-1.6deg) translateY(-6px); box-shadow: 0 18px 34px rgba(30, 47, 92, .18); }
  .card:nth-child(even):hover { transform: rotate(1.6deg) translateY(-6px); }
  .card:hover .c-art svg { animation: wiggle .7s var(--spring); }
}
@keyframes wiggle { 0% { rotate: 0deg; } 25% { rotate: -6deg; } 50% { rotate: 5deg; } 75% { rotate: -2deg; } 100% { rotate: 0deg; } }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: start; padding: 16px; }
  .c-art { grid-row: 1 / span 4; height: 96px; margin: 0; }
  .c-photo .c-art { height: 110px; margin: 0; border-radius: 12px; }
  .c-n { grid-column: 2; }
  .card h3, .card p, .c-link { grid-column: 2; }
}

/* weekend visit */
.visit { background: var(--blue); color: var(--white); padding: clamp(72px, 9vw, 130px) 0; }
.visit-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.status { display: inline-flex; align-items: center; gap: 16px; margin: 8px 0 10px; padding: 18px 30px 18px 24px; border-radius: 999px; background: var(--white); color: var(--ink); font: 800 clamp(1.2rem, 2.3vw, 2.1rem)/1.15 var(--fd); box-shadow: 0 0 0 6px rgba(253, 255, 254, .18); max-width: 100%; }
.status .dot { width: 22px; height: 22px; background: var(--crust); }
.status.is-open .dot { background: #1F9D55; }
.countdown { font-weight: 800; color: var(--crumb); min-height: 1.6em; }
.hours { margin: 24px 0; border-top: 2px solid rgba(253, 255, 254, .3); }
.h-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 2px solid rgba(253, 255, 254, .3); font-size: 1.15rem; }
.h-row dt { font-weight: 800; }
.h-row dd { margin: 0; font: 800 1.2rem var(--fd); text-align: right; }
.h-off dd { font: 600 1rem var(--ft); opacity: .85; }
.h-row.today dt::after { content: ' ●'; color: var(--crumb); }
.tip { padding: 14px 18px; border-radius: 14px; background: var(--ink); display: inline-block; }
.tip b { color: var(--crumb); }
.addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 20px 22px; border-radius: var(--r); border: 2px solid rgba(253, 255, 254, .4); }
.addr p { margin: 0; }
.visit-side { display: grid; gap: 18px; }
.ph-coffee { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.2; rotate: 2deg; box-shadow: 0 22px 44px rgba(10, 18, 40, .35); }
.ph-coffee img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.coffee { background: var(--ink); border-radius: var(--r); padding: 22px 24px; }
.coffee h3 { font-size: 1.4rem; margin-bottom: 10px; }
.coffee a { color: var(--crumb); font-weight: 800; text-underline-offset: 3px; }
.sign { font: 600 .9rem var(--fd); color: var(--crumb); margin: 0; }
@media (max-width: 860px) { .visit-in { grid-template-columns: 1fr; } .ph-coffee { aspect-ratio: 4 / 3; rotate: 0deg; } .status { padding: 14px 22px 14px 18px; gap: 12px; } }

/* orders */
.orders { background: var(--flour); padding: clamp(72px, 9vw, 130px) 0; }
.orders-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.orders-txt > p { font-size: 1.15rem; max-width: 46ch; }
.mail-big { display: inline-block; margin: 6px 0 28px; font: 800 clamp(1.2rem, 3.4vw, 2.6rem)/1.2 var(--fd); color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 6px; overflow-wrap: anywhere; padding: 6px 0; }
@media (hover: hover) { .mail-big:hover { color: var(--crust-dk); } }
.season { display: grid; gap: 12px; }
.season li { padding: 16px 18px; border-radius: 16px; background: var(--white); border-left: 6px solid var(--crust); }
.season b { font-family: var(--fd); display: block; margin-bottom: 2px; }
.ph-vanocka { border-radius: var(--r); overflow: hidden; rotate: -2deg; max-width: 460px; justify-self: center; background: var(--white); padding: 10px 10px 4px; box-shadow: 0 18px 38px rgba(30, 47, 92, .18); }
.ph-vanocka img { border-radius: 14px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.ph-vanocka figcaption { font-size: .9rem; padding: 8px 4px; }
@media (max-width: 860px) { .orders-in { grid-template-columns: 1fr; } .ph-vanocka { rotate: 0deg; } }

/* cafés */
.cafes { background: var(--ink); color: var(--white); padding: clamp(72px, 9vw, 120px) 0; }
.cafes-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cafes p { max-width: 48ch; font-size: 1.1rem; }
.partners { display: grid; gap: 14px; }
.partners li { padding: 22px 24px; border-radius: var(--r); background: var(--blue); display: grid; gap: 4px; }
.partners li:nth-child(2) { margin-left: clamp(0px, 4vw, 48px); background: var(--crust-dk); }
.partners b { font: 800 clamp(1.2rem, 2vw, 1.6rem) var(--fd); }
@media (max-width: 860px) { .cafes-in { grid-template-columns: 1fr; } }

/* reviews */
.reviews { background: var(--white); padding: clamp(72px, 9vw, 130px) 0; }
.revs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rev { padding: 24px; border-radius: var(--r); background: var(--flour); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.rev:nth-child(odd) { rotate: -1deg; } .rev:nth-child(even) { rotate: 1deg; margin-top: 18px; }
.rev p { font-size: 1.08rem; font-weight: 600; margin: 0; }
.rev p::before { content: '„'; display: block; font: 800 3rem/.6 var(--fd); color: var(--crust); margin-bottom: 12px; }
.rev span { font-weight: 800; color: var(--crust-dk); }
@media (max-width: 1100px) { .revs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .revs { grid-template-columns: 1fr; } .rev:nth-child(even) { margin-top: 0; } }

/* instagram */
.ig { background: var(--blue); color: var(--white); padding: clamp(72px, 9vw, 120px) 0; }
.ig-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.ph-window { width: min(360px, 100%); border-radius: var(--r); overflow: hidden; rotate: -3deg; border: 8px solid var(--white); }
.ph-window img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ig p { max-width: 42ch; font-size: 1.1rem; }
@media (max-width: 760px) { .ig-in { grid-template-columns: 1fr; } .ph-window { width: min(280px, 80%); justify-self: center; } }

/* footer */
.ftr { background: var(--ink); color: var(--white); padding: 56px 0 40px; overflow: hidden; }
.ftr-word { font: 800 clamp(3rem, 11.5vw, 13rem)/.9 var(--fd); letter-spacing: -.03em; color: var(--blue); margin: 0 0 32px; white-space: nowrap; }
.ftr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ftr-h { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--crumb); margin-bottom: 10px; }
.ftr a { display: inline-block; padding: 8px 0; font-weight: 600; text-underline-offset: 3px; }
.ftr-note { margin: 36px 0 0; font-size: .88rem; opacity: .8; max-width: 70ch; }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
