      /* Self-hosted fonts (GDPR-compliant, no Google Fonts) */
      @font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/static/fonts/dm-sans.woff2') format('woff2'); }
      @font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/static/fonts/fraunces-normal.woff2') format('woff2'); }
      @font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url('/static/fonts/fraunces-italic.woff2') format('woff2'); }
      /* ============================================================
         CALLEJEARDK.COM — UNIFIED DESIGN SYSTEM
         ============================================================ */
      :root {
        --ink:           #1a1a2e;
        --ink-soft:      #4a4a5e;
        --ink-muted:     #8888a0;
        --surface:       #fafaf8;
        --surface-warm:  #f5f3ee;
        --surface-card:  #ffffff;
        --accent:        #2d6a4f;
        --accent-light:  #40916c;
        --accent-bg:     #d8f3dc;
        --accent-bg-soft:#edf6f0;
        --border:        #e8e6e1;
        --border-soft:   #f0eee9;
        --red:           #c1121f;
        --red-bg:        #fdf0f0;
        --blue:          #1d3557;
        --blue-bg:       #e8f0f8;
        --amber:         #e09f3e;
        --amber-bg:      #fdf6e8;
        --green:         #16a34a;
        --green-bg:      #f0fdf4;
        --orange:        #ea580c;
        --orange-bg:     #fff7ed;
        --purple:        #6c47a0;
        --purple-bg:     #f0eaf8;
        --teal:          #0d9488;
        --teal-bg:       #f0fdfa;

        /* Legacy aliases — keep templates working without changes */
        --bg:            var(--surface);
        --card:          var(--surface-card);
        --ink2:          var(--ink-soft);
        --ink3:          var(--ink-muted);
        --line:          var(--border);
        --line-strong:   #cbbfaa;
        --muted:         var(--ink-soft);
        --accent-strong: #1b4332;
        --accent-soft:   var(--accent-bg);
        --sand:          var(--border-soft);
        --tag-bg:        var(--border-soft);

        --radius:      10px;
        --radius-sm:   6px;
        --shadow-sm:   0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
        --shadow:      0 4px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
        --shadow-soft: 0 2px 8px rgba(0,0,0,.04);
        --shadow2:     var(--shadow);

        --font:  'DM Sans', sans-serif;
        --serif: 'Fraunces', serif;
      }

      /* ---- RESET ---- */
      *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

      body {
        font-family: var(--font);
        background: var(--surface);
        color: var(--ink);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
      }
      a { color: var(--accent); }
      h1, h2, h3 { font-family: var(--serif); }

      /* ---- LAYOUT ---- */
      .wrap {
        width: min(1200px, calc(100vw - 48px));
        margin: 0 auto;
      }
      .main { padding: 0 0 64px; }

      /* ============================================================
         HEADER
         ============================================================ */
      .site-header {
        position: sticky;
        top: 0;
        z-index: 200;
        background: rgba(255,255,255,0.96);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
      }
      .site-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        height: 60px;
        width: min(1200px, calc(100vw - 48px));
        margin: 0 auto;
      }
      .brand {
        font-family: var(--serif);
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--ink);
        text-decoration: none;
        letter-spacing: -0.03em;
        white-space: nowrap;
      }
      .brand span { color: var(--accent); }
      .site-nav {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: nowrap;
      }
      .site-nav a {
        color: var(--ink-soft);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color .15s;
      }
      .site-nav a:hover { color: var(--accent); }
      .site-nav-cta {
        padding: 7px 14px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: var(--surface-card);
        color: var(--accent) !important;
        font-weight: 600 !important;
      }
      .site-nav-cta:hover { border-color: var(--accent); }

      /* ============================================================
         FOOTER
         ============================================================ */
      .site-footer {
        background: var(--ink);
        color: #8888a0;
        padding: 40px 0;
        font-size: 13px;
      }
      .site-footer-inner {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
        width: min(1200px, calc(100vw - 48px));
        margin: 0 auto;
      }
      .footer-brand {
        font-family: var(--serif);
        font-size: 1.25rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: -0.03em;
        margin-bottom: 6px;
      }
      .footer-brand span { color: var(--accent-light); }
      .site-footer p { line-height: 1.7; }
      .site-footer a { color: #8888a0; text-decoration: none; }
      .site-footer a:hover { color: #fff; }
      .footer-meta {
        display: flex;
        flex-direction: column;
        gap: 5px;
        text-align: right;
        white-space: nowrap;
      }

      /* ============================================================
         BREADCRUMB
         ============================================================ */
      .breadcrumb,
      .breadcrumbs {
        max-width: 1200px;
        margin: 0 auto;
        padding: 14px 24px 0;
        font-size: 12px;
        color: var(--ink-muted);
      }
      .breadcrumb a,
      .breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
      .breadcrumb a:hover,
      .breadcrumbs a:hover { color: var(--accent); }
      .breadcrumb span { margin: 0 5px; }
      .breadcrumbs { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 0; }

      /* ============================================================
         STREET PAGE — HERO
         ============================================================ */
      .hero {
        max-width: 1200px;
        margin: 0 auto;
        padding: 22px 24px 0;
      }
      .hero-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;
        flex-wrap: wrap;
      }
      .hero h1 {
        font-family: var(--serif);
        font-size: 40px;
        font-weight: 700;
        letter-spacing: -1.5px;
        line-height: 1.1;
        color: var(--ink);
      }
      .hero h1 small {
        display: block;
        font-family: var(--font);
        font-size: 14px;
        font-weight: 500;
        color: var(--ink-muted);
        letter-spacing: 0;
        margin-top: 6px;
      }
      .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
      .tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        background: var(--accent-bg-soft);
        border: 1px solid var(--accent-bg);
        border-radius: 999px;
        font-size: 12px;
        font-weight: 500;
        color: var(--accent);
      }
      .tag .ico { font-size: 13px; }

      /* ============================================================
         STREET PAGE — REAL-TIME STRIP
         ============================================================ */
      .live-strip {
        max-width: 1200px;
        margin: 20px auto 0;
        padding: 0 24px;
      }
      .live-inner {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1px;
        background: var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border);
      }
      .live-item {
        background: var(--surface-card);
        padding: 14px 16px;
        text-align: center;
      }
      .live-item .val {
        font-size: 20px;
        font-weight: 700;
        font-family: var(--serif);
        color: var(--ink);
        letter-spacing: -0.5px;
      }
      .live-item .lbl {
        font-size: 10px;
        color: var(--ink-muted);
        margin-top: 3px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.6px;
      }
      .live-item .val.green  { color: var(--green); }
      .live-item .val.red    { color: var(--red); }
      .live-item .val.blue   { color: var(--blue); }
      .live-item .val.amber  { color: var(--amber); }

      /* ============================================================
         STREET PAGE — MAP
         ============================================================ */
      .map-section {
        max-width: 1200px;
        margin: 20px auto 0;
        padding: 0 24px;
      }
      .map-frame {
        width: 100%;
        height: 320px;
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border);
        background: linear-gradient(135deg, #cde8f0 0%, #b4cfe8 100%);
        position: relative;
      }
      .map-fallback {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--blue);
        font-size: 14px;
        font-weight: 600;
      }

      /* ============================================================
         STREET PAGE — MAIN LAYOUT
         ============================================================ */
      .main-layout {
        max-width: 1200px;
        margin: 24px auto 0;
        padding: 0 24px 64px;
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 24px;
      }

      /* ============================================================
         CARDS (shared — street + index pages)
         ============================================================ */
      .card {
        background: var(--surface-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        margin-bottom: 16px;
      }
      .card-header {
        padding: 18px 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
      }
      .card-source {
        font-size: 10px;
        color: var(--ink-muted);
        margin-top: 2px;
        font-weight: 400;
        letter-spacing: 0;
      }
      .legal-body { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
      .legal-body h2 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
      .legal-body p { margin: 0 0 12px; }
      .legal-body ul { margin: 0 0 12px; padding-left: 20px; }
      .legal-body li { margin-bottom: 4px; }
      .legal-body a { color: var(--accent); }
      .legal-body table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
      .legal-body code { background: var(--surface-alt); padding: 2px 6px; border-radius: 4px; font-size: 12px; }
      .card-badges {
        display: flex;
        gap: 4px;
        align-items: center;
        flex-shrink: 0;
        margin-top: 2px;
      }
      .confidence-badge {
        font-size: 8px;
        padding: 2px 6px;
        opacity: 0.85;
      }
      .card-header h2 {
        font-family: var(--serif);
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.4px;
        color: var(--ink);
      }
      .card-header .badge {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.7px;
        padding: 3px 9px;
        border-radius: 999px;
        white-space: nowrap;
      }
      .badge-green  { background: var(--accent-bg);  color: var(--accent); }
      .badge-blue   { background: var(--blue-bg);    color: var(--blue); }
      .badge-orange { background: var(--orange-bg);  color: var(--orange); }
      .badge-red    { background: var(--red-bg);     color: var(--red); }
      .card-body { padding: 14px 20px 20px; }
      .sidebar .card { margin-bottom: 12px; }
      .sidebar .card-body { padding: 12px 16px 18px; }
      .sidebar h3 {
        font-family: var(--serif);
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 10px;
        letter-spacing: -0.3px;
        color: var(--ink);
      }

      /* ============================================================
         FLOOD / ALERT BOX
         ============================================================ */
      .flood-alert {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: var(--radius);
        margin-bottom: 16px;
        font-size: 13px;
        font-weight: 600;
        border-left: 3px solid;
      }
      .flood-alert.safe    { background: var(--green-bg);  color: var(--green);  border-color: var(--green); }
      .flood-alert.warning { background: var(--amber-bg);  color: var(--amber);  border-color: var(--amber); }
      .flood-alert.danger  { background: var(--red-bg);    color: var(--red);    border-color: var(--red); }

      /* ============================================================
         QOL GRID
         ============================================================ */
      .qol-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
      }
      .qol-item {
        text-align: center;
        padding: 14px 8px;
        border-radius: var(--radius-sm);
        background: var(--surface);
        border: 1px solid var(--border-soft);
      }
      .qol-score {
        font-size: 26px;
        font-weight: 700;
        font-family: var(--serif);
        letter-spacing: -0.5px;
      }
      .qol-label {
        font-size: 10px;
        color: var(--ink-muted);
        margin-top: 4px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.4px;
      }
      .qol-bench {
        font-size: 9px;
        color: var(--ink-muted);
        margin-top: 2px;
        letter-spacing: 0.2px;
      }
      .qol-bar {
        width: 56px;
        height: 3px;
        border-radius: 2px;
        background: var(--border);
        margin: 6px auto 0;
        position: relative;
        overflow: hidden;
      }
      .qol-bar-fill {
        height: 100%;
        border-radius: 2px;
        position: absolute;
        left: 0; top: 0;
      }

      /* ============================================================
         STAT ROW
         ============================================================ */
      .stat-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 9px 0;
        border-bottom: 1px solid var(--border-soft);
        font-size: 13px;
      }
      .stat-row:last-child { border-bottom: none; }
      .stat-row .label { color: var(--ink-soft); }
      .stat-row .value { font-weight: 600; color: var(--ink); text-align: right; }

      /* ============================================================
         PROPERTY PRICE
         ============================================================ */
      .price-big {
        font-family: var(--serif);
        font-size: 34px;
        font-weight: 700;
        color: var(--ink);
        letter-spacing: -1px;
      }
      .price-big .trend { font-size: 15px; margin-left: 8px; font-family: var(--font); }
      .price-big .trend.up { color: var(--green); }
      .price-compare {
        display: flex;
        gap: 12px;
        margin-top: 12px;
        font-size: 13px;
        flex-wrap: wrap;
      }
      .price-compare div {
        flex: 1 1 140px;
        padding: 10px 12px;
        background: var(--surface);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-sm);
        text-align: center;
      }
      .price-compare .pc-val {
        font-weight: 700;
        font-size: 15px;
        display: block;
        margin-top: 3px;
        color: var(--ink);
      }

      /* ============================================================
         SERVICES GRID
         ============================================================ */
      .svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
      .svc-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        background: var(--surface);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-sm);
        font-size: 13px;
      }
      .svc-icon {
        width: 32px; height: 32px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        flex-shrink: 0;
      }
      .svc-item .svc-name { font-weight: 600; font-size: 12px; color: var(--ink); }
      .svc-item .svc-dist { font-size: 11px; color: var(--ink-muted); }

      /* ============================================================
         ENERGY STRIP
         ============================================================ */
      .energy-strip { display: flex; gap: 2px; margin: 8px 0; }
      .energy-strip div {
        flex: 1;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        color: #fff;
        border-radius: 4px;
        opacity: 0.28;
      }
      .energy-strip div.active {
        opacity: 1;
        transform: scaleY(1.1);
        box-shadow: 0 2px 8px rgba(0,0,0,.2);
      }

      /* ============================================================
         BBR GRID
         ============================================================ */
      .bbr-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 10px;
      }
      .bbr-card {
        padding: 14px;
        background: var(--surface);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-sm);
      }
      .bbr-card .bbr-title { font-weight: 600; font-size: 12px; color: var(--ink-soft); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.4px; }
      .bbr-card .bbr-value { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
      .bbr-card .bbr-detail { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

      /* ============================================================
         SEO TEXT
         ============================================================ */
      .seo-text { font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
      .seo-text strong { color: var(--ink); }
      .seo-text a { color: var(--accent); }

      /* ============================================================
         CONNECTED STREETS
         ============================================================ */
      .conn-streets { display: flex; flex-wrap: wrap; gap: 6px; }
      .conn-street {
        padding: 5px 11px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-size: 12px;
        color: var(--accent);
        text-decoration: none;
        font-weight: 500;
        transition: border-color .15s, background .15s;
      }
      .conn-street:hover { border-color: var(--accent); background: var(--accent-bg-soft); }

      /* ============================================================
         AD SLOT
         ============================================================ */
      .ad-slot {
        background: var(--surface);
        border: 1.5px dashed var(--border);
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink-muted);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.4px;
      }

      /* ============================================================
         MUTED NOTE
         ============================================================ */
      .muted-note { font-size: 12px; color: var(--ink-muted); }
      .muted { color: var(--ink-soft); }

      /* ============================================================
         INDEX PAGES — EYEBROW
         ============================================================ */
      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--accent-bg);
        color: var(--accent);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .eyebrow-soft {
        background: var(--border-soft);
        color: var(--ink-soft);
      }

      /* ============================================================
         INDEX PAGES — HERO SHELL
         ============================================================ */
      .hero-shell {
        display: grid;
        grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
        gap: 18px;
        align-items: stretch;
        margin-top: 28px;
      }
      .hero-panel {
        background: var(--surface-card);
        border: 1px solid var(--border);
        border-radius: 16px;
      }
      .hero-panel-main {
        padding: 32px 32px;
      }
      .hero-title {
        font-family: var(--serif);
        font-size: clamp(2.4rem, 4vw, 4rem);
        line-height: 1.05;
        letter-spacing: -0.04em;
        margin-top: 12px;
        color: var(--ink);
      }
      .hero-copy {
        max-width: 46rem;
        margin: 16px 0 0;
        font-size: 1rem;
        line-height: 1.7;
        color: var(--ink-soft);
      }
      .hero-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 24px;
      }
      .hero-note {
        margin: 16px 0 0;
        font-size: 0.9rem;
        color: var(--ink-soft);
      }
      .hero-panel-metrics {
        padding: 22px;
        background: var(--surface);
      }
      .metrics-head p {
        margin: 8px 0 0;
        font-size: 0.88rem;
        line-height: 1.6;
        color: var(--ink-soft);
      }
      .metric-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 16px;
      }
      .metric-card {
        padding: 14px;
        border-radius: var(--radius);
        background: var(--surface-card);
        border: 1px solid var(--border);
      }
      .metric-card strong {
        display: block;
        font-family: var(--serif);
        font-size: 1.5rem;
        letter-spacing: -0.03em;
        color: var(--ink);
      }
      .metric-card span {
        display: block;
        margin-top: 3px;
        color: var(--ink-muted);
        font-size: 0.85rem;
      }
      .hero-summary {
        display: grid;
        gap: 10px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
      }
      .stat-pair {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 0.9rem;
        color: var(--ink-soft);
      }
      .stat-pair strong {
        font-family: var(--serif);
        font-size: 1.05rem;
        color: var(--ink);
      }

      /* ============================================================
         BUTTONS
         ============================================================ */
      .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 20px;
        border-radius: 999px;
        background: var(--accent);
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.9rem;
        letter-spacing: -0.01em;
        transition: background .15s;
      }
      .button:hover { background: var(--accent-light); color: #fff; }
      .button.button-secondary {
        background: transparent;
        color: var(--accent);
        border: 1px solid var(--border);
      }
      .button.button-secondary:hover { border-color: var(--accent); background: var(--accent-bg-soft); }

      /* ============================================================
         SOURCE STRIP
         ============================================================ */
      .source-strip {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 16px;
      }
      .source-chip {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--surface-card);
        border: 1px solid var(--border);
        color: var(--ink-soft);
        font-size: 0.82rem;
        font-weight: 600;
      }

      /* ============================================================
         SECTION BLOCK (index pages)
         ============================================================ */
      .section-block { margin-top: 32px; }
      .section-head { max-width: 48rem; margin-bottom: 18px; }
      .section-title {
        margin: 10px 0 0;
        font-family: var(--serif);
        font-size: clamp(1.6rem, 2.8vw, 2.4rem);
        line-height: 1.1;
        letter-spacing: -0.04em;
        color: var(--ink);
      }
      .section-copy {
        margin: 10px 0 0;
        color: var(--ink-soft);
        line-height: 1.7;
        font-size: 0.95rem;
      }

      /* ============================================================
         GRIDS (index pages)
         ============================================================ */
      .region-grid  { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
      .feature-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
      .city-grid    { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
      .method-grid  { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

      /* ============================================================
         CARDS (index pages)
         ============================================================ */
      .region-card,
      .city-card,
      .story-card,
      .method-card {
        display: block;
        text-decoration: none;
        color: inherit;
        background: var(--surface-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 18px;
        transition: border-color .15s, transform .15s;
      }
      .region-card:hover,
      .city-card:hover {
        border-color: var(--accent-bg);
        transform: translateY(-1px);
      }
      .region-card-top {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: flex-start;
      }
      .region-name,
      .city-card strong,
      .story-card h3,
      .method-card h3 {
        font-family: var(--serif);
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        color: var(--ink);
      }
      .region-badge {
        padding: 4px 10px;
        border-radius: 999px;
        background: var(--accent-bg-soft);
        color: var(--accent);
        font-size: 0.78rem;
        font-weight: 700;
        white-space: nowrap;
      }
      .region-copy,
      .city-card p,
      .story-card p,
      .method-card p {
        margin: 8px 0 0;
        color: var(--ink-soft);
        line-height: 1.6;
        font-size: 0.88rem;
      }
      .region-meta,
      .city-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        margin-top: 12px;
        color: var(--accent);
        font-size: 0.85rem;
        font-weight: 600;
      }
      .method-step {
        display: inline-flex;
        width: 32px; height: 32px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--accent);
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
        margin-bottom: 12px;
      }

      /* ============================================================
         STREET CARD GRID (kommune page)
         ============================================================ */
      .street-card-grid,
      .index-card-grid {
        display: grid;
        gap: 14px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      }
      .street-card {
        display: block;
        text-decoration: none;
        color: inherit;
        background: var(--surface-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        transition: border-color .15s, transform .15s;
      }
      .street-card:hover { border-color: var(--accent-bg); transform: translateY(-1px); }
      .street-card-top {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: flex-start;
      }
      .street-card strong {
        font-family: var(--serif);
        font-size: 0.95rem;
        letter-spacing: -0.02em;
        color: var(--ink);
      }
      .street-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.85rem; line-height: 1.5; }
      .region-meta span,
      .city-meta span { font-size: 0.82rem; }

      /* ============================================================
         ALPHA NAV + SEARCH (region / kommune pages)
         ============================================================ */
      .alpha-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
      }
      .alpha-chip {
        display: inline-flex;
        min-width: 36px;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        border-radius: var(--radius-sm);
        background: var(--surface-card);
        border: 1px solid var(--border);
        color: var(--accent);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.85rem;
        transition: border-color .15s, background .15s;
      }
      .alpha-chip:hover { border-color: var(--accent); background: var(--accent-bg-soft); }
      .search-panel {
        margin-bottom: 16px;
        padding: 16px 18px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--surface-card);
      }
      .search-input {
        width: 100%;
        margin-top: 8px;
        padding: 11px 14px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        background: var(--surface);
        font: inherit;
        font-size: 0.95rem;
        color: var(--ink);
        outline: none;
        transition: border-color .15s;
      }
      .search-input:focus { border-color: var(--accent); }
      .search-help {
        margin: 0;
        color: var(--ink-soft);
        font-size: 0.88rem;
        line-height: 1.6;
      }
      .search-empty {
        margin: 8px 0 0;
        color: var(--red);
        font-weight: 600;
        font-size: 0.88rem;
      }

      /* ============================================================
         ALPHA SECTION GRID (kommune page)
         ============================================================ */
      .alpha-section-grid {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      }
      .alpha-section-card {
        background: var(--surface-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
      }
      .alpha-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 16px 12px;
        border-bottom: 1px solid var(--border-soft);
      }
      .alpha-section-head span {
        display: inline-flex;
        width: 34px; height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--accent-bg-soft);
        color: var(--accent);
        font-weight: 700;
        font-size: 0.9rem;
      }
      .alpha-section-head strong { font-size: 0.9rem; color: var(--ink-soft); }
      .compact-street-list {
        list-style: none;
        margin: 0;
        padding: 6px 16px 14px;
      }
      .compact-street-list li {
        padding: 8px 0;
        border-top: 1px solid var(--border-soft);
        break-inside: avoid;
        line-height: 1.45;
      }
      .compact-street-list li:first-child { border-top: 0; }
      .compact-street-list a {
        display: inline-block;
        font-weight: 600;
        font-size: 0.88rem;
        text-decoration: none;
        color: var(--ink);
        margin-right: 6px;
      }
      .compact-street-list a:hover { color: var(--accent); }
      .compact-meta {
        display: inline-block;
        color: var(--ink-muted);
        font-size: 0.82rem;
        margin-right: 6px;
      }

      /* ============================================================
         DETAILS INDEX (region page)
         ============================================================ */
      .details-index { display: grid; gap: 12px; }
      .index-group {
        background: var(--surface-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
      }
      .index-group summary { list-style: none; }
      .index-group summary::-webkit-details-marker { display: none; }
      .index-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 14px 18px;
        cursor: pointer;
        font-size: 0.95rem;
        user-select: none;
      }
      .index-summary span {
        display: inline-flex;
        width: 34px; height: 34px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--accent-bg-soft);
        color: var(--accent);
        font-weight: 700;
        font-size: 0.9rem;
      }
      .index-summary strong { font-size: 0.9rem; color: var(--ink-soft); }
      .index-card-grid { padding: 0 18px 18px; }

      /* ============================================================
         RESPONSIVE
         ============================================================ */
      @media (max-width: 900px) {
        .site-header-inner { width: calc(100vw - 32px); }
        .main-layout { grid-template-columns: 1fr; }
        .hero-shell { grid-template-columns: 1fr; }
        .hero h1 { font-size: 32px; }
        .qol-grid { grid-template-columns: repeat(2, 1fr); }
        .svc-grid { grid-template-columns: 1fr; }
        .bbr-grid { grid-template-columns: 1fr; }
        .site-footer-inner { flex-direction: column; }
        .footer-meta { text-align: left; }
        .metric-grid { grid-template-columns: 1fr 1fr; }
      }
      @media (max-width: 640px) {
        .site-nav { gap: 12px; }
        .hero h1 { font-size: 28px; }
        .live-inner { grid-template-columns: repeat(3, 1fr); }
        .hero-panel-main { padding: 22px 20px; }
        .street-card-grid,
        .index-card-grid,
        .alpha-section-grid { grid-template-columns: 1fr; }
        .metric-grid { grid-template-columns: 1fr; }
        .site-nav a:not(.site-nav-cta) { display: none; }
      }

      /* ============================================================
         ANIMATION
         ============================================================ */
      @keyframes fadeUp {
        from { opacity: 0; transform: translateY(12px); }
        to   { opacity: 1; transform: translateY(0); }
      }
      .card,
      .flood-alert,
      .live-inner,
      .map-frame,
      .hero-panel { animation: fadeUp .4s ease-out both; }
