/* Ogle Grill, Signature tier: "the butcher's counter".
   Kraft butcher paper, black poster wood-type, red rubber-stamp ink, price tickets,
   chalk-black board sections for the dish photos. No backdrop-filter, no infinite CSS
   animations on large layers: loops live in fx.js (rAF) and pause offscreen / hidden tab. */

:root {
  --paper: #e8dbc0; --paper-2: #dccdae; --paper-3: #f3ead8; --paper-4: #cdbd9c;
  --ink: #141210; --ink-2: #2a2622; --ink-mute: #5b5249;
  --board: #141210; --board-2: #1d1a17; --board-3: #262220;
  --cream: #f4ede3; --cream-mute: #b8ada0;
  --flame: #e2401f; --red: #cf3417; --red-ink: #a3260f; --red-lite: #ff5a35;
  --rule: rgba(20, 18, 16, .22); --rule-dk: rgba(244, 237, 227, .16);
  --gut: clamp(18px, 4vw, 56px); --wrap: 1400px; --hd: 76px;
  --disp: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); --snap: cubic-bezier(.2, 1.4, .4, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--grain), var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-color: var(--red); }
a:hover { text-decoration-color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4, .t1, .t2, .t3, .t4 { margin: 0; font-family: var(--disp); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
h2, h3 { text-wrap: balance; }
h1, .t1 { font-size: clamp(56px, 10.5vw, 168px); font-weight: 900; line-height: .86; }
h2, .t2 { font-size: clamp(42px, 6.4vw, 104px); font-weight: 800; line-height: .88; }
h3, .t3 { font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: .95; }
h4, .t4 { font-size: clamp(22px, 2vw, 28px); line-height: 1; }
.t1 .red, .t2 .red, .red { color: var(--red); }
.board .red, .ft .red { color: var(--flame); }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; max-width: 58ch; }
.mute { color: var(--ink-mute); }
.board .mute { color: var(--cream-mute); }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.board :focus-visible { outline-color: var(--flame); }
::selection { background: var(--ink); color: var(--paper); }
html[lang="lv"] .l-en { display: none !important; }
html[lang="en"] .l-lv { display: none !important; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 16px; background: var(--ink); color: var(--paper); font-family: var(--disp); font-size: 20px; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- lot numbers, marks, stamps ---------- */
.lot { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-mute); text-transform: uppercase; }
.board .lot { color: var(--cream-mute); }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; }
.mark::before { content: ""; width: 14px; height: 14px; background: var(--red); transform: rotate(45deg); flex: none; }
.stamp {
  display: inline-block; padding: .28em .5em .22em; border: 3px solid var(--red-ink); color: var(--red-ink);
  font-family: var(--disp); font-weight: 800; font-size: 20px; line-height: 1; text-transform: uppercase; letter-spacing: .06em;
  transform: rotate(-4deg); border-radius: 3px; position: relative;
  -webkit-mask-image: var(--stamp-mask, none); mask-image: var(--stamp-mask, none);
}
.stamp.big { font-size: clamp(26px, 3vw, 40px); border-width: 4px; padding: .3em .55em .24em; }
.stamp.round { border-radius: 50%; width: 9em; height: 9em; display: inline-grid; place-items: center; text-align: center; padding: 0; font-size: 15px; line-height: 1.05; }
.board .stamp { color: var(--flame); border-color: var(--flame); }
.stamp-ink { --stamp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 24px; background: var(--ink); color: var(--paper);
  font-family: var(--disp); font-weight: 800; font-size: 21px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--red);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--red); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--red); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.btn-red:hover { box-shadow: 3px 3px 0 var(--ink); }
