/* B · Víkend: the shop-front stage (fascia, pillars, shutter, counter scene).
   Default = static (no JS, reduced motion): shutter is a rolled-up stub above the scene.
   html.js:not(.rm) = pinned, scroll-driven shutter. */
.stage { padding: 0; background: var(--concrete-2); }
.pin { padding-top: var(--hd); }
.front {
  --pil: clamp(14px, 5vw, 84px);
  display: grid; grid-template-columns: var(--pil) minmax(0, 1fr) var(--pil);
  grid-template-areas: "f f f" "pl ap pr" "s s s"; grid-template-rows: auto 1fr auto;
}
.pillar, .sill {
  background-color: var(--concrete-2);
  background-image: linear-gradient(90deg, rgba(0,0,0,.14), transparent 35%, transparent 65%, rgba(0,0,0,.16)), var(--noise);
}
.pl { grid-area: pl; } .pr { grid-area: pr; }

/* fascia sign */
.fascia {
  grid-area: f; display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); flex-wrap: wrap;
  padding: clamp(12px, 1.6vw, 18px) var(--pil); background: var(--blue); color: var(--white);
  border-bottom: 8px solid var(--steel-9); box-shadow: inset 0 -2px 0 rgba(255,255,255,.12), inset 0 2px 0 rgba(255,255,255,.1);
}
.f-logo { width: clamp(44px, 5vw, 64px); height: auto; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.f-txt { min-width: 0; }
.sign { display: block; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(34px, 5.6vw, 78px); line-height: .9; letter-spacing: .01em; text-shadow: 0 0 22px rgba(255,255,255,.35); }
.f-meta { margin: 6px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #DDE4F5; }
.slogan { margin: 0 0 0 auto; max-width: 340px; font-size: 16px; line-height: 1.35; font-weight: 500; color: var(--white); }

/* aperture + scene */
.aperture { grid-area: ap; position: relative; background: #1b1511; box-shadow: inset 12px 0 18px -10px rgba(0,0,0,.6), inset -12px 0 18px -10px rgba(0,0,0,.6); }
.scene {
  position: relative; display: grid; grid-template-columns: 1fr 1.3fr 1fr; grid-template-rows: 1fr auto;
  column-gap: clamp(16px, 3vw, 44px); padding: clamp(52px, 7vh, 64px) clamp(16px, 3vw, 40px) 0;
  background: radial-gradient(120% 90% at 50% 26%, #FFE2B4 0%, #F4BC74 34%, #B8723A 70%, #4A2A15 100%);
}
.ph { margin: 0; position: relative; align-self: start; }
.ph img { width: 100%; height: clamp(150px, 34vh, 360px); object-fit: cover; border: 6px solid var(--steel-9); border-radius: 3px; box-shadow: 0 18px 30px -12px rgba(40,20,5,.6); }
.ph-a img { object-position: 50% 60%; }
.ph-b img { object-position: 50% 70%; }
.tag {
  position: relative; display: inline-flex; flex-direction: column; gap: 2px; margin: -30px 0 0 14px; padding: 10px 14px 9px;
  background: var(--flour); color: var(--ink); border-radius: 3px; rotate: -2deg; box-shadow: 0 6px 14px rgba(40,20,5,.35);
}
.tag::before { content: ''; position: absolute; top: -9px; left: 18px; width: 22px; height: 12px; background: var(--steel-3); border-radius: 2px; }
.tag b { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 20px; line-height: 1; }
.tag span { font-size: 12px; color: var(--crust-dark); }
.ph-b .tag { rotate: 2deg; }
.scene-c { position: relative; z-index: 2; align-self: center; text-align: center; padding-bottom: 12px; }
.scene-c .kick { color: #5A2E0E; }
.sc-h { font-size: clamp(44px, 6vw, 92px); font-weight: 900; font-stretch: 125%; color: var(--ink); margin-bottom: 14px; }
.sc-p { max-width: 36ch; margin-inline: auto; font-size: 17px; color: #2A1A0C; }
.scene-c .btns { justify-content: center; }
.counter {
  grid-column: 1 / -1; margin-inline: calc(-1 * clamp(16px, 3vw, 40px)); margin-top: clamp(16px, 3vh, 34px);
  min-height: clamp(96px, 17vh, 170px); padding: 0 16px 12px; display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(#F3D3A4 0 3px, #A98C6C 3px, #6A5B4E 24%, #3A3531 70%, #2A2725 100%);
}
.cro { position: relative; width: clamp(240px, 28vw, 400px); aspect-ratio: 16 / 9; margin-top: calc(-1 * clamp(44px, 8vh, 90px)); touch-action: pan-y; cursor: grab; }
.cro:active { cursor: grabbing; }
.cro canvas, .cro-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cro.live .cro-svg { opacity: 0; }
.counter { position: relative; }
.cro-cap { position: absolute; right: 16px; bottom: 10px; max-width: 24ch; margin: 0; font-size: 12px; line-height: 1.35; color: #EDEBE6; text-align: right; }

/* shutter */
.shutter { position: relative; z-index: 2; padding: 26px clamp(16px, 3vw, 40px) 70px; background: var(--steel-7); overflow: hidden; }
.slats { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.07) 38%, rgba(255,255,255,.02) 60%, rgba(0,0,0,.24)),
    repeating-linear-gradient(180deg, #858B92 0 2px, #646A71 2px 8px, #50565D 8px 16px, #454B52 16px 22px); }
.shutter::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 17px, rgba(18,20,23,.6) 17px 20px, rgba(170,176,182,.35) 20px 21px, transparent 21px 22px); }
.note { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.stencil {
  position: relative; margin: 0; max-width: 15ch; color: #F3EFE6; font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(36px, 6.4vw, 92px); line-height: .92; letter-spacing: .03em;
  text-shadow: 0 0 1px rgba(243,239,230,.9), 0 0 9px rgba(243,239,230,.28);
}
.cd, .st-hours { position: relative; z-index: 2; }
.cd { padding: 12px 14px 14px; background: rgba(21,24,28,.94); border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.cd::before, .cd::after { content: ''; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #8d939a; }
.cd::before { left: 6px; } .cd::after { right: 6px; }
.cd-l { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #E9E6DF; }
.cd-row { display: flex; gap: clamp(10px, 1.6vw, 20px); align-items: flex-end; }
.cd-g { display: flex; align-items: flex-end; gap: 3px; }
.cd-d { --h: 1.12em; position: relative; display: block; width: .78em; height: var(--h); overflow: hidden; font: 600 clamp(34px, 4.6vw, 60px)/1 var(--mono); color: var(--glow); background: #23272C; border-radius: 3px; text-shadow: 0 0 10px rgba(255,180,90,.45); }
.cd-d::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.cd-col { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.5, 1.6, .4, 1); }
.cd-col span { height: var(--h); line-height: var(--h); text-align: center; }
.cd-u { margin: 0 0 4px 4px; font-size: 13px; color: #E9E6DF; }
.st-hours { margin: 0; padding: 6px 10px; background: var(--night); color: #E9E6DF; font-size: 13px; border-radius: 3px; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 48px; display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(#9AA0A6, #5B6168 40%, #2E3237); border-top: 2px solid #B9BEC3; }
.handle { position: relative; width: 120px; min-height: 44px; margin-top: 4px; background: none; border: 0; border-radius: 6px; cursor: pointer; }
.grip { position: absolute; left: 18px; right: 18px; top: 4px; height: 26px; border: 6px solid #D7DADD; border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 3px 4px rgba(0,0,0,.4); transition: translate .2s var(--ease), border-color .2s; }
@media (hover: hover) { .handle:hover .grip { border-color: var(--glow); translate: 0 -3px; } }
.handle:active .grip { translate: 0 -5px; }
.drum { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 22px; transform-origin: top;
  background: linear-gradient(#2A2E33, #6B7178 45%, #3A3F45 80%, #1F2226); box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.warm { display: none; }

/* sill */
.sill { grid-area: s; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--pil); min-height: 60px; }
.plaque { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; background: var(--blue); color: var(--white); text-decoration: none; border-radius: 6px; box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 5px var(--white); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.hint { margin: 0; font-size: 13px; color: var(--ink); text-align: right; background: rgba(253,255,254,.88); padding: 4px 8px; border-radius: 4px; }

/* ---------- pinned, scroll-driven (JS, motion allowed) ---------- */
html.js:not(.rm) .stage { height: 240vh; }
html.js:not(.rm) .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; }
html.js:not(.rm) .front { flex: 1; min-height: 0; }
html.js:not(.rm) .aperture { overflow: hidden; min-height: 0; }
html.js:not(.rm) .scene { position: absolute; inset: 0; }
html.js:not(.rm) .shutter { position: absolute; inset: 0; padding: 0; will-change: transform; transform: translate3d(0, -28%, 0); }
html.js:not(.rm) .note { position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); bottom: 68px; }
html.js:not(.rm) .warm { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(14,10,7,.86), rgba(14,10,7,.5) 62%, rgba(14,10,7,0) 82%); }
html.js:not(.rm) .ph img { transform: scale(var(--ps, 1.06)); }
html.js:not(.rm) .sign { animation: flick 1.3s steps(1) both; }
html.js:not(.rm) .note { animation: noteIn .8s .7s var(--ease) both; }
@keyframes flick { 0% { opacity: .15; } 18% { opacity: 1; } 26% { opacity: .35; } 34%, 100% { opacity: 1; } }
@keyframes noteIn { from { opacity: 0; translate: 0 14px; } }

/* layout breakpoints */
@media (max-width: 900px) {
  .slogan { margin: 0; max-width: none; flex-basis: 100%; font-size: 14px; }
  .scene { grid-template-columns: 1fr 1fr; grid-template-areas: "c c" "a b" "k k"; grid-template-rows: auto 1fr auto; column-gap: 14px; }
  .scene-c { grid-area: c; padding-bottom: 14px; }
  .ph-a { grid-area: a; } .ph-b { grid-area: b; }
  .counter { grid-area: k; }
  .ph img { height: clamp(110px, 16vh, 240px); border-width: 4px; }
  .tag { margin: -22px 0 0 8px; padding: 7px 10px; }
  .tag b { font-size: 16px; } .tag span { font-size: 11px; }
  .sc-h { font-size: clamp(40px, 11vw, 72px); margin-bottom: 8px; }
  .sc-p { font-size: 15px; margin-bottom: 12px; }
  .scene-c .kick { margin-bottom: 8px; }
  .cro { width: clamp(200px, 56vw, 300px); margin-top: calc(-1 * clamp(36px, 5vh, 70px)); }
}
@media (max-width: 560px) {
  .fascia { gap: 10px; }
  .f-meta { font-size: 11px; letter-spacing: .08em; }
  .plaque { font-size: 12px; padding: 6px 12px; }
  .hint { font-size: 11px; }
  .cro-cap { position: static; text-align: center; max-width: none; margin-top: 2px; font-size: 11px; }
  .scene-c .btns .btn { min-height: 44px; padding: 10px 16px; font-size: 13px; }
  .stencil { font-size: clamp(34px, 11vw, 52px); }
}
@media (max-width: 420px) { .hint { display: none; } .sill { min-height: 56px; } }
@media (max-height: 760px) and (max-width: 900px) {
  html.js:not(.rm) .sc-p { display: none; }
}
@media (max-height: 640px) {
  html.js:not(.rm) .slogan { display: none; }
}
html:not(.js) .handle, html.rm .handle, html:not(.js) .hint, html.rm .hint { display: none; }
/* open hours: a compact note so the shutter can hang high */
[data-shop="open"] .stencil { font-size: clamp(30px, 4.2vw, 58px); max-width: 22ch; }
[data-shop="open"] .st-hours { display: none; }
@media (min-width: 901px) { html.js:not(.rm)[data-shop="open"] .note { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
/* static (no JS / reduced motion): the rolled-up stub with the status sits above the counter */
html:not(.js) .aperture, html.rm .aperture { display: flex; flex-direction: column; }
html:not(.js) .shutter, html.rm .shutter { order: -1; padding-bottom: 24px; }
html:not(.js) .bar, html.rm .bar { height: 14px; }
html:not(.js) .stencil, html.rm .stencil { font-size: clamp(30px, 4vw, 56px); max-width: 24ch; }
.handle:focus-visible { outline-offset: -4px; box-shadow: none; }
