/* Kompas - the provenance map. One map of Albania holds the page; every craft on the shelf lights up where it comes from. */

:root {
  --ground: #0D1411;
  --ground-2: #121C17;
  --ground-3: #18241E;
  --line: #2A3A31;
  --bone: #E8EDE5;
  --text: #E8EDE5;
  --muted: #98A69D;
  --hot: #FF5B35;
  --hot-deep: #E0431F;
  --lime: #C9F25B;
  --paper: #E4E9E1;
  --paper-ink: #111813;
  --paper-muted: #4E5B53;

  --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, monospace;

  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main, .foot { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.label {
  margin: 0 0 22px; font: 400 13px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.label::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 40; inset: 0 0 auto 0; height: var(--nav-h);
  display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter);
  background: color-mix(in oklab, var(--ground) 86%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.nav-mark svg { width: 26px; height: 26px; fill: none; stroke: var(--bone); stroke-width: 1.4; }
.nav-mark svg path { fill: var(--bone); stroke: none; }
.nav-mark svg .needle-n { fill: var(--hot); }
.nav-links { display: flex; gap: 2px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); background: var(--ground-3); }
.nav-coord { margin: 0 0 0 auto; font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; padding: 3px; flex: none; }
.lang button {
  font: 400 12px/1 var(--mono); color: var(--muted); background: none; border: 0;
  border-radius: 5px; padding: 8px 10px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--bone); color: var(--ground); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--hot); color: #160704; }
.btn-solid:hover { background: #FF7350; }
.btn-line { background: transparent; color: var(--text); border-color: color-mix(in oklab, var(--bone) 40%, transparent); }
.btn-line:hover { border-color: var(--bone); background: var(--ground-3); }

/* ---------- atlas: flow on the left, the sticky map on the right ---------- */
.atlas {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-top: var(--nav-h);
}
.flow { padding: 0 var(--gutter); min-width: 0; }

.intro {
  min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center;
  padding: 48px 0 64px; max-width: 640px;
}
.kicker { margin: 0 0 18px; font: 400 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.name {
  margin: 0; font: 800 clamp(96px, 16.4vw, 272px)/.8 var(--display);
  letter-spacing: -.01em; text-transform: uppercase; color: var(--bone);
  margin-left: -.04em;
}
.tagline { margin: 26px 0 0; max-width: 30ch; font: 500 clamp(20px, 1.9vw, 26px)/1.35 var(--sans); color: var(--text); text-wrap: pretty; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 28px 0 26px; font: 400 14px/1 var(--mono); letter-spacing: .02em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px color-mix(in oklab, var(--lime) 22%, transparent); }
.status-big { font-weight: 400; color: var(--lime); text-transform: uppercase; letter-spacing: .1em; }
.status-small { color: var(--muted); white-space: nowrap; }
body.is-closed .status-dot { background: var(--muted); box-shadow: none; }
body.is-closed .status-big { color: var(--bone); }
body.is-soon .status-dot { background: var(--hot); box-shadow: 0 0 0 4px color-mix(in oklab, var(--hot) 25%, transparent); }
body.is-soon .status-big { color: var(--hot); }
.scroll-hint { margin: 44px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.scroll-hint b { color: var(--hot); font-weight: 400; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- catalogue ---------- */
.catalogue { padding: 24px 0 18vh; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 8px; }
.cat-head .label { margin: 0; }
.cat-note { margin: 0; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; }
.item {
  min-height: 74svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 2.6vw, 40px);
  align-content: center; align-items: center; padding: 40px 0; outline-offset: 8px;
  transition: opacity .5s;
}
.js .item { opacity: .5; }
.js .item.is-active { opacity: 1; }
.item-pic { margin: 0; position: relative; }
.item-pic img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
  filter: saturate(.85); transition: filter .5s, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.item.is-active .item-pic img { filter: none; }
.item-pic figcaption, .strip figcaption {
  margin-top: 8px; font: 400 11px/1.4 var(--mono); color: var(--muted); letter-spacing: .01em;
}
figcaption span { display: block; }
figcaption .credit { opacity: .8; }
.item-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 400 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.item-no { color: var(--ground); background: var(--bone); padding: 4px 6px 3px; border-radius: 3px; }
.item.is-active .item-no { background: var(--hot); color: #160704; }
.item h3 { margin: 0 0 12px; font: 800 clamp(34px, 3.4vw, 54px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.005em; color: var(--bone); }
.item-body > p:last-child { margin: 0; color: var(--text); max-width: 34ch; }

/* ---------- the stage ---------- */
.stage {
  position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); align-self: start;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(120% 70% at 30% 40%, #13211B 0%, transparent 70%),
    var(--ground);
  overflow: hidden;
}
.mapbox {
  position: absolute; top: 4%; bottom: 4%; left: 50%; translate: -26% 0;
  aspect-ratio: 160 / 340;
}
.atlas-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.grat line { stroke: #1A2722; stroke-width: 1; vector-effect: non-scaling-stroke; }
.wl { fill: none; stroke: #24392F; stroke-linejoin: round; }
.wg { fill: none; stroke: var(--ground); stroke-linejoin: round; }
.land { fill: #111B16; }
.hatch-l { stroke: #23322A; stroke-width: 300; }
.hatch-hot-l { stroke: var(--hot); stroke-width: 420; opacity: .75; }
.whole { opacity: 0; transition: opacity .6s; }
/* the outline is a <use>, and vector-effect does not reach into a use tree, so its width is in map units */
.land-edge { fill: none; stroke: var(--bone); stroke-width: var(--edge, 560); stroke-linejoin: round; }

.region circle {
  fill: none; stroke: var(--hot); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  opacity: 0; transform-box: fill-box; transform-origin: center; scale: .4;
  transition: opacity .5s, scale 1.1s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i) * 70ms);
}
.region circle:first-child { fill: color-mix(in oklab, var(--hot) 30%, transparent); }

.route {
  fill: none; stroke: var(--hot); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0;
  transition: stroke-dashoffset 1.3s cubic-bezier(.5, 0, .2, 1), opacity .4s;
}
.origin { fill: var(--hot); stroke: var(--hot); stroke-width: 9; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .4s; }
.town { fill: var(--muted); stroke: var(--muted); stroke-width: 4; vector-effect: non-scaling-stroke; }
.shop { fill: var(--lime); stroke: var(--lime); stroke-width: 12; vector-effect: non-scaling-stroke; }
.shop-pulse { fill: none; stroke: var(--lime); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { scale: 1; opacity: .9; } to { scale: 9; opacity: 0; } }

/* overview: every route at once, dashed, all converging on the pin */
.stage[data-active="all"] .route { opacity: .85; stroke-dasharray: .012 .012; stroke-dashoffset: 0; stroke-width: 1.6; }
.stage[data-active="all"] .origin { opacity: 1; }

.stage[data-active="korce"] [data-r="korce"],
.stage[data-active="shkoder"] [data-r="shkoder"],
.stage[data-active="veriu"] [data-r="veriu"],
.stage[data-active="kruje"] [data-r="kruje"] { opacity: 1; }
.stage[data-active="korce"] .route[data-r="korce"],
.stage[data-active="shkoder"] .route[data-r="shkoder"],
.stage[data-active="veriu"] .route[data-r="veriu"] { stroke-dashoffset: 0; }
.stage[data-active="korce"] .region[data-r="korce"] circle,
.stage[data-active="shkoder"] .region[data-r="shkoder"] circle,
.stage[data-active="veriu"] .region[data-r="veriu"] circle,
.stage[data-active="kruje"] .region[data-r="kruje"] circle { opacity: 1; scale: 1; }
.stage[data-active="jelek"] .whole,
.stage[data-active="xhezve"] .whole { opacity: 1; }
.stage[data-active="jelek"] .land-edge,
.stage[data-active="xhezve"] .land-edge { stroke: var(--hot); }
.land-edge { transition: stroke .5s; }

/* labels: HTML over the SVG so type stays one size at any map scale */
.labels { position: absolute; inset: 0; pointer-events: none; }
.tl {
  position: absolute; white-space: nowrap; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); translate: 9px -50%; transition: color .4s;
  text-shadow: 0 0 3px var(--ground), 0 0 3px var(--ground), 0 0 6px var(--ground);
}
.tl-b { translate: -50% 9px; }
.tl-l { translate: calc(-100% - 9px) -50%; }
.tl-shop {
  text-shadow: none; translate: 14px -50%; padding: 6px 8px 5px; border-radius: 4px; background: var(--lime); color: #0D1411;
  font-size: 11px; letter-spacing: .06em;
}
.tl-shop b { font-weight: 400; }
.tl-shop::before { content: ''; position: absolute; left: -6px; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-left: 0; border-right-color: var(--lime); }
.tl-region { translate: -50% calc(-100% - 9px); color: #6E8478; letter-spacing: .3em; font-size: 11px; }
.tl-sea { text-shadow: none; translate: -50% -50%; rotate: -64deg; color: #3F574C; letter-spacing: .32em; font-size: 10px; }
.gl { position: absolute; font: 400 10px/1 var(--mono); color: #4D6358; letter-spacing: .04em; }
.gl-lat { left: 0; translate: -4px calc(-100% - 3px); }
.gl-lon { top: 0; translate: 4px 2px; }
/* the lit origin's label sits on a ground plate, so the ripple rings run behind it, not through it */
.stage[data-active="korce"] .tl[data-town="Korçë"],
.stage[data-active="shkoder"] .tl[data-town="Shkodër"],
.stage[data-active="veriu"] .tl-region {
  color: var(--hot); background: var(--ground); padding: 4px 6px 3px; border: 1px solid var(--hot); border-radius: 3px; text-shadow: none;
}
.stage[data-active="korce"] .tl[data-town="Korçë"] { translate: -50% 14px; }
.stage[data-active="shkoder"] .tl[data-town="Shkodër"] { translate: 16px -50%; }
.stage[data-active="veriu"] .tl-region { translate: -50% calc(-100% - 12px); }

.readout { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(24px, 5vh, 56px); max-width: 44%; }
.ro-from { margin: 0 0 6px; font: 400 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hot); }
.ro-km { margin: 0; display: flex; align-items: baseline; gap: 8px; font: 800 clamp(64px, 7vw, 120px)/.85 var(--display); color: var(--bone); font-variant-numeric: tabular-nums; }
.ro-km.is-long { font-size: clamp(48px, 4.6vw, 76px); }
.ro-unit { font: 400 14px/1 var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.ro-note { margin: 10px 0 0; font: 400 12px/1.4 var(--mono); color: var(--muted); max-width: 26ch; }
.rose { position: absolute; top: 22px; left: clamp(20px, 3vw, 44px); width: 64px; }
.rose svg { display: block; width: 100%; fill: none; stroke: #3F574C; stroke-width: 1; }
.rose path { fill: #2A3A31; stroke: none; }
.rose .rose-n { fill: var(--hot); }
.rose text { fill: var(--muted); stroke: none; font: 400 9px var(--mono); }
.scale { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 46px; margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 400 11px/1 var(--mono); color: var(--muted); }
.scale i { display: block; height: 6px; border: 1px solid var(--muted); border-top: 0; width: var(--km50, 80px); }
.osm-credit { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 18px; margin: 0; font: 400 10px/1 var(--mono); color: var(--muted); }

/* ---------- bazaar (paper section) ---------- */
.bazaar { background: var(--paper); color: var(--paper-ink); padding: clamp(72px, 10vw, 140px) var(--gutter); }
.bazaar .label { color: var(--paper-muted); }
.bazaar-lead { margin: 0; max-width: 22ch; font: 800 clamp(32px, 4.2vw, 64px)/1 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.bazaar-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 22px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.bazaar-more { margin: 0; max-width: 34ch; font-size: 18px; color: var(--paper-muted); }
.strip { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.strip figure { margin: 0; min-width: 0; }
.strip img { width: 100%; height: clamp(320px, 34vw, 500px); object-fit: cover; border-radius: 4px; }
.strip figcaption { color: var(--paper-muted); }
.chips { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; border: 1px solid #B4BEB6; border-radius: 999px; font: 600 14px/1.2 var(--sans); }

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px);
  padding: clamp(72px, 10vw, 140px) var(--gutter); max-width: 1440px; margin: 0 auto;
}
.week { width: 100%; border-collapse: collapse; font: 400 15px/1 var(--mono); }
.week th, .week td { padding: 13px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.week td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.week th span { color: var(--text); }
.week tr.is-today th span, .week tr.is-today td { color: var(--hot); }
.week tr.is-today th span::after { content: ' · ' attr(data-today); color: var(--hot); }
.now { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0 0; font: 400 14px/1.3 var(--mono); color: var(--muted); }
.now b { font-weight: 400; color: var(--lime); text-align: right; }
body.is-closed .now b { color: var(--bone); }
body.is-soon .now b { color: var(--hot); }

.rating { margin-top: 56px; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: end; }
.rating-big { grid-row: span 2; margin: 0; font: 800 96px/.8 var(--display); color: var(--bone); }
.rating-of { font: 400 14px var(--mono); color: var(--muted); margin-left: 6px; }
.rating-count { margin: 0 0 10px; font: 400 13px/1.3 var(--mono); color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.bars li { display: grid; grid-template-columns: 14px 1fr 34px; gap: 10px; align-items: center; font: 400 12px/1 var(--mono); color: var(--muted); }
.bars i { height: 6px; background: var(--ground-3); position: relative; border-radius: 1px; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: calc(var(--n) * 100%); background: var(--bone); transform-origin: left; }
.bars li:first-child i::after { background: var(--hot); }
.bars b { font-weight: 400; text-align: right; }

.addr { font: 800 clamp(30px, 3.2vw, 46px)/1.02 var(--display); font-style: normal; color: var(--bone); }
.addr-coord { margin: 12px 0 34px; font: 400 13px/1 var(--mono); color: var(--muted); }

.radar-wrap {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px 36px; align-items: center;
  padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--ground-2);
}
.radar { width: 100%; height: auto; overflow: visible; }
.radar-side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.radar .tick { stroke: #3A4D43; stroke-width: .8; }
.radar .tick.major { stroke: var(--muted); stroke-width: 1.2; }
.radar .ring { fill: none; stroke: #2A3A31; stroke-width: 1; stroke-dasharray: 2 3; }
.radar .ring-l { font: 400 7px var(--mono); fill: #6D7D73; }
.radar .cardinal { font: 400 10px var(--mono); fill: var(--hot); }
.radar .here circle:last-child { fill: var(--lime); }
.here-pulse { fill: none; stroke: var(--lime); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.landmark circle { fill: none; stroke: var(--bone); stroke-width: 1.5; }
.landmark text, .you text { font: 400 9px var(--mono); fill: var(--bone); letter-spacing: .04em; }
.you { opacity: 0; transition: opacity .4s; }
.you circle:last-of-type { fill: var(--hot); }
.you-halo { fill: color-mix(in oklab, var(--hot) 25%, transparent); }
.you text { fill: var(--hot); }
.you-line { stroke: var(--hot); stroke-width: 1.4; stroke-dasharray: 3 3; opacity: 0; transition: opacity .4s; }
.radar.has-you .you, .radar.has-you .you-line { opacity: 1; }
.radar-cap { margin: 0; font: 500 17px/1.45 var(--sans); color: var(--text); }
.btn-far { justify-self: start; min-height: 46px; }
.far-note { margin: 0; font: 400 12px/1.45 var(--mono); color: var(--muted); }

.map { margin-top: 20px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--ground-3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(.95); }
.find .actions { margin-top: 20px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px var(--gutter) 40px; }
.foot-mark {
  margin: 0 0 28px; font: 800 clamp(96px, 31vw, 520px)/.78 var(--display); text-transform: uppercase;
  color: #1B2821; letter-spacing: .01em; white-space: nowrap; margin-left: -.03em;
}
.foot-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font: 400 12px/1.5 var(--mono); color: var(--muted); max-width: 1100px; }
.foot-notes p { margin: 0; }

/* ---------- dock (phone) ---------- */
.dock { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- phone / small tablet ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  body { font-size: 16px; }
  .nav { gap: 10px; padding-right: 12px; }
  .nav-mark span { display: none; }
  .nav-links { margin-left: 0; flex: 1; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; padding: 8px 10px; font-size: 14px; }
  .nav-coord { display: none; }

  /* the sticky map sits above the scrolling list: the atlas becomes one flex column */
  .atlas { display: flex; flex-direction: column; }
  .flow { display: contents; }
  .intro { order: 1; min-height: 0; padding: 40px var(--gutter) 40px; }
  .mapbox { --edge: 1100; }
  .stage { order: 2; align-self: stretch; height: 44svh; border-left: 0; border-bottom: 1px solid var(--line); z-index: 5; }
  .catalogue { order: 3; padding: 0 var(--gutter) 10svh; }
  .name { font-size: clamp(76px, 25vw, 120px); }
  .tagline { font-size: 19px; }
  .scroll-hint { margin-top: 30px; }

  .mapbox { top: 5%; bottom: 5%; left: auto; right: 4%; translate: 0 0; }
  .readout { left: var(--gutter); bottom: auto; top: 50%; translate: 0 -50%; max-width: 52%; }
  .ro-km { font-size: clamp(58px, 17vw, 84px); }
  .ro-km.is-long { font-size: clamp(40px, 11vw, 52px); }
  .ro-note { font-size: 11px; }
  .rose { display: none; }
  .scale { right: auto; left: var(--gutter); bottom: 14px; flex-direction: row-reverse; align-items: center; }
  .osm-credit { right: 10px; bottom: 6px; font-size: 9px; }
  .tl { font-size: 9px; letter-spacing: .04em; translate: 6px -50%; }
  .tl-l { translate: calc(-100% - 6px) -50%; }
  .tl-b { translate: -50% 7px; }
  .tl[data-town="Elbasan"], .tl[data-town="Berat"], .tl[data-town="Kukës"], .tl[data-town="Sarandë"], .tl[data-town="Durrës"], .tl-sea, .gl { display: none; }
  /* a dot without its name is noise at this size */
  .town[data-town="Elbasan"], .town[data-town="Berat"], .town[data-town="Kukës"], .town[data-town="Sarandë"], .town[data-town="Durrës"] { display: none; }
  .stage[data-active="korce"] .tl[data-town="Korçë"] { translate: -70% 10px; }
  .stage[data-active="shkoder"] .tl[data-town="Shkodër"] { translate: 12px -50%; }
  .tl-region, .stage[data-active="veriu"] .tl-region { translate: -50% calc(-100% - 8px); }
  .tl-shop { font-size: 9px; padding: 4px 5px 3px; translate: 10px -50%; }
  .tl-shop b + * { display: none; }
  .tl-region { font-size: 9px; }

  .cat-head { padding-top: 22px; }
  .cat-head { margin-bottom: 0; }
  .item:first-child { min-height: 0; padding-top: 22px; }
  .item { min-height: 50svh; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; align-content: center; padding: 28px 0; }
  .item-pic img { aspect-ratio: 4 / 5; }
  .item-pic figcaption { font-size: 9.5px; }
  .item h3 { font-size: 30px; }
  .item-meta { flex-wrap: wrap; gap: 8px; font-size: 11px; }
  .item-body > p:last-child { font-size: 15px; }

  .bazaar-head { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .strip img { height: 230px; }
  .visit { grid-template-columns: minmax(0, 1fr); padding-bottom: 96px; }
  .radar-wrap { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .radar { max-width: 280px; justify-self: center; }
  .foot { padding-bottom: 104px; }
  .foot-notes { grid-template-columns: 1fr; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; position: fixed; z-index: 50;
    left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 6px;
    background: color-mix(in oklab, var(--ground) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 999px;
    translate: 0 140%; transition: translate .35s cubic-bezier(.2, .7, .2, 1);
  }
  .dock.is-shown { translate: 0 0; }
  .dock a { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
  .dock a:first-child { background: var(--hot); color: #160704; }
}
