/* Stockholmsea — "Rödkust 70": 1970s Swedish travel-poster supergraphics. Three swooping stripes,
   a low sun, falu red, ferry orange and mustard over deep sea teal on warm paper.
   The three colours double as the three regions: Norra = mustard, Mellersta = orange, Södra = red. */

:root {
    --paper: #f4e8d2;
    --paper-2: #ead9bb;
    --ink: #1d2230;
    --ink-soft: #4a4a52;
    --red: #b23a22;
    --orange: #e2702a;
    --mustard: #e3a83a;
    --sea: #1f4f5c;
    --sea-deep: #15333d;
    --pine: #3d5a3a;
    --rule: rgba(29, 34, 48, .18);

    --norra: var(--mustard);
    --mellersta: var(--orange);
    --sodra: var(--red);

    --display: "Fraunces", Georgia, serif;
    --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "DM Mono", ui-monospace, monospace;

    --gutter: clamp(16px, 4vw, 48px);
    --max: 1260px;
    --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.6 var(--body);
    overflow-x: hidden;
}

/* Fine paper grain over everything. */
body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 900;
    opacity: .22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
a:hover { color: var(--red); }
svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.g9 { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 8px; background: var(--paper); padding: .5rem 1rem; z-index: 1000; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- type ---------- */
.display {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .86;
    margin: 0;
}
h1:focus { outline: none; }
h2, h3 {
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.02;
    margin: 0 0 .4em;
}
h2 { font-size: clamp(34px, 5.4vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

.kicker {
    font: 500 12px/1 var(--mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
    content: ""; flex: none; width: 26px; height: 9px; border-radius: 9px;
    background: linear-gradient(90deg, var(--red) 0 33%, var(--orange) 33% 66%, var(--mustard) 66%);
}
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; max-width: 40ch; }
.lede a { color: var(--red); }

/* ---------- header ---------- */
.site-head {
    position: relative; z-index: 5;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px var(--gutter);
    max-width: var(--max); margin: 0 auto;
}
.logo {
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-weight: 800; font-size: 24px; letter-spacing: -.03em;
}
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
    text-decoration: none; white-space: nowrap;
    font-weight: 500; font-size: 15px;
    padding: 8px 14px; border-radius: 99px;
    transition: background .2s, color .2s;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.active { background: var(--ink); color: var(--paper); }
.nav { flex-wrap: nowrap; }
@media (max-width: 480px) {
    .site-head { flex-wrap: wrap; row-gap: 10px; }
    .nav { width: 100%; margin-left: -10px; }
    .nav a { padding: 7px 10px; font-size: 14px; }
}

/* ---------- buttons, badges, chips ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 99px;
    font-weight: 600; text-decoration: none;
    background: var(--ink); color: var(--paper);
    transition: transform .2s, background .2s;
}
.btn:hover { background: var(--red); color: var(--paper); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.badge {
    display: inline-block; align-self: flex-start;
    font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
    padding: 7px 11px; border-radius: 99px;
    background: var(--paper-2); color: var(--ink);
    text-decoration: none;
}
.badge.norra { background: var(--norra); color: var(--ink); }
.badge.mellersta { background: var(--mellersta); color: #fff; }
.badge.sodra { background: var(--sodra); color: #fff; }
a.badge:hover { filter: brightness(.95); }

/* Filter chips in the event browser */
.filters { display: grid; gap: 10px; margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font: 500 15px var(--body); cursor: pointer;
    border: 0; background: var(--paper-2); color: var(--ink);
    padding: 9px 16px; border-radius: 99px;
    transition: background .2s, color .2s;
}
.chip:hover { background: var(--mustard); }
.chip.is-active { background: var(--ink); color: var(--paper); }
.chip:disabled { cursor: default; }
.chip:disabled:not(.is-active):hover { background: var(--paper-2); }

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec.flush-top { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { margin: 14px 0 0; }
.sec-head p { max-width: 44ch; margin: 0; color: var(--ink-soft); }
.sec-head .more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }

.empty {
    margin: 0; padding: 22px 26px; border-radius: var(--radius);
    background: var(--paper-2); color: var(--ink-soft); max-width: 70ch;
}
.empty a { color: var(--red); font-weight: 600; }

/* Three-colour stripe band divider */
.band { height: 54px; }
.band svg { width: 100%; height: 100%; }

/* ---------- start page hero ---------- */
.hero { position: relative; padding: 24px 0 0; }
.hero-grid { align-items: end; }
.hero-text { grid-row: 1; grid-column: 1 / span 5; padding-bottom: 40px; position: relative; z-index: 2; }
.hero-art { grid-row: 1; grid-column: 5 / span 5; }
.hero-art svg { width: 100%; height: auto; border-radius: 50%; }
.hero h1 { font-size: clamp(64px, 13vw, 184px); margin-top: 22px; }
.hero h1 .r { color: var(--red); }
.hero .lede { margin: 28px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
    .hero-text, .hero-art { grid-column: 1 / -1; grid-row: auto; }
    .hero-text { padding-bottom: 0; }
    .hero-art { margin-top: 24px; }
}

/* Small hero for list pages */
.hero-small { padding: 24px 0 0; }
.hero-small h1 { font-size: clamp(56px, 10vw, 140px); margin-top: 18px; }
.hero-small h1 .dot, .p-hero h1 .dot { color: var(--red); }
.hero-small .lede { margin: 24px 0 0; }

/* ---------- regions: three arches ---------- */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.region {
    position: relative; overflow: hidden;
    border-radius: 999px 999px var(--radius) var(--radius);
    padding: 250px 28px 30px;
    display: flex; flex-direction: column; justify-content: flex-end;
    text-decoration: none; color: var(--ink);
    transition: transform .3s;
}
.region:hover { transform: translateY(-6px); color: inherit; }
.region.norra { background: var(--norra); }
.region.mellersta { background: var(--mellersta); color: #fff; }
.region.sodra { background: var(--sodra); color: #fff; }
.region .arc { position: absolute; top: 0; left: 0; width: 100%; height: 250px; pointer-events: none; }
.region .num { font: 500 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.region h3 { font-size: clamp(34px, 4vw, 52px); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 8px 0 10px; }
.region p { margin: 0 0 18px; font-size: 16px; }
.region .isles { font: 500 13px var(--mono); opacity: .9; }
@media (max-width: 900px) {
    .regions { grid-template-columns: 1fr; }
    .region { padding-top: 220px; border-radius: 220px 220px var(--radius) var(--radius); }
    .region .arc { height: 220px; }
}

/* ---------- place cards: numbered posters ---------- */
.isle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.isle {
    background: var(--paper-2);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.isle:hover { transform: translateY(-4px); box-shadow: 0 18px 0 -8px var(--ink); color: inherit; }
.isle .pic { aspect-ratio: 4 / 3; position: relative; }
.isle .pic svg { width: 100%; height: 100%; }
.isle .pic .n {
    position: absolute; top: 14px; left: 16px;
    font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    color: var(--paper);
    text-shadow: 0 2px 0 rgba(29, 34, 48, .35);
}
.isle .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.isle h3 { margin: 0; }
.isle p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.isle .meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 13px var(--mono); }
.isle .meta .hot { color: var(--red); }
.isle.wide { grid-column: span 2; flex-direction: row; }
.isle.wide .pic { aspect-ratio: auto; flex: 1.2; min-height: 300px; }
.isle.wide .body { flex: 1; padding: 30px; }
.isle.wide h3 { font-size: clamp(30px, 3.4vw, 44px); }
@media (max-width: 900px) {
    .isle-grid { grid-template-columns: 1fr 1fr; }
    .isle.wide { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .isle-grid { grid-template-columns: 1fr; }
    .isle.wide { flex-direction: column; }
    .isle.wide .pic { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- events ---------- */
.event-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.event-card {
    display: grid; grid-template-columns: 76px 1fr; gap: 18px;
    padding: 20px 22px 22px 18px;
    border-radius: var(--radius);
    background: var(--paper-2);
    position: relative; overflow: hidden;
}
.event-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--sea);
}
.event-card.norra::before { background: var(--norra); }
.event-card.mellersta::before { background: var(--mellersta); }
.event-card.sodra::before { background: var(--sodra); }
.event-date { text-align: center; padding-top: 2px; }
.event-date .day {
    display: block;
    font-family: var(--display); font-weight: 800; font-size: 46px; line-height: .9;
    font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em;
}
.event-date .mon { display: block; margin-top: 6px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.event-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.event-when { display: block; font: 500 13px var(--mono); color: var(--red); }
.event-when::first-letter { text-transform: uppercase; }
.event-title { margin: 0; font-family: var(--body); font-size: 19px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.event-title a { text-decoration: none; }
.event-title a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.event-meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.event-summary { margin: 0; color: var(--ink-soft); font-size: 15px; }
.event-flag { margin: 0; align-self: flex-start; background: var(--red); color: #fff; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; }
.event-card.is-cancelled { opacity: .72; }
.event-card.is-cancelled .event-title a { text-decoration: line-through; }
@media (max-width: 420px) {
    .event-card { grid-template-columns: 58px 1fr; gap: 12px; }
    .event-date .day { font-size: 36px; }
}

/* ---------- maps (Leaflet) ---------- */
.map { height: 340px; border-radius: var(--radius); background: var(--sea); z-index: 0; overflow: hidden; }
.map-large { height: min(70vh, 600px); }
.map .leaflet-tile-pane { filter: sepia(.35) saturate(.85) hue-rotate(-8deg) contrast(.96); }
.map .leaflet-control-attribution { font: 400 11px var(--mono); background: rgba(244, 232, 210, .85); }
.map .leaflet-tooltip { font: 500 13px var(--body); border-radius: 8px; border: 0; background: var(--ink); color: var(--paper); box-shadow: none; }
.map .leaflet-tooltip::before { display: none; }
.map .leaflet-popup-content-wrapper { border-radius: 14px; background: var(--paper); }
.map .leaflet-popup-content a { font-weight: 600; color: var(--red); }
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; font: 500 13px var(--mono); margin-top: 14px; color: var(--ink-soft); }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; border: 2px solid var(--ink); }

/* ---------- season strip ---------- */
.season { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.season .m { border-radius: 99px 99px 12px 12px; padding: 14px 4px 10px; text-align: center; font: 500 12px var(--mono); background: var(--paper-2); }
.season .m b { display: block; font: 800 20px var(--display); font-variation-settings: "SOFT" 100; margin-bottom: 4px; }
.season .m.mid { background: var(--mustard); }
.season .m.hi { background: var(--orange); color: #fff; }
.season .m.top { background: var(--red); color: #fff; }
.season-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font: 500 13px var(--mono); }
.season-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.season .m { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) { .season { grid-template-columns: repeat(4, 1fr); } }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; background: var(--paper-2); }
.manifesto blockquote {
    margin: 0 auto; max-width: 20ch;
    font-family: var(--display); font-weight: 600;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
    font-size: clamp(36px, 6vw, 82px); line-height: 1; letter-spacing: -.03em;
}
.manifesto blockquote em { color: var(--red); font-style: italic; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); padding: 0 0 40px; }
.site-foot .band { height: 70px; }
.foot-grid { padding-top: 50px; }
.foot-grid > div { grid-column: span 2; }
.foot-grid > div:first-child { grid-column: span 5; }
.site-foot h2 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin: 0 0 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; opacity: .85; }
.site-foot a:hover { opacity: 1; color: var(--mustard); }
.site-foot .big { font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: clamp(38px, 5vw, 60px); line-height: .9; letter-spacing: -.03em; margin: 0 0 14px; }
.site-foot .about { opacity: .75; max-width: 46ch; margin: 0; }
.site-foot .fine { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(244, 232, 210, .15); font: 400 13px var(--mono); opacity: .6; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-foot .fine a { text-decoration: underline; }
@media (max-width: 900px) {
    .foot-grid > div { grid-column: span 4; }
    .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .foot-grid > div { grid-column: 1 / -1; } }

/* ======================================================
   Place page
   ====================================================== */
.crumbs { font: 500 13px var(--mono); letter-spacing: .06em; display: flex; gap: 8px; flex-wrap: wrap; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }

.p-hero { padding: 20px 0 0; }
.p-hero-grid { align-items: end; }
.p-hero-text { grid-row: 1; grid-column: 1 / span 5; padding-bottom: 50px; position: relative; z-index: 2; min-width: 0; }
.p-hero-art { grid-row: 1; grid-column: 5 / span 5; aspect-ratio: 600 / 560; }
.p-hero-art svg { width: 100%; height: 100%; border-radius: 999px; }
.p-hero h1 { font-size: clamp(88px, 18vw, 240px); line-height: .8; margin-top: 18px; overflow-wrap: anywhere; hyphens: auto; }
.p-hero h1.len-m { font-size: clamp(60px, 11vw, 160px); line-height: .85; }
.p-hero h1.len-l { font-size: clamp(38px, 7.5vw, 112px); line-height: .9; }
.p-hero .lede { margin: 26px 0 0; }
.p-hero .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 900px) {
    .p-hero-text, .p-hero-art { grid-column: 1 / -1; grid-row: auto; }
    .p-hero-text { padding-bottom: 0; }
    .p-hero-art { margin-top: 24px; }
}

.facts {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin: 0;
    background: var(--ink); color: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
}
.facts > div { padding: 22px 24px; border-right: 1px solid rgba(244, 232, 210, .14); min-width: 0; }
.facts > div:last-child { border-right: 0; }
.facts dt { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; font-variation-settings: "SOFT" 100; }
.facts dd small { display: block; font: 400 13px var(--body); opacity: .7; margin-top: 4px; }
.facts dd.coord { font: 500 clamp(17px, 1.8vw, 22px)/1.25 var(--mono); }
@media (max-width: 800px) {
    .facts { grid-template-columns: 1fr 1fr; }
    .facts > div:nth-child(2) { border-right: 0; }
    .facts > div:nth-child(-n+2) { border-bottom: 1px solid rgba(244, 232, 210, .14); }
}

.article-grid { align-items: start; }
.article { grid-column: 1 / span 6; min-width: 0; }
.aside { grid-column: 7 / span 3; position: sticky; top: 20px; display: grid; gap: 18px; min-width: 0; }
.article.solo { grid-column: 1 / -1; }
@media (max-width: 960px) {
    .article, .aside { grid-column: 1 / -1; position: static; }
}
.article > .block + .block { margin-top: clamp(48px, 6vw, 80px); }
.prose p { font-size: 18px; line-height: 1.7; margin: 0 0 1.1em; max-width: 64ch; }
.prose p:first-of-type::first-letter {
    float: left;
    font-family: var(--display); font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 96px; line-height: .78; padding: 8px 12px 0 0; color: var(--red);
}
.article .event-grid { grid-template-columns: 1fr; }

.card { border-radius: var(--radius); padding: 24px; background: var(--paper-2); }
.card h2 { font-size: 22px; margin: 0 0 14px; }
.card.sea { background: var(--sea); color: var(--paper); }
.card.sea a { color: var(--mustard); }
.card ul { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px dashed rgba(0, 0, 0, .18); padding-bottom: 8px; }
.card.sea li { border-color: rgba(255, 255, 255, .3); }
.card li:last-child { border-bottom: 0; padding-bottom: 0; }
.card li .coord { font: 400 12px var(--mono); opacity: .7; text-align: right; white-space: nowrap; }
.card p { margin: 0; font-size: 14px; opacity: .85; }
.aside .map { height: 320px; }

/* Live departures */
.departures h3 { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 10px; }
.departures h2 + h3 { margin-top: 0; }
.departures li { align-items: baseline; }
.departures .dep-time { font: 400 13px var(--mono); white-space: nowrap; }
.departures .dep-time b { font-size: 17px; font-weight: 500; }
.departures .dep-time s { opacity: .6; }
.departures .dep-to { text-align: right; min-width: 0; }
.departures .dep-to small { display: block; font: 400 12px var(--mono); opacity: .7; }
.departures li.cancelled .dep-time b { text-decoration: line-through; color: var(--red); }
.departures .dep-none { margin-bottom: 14px; }

/* Curiosa as tri-colour arches */
.curiosa { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; margin: 0; }
.curio { border-radius: 999px 999px var(--radius) var(--radius); padding: 70px 24px 26px; }
.curio:nth-child(3n+1) { background: var(--mustard); }
.curio:nth-child(3n+2) { background: var(--orange); color: #fff; }
.curio:nth-child(3n+3) { background: var(--red); color: #fff; }
.curio .big { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: .9; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em; display: block; margin-bottom: 10px; }
.curio p { margin: 0; font-size: 15px; line-height: 1.5; }
.curio .source { display: inline-block; margin-top: 10px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) { .curio { padding: 60px 28px 26px; border-radius: 160px 160px var(--radius) var(--radius); } }

/* Nearby */
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.near { text-decoration: none; border-radius: 22px; padding: 20px; background: var(--paper-2); display: grid; gap: 8px; transition: transform .2s, background .2s; }
.near:hover { transform: translateY(-4px); background: var(--mustard); color: var(--ink); }
.near b { font-family: var(--display); font-size: 26px; font-weight: 700; font-variation-settings: "SOFT" 100, "WONK" 1; line-height: 1; }
.near span { font: 500 12px var(--mono); color: var(--ink-soft); }

/* ======================================================
   Place list
   ====================================================== */
.region-block + .region-block { margin-top: clamp(48px, 6vw, 72px); }
.region-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 18px; }
.region-title h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.region-title .dot { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.region-title .count { font: 500 13px var(--mono); color: var(--ink-soft); margin-left: auto; }
.dot.norra { background: var(--norra); }
.dot.mellersta { background: var(--mellersta); }
.dot.sodra { background: var(--sodra); }
.place-list { list-style: none; padding: 0; margin: 0; columns: 3 220px; column-gap: 2rem; }
.place-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--rule); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.place-list a { text-decoration: none; font-weight: 500; }
.place-list a:hover { color: var(--red); }
.tag { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-soft); padding: 3px 7px; border-radius: 99px; }
.tag-accent { background: var(--red); color: #fff; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .sun-rise { animation: rise 2.4s cubic-bezier(.2, .7, .2, 1) both; }
    .stripe-draw { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.2s .2s cubic-bezier(.3, .7, .2, 1) forwards; }
    .stripe-draw.s2 { animation-delay: .35s; }
    .stripe-draw.s3 { animation-delay: .5s; }
    @keyframes rise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
    @keyframes draw { to { stroke-dashoffset: 0; } }
}

#blazor-error-ui {
    background: var(--mustard); color: var(--ink); bottom: 0;
    display: none; left: 0; padding: .6rem 1.25rem .7rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