.btn-red:active { box-shadow: 0 0 0 var(--ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: 5px 5px 0 var(--paper-4); }
.btn-line:hover { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--red); }
.board .btn-line { color: var(--cream); border-color: var(--cream); box-shadow: 5px 5px 0 var(--board-3); }
.board .btn-line:hover { background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--flame); }
.board .btn-red { box-shadow: 5px 5px 0 var(--cream); }
.board .btn-red:hover { box-shadow: 3px 3px 0 var(--cream); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 18px; box-shadow: 4px 4px 0 var(--red); }
.btn-hd { min-height: 44px; padding: 0 16px; font-size: 18px; box-shadow: 4px 4px 0 var(--red); }
.btn-hd:hover { box-shadow: 2px 2px 0 var(--red); }
.ctas { display: flex; flex-wrap: wrap; gap: 16px 18px; align-items: center; }
.arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.arrow svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.arrow { position: relative; }
.arrow:hover::after { transform: scaleX(1); }
.arrow:hover svg { transform: translateX(6px); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 60; background: var(--grain), var(--paper); border-bottom: 3px solid var(--ink); }
.hd-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; height: var(--hd); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 46px; transition: transform .3s var(--ease); }
.brand:hover img { transform: translateY(-2px); }
.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav a, .ft-nav a {
  position: relative; padding: 8px 12px; font-family: var(--disp); font-weight: 800; font-size: 21px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat; background-size: 0 4px; background-position: 12px calc(100% - 4px);
  transition: background-size .28s var(--ease);
}
.nav a:hover, .nav a:focus-visible { background-size: calc(100% - 24px) 4px; }
.nav a[aria-current="page"] { background-image: linear-gradient(var(--ink), var(--ink)); background-size: calc(100% - 24px) 4px; }
.hd-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; border: 3px solid var(--ink); }
.lang-b { padding: 6px 10px 4px; font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: .06em; line-height: 1; color: var(--ink); transition: background .15s, color .15s; }
.lang-b:hover { background: var(--paper-2); }
.lang-b[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.burger { display: none; width: 46px; height: 46px; border: 3px solid var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 22px; height: 3px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.board-nav { position: fixed; inset: var(--hd) 0 0 0; z-index: 55; background: var(--grain-dk), var(--board); color: var(--cream); overflow: auto; }
.board-nav[hidden] { display: none; }
.board-nav-in { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; padding: 28px 0 40px; display: flex; flex-direction: column; min-height: 100%; }
.board-nav nav { display: flex; flex-direction: column; border-top: 1px solid var(--rule-dk); }
.board-nav nav a { padding: 14px 0; font-family: var(--disp); font-weight: 900; font-size: clamp(44px, 10vw, 72px); line-height: 1; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--rule-dk); display: flex; justify-content: space-between; align-items: center; }
.board-nav nav a::after { content: "→"; font-size: .5em; color: var(--flame); opacity: 0; transform: translateX(-10px); transition: .25s var(--ease); }
.board-nav nav a:hover::after { opacity: 1; transform: none; }
.js .board-nav nav a { opacity: 0; transform: translateY(14px); }
.js .board-nav.open nav a { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.js .board-nav.open nav a:nth-child(2) { transition-delay: .04s } .js .board-nav.open nav a:nth-child(3) { transition-delay: .08s } .js .board-nav.open nav a:nth-child(4) { transition-delay: .12s } .js .board-nav.open nav a:nth-child(5) { transition-delay: .16s } .js .board-nav.open nav a:nth-child(6) { transition-delay: .2s }
.board-nav-foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.board-nav-foot .mono { color: var(--cream-mute); }
.board-nav-foot a.mono { color: var(--cream); font-size: 18px; }
body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hd-in { gap: 16px; }
}
@media (max-width: 560px) {
  :root { --hd: 66px; }
  .brand img { height: 40px; }
  .btn-hd { display: none; }
  .lang-b { font-size: 16px; padding: 6px 8px 4px; }
}

/* ---------- sections ---------- */
main { display: block; }
.sec { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.sec-tight { padding: clamp(40px, 6vw, 80px) 0; }
.board { background: var(--grain-dk), var(--board); color: var(--cream); }
.board a:hover { text-decoration-color: var(--cream); }
.paper2 { background: var(--grain), var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head .lede { margin-top: 16px; }
.sec-head .lot { margin-bottom: 10px; display: block; }
.sec-head-aside { max-width: 34ch; justify-self: end; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } .sec-head-aside { justify-self: start; } }
.rule { height: 3px; background: var(--ink); border: 0; margin: 0; }
.rule-thin { height: 1px; background: var(--rule); border: 0; margin: 0; }
.board .rule { background: var(--cream); }
.board .rule-thin { background: var(--rule-dk); }
.dbl { border-top: 3px solid var(--ink); position: relative; }
.dbl::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--ink); }
.board .dbl { border-color: var(--cream); } .board .dbl::after { background: var(--cream); }

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .rv.d1.in { transition-delay: .08s } .js .rv.d2.in { transition-delay: .16s } .js .rv.d3.in { transition-delay: .24s } .js .rv.d4.in { transition-delay: .32s } .js .rv.d5.in { transition-delay: .4s }
.js .rv-x { opacity: 0; transform: translateX(-24px); }
.js .rv-x.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv-x { opacity: 1; transform: none; transition: none; }
  .js .board-nav nav a { opacity: 1; transform: none; }
}

