/* ============================================================================
   Indiana Water Data Portal — "Hoosier Hydrography" theme
   Concept redesign by Stoa Works. Limestone paper + confident azure +
   cerulean choropleth. Display: Zilla Slab · Body: Spline Sans · Data: Spline Sans Mono.
   ========================================================================== */
@import url("/indianawaterportal/assets/fonts.css");

:root {
  /* limestone paper + warm neutral scale (NOT accents) */
  --paper: #f6f1e7;
  --paper-2: #fbf8f1;
  --panel: #ffffff;
  --line: #e3d9c4;
  --line-2: #d8ccb0;
  --stone-100: #efe7d6;
  --stone-200: #e2d7bf;
  --stone-300: #cabfa3;
  --stone-400: #b7a886;
  --stone-600: #6f6450;
  /* ink */
  --ink: #14242e;
  --ink-2: #33454f;
  --ink-3: #4f5e66;
  /* signature azure (verified distinct among Stoa prototypes) */
  --azure: #105fc4;
  --azure-bright: #2589e6;
  --azure-deep: #0b4f9e;
  --azure-ink: #082f63;
  --azure-wash: #e8f0fb;
  --azure-wash-2: #d6e6f8;
  /* groundwater = deep indigo ("below the surface"); distinct from surface azure */
  --gw: #5a3fb0;
  --gw-wash: #ece9fa;
  /* status (calm, no alarm red) */
  --high: #0b4f9e;     /* high water = deep azure */
  --normal: #4a7a52;   /* calm green, sparing */
  /* choropleth cerulean ramp */
  --c0: #e4edf7; --c1: #b9d2ec; --c2: #7fb0dd; --c3: #3f82c4; --c4: #1c5fa8; --c5: #0b3f7e;
  /* type */
  --display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --body: "Spline Sans", system-ui, -apple-system, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* metrics */
  --maxw: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20,36,46,.06), 0 6px 22px rgba(20,36,46,.07);
  --shadow-lg: 0 8px 40px rgba(11,63,126,.14);
  --tick: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 9px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* faint hydrography contour wash */
  background-image:
    radial-gradient(1200px 520px at 86% -8%, var(--azure-wash) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(20,36,46,.018) 0 1px, transparent 1px 46px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--azure-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--azure); }
strong { font-weight: 600; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--azure-deep); font-weight: 500; }

