@import url("fonts/fonts.css");

/* Švejk restaurant: the site is a walk through one of their pubs. Coffered ceiling with lamps and the carved sign,
   yellow plaster wall with Lada's brawl, wood panelling, checkered tablecloth, the bar, a map pinned to the wall,
   an order slip on the table, a ledger, and the floor. Textures in tex/ (Poly Haven, CC0, tinted by tools/build_web.py). */
:root {
  --ink: #2f1d10;
  --ink-2: #5a4130;
  --red: #9b2f25;
  --red-2: #7a2018;
  --cream: #f3e4c4;
  --cream-2: #e3cfa6;
  --gold: #e2b65c;
  --chalk: #f1ece0;
  --sign: "Alfa Slab One", "Bitter", serif;
  --print: "Old Standard TT", Georgia, serif;
  --hand: "Caveat", cursive;
  --text: "Bitter", Georgia, serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .12 0 0 0 0 .05 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease: cubic-bezier(.22, 1, .36, 1);
  --candle: 255, 200, 120;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #1d1009; font: 500 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 14px; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.vh:focus { position: fixed; z-index: 99; left: 12px; top: 12px; width: auto; height: auto; padding: 10px 16px; clip-path: none; background: var(--cream); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hand { font: 700 26px/1.2 var(--hand); }
.small { font-size: 15px; }

/* ---------- materials ---------- */
.paper { background: var(--noise), radial-gradient(120% 90% at 50% 0%, #f8eed6, #ecd7ac 70%, #dfc392); color: var(--ink); }
.wall { background: url("tex/omitka.webp") 0 0 / 760px, #efd9a0; box-shadow: inset 0 26px 34px -22px rgba(60, 30, 10, .55); }
.panelling { position: relative; background: linear-gradient(rgba(30, 14, 4, .18), rgba(30, 14, 4, .32)), url("tex/obklad.webp") 0 0 / 420px, #5b2f1a; color: var(--cream);
  box-shadow: inset 0 22px 26px -16px rgba(0, 0, 0, .75); }
.dark-wood { background: linear-gradient(rgba(25, 12, 5, .45), rgba(25, 12, 5, .55)), url("tex/tmave-drevo.webp") 0 0 / 340px, #2a140a; color: var(--cream);
  box-shadow: inset 0 22px 26px -16px rgba(0, 0, 0, .8); }
.chalkboard { background: var(--noise), radial-gradient(120% 100% at 30% 20%, #3c4a43, #232c27 70%); color: var(--chalk); }

/* rubber stamp and enamel sign: the two kinds of buttons */
.stamp { display: inline-block; padding: 10px 20px 8px; font: 400 19px/1.1 var(--sign); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--red);
  background: none; border: 3px solid currentColor; border-radius: 6px; rotate: -2deg; filter: url(#rough); cursor: pointer; transition: rotate .4s var(--ease), color .3s; }
.stamp:hover { rotate: 1deg; color: var(--red-2); }
.enamel { display: inline-block; padding: 11px 22px; font: 400 18px/1.1 var(--sign); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #fbf6ea; cursor: pointer;
  background: radial-gradient(120% 140% at 30% 20%, #3a6aa8, #23497a); border: 3px solid #fbf6ea; outline: 3px solid #23497a; border-radius: 10px;
  box-shadow: 0 6px 10px -6px rgba(0, 0, 0, .6); transition: transform .4s var(--ease); }
.enamel.red { background: radial-gradient(120% 140% at 30% 20%, #b23a2e, #82231a); outline-color: #82231a; }
.enamel:hover { transform: rotate(-1.5deg) translateY(-2px); }
.ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 26px; }

/* ---------- ceiling: coffered wood, two lamps, the carved sign ---------- */
.ceiling { position: relative; padding: 70px 16px 0; text-align: center; overflow: hidden;
  background: linear-gradient(rgba(18, 8, 3, .55), rgba(18, 8, 3, .25)), url("tex/tmave-drevo.webp") 0 0 / 260px, #2a140a; }
.lamps .lamp { position: absolute; top: 0; left: 14%; width: 84px; height: 110px; z-index: 2; pointer-events: none; }
.lamps .lamp + .lamp { left: auto; right: 14%; }
/* brass chain, green enamel shade, a warm bulb underneath */
.lamp::before { content: ""; position: absolute; left: 50%; top: 0; width: 4px; height: 50px; translate: -50% 0; background: repeating-linear-gradient(#d2ac5c 0 5px, #6b4a1a 5px 7px); }
.lamp::after { content: ""; position: absolute; left: 0; top: 48px; width: 84px; height: 36px; border-radius: 50% 50% 4px 4px / 100% 100% 4px 4px;
  background: radial-gradient(40% 30% at 50% 100%, #fff3c4, #ffd27a 60%, transparent 62%) 50% 100% / 46px 16px no-repeat, linear-gradient(90deg, #1f3a26, #4f7a52 40%, #1f3a26);
  box-shadow: inset 0 -4px 0 #c9a24c, inset 0 2px 0 rgba(255, 255, 255, .2); }
/* the light the lamps throw on the sign */
.ceiling::after { content: ""; position: absolute; inset: 60px 0 0; pointer-events: none;
  background: radial-gradient(28% 70% at 14% 20%, rgba(var(--candle), .32), transparent 70%), radial-gradient(28% 70% at 86% 20%, rgba(var(--candle), .32), transparent 70%); }
.signboard { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px); padding: 12px clamp(18px, 3vw, 40px); text-decoration: none;
  background: linear-gradient(rgba(255, 220, 160, .08), rgba(40, 20, 6, .2)), url("tex/prkna.webp") 0 0 / 520px, #a8743f; border-radius: 12px;
  box-shadow: inset 0 0 0 6px #3a2111, inset 0 0 0 10px #8a5a32, inset 0 0 0 12px #3a2111, inset 0 0 40px rgba(40, 18, 4, .55), 0 20px 26px -12px rgba(0, 0, 0, .85); }
.carve { font: 400 clamp(30px, 6vw, 78px)/1 var(--sign); letter-spacing: .06em; text-transform: uppercase; color: #3d200c;
  text-shadow: 0 1px 0 rgba(255, 228, 180, .5), 0 -1px 1px rgba(0, 0, 0, .55); }
.signboard img { width: clamp(78px, 9.5vw, 128px); margin: -28px 0; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
/* enamel tags hang on two little chains under the sign */
.tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 12px; padding: 34px 0 30px; }
.tag { position: relative; padding: 8px 14px 7px; font: 400 15px/1.1 var(--sign); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: #fbf6ea;
  background: radial-gradient(120% 140% at 30% 20%, #3a6aa8, #23497a); border: 2px solid #fbf6ea; outline: 2px solid #23497a; border-radius: 7px; transition: rotate .4s var(--ease); }
.tag.red { background: radial-gradient(120% 140% at 30% 20%, #b23a2e, #82231a); outline-color: #82231a; }
.tag::before { content: ""; position: absolute; left: 14px; right: 14px; top: -20px; height: 18px; border-inline: 2px dotted #b8955a; }
.tag:nth-child(odd) { rotate: -2deg; } .tag:nth-child(even) { rotate: 1.5deg; }
.tag:hover { rotate: 0deg; }

/* ---------- the wall: painted greeting, Švejk, the brawl ---------- */
.hero { position: relative; padding-top: clamp(34px, 5vw, 60px); overflow: hidden; }
/* wall lamps: brass back plate and arm, frosted tulip shade, warm patch of light on the plaster */
.sconces i { position: absolute; top: 40px; left: 3%; width: 70px; height: 90px; pointer-events: none;
  background: linear-gradient(#a57a2c, #e6c46c, #a57a2c) 8px 30px / 12px 34px no-repeat, linear-gradient(#c49a46, #8a6420) 18px 44px / 30px 5px no-repeat; }
.sconces i + i { left: auto; right: 3%; scale: -1 1; }
.sconces i::before { content: ""; position: absolute; left: 34px; top: 8px; width: 32px; height: 38px; border-radius: 6px 6px 50% 50% / 6px 6px 60% 60%;
  background: radial-gradient(70% 60% at 50% 70%, #fffbe8, #f3e2b4 70%, #d9bf86); box-shadow: inset 0 -3px 0 rgba(150, 110, 40, .35); }
.sconces i::after { content: ""; position: absolute; left: 50px; top: 26px; width: 420px; height: 420px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 238, 180, .7), rgba(255, 220, 140, .22) 50%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: end; }
.painted { margin: 0 0 10px; font: 700 clamp(30px, 3.6vw, 48px)/1.1 var(--hand); color: #6e2a17; rotate: -2deg; }
.hero h1 { font: 400 clamp(34px, 4.8vw, 64px)/1.06 var(--sign); max-width: 17ch; }
.lead { margin-top: 20px; max-width: 46ch; color: var(--ink-2); font-size: 19px; }
.svejk { justify-self: center; width: min(400px, 100%); margin-bottom: -40px; position: relative; z-index: 2; mix-blend-mode: multiply; transform-origin: 50% 100%; }
.js .svejk { animation: settle 1.2s var(--ease) both .2s; }
@keyframes settle { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } }
.frieze { height: clamp(200px, 26vw, 360px); background: url("img/vlys.webp") 50% 57% / auto 260% repeat-x; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 88%, transparent); }
.rail { position: relative; z-index: 3; height: 26px; background: linear-gradient(rgba(255, 220, 170, .25), rgba(0, 0, 0, .35)), url("tex/prkna.webp") 0 0 / 600px, #8a5a32;
  box-shadow: 0 7px 10px rgba(0, 0, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .3); }

/* ---------- panelling: four pictures with brass name plates ---------- */
.doors { padding: clamp(50px, 6vw, 80px) 0; }
.pictures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.picture { display: grid; justify-items: center; gap: 10px; padding: 18px 16px 20px; text-align: center; text-decoration: none; color: var(--ink);
  background: var(--noise), #f1e2bf; border: 11px solid #4b2a14; box-shadow: inset 0 0 0 2px #1f1007, inset 0 0 22px rgba(90, 50, 20, .35), 0 18px 24px -12px rgba(0, 0, 0, .8); transition: rotate .45s var(--ease), translate .45s var(--ease); }
.picture:nth-child(odd) { rotate: -1.5deg; } .picture:nth-child(even) { rotate: 1.2deg; }
.picture:hover { rotate: 0deg; translate: 0 -4px; }
.picture img { width: 120px; mix-blend-mode: multiply; }
.plate, .plates b { display: inline-block; padding: 5px 14px 4px; font: 400 17px/1.1 var(--sign); color: #3a2510; border-radius: 4px;
  background: linear-gradient(170deg, #f1d68a, #c09034 55%, #e2bf66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 2px 3px rgba(0, 0, 0, .45); }
.picture .cap { font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* ---------- the table: checkered cloth, printed menu, photos, slate ---------- */
.cloth { padding: clamp(60px, 8vw, 110px) 0; background: radial-gradient(90% 80% at 50% 45%, transparent 40%, rgba(40, 10, 4, .45)), url("tex/ubrus.webp") 0 0 / 300px, #c33; }
.table-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.menu-card { position: relative; padding: clamp(26px, 4vw, 52px); rotate: -.8deg; box-shadow: 0 30px 50px -20px rgba(30, 6, 2, .9), 0 4px 8px rgba(0, 0, 0, .25); }
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 3px double var(--ink); filter: url(#rough); pointer-events: none; }
.menu-top { margin: 0; text-align: center; font: 700 14px/1 var(--print); letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.menu-card h2 { margin-top: 8px; text-align: center; font: 700 clamp(34px, 4.6vw, 58px)/1 var(--print); letter-spacing: .05em; text-transform: uppercase; }
.menu-sub { margin: 10px 0 0; text-align: center; font: italic 400 18px/1.4 var(--print); color: var(--ink-2); }
.menu-cols { columns: 2 260px; column-gap: 40px; margin-top: 26px; }
.mcat { break-inside: avoid; margin-bottom: 22px; }
.mcat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font: 700 18px/1.2 var(--print); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.mcat h3::before, .mcat h3::after { content: ""; flex: 1; height: 0; border-top: 1.5px solid currentColor; opacity: .6; }
.mcat ul { margin: 0; padding: 0; list-style: none; }
.mcat li { padding: 5px 0; font: 400 19px/1.3 var(--print); border-bottom: 1px dotted rgba(47, 29, 16, .35); }
.mcat li em { display: block; font: italic 400 16px/1.3 var(--print); color: var(--ink-2); }
.menu-foot { margin: 8px 0 0; font: italic 400 15px/1.45 var(--print); color: var(--ink-2); text-align: center; }
.table-side { display: grid; gap: 34px; padding-top: 10px; }
.print { position: relative; margin: 0; padding: 10px 10px 0; background: #f7f0de; box-shadow: 0 18px 26px -12px rgba(30, 6, 2, .85); rotate: 3deg; }
.print img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.print figcaption { padding: 6px 4px 10px; text-align: center; font: 700 22px/1.1 var(--hand); color: var(--ink-2); }
.print::before { content: ""; position: absolute; left: 50%; top: -12px; width: 96px; height: 26px; translate: -50% 0; rotate: -4deg; background: rgba(238, 222, 180, .75); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.print.b { rotate: -2.5deg; }
.slate { padding: 22px 24px 24px; border-radius: 4px; rotate: -1.5deg; box-shadow: 0 0 0 12px #6b4425, 0 0 0 15px #2e1a0e, 0 24px 30px -14px rgba(0, 0, 0, .85); }
.slate h3 { font: 700 38px/1 var(--hand); color: #fff; text-align: center; }
.slate p { margin: 8px 0 4px; font: 600 22px/1.2 var(--hand); color: #f4c977; text-align: center; }
.slate ul { margin: 0; padding: 0; list-style: none; }
.slate li { padding: 6px 0; border-bottom: 2px dashed rgba(241, 236, 224, .22); font: 600 25px/1.1 var(--hand); }

/* ---------- the bar: choose a beer, it pours ---------- */
.bar { padding: clamp(60px, 8vw, 100px) 0; --beer: #e7a82c; }
.bar-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.bar h2, .panel-h { font: 400 clamp(32px, 4.2vw, 54px)/1.06 var(--sign); color: var(--cream); }
.bar p { color: var(--cream-2); max-width: 48ch; }
.bar .hand { margin: 22px 0 0; color: var(--gold); }
.bar .small { margin-top: 18px; color: #d6c29c; }
.tap-stage { position: relative; height: 430px; }
.tap-head { position: absolute; left: 50%; top: 0; width: 150px; height: 70px; translate: -50% 0; border-radius: 14px 14px 30px 30px; background: linear-gradient(90deg, #8a6420, #f0cf78 45%, #8a6420); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .7); }
.handle { position: absolute; left: 50%; top: -86px; width: 22px; height: 92px; translate: -50% 0; border-radius: 10px 10px 4px 4px; background: linear-gradient(90deg, #2e1a0e, #6b4425, #2e1a0e); transform-origin: 50% 100%; transition: rotate .5s var(--ease); }
.tap-stage { margin-top: 90px; }
.pouring .handle { rotate: 28deg; }
.spout { position: absolute; left: 50%; bottom: -34px; width: 22px; height: 40px; translate: -50% 0; border-radius: 0 0 10px 10px; background: linear-gradient(90deg, #8a6420, #f0cf78, #8a6420); }
.stream { position: absolute; left: 50%; top: 104px; width: 10px; height: 0; translate: -50% 0; border-radius: 5px; background: var(--beer); opacity: .9; }
.pouring .stream { animation: stream 2.4s var(--ease) both; }
@keyframes stream { 0% { height: 0; } 12% { height: 230px; } 78% { height: 230px; top: 104px; } 100% { height: 0; top: 334px; } }
.mug { position: absolute; left: 50%; bottom: 0; width: 170px; height: 220px; translate: -50% 0; border: 5px solid rgba(255, 255, 255, .55); border-top-width: 2px; border-radius: 6px 6px 22px 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, .1) 70%, rgba(255, 255, 255, .02)); }
.mug::before { content: ""; position: absolute; inset: 0; z-index: 2; background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, .12) 26px 30px); }
.mug-handle { position: absolute; right: -58px; top: 40px; width: 56px; height: 110px; border: 9px solid rgba(255, 255, 255, .45); border-left: 0; border-radius: 0 40px 40px 0; }
.mug-badge { position: absolute; z-index: 3; left: 50%; top: 52%; width: 62px; translate: -50% -50%; opacity: .92; }
.beer { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: 0 0 17px 17px; background: linear-gradient(var(--beer), color-mix(in srgb, var(--beer) 70%, #000)); }
.beer::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, .5) 1.5px, transparent 2px) 0 0 / 22px 26px, radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .4) 1px, transparent 1.5px) 0 0 / 18px 20px; opacity: .55; animation: bubbles 3s linear infinite; }
@keyframes bubbles { to { background-position: 0 -52px, 0 -40px; } }
.foam { position: absolute; left: -4px; right: -4px; bottom: 0; height: 0; border-radius: 40% 40% 8px 8px; background: radial-gradient(circle at 20% 40%, #fff, #fbf3dd 60%); opacity: 0; }
.poured .beer { height: 78%; transition: height 2s cubic-bezier(.3, .1, .3, 1) .25s; }
.poured .foam { height: 22%; bottom: 76%; opacity: 1; transition: bottom 2s cubic-bezier(.3, .1, .3, 1) .25s, height .8s ease 1.6s, opacity .4s ease .4s; }
.beers { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 520px; }
.beers button { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px; border: 2px solid rgba(243, 228, 196, .25); border-radius: 8px; background: rgba(0, 0, 0, .25);
  color: var(--cream); font: 400 19px/1.2 var(--sign); text-align: left; cursor: pointer; transition: border-color .3s, background .3s; }
.beers button:hover, .beers button[aria-pressed="true"] { border-color: var(--gold); background: rgba(0, 0, 0, .4); }
.beers i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .5); }
.beers small { display: block; font: 500 14px/1.3 var(--text); color: #d8c49c; }

.hang.toast { grid-column: 2; grid-row: 2; width: min(420px, 100%); margin-top: 20px; rotate: 2deg; }

/* ---------- quotes painted on the wall, between two painted lines ---------- */
.quotes { padding: clamp(50px, 6vw, 80px) 0 40px; }
.quote-row { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr) 130px; gap: 20px; align-items: center; padding: 28px 0; }
.quote-row::before, .quote-row::after { content: ""; position: absolute; left: 4%; right: 4%; height: 0; border-top: 4px solid rgba(110, 42, 23, .55); filter: url(#rough); }
.quote-row::before { top: 0; } .quote-row::after { bottom: 0; }
.vin { mix-blend-mode: multiply; transition: opacity .45s; }
.quotes blockquote { margin: 0; text-align: center; }
.quotes blockquote p { margin: 0; font: 700 clamp(26px, 3.1vw, 40px)/1.2 var(--hand); color: #5a2412; transition: opacity .45s; }
.quotes blockquote footer { margin-top: 10px; font: italic 400 16px/1.3 var(--print); color: var(--ink-2); }
.swap-out { opacity: 0; }
.qdots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.qdots button { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.qdots button::before { content: ""; display: block; width: 12px; height: 12px; margin: auto; border-radius: 50%; border: 2px solid #6e2a17; }
.qdots button[aria-pressed="true"]::before { background: #6e2a17; }

/* ---------- map pinned to the wall + coasters ---------- */
.finder { padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); box-shadow: none; }
.wall-h { text-align: center; font: 400 clamp(34px, 4.6vw, 60px)/1.05 var(--sign); }
.wall-lead { max-width: 52ch; margin: 12px auto 30px; text-align: center; color: var(--ink-2); }
.map-paper { position: relative; width: min(940px, 100%); margin: 0 auto; padding: clamp(14px, 2.4vw, 30px); rotate: -.6deg;
  background: var(--noise), radial-gradient(70% 60% at 30% 30%, rgba(160, 110, 40, .12), transparent), radial-gradient(120% 90% at 50% 0%, #f8eed6, #ead3a3 75%, #d9b980); box-shadow: 0 22px 30px -16px rgba(60, 30, 10, .8); }
.tack { position: absolute; left: var(--x); top: var(--y); width: 18px; height: 18px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f07a6a, #9b2f25 60%, #5a150f); box-shadow: 2px 4px 4px rgba(0, 0, 0, .4); }
.map { display: block; width: 100%; height: auto; overflow: visible; }
.map .land { fill: rgba(232, 205, 150, .55); stroke: #6b4425; stroke-width: 3; filter: url(#rough); }
.map .city-l { font: 700 26px var(--hand); fill: #6b4425; }
.map .pin { cursor: pointer; }
.map .pin circle.ring { fill: #f6e7c4; stroke: #6b2a17; stroke-width: 3; }
.map .pin .badge { fill: var(--red); stroke: #fff; stroke-width: 2; }
.map .pin text { font: 400 15px var(--sign); fill: #fff; text-anchor: middle; }
.map .pin:hover circle.ring, .map .pin:focus-visible circle.ring { stroke: var(--red); stroke-width: 5; }
.map .pin:focus { outline: none; }
.find-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: center; gap: 16px 22px; margin: 40px 0 6px; }
.find { display: grid; gap: 4px; font: 400 16px/1.2 var(--print); color: var(--ink-2); }
.find input { width: min(320px, 80vw); padding: 10px 4px; border: 0; border-bottom: 3px solid var(--ink); background: transparent; font: 700 26px/1.1 var(--hand); color: var(--ink); }
.find input:focus { outline: none; border-color: var(--red); }
.regions { display: flex; flex-wrap: wrap; gap: 8px; }
.regions button { padding: 8px 14px; border: 2px solid #6b4425; border-radius: 99px; background: rgba(255, 245, 220, .5); font: 600 15px/1 var(--text); color: var(--ink); cursor: pointer; }
.regions button[aria-pressed="true"] { background: #6b4425; color: var(--cream); }
.near { font-size: 15px; padding: 9px 16px; }
.count { min-height: 1.6em; text-align: center; font: italic 400 16px/1.4 var(--print); color: var(--ink-2); }
.coasters { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 26px 18px; justify-items: center; margin: 18px 0 0; padding: 0; list-style: none; }
.coaster { width: 186px; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 3px; padding: 22px; border-radius: 50%; text-align: center;
  background: var(--noise), radial-gradient(circle at 40% 35%, #fbf3df, #ead6aa); box-shadow: inset 0 0 0 7px #f8eedb, inset 0 0 0 10px var(--red), 0 10px 14px -8px rgba(60, 30, 10, .85); transition: transform .45s var(--ease); }
.coaster:nth-child(3n+1) { rotate: -6deg; } .coaster:nth-child(3n+2) { rotate: 4deg; } .coaster:nth-child(3n) { rotate: -1.5deg; }
.coaster:nth-child(even) { box-shadow: inset 0 0 0 7px #f8eedb, inset 0 0 0 10px #23497a, 0 10px 14px -8px rgba(60, 30, 10, .85); }
.coaster:hover, .coaster.hi { transform: translateY(-6px) rotate(5deg); }
.coaster.hi { box-shadow: inset 0 0 0 5px #f8eedb, inset 0 0 0 14px var(--red), 0 10px 14px -8px rgba(60, 30, 10, .85); }
.coaster b { font: 400 18px/1.05 var(--sign); }
.coaster .ad { font: 500 13px/1.25 var(--text); color: var(--ink-2); }
.coaster .km { font: 700 20px/1 var(--hand); color: var(--red); }
.coaster .go { display: flex; gap: 10px; margin-top: 3px; font: 600 13px/1.2 var(--text); }
.coaster .go a { color: var(--red-2); }
.coasters .empty { grid-column: 1 / -1; max-width: 40ch; text-align: center; font: 700 26px/1.25 var(--hand); color: var(--ink-2); }

/* ---------- history: pictures on the panelling, brass plates ---------- */
.history { padding: clamp(60px, 8vw, 100px) 0; }
.panel-h { text-align: center; max-width: 22ch; margin: 0 auto; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(24px, 4vw, 60px); margin: 30px auto 0; max-width: 1000px; }
.hang { position: relative; margin: 50px 0 0; padding: 10px; background: #f3e4c4; border: 11px solid #3a2111; box-shadow: inset 0 0 0 2px #120804, 0 18px 24px -12px rgba(0, 0, 0, .85); rotate: -1.8deg; }
.hang::before { content: ""; position: absolute; left: 50%; top: -50px; width: 110px; height: 46px; translate: -50% 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), #c9b28a 50%, transparent calc(50% + 1px)) left / 50% 100% no-repeat,
              linear-gradient(to top left, transparent calc(50% - 1px), #c9b28a 50%, transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.hang::after { content: ""; position: absolute; left: 50%; top: -56px; width: 10px; height: 10px; translate: -50% 0; border-radius: 50%; background: #b08a44; }
.hang img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hang.old { padding: 22px; background: var(--noise), #efe0bf; }
.hang.old img { box-shadow: 0 0 0 1px rgba(43, 28, 16, .4); }
.hang figcaption { padding-top: 8px; text-align: center; font: 700 22px/1.1 var(--hand); color: var(--ink-2); }
.hang:nth-child(2) { rotate: 2deg; margin-top: 80px; } .hang.b { rotate: 1.2deg; } .hang.c { rotate: -2.4deg; margin-top: 80px; }
.plates { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 30px; margin: 60px 0 0; padding: 0; list-style: none; }
.plates li { display: grid; justify-items: center; gap: 8px; max-width: 200px; text-align: center; }
.plates b { font-size: 24px; }
.plates span { font-size: 15px; line-height: 1.4; color: var(--cream-2); }

/* ---------- catering: an order slip on the bare table ---------- */
.wood-table { padding: clamp(60px, 8vw, 100px) 0; color: var(--cream); background: radial-gradient(90% 80% at 50% 40%, transparent 30%, rgba(20, 8, 2, .55)), url("tex/stul.webp") 0 0 / 640px, #5a3218; }
.cat-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.table-h { font: 400 clamp(34px, 4.4vw, 58px)/1.05 var(--sign); text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.hand.big { margin: 10px 0 14px; font-size: clamp(28px, 3vw, 38px); color: var(--gold); }
.on-wood { max-width: 44ch; color: #f6ead0; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.print.c { width: min(250px, 70%); margin-top: 30px; rotate: -4deg; }
.print.c img { aspect-ratio: 3 / 4; }
.slip { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: clamp(24px, 3.4vw, 40px); rotate: 1.2deg;
  background: var(--noise), repeating-linear-gradient(transparent 0 33px, rgba(70, 90, 140, .18) 33px 34px), #f6ecd2; box-shadow: 0 30px 50px -20px #000; }
.slip-no { grid-column: 1 / -1; margin: 0; text-align: right; font: 400 15px/1 var(--print); color: var(--red); }
.slip-no span { font: 700 22px/1 var(--hand); }
.slip h3, .page h3 { grid-column: 1 / -1; font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--print); letter-spacing: .04em; text-transform: uppercase; }
.slip label, .page label { display: grid; gap: 4px; font: 400 17px/1.2 var(--print); color: var(--ink-2); }
.slip .full { grid-column: 1 / -1; }
.slip input, .slip textarea, .page input, .page textarea { width: 100%; padding: 7px 4px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent;
  font: 700 23px/1.2 var(--hand); color: var(--ink); resize: vertical; }
.slip input:focus, .slip textarea:focus, .page input:focus, .page textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, .35); }
.slip .stamp, .page .stamp { justify-self: start; margin-top: 8px; }
.slip .stamp { grid-column: 1 / -1; }
.done { grid-column: 1 / -1; margin: 0; font: italic 400 16px/1.4 var(--print); color: #2f5a22; }

/* ---------- franchising: an open ledger ---------- */
.ledger-wrap { padding: clamp(60px, 8vw, 100px) 0; }
.panel-lead { max-width: 40ch; margin: 14px auto 0; text-align: center; color: var(--gold); }
.ledger { display: grid; grid-template-columns: 1fr 1fr; width: min(1040px, 100%); margin: 40px auto 0; rotate: -.5deg; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .7)); }
.page { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(26px, 3.6vw, 46px); color: var(--ink);
  background: var(--noise), linear-gradient(90deg, transparent 52px, rgba(160, 40, 30, .45) 52px 54px, transparent 54px), repeating-linear-gradient(transparent 0 31px, rgba(70, 90, 140, .2) 31px 32px), #f4e8cb; }
.page.left { border-radius: 8px 0 0 8px; padding-left: 70px; box-shadow: inset -26px 0 30px -18px rgba(70, 40, 10, .55); }
.page.right { border-radius: 0 8px 8px 0; box-shadow: inset 26px 0 30px -18px rgba(70, 40, 10, .55); background-position: 0 0, -9999px 0, 0 0, 0 0; }
.ticks { margin: 0 0 10px; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 4px 0 4px 30px; font: 400 18px/1.45 var(--print); }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 2px; font: 700 24px/1 var(--hand); color: var(--red); }
.cities { font: 700 23px/1.35 var(--hand); color: var(--ink-2); }

/* ---------- the floor ---------- */
.floor { padding: clamp(50px, 6vw, 80px) 0 30px; color: #e8d7b3; background: linear-gradient(rgba(16, 8, 3, .6), rgba(16, 8, 3, .8)), url("tex/podlaha.webp") 0 0 / 700px, #1d1009; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 30px 50px; }
.foot-med { width: 80px; margin-bottom: 10px; }
.foot-name { font: 400 26px/1 var(--sign); color: var(--cream); }
.foot-h { margin: 0 0 4px; font: 700 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot-h ~ .foot-h { margin-top: 18px; }
.floor a { color: var(--cream); }
.credits { font-size: 14px; color: #cdb995; }
.made { margin: 36px 0 0; text-align: center; font-size: 13px; color: #a8936f; }

/* ---------- one restaurant (hostinec.html): its own name plate under the chain sign ---------- */
.plaque { position: relative; z-index: 1; display: table; margin: 26px auto 0; padding: 8px 26px 7px; font: 400 clamp(18px, 2.4vw, 28px)/1.1 var(--sign); color: #f3d38c;
  background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .45)), url("tex/prkna.webp") 0 0 / 400px; border-radius: 6px; box-shadow: inset 0 0 0 3px #2a1608, 0 10px 14px -8px #000; }
.plaque::before { content: ""; position: absolute; left: 22px; right: 22px; top: -28px; height: 26px; border-inline: 2px dotted #b8955a; }
.plaque + .tags { padding-top: 26px; }
/* Prague-style street sign: red enamel, white rim */
.street-sign { display: inline-block; margin: 14px 0 0; padding: 10px 20px; border-radius: 8px; background: radial-gradient(120% 140% at 30% 20%, #c0392b, #8e2219); color: #fff;
  font: 400 clamp(18px, 2.2vw, 26px)/1.1 var(--sign); box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px #8e2219; }
.chalk-status { display: table; margin: 18px 0 0; padding: 8px 16px 6px; background: #2f3a34; color: var(--chalk); font: 700 22px/1.1 var(--hand); border-radius: 4px; box-shadow: 0 0 0 5px #6b4425; rotate: -1.5deg; }
.one-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.panel-h.left { text-align: left; margin: 0 0 30px; }
.note-wood { margin-top: 34px; max-width: 42ch; color: var(--cream-2); }
.gallery.mini { grid-template-columns: 1fr; margin-top: 0; }
.slate li small { display: block; color: #f4c977; font: 500 19px/1.1 var(--hand); }
.rez { max-width: 720px; margin: 0 auto; }
.near3 { max-width: 700px; margin-inline: auto; }

/* settle-in */
.js .rise { opacity: 0; translate: 0 20px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); }
.js .rise.in { opacity: 1; translate: 0 0; }

@media (max-width: 900px) {
  .hero-grid, .table-grid, .bar-grid, .cat-grid, .one-grid { grid-template-columns: 1fr; }
  .svejk { width: min(300px, 76%); margin-bottom: -30px; }
  .pictures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-side { grid-template-columns: 1fr 1fr; align-items: start; }
  .table-side .slate { grid-column: 1 / -1; order: -1; }
  .tap-stage { height: 380px; margin-top: 90px; }
  .ledger { grid-template-columns: 1fr; }
  .hang.toast { grid-column: auto; grid-row: auto; justify-self: center; }
  .page.left { border-radius: 8px 8px 0 0; box-shadow: inset 0 -26px 30px -18px rgba(70, 40, 10, .55); }
  .page.right { border-radius: 0 0 8px 8px; box-shadow: inset 0 26px 30px -18px rgba(70, 40, 10, .55); }
  .foot-grid { grid-template-columns: 1fr 1fr; } .credits { grid-column: 1 / -1; }
  .sconces { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .ceiling { padding-top: 64px; }
  .lamps .lamp { left: 4%; } .lamps .lamp + .lamp { right: 4%; }
  .signboard { flex-wrap: wrap; gap: 0 12px; padding: 48px 18px 14px; margin-top: 24px; }
  .signboard img { position: absolute; left: 50%; top: -38px; translate: -50% 0; width: 76px; margin: 0; }
  .carve { font-size: 27px; }
  .tags { gap: 22px 8px; }
  .tag { font-size: 13px; padding: 7px 10px 6px; }
  .pictures { gap: 18px; }
  .picture { padding: 12px 10px 14px; border-width: 8px; }
  .picture img { width: 90px; }
  .plate { font-size: 14px; padding: 4px 8px; }
  .picture .cap { font-size: 14px; }
  .table-side { grid-template-columns: 1fr; }
  .quote-row { grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 8px; }
  .gallery { grid-template-columns: 1fr; }
  .hang:nth-child(n) { margin-top: 54px; }
  .slip { grid-template-columns: 1fr; }
  .page.left { padding-left: 62px; }
  .coasters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .coaster { width: 100%; max-width: 168px; padding: 16px; }
  .coaster b { font-size: 15px; } .coaster .ad { font-size: 12px; } .coaster .go { flex-direction: column; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .rise { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}