/* ---------- photos ---------- */
.ph { position: relative; overflow: hidden; background: var(--board-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.04); transition: transform .9s var(--ease); }
.ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--ink); pointer-events: none; }
.board .ph::after { box-shadow: inset 0 0 0 3px var(--cream); }
a.ph:hover img, .ph-zoom:hover img { transform: scale(1.04); }
.ph-tag { position: absolute; left: 14px; bottom: 14px; background: var(--paper-3); color: var(--ink); padding: 8px 12px 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; border: 2px solid var(--ink); display: inline-flex; gap: 12px; align-items: baseline; max-width: calc(100% - 28px); }
.ph-tag b { font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.ph-tag .p { margin-left: auto; white-space: nowrap; }

/* ---------- ticket ---------- */
.ticket {
  position: relative; background: var(--paper-3); color: var(--ink); padding: 22px 22px 20px;
  border: 2px solid var(--ink);
  --perf: radial-gradient(circle at 50% 0, transparent 5px, var(--ink) 5.5px, var(--ink) 7px, transparent 7.5px);
}
.ticket::before, .ticket::after { content: ""; position: absolute; left: -2px; right: -2px; height: 8px; background-image: radial-gradient(circle, var(--paper) 4px, transparent 4.5px); background-size: 16px 16px; background-position: 4px 0; }
.ticket::before { top: -4px; }
.ticket::after { bottom: -4px; background-position: 4px 100%; }
.board .ticket::before, .board .ticket::after { background-image: radial-gradient(circle, var(--board) 4px, transparent 4.5px); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); border-bottom: 1px dashed var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.ticket h3, .ticket h4, .ticket .tname { font-size: clamp(30px, 3vw, 44px); }
.ticket .price { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.ticket .price small { font-size: 14px; font-weight: 400; margin-left: 4px; }
.ticket p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.ticket .ticket-foot { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed var(--ink); padding-top: 14px; }

/* ---------- price leader rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 0 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); position: relative; }
.board .row { border-color: var(--rule-dk); }
.row-name { font-family: var(--disp); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.row-lead { border-bottom: 2px dotted var(--rule); transform: translateY(-6px); min-width: 24px; }
.board .row-lead { border-color: var(--rule-dk); }
.row-price { font-family: var(--mono); font-size: 20px; font-weight: 500; white-space: nowrap; }
.row-desc { grid-column: 1 / -1; font-size: 15px; line-height: 1.45; color: var(--ink-mute); margin-top: 4px; max-width: 60ch; }
.board .row-desc { color: var(--cream-mute); }
.row .pop { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); border: 1.5px solid currentColor; padding: 2px 6px 1px; vertical-align: 4px; margin-left: 6px; }
.board .row .pop { color: var(--red-lite); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(40px, 6vw, 88px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-tag { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: clamp(20px, 3vw, 36px); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.hero-tag span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); margin-right: 10px; transform: rotate(45deg) translateY(-1px); }
.hero h1 { font-size: clamp(64px, 11.5vw, 190px); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: block; }
.js .hero h1 .ln > span { transform: translateY(110%); }
.js .hero.on h1 .ln > span { transform: none; transition: transform .9s var(--ease); }
.js .hero.on h1 .ln:nth-child(2) > span { transition-delay: .1s; }
.js .hero.on h1 .ln:nth-child(3) > span { transition-delay: .2s; }
.hero .lede { margin-top: clamp(20px, 2.6vw, 34px); max-width: 52ch; }
.hero .ctas { margin-top: clamp(24px, 3vw, 40px); }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 640px; }
.hero-ph { aspect-ratio: 4 / 3.4; transform: rotate(-1.6deg); box-shadow: 14px 14px 0 var(--ink); }
.hero-ph img { transform: scale(1.06); }
.hero-ph::after { box-shadow: inset 0 0 0 4px var(--ink); }
.js .hero-art .hero-ph { opacity: 0; transform: rotate(-1.6deg) translateY(30px); }
.js .hero.on .hero-art .hero-ph { opacity: 1; transform: rotate(-1.6deg); transition: opacity .8s var(--ease) .15s, transform 1s var(--ease) .15s; }
.hero-ticket { position: absolute; left: -22px; bottom: 30px; max-width: 260px; transform: rotate(2.5deg); padding: 16px 18px 14px; z-index: 3; }
.hero-ticket .price { font-size: 22px; }
.hero-ticket .tname { font-size: 24px; }
.hero-stamp { position: absolute; right: 18px; top: -34px; z-index: 4; font-size: clamp(16px, 1.8vw, 22px); width: 8.4em; height: 8.4em; transform: rotate(9deg); border-width: 5px; background: rgba(232, 219, 192, .55); }
.hero-stamp span { display: block; }
.hero-stamp .n { font-size: 2.3em; line-height: .9; }
.js .hero-stamp { opacity: 0; transform: rotate(-24deg) scale(2.6); }
.js .hero-stamp.stamped { opacity: 1; transform: rotate(9deg) scale(1); transition: transform .42s var(--snap), opacity .2s ease-out; }
.hero.shake { animation: shake .26s var(--ease) 1; }
@keyframes shake { 0% { transform: none } 30% { transform: translate(0, 3px) } 60% { transform: translate(0, -2px) } 100% { transform: none } }
.hero-bull { position: absolute; right: -6vw; bottom: -9vw; width: clamp(280px, 40vw, 620px); opacity: .07; pointer-events: none; z-index: 0; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { justify-self: stretch; max-width: none; margin-top: 12px; }
  .hero-ph { aspect-ratio: 16 / 10; }
  .hero-ticket { left: -6px; bottom: -18px; }
  .hero-stamp { right: 4px; top: -18px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(60px, 17vw, 96px); }
  .hero-ph { transform: none; box-shadow: 8px 8px 0 var(--ink); }
  .js .hero-art .hero-ph { transform: translateY(30px); } .js .hero.on .hero-art .hero-ph { transform: none; }
  .hero-ticket { display: none; }
  .hero-stamp { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .ln > span, .js .hero-art .hero-ph, .js .hero-stamp { opacity: 1; transform: rotate(0); transition: none; }
  .js .hero-stamp { transform: rotate(9deg); }
  .js .hero-art .hero-ph { transform: rotate(-1.6deg); }
  .hero.shake { animation: none; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--grain-dk), var(--board); color: var(--cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; gap: 0; width: max-content; will-change: transform; }
.ticker-track > span { display: inline-flex; align-items: baseline; gap: 14px; padding: 0 28px; white-space: nowrap; font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.ticker-track > span .p { font-family: var(--mono); font-size: 15px; color: var(--cream-mute); font-weight: 400; letter-spacing: 0; }
.ticker-track > span::after { content: ""; width: 8px; height: 8px; background: var(--flame); transform: rotate(45deg); margin-left: 28px; align-self: center; }

/* ---------- cut chart set-piece ---------- */
.chart-sec { overflow: hidden; }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .reg { fill: var(--paper-2); stroke: none; transition: fill .25s; }
.chart .reg.alt { fill: var(--paper-4); }
.chart .cutable .reg { fill: var(--paper-3); cursor: pointer; }
.chart .cutable .hatch { fill: url(style.css%3Fv=6484fd60.css); opacity: .35; transition: opacity .25s; pointer-events: none; }
.chart .cutable:hover .hatch, .chart .cutable.on .hatch { opacity: 1; }
.chart .cutable.on .reg { fill: #f7cdb9; }
.chart .cutable:hover .reg { fill: #f3d9c9; }
.chart .lbl { font-family: var(--disp); font-weight: 800; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); pointer-events: none; }
.chart .lbl.dim { fill: var(--ink-mute); font-size: 22px; font-weight: 700; }
.chart .cutable.on .lbl { fill: var(--red-ink); }
.chart .lines { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.chart .outline { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; pointer-events: none; }
.chart .fin { fill: var(--ink); pointer-events: none; }
.chart .cutable { outline: none; }
.chart .cutable:focus-visible .reg { fill: #f3d9c9; }
.chart .cutable:focus-visible .outline-focus { stroke: var(--red); stroke-width: 4; fill: none; stroke-dasharray: 8 6; }
.chart .outline-focus { fill: none; stroke: none; pointer-events: none; }
.chart-note { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.chart-note i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 8px; border: 2px solid var(--ink); background: repeating-linear-gradient(45deg, var(--red) 0 2px, transparent 2px 6px); }
.chart-note i.g { background: var(--paper-2); }
.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.legend button { border: 3px solid var(--ink); padding: 12px 12px 10px; text-align: left; background: var(--paper-3); font-family: var(--disp); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; line-height: 1; display: flex; flex-direction: column; gap: 6px; transition: transform .2s var(--ease), background .2s, color .2s; }
.legend button small { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: none; color: var(--ink-mute); font-weight: 400; white-space: nowrap; }
.legend button small + small { margin-top: -4px; }
.legend button:hover { transform: translateY(-3px); background: var(--paper); }
.legend button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.legend button[aria-pressed="true"] small { color: var(--cream-mute); }
.cut-ticket { position: sticky; top: calc(var(--hd) + 20px); }
.cut-ticket .ph { aspect-ratio: 4 / 3; margin: 0 -4px 16px; }
.cut-ticket .ph img { transform: scale(1.02); }
.cut-ticket .stamp { font-size: 15px; transform: rotate(-3deg); }
.cut-ticket .badge-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.cut-ticket dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.cut-ticket dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); padding-top: 3px; }
.cut-ticket dd { margin: 0; }
.cut-ticket.swap .ph img, .cut-ticket.swap h3, .cut-ticket.swap .price { animation: swap .35s var(--ease) 1; }
@keyframes swap { from { opacity: .2; transform: translateY(6px) } to { opacity: 1; transform: none } }
@media (max-width: 960px) {
  .chart-grid { grid-template-columns: 1fr; }
  .cut-ticket { position: static; }
  .legend { grid-template-columns: repeat(2, 1fr); }
  .chart .lbl { font-size: 32px; } .chart .lbl.dim { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .cut-ticket.swap * { animation: none; } }

/* ---------- board section (menu board on home) ---------- */
.boardgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.board-ph { aspect-ratio: 4 / 3.2; }
.board-ph.tall { aspect-ratio: 4 / 4.4; }
.board-ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.board-ph-row .ph { aspect-ratio: 1; }
.board-list h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 3px solid var(--cream); margin-bottom: 4px; }
.board-list h3 .lot { font-size: 12px; }
.board-list + .board-list { margin-top: clamp(28px, 4vw, 48px); }
.pizza-cols { columns: 2; column-gap: 40px; }
.pizza-cols .row { break-inside: avoid; padding: 10px 0; }
.pizza-cols .row-name { font-size: 22px; }
.pizza-cols .row-price { font-size: 17px; }
@media (max-width: 960px) { .boardgrid { grid-template-columns: 1fr; } .pizza-cols { columns: 1; } }
.board-cta { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule-dk); padding-top: 24px; }

/* ---------- how it works (ticket strip) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 24px 24px; border: 3px solid var(--ink); background: var(--paper-3); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.step .n { font-family: var(--disp); font-weight: 900; font-size: 64px; line-height: .8; color: var(--red); }
.step h3 { margin-top: 12px; font-size: clamp(26px, 2.4vw, 34px); }
.step p { margin-top: 10px; font-size: 16px; color: var(--ink-mute); max-width: 36ch; }
.step .arrow { margin-top: 16px; font-size: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- photo strip (home) ---------- */
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gut) 20px; margin: 0 calc(-1 * var(--gut)); scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.strip::-webkit-scrollbar { height: 8px; } .strip::-webkit-scrollbar-thumb { background: var(--ink); }
.strip .ph { flex: 0 0 clamp(240px, 28vw, 380px); aspect-ratio: 4 / 3; scroll-snap-align: start; text-decoration: none; }
.strip .ph:nth-child(odd) { transform: rotate(.6deg); } .strip .ph:nth-child(even) { transform: rotate(-.6deg); margin-top: 10px; }

/* ---------- reading (home) ---------- */
.reads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 4vw, 64px); border-top: 3px solid var(--ink); }
.read { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); text-decoration: none; display: grid; gap: 10px; align-content: start; transition: padding-left .3s var(--ease); }
.read:hover { padding-left: 10px; }
.read .lot { display: flex; gap: 14px; }
.read h3 { font-size: clamp(28px, 2.7vw, 40px); }
.read:hover h3 { color: var(--red-ink); }
.read p { font-size: 16px; color: var(--ink-mute); max-width: 44ch; }
@media (max-width: 760px) { .reads { grid-template-columns: 1fr; } }

