/* Venue Noise Monitor pages. Layered on the .dg-rec design tokens (ink / paper / amber).
   Mobile-first; no external assets. */

.noise-page { color: var(--text); }
/* Content must never wait on scroll-reveal JS. */
.noise-page [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* The design system gives every li a bottom margin; grid/flex lists here are laid out with gap. */
.noise-page .noise-kpis > li, .noise-page .noise-boroughs > li, .noise-page .noise-bars > li,
.noise-page .noise-nearby > li, .noise-page .noise-steps > li { margin: 0; }

/* ------------------------------------------------------------------ headers */
.noise-head { padding: 22px 0 6px; }
.noise-head .dg-breadcrumb { margin-bottom: 18px; }
.noise-h1 {
  margin: 0 0 12px; font-family: var(--f-display); font-variation-settings: "wdth" 96; font-weight: 600;
  font-size: clamp(27px, 4.6vw, 46px); line-height: 1.06; letter-spacing: -0.03em; color: var(--text);
  overflow-wrap: anywhere;
}
.noise-h2 {
  margin: 0 0 14px; font-family: var(--f-display); font-variation-settings: "wdth" 96; font-weight: 600;
  font-size: clamp(21px, 2.6vw, 28px); line-height: 1.12; letter-spacing: -0.02em; color: var(--text);
}
.noise-h3 { margin: 0 0 8px; font-family: var(--f-ui); font-weight: 600; font-size: 16px; color: var(--text); }
.noise-eyebrow {
  margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.noise-lead { margin: 0 0 18px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.noise-meta { margin: 0 0 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.noise-summary { margin: 14px 0 0; font-size: 17px; line-height: 1.55; max-width: 70ch; }
.noise-section { padding: 30px 0; }
.noise-section + .noise-section { border-top: 1px solid var(--line); }
.noise-p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; max-width: 70ch; }
.noise-small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.noise-link { color: var(--text); border-bottom: 1px solid var(--line); text-decoration: none; }
.noise-link:hover { border-bottom-color: var(--text); }

/* Dark hero (hub, product page) */
.noise-hero { background: var(--ink); color: var(--paper); padding: 26px 0 40px; }
.noise-hero .dg-breadcrumb, .noise-hero .dg-breadcrumb a { color: var(--muted-d); }
.noise-hero .noise-h1 { color: var(--paper); max-width: 20ch; }
.noise-hero .noise-lead { color: var(--muted-d); }
.noise-hero .noise-eyebrow { color: var(--amber); }
.noise-hero .noise-small { color: var(--muted-d); }
.noise-hero .noise-link { color: var(--paper); border-bottom-color: var(--line-d2); }

/* --------------------------------------------------------------- notices */
.noise-notice { margin: 16px 0 0; padding: 12px 16px; background: var(--bone); border: 1px solid var(--line); border-left: 3px solid var(--amber); font-size: 14px; line-height: 1.5; }
.noise-notice__line { margin: 0; }
.noise-notice__line + .noise-notice__line { margin-top: 4px; }
.noise-disclaimer { margin: 18px 0 0; padding: 14px 16px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; line-height: 1.55; }
.noise-disclaimer p { margin: 0; }
.noise-disclaimer p + p { margin-top: 8px; }
.noise-badge {
  display: inline-block; padding: 3px 9px; border-radius: 2px; background: var(--amber); color: var(--ink);
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.noise-sla { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 15px; }

/* ------------------------------------------------------------------- KPIs */
.noise-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.noise-kpi { background: var(--bone); padding: 16px 16px 14px; }
.noise-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
.noise-kpi__n { display: block; font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.noise-kpi__l { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.noise-kpi__s { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (min-width: 760px) { .noise-kpis { grid-template-columns: repeat(5, 1fr); } .noise-kpis--4 { grid-template-columns: repeat(4, 1fr); } .noise-kpi:last-child:nth-child(odd) { grid-column: auto; } }

/* ----------------------------------------------------------------- charts */
.noise-chartbox { background: var(--bone); border: 1px solid var(--line); padding: 14px 12px 8px; }
.noise-chart { display: block; width: 100%; height: auto; }
.noise-chart__grid { stroke: var(--line); stroke-width: 1; }
.noise-chart__axis { fill: var(--muted); font-family: var(--f-mono); font-size: 10px; }
.noise-chart__bar { fill: var(--ink); }
.noise-chart__bar.is-partial { fill: var(--amber); }
.noise-heat__cell { fill: var(--paper-2); }
.noise-heat__cell.has-data { fill: var(--amber-ink); }
.noise-caption { margin: 8px 2px 4px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.noise-split { display: grid; gap: 28px; }
@media (min-width: 860px) { .noise-split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.noise-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.noise-bars li { display: grid; gap: 5px; }
.noise-bars__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.noise-bars__row span:last-child { font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.noise-bars__track { height: 8px; background: var(--paper-2); border-radius: 1px; overflow: hidden; }
.noise-bars__fill { display: block; height: 100%; background: var(--ink); }

/* ----------------------------------------------------------------- tables */
.noise-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--bone); }
.noise-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 340px; }
.noise-table th, .noise-table td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.noise-table thead th { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); white-space: nowrap; }
.noise-table tbody tr:last-child td { border-bottom: 0; }
.noise-num { text-align: right !important; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.noise-col-rank { width: 34px; color: var(--muted); font-family: var(--f-mono); }
.noise-col-area { display: none; }
@media (min-width: 640px) { .noise-col-area { display: table-cell; } }
.noise-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.noise-nearby { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--bone); }
.noise-nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.noise-nearby li:last-child { border-bottom: 0; }
.noise-nearby span:last-child { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ------------------------------------------------------------------- CTAs */
.noise-cta { display: grid; gap: 12px; max-width: 520px; }
.noise-cta .dg-btn { width: 100%; text-align: center; }
.noise-cta__note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.noise-panel { background: var(--bone); border: 1px solid var(--line); padding: 22px; }
.noise-panel--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.noise-panel--ink .noise-small, .noise-panel--ink .noise-cta__note { color: var(--muted-d); }
.noise-panel--ink .noise-link { color: var(--paper); border-bottom-color: var(--line-d2); }

/* --------------------------------------------------------- search / forms */
.noise-search { margin: 22px 0 6px; max-width: 640px; }
.noise-search__row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .noise-search__row { flex-direction: row; } .noise-search__row .dg-input { flex: 1; } }
.noise-search .dg-label { color: var(--muted-d); }
.noise-search__hint { margin: 10px 0 0; font-size: 13px; color: var(--muted-d); }
.noise-turnstile { margin-top: 12px; }
.noise-form { display: grid; gap: 16px; max-width: 560px; }
.noise-form .dg-textarea { min-height: 140px; padding: 12px 14px; }
.noise-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.noise-form legend { padding: 0; margin-bottom: 6px; }
.noise-radio { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.noise-radio input { margin-top: 3px; }
.noise-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.noise-alert { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--ink); background: var(--bone); font-size: 15px; line-height: 1.5; }
.noise-alert--ok { border-left-color: var(--amber); }
.noise-alert--err { border-left-color: var(--red); }

/* ----------------------------------------------------------- hub / lists */
.noise-boroughs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 560px) { .noise-boroughs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .noise-boroughs { grid-template-columns: repeat(5, 1fr); } }
.noise-boroughs a { display: block; padding: 16px; background: var(--bone); color: var(--text); text-decoration: none; height: 100%; }
.noise-boroughs a:hover { background: var(--paper-2); }
.noise-boroughs strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; }
.noise-boroughs span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.noise-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: n; }
@media (min-width: 760px) { .noise-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.noise-steps li { counter-increment: n; padding-top: 14px; border-top: 2px solid var(--ink); }
.noise-steps li::before { content: "0" counter(n); display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.noise-steps p { margin: 0; font-size: 15px; line-height: 1.55; }
.noise-plans { display: grid; gap: 18px; }
@media (min-width: 900px) { .noise-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.noise-plans .dg-pricing-card { height: 100%; }
.noise-sample { border: 1px dashed var(--line); background: var(--bone); padding: 18px; }
.noise-sample dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.noise-sample dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.noise-sample dd { margin: 0; }
.noise-empty { padding: 22px; border: 1px dashed var(--line); background: var(--bone); color: var(--muted); font-size: 15px; }
.noise-pagefoot { padding: 30px 0 56px; }