/* ---- focus + a11y ---- */
:focus-visible { outline: 3px solid var(--azure-bright); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* a bare <table class="visually-hidden"> ignores width:1px (intrinsic table layout)
   and extends its layout box, triggering horizontal overflow; force it to a block so
   the width clamp + overflow:hidden actually contain it. (Generated tables are also
   wrapped in a <div class="visually-hidden"> which clips on its own.) */
table.visually-hidden { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 64ch; }

/* ---- proto banner ---- */
.proto-banner { background: var(--ink); color: #f3ede0; font-size: .82rem; text-align: center; padding: 7px 14px; font-family: var(--mono); letter-spacing: .02em; }
.proto-banner a { color: #bcd6f5; }

/* ============================ chrome / nav ============================ */
.masthead { background: var(--paper-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.masthead-row { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; background: linear-gradient(150deg, var(--azure) 0%, var(--azure-deep) 100%); position: relative; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
/* hydrography mark — concentric "ripple" rings drawn with CSS borders */
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); }
.brand-mark::before { inset: 9px; }
.brand-mark::after { inset: 15px; border-color: rgba(255,255,255,.55); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.brand-name span { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.primary-nav { display: flex; gap: 4px; align-items: center; }
.primary-nav a { font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 9px 12px; border-radius: 8px; position: relative; }
.primary-nav a:hover { background: var(--azure-wash); color: var(--azure-deep); }
.primary-nav a[aria-current="page"] { color: var(--azure-deep); }
.primary-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2.5px; border-radius: 2px; background: var(--azure); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel); cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 12px; font-size: 1rem; }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .primary-nav a[aria-current="page"] { background: var(--azure-wash); }
}

/* ============================ hero ============================ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px 0 60px; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 26px; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); aspect-ratio: 4 / 3.05; background: var(--stone-100); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.02) contrast(1.02); }
/* limestone + azure duotone wash (the DNA photo treatment) + survey-tick frame */
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(150deg, rgba(16,95,196,.20), rgba(246,241,231,.05) 55%, rgba(11,63,126,.22)); mix-blend-mode: multiply; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 0 0 6px rgba(20,36,46,.06); border-radius: var(--radius-lg); }
.hero-photo figcaption { z-index: 3; position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--mono); font-size: .68rem; color: #eef4fb; background: linear-gradient(0deg, rgba(8,28,46,.82), transparent); padding: 24px 14px 8px; }
.hero-search { display: flex; gap: 8px; max-width: 540px; margin-top: 4px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--tick); height: 4px; top: auto; bottom: 0; opacity: .5; }
/* atmospheric hydrography contour backdrop (generated, palette-locked) — fades out
   under the text column on the left so headline contrast is untouched */
.hero .wrap { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/indianawaterportal/assets/hydro-contour.webp") right -4% top -12% / 64% auto no-repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(105deg, transparent 0 40%, #000 82%);
          mask-image: linear-gradient(105deg, transparent 0 40%, #000 82%);
}
@media (max-width: 920px) { .hero::before { background-size: 130% auto; background-position: right -10% top -6%; opacity: .28; } }

/* ============================ buttons ============================ */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: .97rem; padding: 12px 20px; border-radius: 9px; border: 1px solid transparent; cursor: pointer; text-decoration: none; min-height: 46px; line-height: 1; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--azure); color: #fff; }
.btn-primary:hover { background: var(--azure-deep); color: #fff; }
.btn-ghost { background: var(--panel); color: var(--azure-deep); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--azure-wash); border-color: var(--azure); }
.btn-sm { padding: 8px 14px; min-height: 40px; font-size: .9rem; }

/* ============================ generic input ============================ */
.field { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: 10px; padding: 4px 6px 4px 14px; flex: 1; }
.field:focus-within { border-color: var(--azure); box-shadow: 0 0 0 3px var(--azure-wash); }
.field svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.field input, .field select { border: 0; outline: 0; background: transparent; font-family: var(--body); font-size: 1rem; color: var(--ink); flex: 1; min-width: 0; padding: 10px 0; }
select.input, input.input { width: 100%; background: var(--panel); border: 1.5px solid var(--line-2); border-radius: 9px; padding: 10px 12px; font-family: var(--body); font-size: .95rem; color: var(--ink); min-height: 44px; }
input.input:focus, select.input:focus { border-color: var(--azure); box-shadow: 0 0 0 3px var(--azure-wash); outline: none; }

/* ============================ live readout band ============================ */
.readout { background: var(--ink); color: #eaf1f8; position: relative; }
.readout .wrap { padding-top: 30px; padding-bottom: 30px; }
.readout-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; }
.stat { background: #162932; padding: 20px 20px; }
.stat .n { font-family: var(--mono); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.4rem); color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat .n small { font-size: .9rem; color: #9fc3e8; font-weight: 400; }
.stat .l { font-size: .86rem; color: #aebfca; margin-top: 8px; }
.stat .pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #43d39a; margin-right: 7px; box-shadow: 0 0 0 0 rgba(67,211,154,.7); animation: pulse 2.4s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(67,211,154,.55); } 70% { box-shadow: 0 0 0 8px rgba(67,211,154,0); } 100% { box-shadow: 0 0 0 0 rgba(67,211,154,0); } }
.readout-note { font-family: var(--mono); font-size: .72rem; color: #8aa6bd; margin-top: 14px; }

/* ============================ cards ============================ */
.cards { display: grid; gap: 18px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: relative; }
.card h3 { margin-bottom: .35em; }
.card.link-card { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .12s, box-shadow .15s; }
.card.link-card:hover { border-color: var(--azure); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card .card-kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--azure-deep); }
.card-arrow { color: var(--azure); font-weight: 600; }

/* droplet list bullets (motif) */
.drop-list { list-style: none; padding: 0; margin: 0; }
.drop-list li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.drop-list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 9px; height: 9px; background: var(--azure); border-radius: 50% 50% 50% 0; transform: rotate(45deg); }

/* ============================ badges ============================ */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; font-weight: 500; padding: 3px 9px; border-radius: 999px; letter-spacing: .03em; }
.badge-live { background: #e7f6ef; color: #166a45; }
.badge-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #1aa05f; }
.badge-planned { background: var(--stone-100); color: var(--stone-600); }
.badge-high { background: var(--azure-wash-2); color: var(--azure-deep); }
.badge-gw { background: var(--gw-wash); color: #3a2a78; }
.badge-cat { background: var(--azure-wash); color: var(--azure-deep); }

/* ============================ tables ============================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.data thead th { position: sticky; top: 0; background: var(--stone-100); font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
table.data thead th[aria-sort] .arr::after { content: " ↕"; opacity: .4; }
table.data thead th[aria-sort="ascending"] .arr::after { content: " ↑"; opacity: 1; }
table.data thead th[aria-sort="descending"] .arr::after { content: " ↓"; opacity: 1; }
table.data tbody tr:hover { background: var(--azure-wash); }
table.data td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
table.data tbody tr:last-child td { border-bottom: 0; }
.data-scroll { max-height: 620px; overflow-y: auto; }
@media (max-width: 600px) { .data-scroll { max-height: none; overflow-y: visible; } }

/* ============================ map ============================ */
.map-shell { display: grid; grid-template-columns: 1fr 320px; gap: 18px; }
.map-stage { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); position: relative; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.map-svg { width: 100%; height: auto; display: block; touch-action: none; cursor: grab; background:
  radial-gradient(900px 420px at 70% -10%, var(--azure-wash) 0, transparent 65%), var(--paper-2); }
.map-svg.is-panning { cursor: grabbing; }
.region { stroke: #fff; stroke-width: .8; transition: fill .25s; cursor: pointer; }
.region:hover, .region:focus { stroke: var(--ink); stroke-width: 1.6; outline: none; }
.region-label { font-family: var(--mono); font-size: 9px; fill: #28323a; pointer-events: none; text-anchor: middle; paint-order: stroke; stroke: rgba(255,255,255,.7); stroke-width: 2px; }
.gage-pt { stroke: #fff; stroke-width: 1; cursor: pointer; }
.map-side { display: flex; flex-direction: column; gap: 14px; }
.map-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.map-panel h3 { font-size: 1rem; margin-bottom: 10px; }
.seg { display: inline-flex; background: var(--stone-100); border-radius: 9px; padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; font-family: var(--body); font-weight: 600; font-size: .86rem; padding: 8px 14px; border-radius: 7px; cursor: pointer; color: var(--ink-2); min-height: 38px; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--azure-deep); box-shadow: var(--shadow); }
.choro-scale { display: flex; height: 12px; border-radius: 3px; overflow: hidden; margin: 8px 0 4px; }
.choro-scale span { flex: 1; }
.choro-ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }
.map-toggle { display: flex; align-items: center; gap: 9px; font-size: .9rem; padding: 7px 4px; cursor: pointer; min-height: 38px; }
.map-toggle .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.map-toggle .count { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.map-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.map-zoom button { width: 38px; height: 38px; border: 1px solid var(--line-2); background: var(--panel); border-radius: 8px; font-size: 1.2rem; cursor: pointer; color: var(--ink); box-shadow: var(--shadow); }
.map-info p { margin: 0 0 6px; font-size: .92rem; }

/* ============================ charts ============================ */
.chart { margin: 0 0 6px; }
.chart-title { font-size: .95rem; font-weight: 600; font-family: var(--display); margin-bottom: 8px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 10px; margin-bottom: 7px; font-size: .85rem; }
.bar-row .lab { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { background: var(--stone-100); border-radius: 5px; height: 16px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--azure); border-radius: 5px; }
.bar-row .val { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
.spark { display: block; width: 100%; height: auto; }
.line-chart { width: 100%; height: auto; display: block; background: var(--paper-2); border-radius: var(--radius); border: 1px solid var(--line); }

/* ============================ search / ask ============================ */
.ask-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-family: var(--body); font-size: .86rem; background: var(--azure-wash); color: var(--azure-deep); border: 1px solid var(--azure-wash-2); border-radius: 999px; padding: 7px 13px; cursor: pointer; min-height: 36px; }
.chip:hover { background: var(--azure-wash-2); border-color: var(--azure); }
.answer { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.answer .answer-text { font-size: 1.06rem; color: var(--ink); }
.answer .answer-text strong { color: var(--ink); }
.source-cards { display: grid; gap: 10px; margin-top: 16px; }
.source-card { display: flex; gap: 12px; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; text-decoration: none; color: inherit; }
.source-card:hover { border-color: var(--azure); background: var(--azure-wash); }
.source-card .sc-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--azure-wash-2); color: var(--azure-deep); display: flex; align-items: center; justify-content: center; flex: none; font-family: var(--mono); font-size: .7rem; font-weight: 600; }
.source-card .sc-t { font-weight: 600; font-size: .94rem; }
.source-card .sc-d { font-size: .82rem; color: var(--ink-3); }
.results { display: grid; gap: 10px; margin-top: 16px; }
.result { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 13px 16px; }
.result a { font-weight: 600; text-decoration: none; }
.result .r-meta { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); margin-top: 3px; }
.empty { text-align: center; color: var(--ink-3); padding: 30px; }
.empty .gage-off { font-family: var(--mono); font-size: .8rem; border: 1px dashed var(--line-2); border-radius: 10px; display: inline-block; padding: 16px 22px; }

/* ============================ deep-water register band ============================ */
.deepwater { background: linear-gradient(180deg, rgba(12,34,48,.90) 0%, rgba(10,46,82,.86) 60%, rgba(9,42,72,.80) 100%), url("/indianawaterportal/assets/deepwater-contour.webp") center bottom / cover no-repeat, #0a3253; color: #e7f0fa; border: 0; }
.deepwater .wrap { position: relative; z-index: 1; }
.deepwater h2, .deepwater h3 { color: #fff; }
.deepwater .lede { color: #b9d4ee; }
.deepwater a { color: #9fc6f2; }
.deepwater .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #e7f0fa; box-shadow: none; }
.deepwater .card h3 { color: #fff; }
.deepwater .eyebrow { color: #7fb6ee; }
/* keep ghost-button text dark on its white fill inside the dark band (contrast) */
.deepwater .btn-ghost { color: var(--azure-deep); background: #fff; border-color: rgba(255,255,255,.5); }
.deepwater .btn-ghost:hover { background: var(--azure-wash); color: var(--azure-deep); }

/* ============================ footer ============================ */
.site-footer { background: var(--ink); color: #c7d2da; padding: 48px 0 30px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .footer-head { color: #fff; font-family: var(--display); font-size: 1rem; font-weight: 700; margin: 0 0 12px; }
.site-footer a { color: #b7d4f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #93a3ad; font-family: var(--mono); line-height: 1.7; }

/* ---- subtle alternating "room" + fact figures ---- */
.section.room { background: linear-gradient(180deg, var(--paper-2), var(--paper-2)); }
.section.room { background-color: var(--paper-2); }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px; box-shadow: var(--shadow); }
.fact .fn { font-family: var(--mono); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.1rem); color: var(--azure-deep); line-height: 1; letter-spacing: -.02em; }
.fact .fl { font-size: .88rem; color: var(--ink-2); margin-top: 7px; }
.ask-cat .card-kicker { display: block; margin-bottom: 4px; }
.ask-cat .ex { color: var(--ink-2); }
.ask-cat .src { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); margin-top: 8px; }

/* ============================ misc ============================ */
.divider-ticks { height: 6px; background: var(--tick); opacity: .6; margin: 0; border: 0; }
.pagehead { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("/indianawaterportal/assets/hydro-contour.webp") right -8% top -30% / 46% auto no-repeat; opacity: .32; -webkit-mask-image: linear-gradient(105deg, transparent 0 48%, #000 88%); mask-image: linear-gradient(105deg, transparent 0 48%, #000 88%); }
@media (max-width: 700px) { .pagehead::before { opacity: .18; background-size: 90% auto; } }
.pagehead .crumbs { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); margin-bottom: 12px; }
.pagehead .crumbs a { color: var(--ink-3); }
.note { background: var(--azure-wash); border: 1px solid var(--azure-wash-2); border-left: 4px solid var(--azure); border-radius: 8px; padding: 14px 16px; font-size: .92rem; color: var(--ink-2); }
.grid-tight { display: grid; gap: 12px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.kv dt { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.kv dd { margin: 0; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-shell { grid-template-columns: 1fr; }
  .readout-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .section { padding: 40px 0; }
  .bar-row { grid-template-columns: 110px 1fr auto; }
  .cols-4 { grid-template-columns: 1fr; }
}