/* ---------- open sign + hours ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sign-wrap { display: grid; place-items: center; padding: 20px 0; }
.sign { width: min(360px, 100%); perspective: 900px; }
.sign svg { width: 100%; height: auto; overflow: visible; }
.sign .plate { transform-origin: 50% 0; transform-box: fill-box; }
.js .sign .plate { transform: rotateX(-90deg); }
.js .sign.on .plate { transform: none; transition: transform .9s var(--snap); }
.sign .sign-txt { font-family: var(--disp); font-weight: 900; font-size: 92px; letter-spacing: .04em; text-anchor: middle; fill: var(--paper-3); }
.sign .sign-sub { font-family: var(--mono); font-size: 15px; text-anchor: middle; fill: var(--cream-mute); }
.sign.open .plate-bg { fill: #1f5c3a; } .sign.closed .plate-bg { fill: #7a1d10; } .plate-bg { fill: var(--board-3); transition: fill .4s; }
@media (prefers-reduced-motion: reduce) { .js .sign .plate { transform: none; transition: none; } }
.hours { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.board .hours { border-color: var(--cream); }
.hours li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 16px; }
.board .hours li { border-color: var(--rule-dk); }
.hours li.today { font-weight: 500; background: linear-gradient(90deg, rgba(207, 52, 23, .12), transparent 70%); padding-left: 10px; margin-left: -10px; }
.hours li.today span:first-child::after { content: " ← today"; font-size: 12px; color: var(--red-ink); letter-spacing: .04em; }
html[lang="lv"] .hours li.today span:first-child::after { content: " ← šodien"; }
.board .hours li.today span:first-child::after { color: var(--red-lite); }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; letter-spacing: .02em; }
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink-mute); flex: none; }
.status.open::before { background: #2f8a55; } .status.closed::before { background: var(--red); }
.addr { margin-top: 24px; display: grid; gap: 6px; font-size: 18px; }
.addr b { font-family: var(--disp); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: clamp(36px, 6vw, 84px) 0 clamp(30px, 4vw, 56px); border-bottom: 3px solid var(--ink); }
.board.phero { border-color: var(--cream); }
.phero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.phero .lede { margin-top: 20px; }
.phero-aside { display: grid; gap: 10px; justify-items: end; text-align: right; }
@media (max-width: 760px) { .phero-in { grid-template-columns: 1fr; } .phero-aside { justify-items: start; text-align: left; } }

/* ---------- menu page ---------- */
.menu-hero .search { margin-top: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: 0; max-width: 620px; border: 3px solid var(--cream); }
.search input { width: 100%; min-width: 0; background: transparent; color: var(--cream); border: 0; padding: 14px 18px; font: 500 18px/1.2 var(--mono); }
.search input::placeholder { color: var(--cream-mute); }
.search input:focus { outline: none; background: rgba(244, 237, 227, .06); }
.search button { padding: 0 18px; border-left: 3px solid var(--cream); font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--cream); transition: background .2s, color .2s; }
.search button:hover { background: var(--cream); color: var(--ink); }
.menu-count { font-family: var(--mono); font-size: 14px; color: var(--cream-mute); margin-top: 14px; }
.cats-bar { position: sticky; top: var(--hd); z-index: 40; background: var(--grain), var(--paper); border-bottom: 3px solid var(--ink); }
.cats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gut); width: min(var(--wrap), 100%); margin-inline: auto; -webkit-overflow-scrolling: touch; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 10px 14px 8px; border: 3px solid transparent; font-family: var(--disp); font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; line-height: 1; transition: border-color .2s, background .2s, color .2s; }
.cats a:hover { border-color: var(--ink); }
.cats a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cats a .c { font-family: var(--mono); font-size: 12px; margin-left: 6px; color: inherit; opacity: .7; }
.mcat { padding: clamp(36px, 5vw, 72px) 0 12px; scroll-margin-top: calc(var(--hd) + 66px); }
.mcat-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: end; border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 8px; }
.mcat-head .n { font-family: var(--mono); font-size: 14px; color: var(--ink-mute); padding-bottom: 6px; }
.mcat-head h2 { font-size: clamp(40px, 5.4vw, 80px); }
.mcat-head .note { font-family: var(--mono); font-size: 13px; color: var(--red-ink); padding-bottom: 8px; text-align: right; }
.dish { display: grid; grid-template-columns: 96px 1fr auto; gap: 6px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); width: 100%; text-align: left; position: relative; transition: background .2s; }
.dish.noimg { grid-template-columns: 1fr auto; }
.dish:hover { background: linear-gradient(90deg, rgba(20, 18, 16, .05), transparent); }
.dish .ph { width: 96px; aspect-ratio: 1; }
.dish .ph::after { box-shadow: inset 0 0 0 2px var(--ink); }
.dish .ph img { transform: scale(1.35); }
.dish:hover .ph img { transform: scale(1.45); }
.dish-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.dish-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dish-name { font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; flex-wrap: wrap; }
.dish-badges { display: inline-flex; gap: 6px; }
.dish-badges .pop { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--red-ink); border: 1.5px solid var(--red-ink); padding: 2px 6px 1px; }
.dish-badges .aged { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--paper-3); background: var(--ink); padding: 3px 6px 2px; }
.dish-desc { font-size: 15px; color: var(--ink-mute); line-height: 1.45; max-width: 64ch; }
.dish-price { font-family: var(--mono); font-size: 22px; font-weight: 500; white-space: nowrap; }
.dish-price small { font-size: 13px; margin-left: 2px; }
.dish .more { grid-column: 3; justify-self: end; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: .04em; opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.dish:hover .more, .dish:focus-visible .more { opacity: 1; transform: none; }
.mcat.hide, .dish.hide { display: none; }
.no-results { padding: 60px 0; text-align: left; }
.no-results[hidden] { display: none; }
@media (max-width: 560px) { .dish { grid-template-columns: 72px 1fr auto; gap: 4px 12px; } .dish .ph { width: 72px; } .dish .more { display: none; } .mcat-head { grid-template-columns: auto 1fr; } .mcat-head .note { grid-column: 1 / -1; text-align: left; } }

/* dialog (dish + lightbox) */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; width: 100%; height: 100%; inset: 0; }
dialog::backdrop { background: rgba(14, 12, 10, .88); }
.dlg-card { position: relative; width: min(920px, 100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: 16px auto; background: var(--paper-3); border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--red); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); overflow: auto; }
.dlg-card .ph { aspect-ratio: 4 / 3; align-self: stretch; }
.dlg-card .ph::after { box-shadow: inset 0 0 0 0 transparent; border-right: 3px solid var(--ink); }
.dlg-body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.dlg-body h3 { font-size: clamp(30px, 3.4vw, 48px); padding-right: 40px; }
.dlg-body .price { font-family: var(--mono); font-size: 30px; font-weight: 500; }
.dlg-body .price small { font-size: 14px; margin-left: 4px; }
.dlg-body p { font-size: 16px; line-height: 1.5; }
.dlg-body .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.dlg-body .ctas { margin-top: auto; padding-top: 12px; }
.dlg-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 3px solid var(--ink); background: var(--paper-3); display: grid; place-items: center; z-index: 2; transition: background .2s, color .2s, transform .2s var(--ease); }
.dlg-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.dlg-close svg { width: 20px; height: 20px; }
@media (max-width: 720px) { .dlg-card { grid-template-columns: 1fr; } .dlg-card .ph::after { border-right: 0; border-bottom: 3px solid var(--ink); } }
.js dialog[open] .dlg-card { animation: dlg .35s var(--ease) 1; }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .js dialog[open] .dlg-card { animation: none; } }

