:root {
  --ink: #111411;
  --paper: #f3f0e8;
  --lime: #c8ff31;
  --forest: #123f2d;
  --mint: #dff8e7;
  --line: rgba(17, 20, 17, 0.18);
  --muted: #5b625c;
  --max: 1180px;
  --radius: 1.1rem;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #25794f; outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; padding: .7rem 1rem; background: #fff; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }
.muted { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(243,240,232,.98); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; line-height: .95; }
.brand-mark { width: 37px; height: 37px; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; padding: 5px; background: var(--ink); border-radius: 8px; }
.brand-mark i { display: block; border-radius: 50%; background: var(--lime); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(6), .brand-mark i:nth-child(8) { opacity: .25; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.menu-icon { position: relative; width: 19px; height: 14px; }
.menu-icon i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, top .2s ease, opacity .15s ease; }
.menu-icon i:nth-child(1) { top: 0; }
.menu-icon i:nth-child(2) { top: 6px; }
.menu-icon i:nth-child(3) { top: 12px; }
.nav-toggle.is-open .menu-icon i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .menu-icon i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .menu-icon i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .76rem 1.15rem; border: 1px solid var(--ink); border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button.light { background: transparent; color: var(--ink); }
.button.small { min-height: 40px; padding: .55rem .9rem; font-size: .9rem; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 680px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 6.5rem 4.5rem 5rem 0; }
.hero h1, .page-hero h1 { margin: 0; max-width: 930px; font-size: clamp(3.3rem, 7.6vw, 7.2rem); line-height: .89; letter-spacing: -.06em; font-weight: 800; }
.hero h1 span { display: block; color: var(--forest); }
.hero-lead { max-width: 690px; margin: 2rem 0; font-size: clamp(1.12rem, 2vw, 1.42rem); line-height: 1.43; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-visual { position: relative; display: grid; align-content: center; padding: 3rem; color: #fff; background: var(--forest); }
.hero-visual::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 42px 42px; }
.signal-card { position: relative; z-index: 1; padding: 2rem; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); background: rgba(9,35,24,.7); box-shadow: 0 24px 70px rgba(0,0,0,.23); }
.signal-card strong { display: block; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.signal-list { display: grid; gap: .7rem; margin-top: 2rem; }
.signal-row { display: flex; gap: .75rem; align-items: center; padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.signal-row::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(200,255,49,.12); }

.trust-strip { background: var(--ink); color: #fff; }
.trust-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.trust-inner p { margin: 0; font-weight: 750; }
.place-list { color: var(--lime); text-align: right; }

section { padding: 5.5rem 0; }
.section-head { display: grid; grid-template-columns: .58fr 1.42fr; gap: 3rem; margin-bottom: 3rem; }
.section-head h2 { margin: 0; max-width: 800px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.section-head p { max-width: 680px; margin: .35rem 0 0; font-size: 1.12rem; }

.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.problem { min-height: 260px; padding: 1.6rem; background: var(--paper); }
.problem h3 { margin: 0 0 .7rem; font-size: 1.45rem; letter-spacing: -.03em; }
.problem p { margin: 0; color: var(--muted); }
.problem .tag { display: inline-block; margin-top: 1.4rem; padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 99px; font-size: .78rem; font-weight: 750; }

.dark { background: var(--ink); color: #fff; }
.dark .muted { color: rgba(255,255,255,.68); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { padding: 1.8rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); }
.step b { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 3.4rem; border-radius: 50%; background: var(--lime); color: var(--ink); }
.step h3 { margin: 0 0 .6rem; font-size: 1.55rem; }

.match-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.match-copy h2 { margin: 0; font-size: clamp(2.5rem, 4.7vw, 4.5rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.checks { list-style: none; padding: 0; margin: 2rem 0; }
.checks li { display: flex; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.checks li::before { content: "✓"; font-weight: 900; color: var(--forest); }
.quote-panel { padding: 2.2rem; border-radius: var(--radius); background: var(--mint); }
.quote-panel p { margin: 0; font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 700; }
.quote-panel small { display: block; margin-top: 1.5rem; color: var(--muted); }

.form-section { background: var(--forest); color: #fff; }
.form-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.form-intro h2 { margin: 0; font-size: clamp(2.5rem, 4.7vw, 4.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.form-intro p { color: rgba(255,255,255,.74); }
.need-form { padding: 2rem; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .38rem; margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 760; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: .7rem .78rem; border: 1px solid #aeb5ae; border-radius: .55rem; background: #fff; color: var(--ink); }
.field textarea { min-height: 145px; resize: vertical; }
.form-note { margin: .8rem 0 0; font-size: .83rem; color: var(--muted); }
.form-feedback { min-height: 1.5rem; margin: .8rem 0 0; font-weight: 700; color: var(--forest); }

.faq { max-width: 880px; margin: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.3rem 0; font-size: 1.15rem; font-weight: 700; }
.faq details p { padding: 0 0 1.4rem; margin: 0; color: var(--muted); }

.page-hero { padding: 7rem 0 5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1100px; font-size: clamp(3.4rem, 8vw, 7rem); }
.page-hero p { max-width: 760px; margin: 2rem 0 0; font-size: 1.3rem; }
.content-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.content-grid h2 { margin-top: 0; font-size: clamp(2rem,4vw,3.6rem); line-height: 1; letter-spacing: -.045em; }
.content-grid h3 { margin: 2rem 0 .4rem; font-size: 1.35rem; }
.content-grid p { max-width: 760px; }
.sidebar { position: sticky; top: 110px; align-self: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
.sidebar a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.sidebar .official-site-button { display: flex; align-items: center; justify-content: center; min-height: 54px; margin: 1.35rem 0 .75rem; padding: .82rem 1rem; border: 1px solid var(--ink); border-radius: .7rem; background: var(--lime); color: var(--ink); text-align: center; font-weight: 800; line-height: 1.2; transition: background .18s ease, transform .18s ease; }
.sidebar .official-site-button:hover { background: #b9ee28; transform: translateY(-2px); }
.sidebar .all-actors-link { padding: .45rem 0; border-bottom: 0; color: var(--muted); text-align: center; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font-size: .9rem; font-weight: 650; }

.cta-band { padding: 3.5rem 0; background: var(--lime); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { margin: 0; font-size: clamp(2rem,4vw,3.8rem); line-height: .98; letter-spacing: -.05em; }

.site-footer { padding: 3rem 0; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 3rem; }
.site-footer h3 { margin-top: 0; color: var(--lime); }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .42rem 0; }
.legal { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); font-size: .84rem; }

/* Digital ecosystem map */
.map-hero { padding: 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.map-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 540px; }
.map-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3.7rem 3.5rem 3.5rem 0; }
.map-hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.25rem, 5.8vw, 5.7rem); line-height: .91; letter-spacing: -.055em; font-weight: 800; }
.map-hero .hero-lead { max-width: 650px; font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.5; }
.hero-actions { align-items: center; gap: 1rem; }
.hero-secondary-link { color: var(--ink); font-size: .92rem; font-weight: 700; text-underline-offset: 4px; }
.hero-note { max-width: 610px; margin: 1.55rem 0 0; color: var(--muted); font-size: .88rem; }
.ecosystem-panel { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 540px; padding: 1.8rem; overflow: hidden; background: var(--forest); color: #fff; }
.ecosystem-panel::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 48px 48px; }
.ecosystem-orbit { position: relative; z-index: 1; width: min(390px, 100%); aspect-ratio: 1; place-self: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.ecosystem-orbit::before, .ecosystem-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.ecosystem-orbit::before { inset: 16%; }
.ecosystem-orbit::after { inset: 32%; }
.orbit-core, .orbit-node { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; font-weight: 800; letter-spacing: -.025em; }
.orbit-core { inset: 50% auto auto 50%; width: 94px; height: 94px; transform: translate(-50%,-50%); background: var(--lime); color: var(--ink); font-size: 1.55rem; box-shadow: 0 0 0 14px rgba(200,255,49,.12); }
.orbit-node { min-width: 60px; min-height: 60px; padding: .55rem; border: 1px solid rgba(255,255,255,.5); background: #0d2f22; font-size: .64rem; }
.node-one { top: 4%; left: 46%; }
.node-two { top: 48%; right: -5%; }
.node-three { bottom: 6%; left: 38%; }
.node-four { top: 42%; left: -8%; }
.ecosystem-stats { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1rem; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.25); }
.ecosystem-stats div { padding: .9rem 1rem; background: rgba(9,35,24,.88); }
.ecosystem-stats strong { display: block; color: var(--lime); font-size: 1.7rem; line-height: 1; font-weight: 750; }
.ecosystem-stats span { display: block; margin-top: .35rem; color: rgba(255,255,255,.72); font-size: .82rem; }
.signal-strip { padding: 1rem 0; overflow: hidden; background: var(--ink); color: #fff; }
.signal-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.signal-strip-inner i { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); }

.map-section { padding-top: 4.8rem; background: #ebe7dc; }
.map-section-head { align-items: start; }
.live-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .72rem; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.55); font-size: .78rem; font-weight: 750; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #33a56f; box-shadow: 0 0 0 5px rgba(51,165,111,.14); }
.map-controls { display: grid; grid-template-columns: 1.35fr .65fr; gap: .9rem; margin-bottom: 1rem; }
.search-control, .select-control { display: grid; gap: .36rem; }
.search-control span, .select-control span { font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.search-control input, .select-control select { width: 100%; min-height: 52px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: .65rem; background-color: #fff; color: var(--ink); }
.select-control select { appearance: none; padding-right: 2.8rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.category-filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-chip { min-height: 39px; padding: .48rem .82rem; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font-size: .88rem; font-weight: 650; }
.filter-chip:hover, .filter-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.map-layout { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 680px; border: 1px solid var(--line); background: #fff; }
.map-shell { position: relative; align-self: start; min-height: 680px; overflow: hidden; contain: paint; border-right: 1px solid var(--line); background: #d9ded5; }
#dalarna-map { width: 100%; height: 630px; background: #d9ded5; }
.map-gesture-hint { display: none; }
.map-legend { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .9rem; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .72rem; }
.map-legend span:first-child { display: flex; align-items: center; gap: .45rem; }
.map-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px rgba(18,63,45,.12); }
.leaflet-container { font: inherit; }
.leaflet-control-zoom { margin: 0 12px 12px 0 !important; overflow: hidden; border: 0 !important; border-radius: .65rem !important; box-shadow: 0 8px 24px rgba(17,20,17,.18) !important; }
.leaflet-control-zoom a { display: grid; place-items: center; width: 42px !important; height: 42px !important; color: var(--ink); font-size: 1.35rem !important; line-height: 1 !important; }
.leaflet-popup-content-wrapper { border-radius: .7rem; box-shadow: 0 16px 45px rgba(17,20,17,.18); }
.leaflet-popup-content { margin: .9rem 1rem; }
.map-popup strong { display: block; margin-bottom: .2rem; font-size: 1rem; }
.map-popup span { color: var(--muted); font-size: .78rem; }
.actor-results { height: 680px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; background: #fff; }
.result-top { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: .8rem 1.15rem; border-bottom: 1px solid var(--line); background: #fff; }
.result-top button { border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: .78rem; }
.actor-list { display: grid; }
.actor-card { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.25rem; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.actor-card:hover, .actor-card.is-focused { background: #f3f5ed; }
.actor-card[hidden] { display: none; }
.actor-initial { display: grid; place-items: center; align-self: start; width: 55px; height: 55px; border-radius: .65rem; background: var(--forest); color: var(--lime); text-align: center; font-size: .8rem; font-weight: 800; line-height: .9; letter-spacing: -.02em; }
.actor-meta { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.actor-meta span { color: var(--forest); font-size: .82rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }
.actor-meta small { color: var(--muted); font-size: .82rem; }
.actor-body h3 { margin: .26rem 0 .25rem; font-size: 1.28rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.actor-body p { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.actor-body a { font-size: .86rem; font-weight: 700; text-underline-offset: 3px; }
.actor-body a span { display: none; }
.no-results { padding: 2.5rem 1.25rem; }
.no-results strong { font-size: 1.3rem; }
.no-results p { color: var(--muted); }

.home-paths { background: var(--paper); }
.compact-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.compact-section-head h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.045em; }
.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.path-card { min-height: 250px; padding: 1.6rem; background: var(--paper); text-decoration: none; transition: background .18s ease, color .18s ease; }
.path-card span { display: block; margin-bottom: 3rem; color: var(--forest); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.path-card strong { display: block; font-size: 1.65rem; line-height: 1.05; letter-spacing: -.035em; }
.path-card p { margin: .9rem 0 0; color: var(--muted); font-size: .95rem; }
.path-card:hover { background: var(--mint); }
.path-card-dark, .path-card-dark:hover { background: var(--ink); color: #fff; }
.path-card-dark span { color: var(--lime); }
.path-card-dark p { color: rgba(255,255,255,.68); }
.match-section { background: var(--forest); color: #fff; }
.match-grid-new { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.match-intro h2 { margin: 0; font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: .98; letter-spacing: -.045em; font-weight: 750; }
.match-intro > p { color: rgba(255,255,255,.76); }
.match-intro .eyebrow { color: #fff; }
.mini-steps { list-style: none; padding: 0; margin: 2rem 0 0; }
.mini-steps li { display: flex; align-items: center; gap: .7rem; padding: .72rem 0; border-top: 1px solid rgba(255,255,255,.2); font-weight: 650; }
.mini-steps b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .75rem; }
.compact-form { padding: 1.6rem; }
.compact-form textarea { min-height: 130px; }
.cta-band .eyebrow { margin-bottom: .35rem; }

/* Search-friendly directories, profiles and guides */
.directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.directory-card { min-height: 285px; padding: 1.6rem; background: var(--paper); }
.directory-card h2 { margin: .35rem 0 .8rem; font-size: 1.65rem; line-height: 1.08; letter-spacing: -.035em; }
.directory-card h2 a { text-decoration: none; }
.directory-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.directory-card p:not(.eyebrow) { color: var(--muted); }
.text-link-dark { font-weight: 750; text-underline-offset: 4px; }
.profile-hero h1, .guide-hero h1 { max-width: 1050px; }
.source-panel { margin-top: 3rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mint); }
.source-panel h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.source-panel ul { padding-left: 1.2rem; }
.source-panel a { font-weight: 700; text-underline-offset: 3px; }
.article-body .article-section { padding: 0 0 3.2rem; }
.article-body .article-section + .article-section { padding-top: .4rem; border-top: 1px solid var(--line); }
.article-body .article-section h2 { padding-top: 2.5rem; }
.map-popup a { display: block; margin-top: .55rem; font-weight: 750; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  body.menu-open { overflow: hidden; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 76px); overflow-y: auto; padding: 1.2rem 1rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(17,20,17,.12); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.button) { padding: .6rem 0; font-size: 1.05rem; }
  .nav-links .button { width: 100%; }
  .hero-grid, .section-head, .match-layout, .form-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 0 4rem; }
  .hero-visual { min-height: 500px; margin-inline: -1rem; }
  .problem-grid, .steps, .directory-grid { grid-template-columns: 1fr; }
  .form-grid { gap: 2rem; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-hero-grid, .map-layout, .match-grid-new { grid-template-columns: minmax(0, 1fr); }
  .map-hero-grid { min-height: 0; }
  .map-hero-copy { padding: 4rem 0 3.25rem; }
  .ecosystem-panel { min-height: auto; margin-inline: -1rem; padding: 1rem; }
  .ecosystem-orbit { display: none; }
  .ecosystem-stats { margin-top: 0; }
  .map-shell { position: static; min-height: 520px; border-right: 0; border-bottom: 1px solid var(--line); }
  #dalarna-map { height: 470px; }
  .actor-results { height: auto; overflow: visible; }
  .result-top { position: relative; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 0; }
  .path-card span { margin-bottom: 1.8rem; }
  .match-grid-new { gap: 2.5rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 4rem 0; }
  .brand span:last-child { font-size: .9rem; }
  .hero-grid { min-height: auto; }
  .hero h1, .page-hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-visual { padding: 1rem; min-height: 420px; }
  .field-grid { grid-template-columns: 1fr; }
  .need-form { padding: 1.25rem; }
  .trust-inner, .cta-inner { align-items: flex-start; flex-direction: column; padding-block: 1.2rem; }
  .place-list { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .map-hero-copy { padding: 3.25rem 0 2.5rem; }
  .map-hero h1 { font-size: clamp(3rem, 14vw, 4.25rem); line-height: .92; }
  .map-hero .hero-lead { margin: 1.45rem 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .ecosystem-stats { grid-template-columns: 1fr 1fr; }
  .signal-strip-inner { justify-content: flex-start; overflow: hidden; }
  .map-controls { grid-template-columns: 1fr; }
  .category-filters { grid-column: 1; flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  .filter-chip { flex: 0 1 auto; }
  .map-layout { width: 100%; min-width: 0; margin-inline: 0; }
  .map-section { padding-top: 3.6rem; }
  .map-section-head { gap: 1.35rem; margin-bottom: 2rem; }
  .map-section-head h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  #dalarna-map { height: 360px; touch-action: pan-y; }
  #dalarna-map.is-multitouching { touch-action: none; }
  .map-shell { min-height: 410px; }
  .map-gesture-hint { position: absolute; z-index: 500; top: .75rem; left: 50%; display: block; max-width: calc(100% - 5rem); transform: translateX(-50%); padding: .48rem .72rem; border-radius: 99px; background: rgba(17,20,17,.88); color: #fff; text-align: center; font-size: .72rem; font-weight: 700; pointer-events: none; transition: opacity .2s ease; }
  .map-gesture-hint.is-hidden { opacity: 0; }
  .leaflet-control-zoom a { width: 44px !important; height: 44px !important; }
  .map-legend { align-items: flex-start; flex-direction: column; }
  .actor-results, .actor-list, .actor-card, .actor-body { min-width: 0; max-width: 100%; }
  .actor-list { display: grid; overflow: visible; }
  .actor-card { width: 100%; min-width: 0; padding: 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .actor-body, .actor-meta { overflow-wrap: anywhere; }
  .actor-initial { width: 48px; height: 48px; }
  .actor-meta { align-items: flex-start; flex-direction: column; gap: .1rem; }
  .compact-section-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .compact-section-head h2, .match-intro h2 { font-size: clamp(2.55rem, 12vw, 3.65rem); }
}

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