/* ---------- steaks page ---------- */
.age-hero { position: relative; overflow: hidden; }
.age-hero .big45 { font-family: var(--disp); font-weight: 900; font-size: clamp(160px, 34vw, 520px); line-height: .78; letter-spacing: -.02em; color: var(--red); display: block; }
.age-hero-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 60px); align-items: end; }
.age-hero h1 { font-size: clamp(40px, 6.4vw, 104px); }
.age-hero .lede { margin-top: 18px; }
@media (max-width: 860px) { .age-hero-in { grid-template-columns: 1fr; } .age-hero .big45 { font-size: clamp(140px, 42vw, 300px); } }
.scrub { position: relative; }
.scrub-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: start; }
.scrub-sticky { position: sticky; top: calc(var(--hd) + 24px); }
.scrub-sticky .day { font-family: var(--disp); font-weight: 900; font-size: clamp(64px, 8vw, 132px); line-height: .85; display: flex; align-items: baseline; gap: 14px; }
.scrub-sticky .day small { font-family: var(--mono); font-size: 16px; font-weight: 400; color: var(--cream-mute); letter-spacing: .06em; }
.steak-svg { width: 100%; max-width: 520px; height: auto; margin-top: 18px; --age: 0; --crust: #c4363b; --meat: #c9424a; --fat: #f0dcc4; overflow: visible; }
.steak-svg .crust { fill: var(--crust); transition: fill .2s linear; }
.steak-svg .meat { fill: var(--meat); transition: fill .2s linear; }
.steak-svg .fat { fill: var(--fat); }
.steak-svg .marb { stroke: var(--fat); fill: none; stroke-width: 3; stroke-linecap: round; opacity: .9; }
.steak-svg .bodyg { transform-origin: 50% 50%; transform: scale(calc(1 - var(--age) * .12)); transition: transform .2s linear; }
.scrub-bar { height: 6px; background: var(--board-3); margin-top: 24px; position: relative; overflow: hidden; }
.scrub-bar i { position: absolute; inset: 0; background: var(--flame); transform-origin: left; transform: scaleX(var(--p, 0)); }
.scrub-meta { margin-top: 10px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--cream-mute); }
.milestones { display: grid; gap: 0; }
.ms { padding: clamp(40px, 8vh, 110px) 0; border-bottom: 1px solid var(--rule-dk); }
.ms:first-child { padding-top: 10px; }
.ms .lot { color: var(--flame); font-size: 15px; }
.ms h3 { margin-top: 8px; font-size: clamp(30px, 3.2vw, 46px); }
.ms p { margin-top: 12px; max-width: 46ch; font-size: 17px; color: var(--cream); line-height: 1.55; }
.ms.on h3 { color: var(--flame); }
@media (max-width: 860px) { .scrub-in { grid-template-columns: 1fr; } .scrub-sticky { position: sticky; top: var(--hd); background: var(--grain-dk), var(--board); padding: 12px 0; z-index: 2; } .steak-svg { max-width: 300px; } .scrub-sticky .day { font-size: 64px; } }
.cuts { display: grid; gap: clamp(28px, 4vw, 56px); }
.cut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.cut:nth-child(even) .cut-ph { order: 2; }
.cut-ph { aspect-ratio: 4 / 3; box-shadow: 12px 12px 0 var(--ink); }
.cut:nth-child(even) .cut-ph { box-shadow: -12px 12px 0 var(--ink); }
.cut-ph img { transform: scale(1.04); }
.cut-copy .lot { display: flex; gap: 14px; }
.cut-copy h3 { margin-top: 10px; font-size: clamp(40px, 5vw, 76px); display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.cut-copy h3 .price { font-family: var(--mono); font-size: 24px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.cut-copy dl { margin: 20px 0 0; display: grid; gap: 14px; }
.cut-copy dt { font-family: var(--disp); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; color: var(--red-ink); }
.cut-copy dd { margin: 2px 0 0; font-size: 16px; line-height: 1.5; max-width: 52ch; }
.cut-copy .ctas { margin-top: 20px; }
@media (max-width: 860px) { .cut { grid-template-columns: 1fr; } .cut:nth-child(even) .cut-ph { order: 0; box-shadow: 10px 10px 0 var(--ink); } .cut-ph { box-shadow: 10px 10px 0 var(--ink); } }
.sig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sig .ph { aspect-ratio: 4 / 3; }
.sig .stamp { margin-bottom: 18px; }
.sig h2 { font-size: clamp(40px, 5.6vw, 88px); }
.sig .lede { margin-top: 18px; }
@media (max-width: 860px) { .sig { grid-template-columns: 1fr; } }
.done { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.done-svg { width: 100%; max-width: 480px; height: auto; margin-inline: auto; --core: #c4303a; --band: #d67a6c; }
.done-svg .core { fill: var(--core); transition: fill .3s; } .done-svg .band { fill: var(--band); transition: fill .3s; }
.done-ctl { display: grid; gap: 14px; }
.done-name { font-family: var(--disp); font-weight: 900; font-size: clamp(40px, 5vw, 76px); line-height: .9; text-transform: uppercase; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.done-name .temp { font-family: var(--mono); font-size: 20px; font-weight: 500; text-transform: none; color: var(--red-ink); }
.done-desc { font-size: 17px; line-height: 1.5; max-width: 48ch; min-height: 4.5em; }
.done-note { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); max-width: 52ch; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; background: transparent; margin: 4px 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, #b3172b, #c4303a 25%, #c9686a 50%, #b8887a 75%, #8d6a55); border: 2px solid var(--ink); }
.range::-moz-range-track { height: 6px; background: linear-gradient(90deg, #b3172b, #c4303a 25%, #c9686a 50%, #b8887a 75%, #8d6a55); border: 2px solid var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -14px; background: var(--paper-3); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--red); transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 0; background: var(--paper-3); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--red); }
.range:hover::-webkit-slider-thumb { transform: scale(1.1); }
.range:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.done-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.done-scale button { font: inherit; color: inherit; padding: 4px 0; letter-spacing: inherit; text-transform: inherit; }
.done-scale button:hover, .done-scale button[aria-pressed="true"] { color: var(--red-ink); font-weight: 500; }
@media (max-width: 860px) { .done { grid-template-columns: 1fr; } .done-svg { max-width: 340px; } }
.cta-band { text-align: left; }
.cta-band h2 { font-size: clamp(44px, 7vw, 120px); max-width: 14ch; }
.cta-band .ctas { margin-top: 28px; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filters button { border: 3px solid var(--ink); padding: 8px 14px 6px; font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; transition: background .2s, color .2s, transform .2s var(--ease); }
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; grid-auto-flow: dense; }
.gi { grid-column: span 3; aspect-ratio: 4 / 3; position: relative; text-align: left; }
.gi.w { grid-column: span 6; }
.gi.t { grid-column: span 4; aspect-ratio: 4 / 4.2; }
.gi .ph { position: absolute; inset: 0; }
.gi .ph-tag { opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.gi:hover .ph-tag, .gi:focus-visible .ph-tag { opacity: 1; transform: none; }
.gi .lotn { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: 12px; color: var(--paper-3); background: var(--ink); padding: 3px 7px; letter-spacing: .06em; }
.gi.hide { display: none; }
@media (max-width: 1000px) { .gi { grid-column: span 4; } .gi.w { grid-column: span 8; } .gi.t { grid-column: span 4; } }
@media (max-width: 640px) { .gal { gap: 10px; } .gi, .gi.w, .gi.t { grid-column: span 6; aspect-ratio: 1; } .gi .ph-tag { opacity: 1; transform: none; padding: 6px 8px 4px; font-size: 11px; } .gi .ph-tag b { font-size: 15px; } .gi .ph-tag .p { display: none; } }
.lb-card { position: relative; width: min(1200px, 100% - 24px); height: calc(100vh - 24px); height: calc(100dvh - 24px); margin: 12px auto; display: grid; grid-template-rows: 1fr auto; gap: 12px; color: var(--cream); }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 3px solid var(--cream); user-select: none; -webkit-user-drag: none; }
.lb-cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 4px 6px; }
.lb-cap b { font-family: var(--disp); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: .03em; }
.lb-cap .n { font-family: var(--mono); font-size: 14px; color: var(--cream-mute); margin-left: 14px; }
.lb-cap .price { font-family: var(--mono); font-size: 20px; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 3px solid var(--cream); background: var(--board); color: var(--cream); display: grid; place-items: center; transition: background .2s, color .2s; z-index: 2; }
.lb-btn:hover { background: var(--cream); color: var(--ink); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; border: 3px solid var(--cream); background: var(--board); color: var(--cream); display: grid; place-items: center; z-index: 3; }
.lb-close:hover { background: var(--cream); color: var(--ink); }
.lb-close svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .lb-btn { width: 44px; height: 44px; } .lb-cap b { font-size: 22px; } }

/* ---------- visit page ---------- */
.map { aspect-ratio: 16 / 8; border: 3px solid var(--ink); background: var(--paper-2); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 18px; align-items: center; }
.faq { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 0; font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; border: 3px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 12px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 3px 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red-ink); }
.faq .a { padding: 0 0 22px; max-width: 64ch; font-size: 16px; line-height: 1.55; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.posts { border-top: 3px solid var(--ink); }
.post-row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.post-row .ph { aspect-ratio: 4 / 3; }
.post-row h2 { font-size: clamp(34px, 4vw, 62px); margin-top: 8px; transition: color .2s; }
.post-row:hover h2 { color: var(--red-ink); }
.post-row p { margin-top: 12px; max-width: 56ch; font-size: 17px; color: var(--ink-mute); }
.post-row .lot { display: flex; gap: 14px; flex-wrap: wrap; }
.post-row .arrow { margin-top: 16px; font-size: 18px; }
.post-row:first-child { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.post-row:first-child h2 { font-size: clamp(40px, 5.6vw, 90px); }
.post-row:first-child .ph { aspect-ratio: 4 / 3; box-shadow: 12px 12px 0 var(--ink); }
@media (max-width: 760px) { .post-row, .post-row:first-child { grid-template-columns: 1fr; } .post-row .ph { order: -1; } }
.art-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.art-hero h1 { font-size: clamp(44px, 7.4vw, 124px); max-width: 16ch; }
.art-hero .lede { margin-top: 20px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); }
.art-fig { margin: 0; }
.art-fig .ph { aspect-ratio: 16 / 8; box-shadow: 14px 14px 0 var(--ink); }
.art-fig figcaption { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 96px); align-items: start; }
.prose { max-width: 66ch; font-size: 18px; line-height: 1.65; }
.prose p { margin: 0 0 1.25em; }
.prose p + h2, .prose ul + h2, .prose ol + h2, .prose figure + h2, .prose .pull + h2, .prose table + h2, .prose h2 + h3 { margin-top: 1.6em; }
.prose h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 0 0 .6em; }
.prose h3 { font-size: clamp(22px, 2vw, 28px); margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red-ink); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose .first::first-letter { font-family: var(--disp); font-weight: 900; font-size: 4.4em; line-height: .78; float: left; padding: .06em .12em 0 0; color: var(--red); }
.pull { margin: 1.6em 0; padding: 22px 24px 20px 28px; border-left: 6px solid var(--red); background: var(--paper-3); font-family: var(--disp); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 16px; border-top: 3px solid var(--ink); }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-family: var(--disp); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.prose td.mono { font-size: 15px; }
.prose figure { margin: 1.5em 0 1.8em; }
.prose figure svg { width: 100%; height: auto; }
.prose figcaption { margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.diag { --l: var(--ink); --a: var(--red); --m: var(--ink-mute); }
.diag .ax { stroke: var(--l); stroke-width: 2; fill: none; }
.diag .bar { fill: var(--paper-4); }
.diag .bar.a { fill: var(--red); }
.diag text { font-family: var(--mono); font-size: 13px; fill: var(--ink); }
.diag .t { font-family: var(--disp); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; }
.diag .m { fill: var(--ink-mute); font-size: 12px; }
.art-side { position: sticky; top: calc(var(--hd) + 24px); display: grid; gap: 22px; }
.toc { border: 3px solid var(--ink); padding: 16px 18px; background: var(--paper-3); }
.toc b { font-family: var(--disp); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 8px; }
.toc a { display: block; padding: 6px 0; font-size: 15px; text-decoration: none; border-bottom: 1px dashed var(--rule); }
.toc a:last-child { border-bottom: 0; }
.toc a:hover { color: var(--red-ink); padding-left: 6px; transition: padding .2s var(--ease); }
.art-cta { border: 3px solid var(--ink); background: var(--ink); color: var(--paper); padding: 20px 18px; }
.art-cta b { font-family: var(--disp); font-weight: 800; font-size: 26px; text-transform: uppercase; display: block; line-height: 1; }
.art-cta p { font-size: 15px; margin: 8px 0 16px; color: var(--cream-mute); }
.art-cta .btn { box-shadow: 4px 4px 0 var(--red); border-color: var(--paper); background: var(--paper); color: var(--ink); }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; } .art-side { position: static; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); border-top: 3px solid var(--ink); }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf h1 { font-size: clamp(72px, 16vw, 260px); }
.nf .stamp { margin-bottom: 20px; }

/* ---------- footer (receipt) ---------- */
.ft { background: var(--grain-dk), var(--board); color: var(--cream); border-top: 3px solid var(--ink); margin-top: 0; }
.ft-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px) auto; gap: clamp(28px, 4vw, 72px); padding: clamp(40px, 6vw, 80px) 0; align-items: start; }
.ft-brand { display: grid; gap: 18px; justify-items: start; }
.ft-brand img { height: 78px; width: auto; }
.ft-tag { max-width: 34ch; color: var(--cream-mute); font-size: 16px; }
.receipt { background: var(--paper-3); color: var(--ink); padding: 18px 20px 16px; font-family: var(--mono); font-size: 14px; position: relative; transform: rotate(-1deg); box-shadow: 8px 8px 0 var(--board-3); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 8px -2px, transparent 7px, var(--paper-3) 7.5px) 0 0 / 16px 8px; }
.receipt-head { display: flex; justify-content: space-between; font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px dashed var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.receipt dl { margin: 0; }
.receipt dl div { display: flex; gap: 8px; padding: 5px 0; align-items: baseline; }
.receipt dt { flex: none; color: var(--ink-mute); text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.receipt dt::after { content: ""; display: inline-block; }
.receipt dl div::before { content: none; }
.receipt dd { margin: 0 0 0 auto; text-align: right; }
.receipt dd a { text-decoration: none; }
.receipt dd a:hover { text-decoration: underline; }
.receipt-foot { border-top: 2px dashed var(--ink); margin-top: 8px; padding-top: 8px; font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }
.ft-status.open { color: #1f5c3a; } .ft-status.closed { color: var(--red-ink); }
.ft-nav { display: grid; gap: 2px; }
.ft-nav a { padding: 6px 12px; background-position: 12px calc(100% - 2px); }
.ft-nav a:hover { background-size: calc(100% - 24px) 4px; }
.ft-bottom { border-top: 1px solid var(--rule-dk); }
.ft-bottom-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; font-family: var(--mono); font-size: 13px; color: var(--cream-mute); }
@media (max-width: 960px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-nav { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } }
@media (max-width: 640px) { .ft-in { grid-template-columns: 1fr; } .receipt { transform: none; } }

/* ---------- utility ---------- */
.mt { margin-top: clamp(24px, 3vw, 40px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- patches ---------- */
@media (min-width: 961px) { .board-photos { position: sticky; top: calc(var(--hd) + 20px); } }
html[lang="lv"] .hero h1 { font-size: clamp(56px, 9.4vw, 150px); }

.board-ph-row .ph-tag { padding: 6px 10px 4px; }
.board-ph-row .ph-tag b { font-size: 15px; }
.board-list h3 { flex-wrap: wrap; }
@media (max-width: 560px) { .board-list h3 .lot { flex-basis: 100%; } .board-ph-row .ph-tag { left: 8px; bottom: 8px; } .board-ph-row .ph-tag b { font-size: 13px; } }
.art-side .toc a[aria-current] { color: var(--red-ink); }
/* diacritics: stacked display lines need a little more leading, and clip-reveals must not cut macrons */
h1, .t1 { line-height: .9; }
.phero h1, .art-hero h1, .age-hero h1, .nf h1 { line-height: .92; }
.lot + h1, .lot + h2 { margin-top: 12px; display: block; }
.hero h1 .ln { padding: .1em 0 .05em; margin-top: -.1em; }
html[lang="lv"] .hero h1 { line-height: .92; }
.sign .sign-sub { fill: var(--cream); }
.prose .first::first-letter { padding-top: .08em; }
@media (max-width: 560px) { .hero h1 { line-height: .92; } }

html[lang="lv"] .hero-stamp span:first-child, html[lang="lv"] .hero-stamp span:last-child { font-size: .62em; letter-spacing: .04em; }

/* dark hero: light letters on the board */
.hero.board .hero-tag { color: var(--cream-mute); }
.hero.board .hero-tag span::before { background: var(--flame); }
.hero.board .lede { color: var(--cream); opacity: .86; }
.hero.board .hero-ph { box-shadow: 14px 14px 0 var(--red); }
.hero.board .hero-ph::after { box-shadow: inset 0 0 0 4px var(--board); }
.hero.board .hero-stamp { background: rgba(20, 18, 16, .88); color: var(--cream); border-color: var(--flame); }
.hero.board .hero-bull { opacity: .06; }
.hero.board + .ticker { border-top-color: var(--board-3); }
@media (max-width: 600px) { .hero.board .hero-ph { box-shadow: 8px 8px 0 var(--red); } }

/* dark header, always */
.hd { background: var(--grain-dk), var(--board); color: var(--cream); border-bottom-color: var(--board-3); }
.hd .nav a { color: var(--cream); background-image: linear-gradient(var(--flame), var(--flame)); }
.hd .nav a[aria-current="page"] { background-image: linear-gradient(var(--cream), var(--cream)); }
.hd .lang { border-color: var(--cream); }
.hd .lang-b { color: var(--cream); }
.hd .lang-b:hover { background: var(--board-3); }
.hd .lang-b[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.hd .btn-hd { background: var(--red-ink); border-color: var(--red-ink); color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.hd .btn-hd:hover { box-shadow: 2px 2px 0 var(--cream); }
.hd .burger { border-color: var(--cream); }
.hd .burger span { background: var(--cream); }
.hd :focus-visible { outline-color: var(--flame); }
