/* HazardAlert · live2: owner-approved changes on top of live.css (2026-11-03) */

/* headline: original wording, smaller, on a dark panel; "early warning" brightest, the rest steel grey */
.h1-panel { display: inline-block; background: rgba(14, 17, 22, 0.55); padding: 16px 20px 14px; margin-bottom: 4px; }
.hero.vid .h1-panel h1 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); max-width: 13ch; color: #aab4c2; text-shadow: none; }
.hero.vid .h1-panel h1 span { color: #f3f5f7; }

/* ribbon now sits directly below the hero, not in the sticky bar */
main > .ticker { border-top: 0; }
main > .ticker .ticker-track { padding: 12px 0; font-size: 1rem; }
.bar .top { border-bottom: 1px solid var(--line); }

/* phone menu */
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn i:first-of-type { margin-top: 0; }
.menu-btn i { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s; }
.menu-btn[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .bar .top { flex-wrap: wrap; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .bar .top nav { width: 100%; display: none; flex-direction: column; gap: 0; padding: 6px 0 4px; border-top: 1px solid var(--line); }
  .bar .top nav.open { display: flex; }
  .bar .top nav a, .bar .top nav a:not(:first-child), .bar .top nav a:first-child { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .bar .top nav a.nav-cta { display: block; text-align: center; margin-top: 10px; border-bottom: 0; }
}

/* ===== 2026-11-04: ideas adopted from the second iteration ===== */

/* hero caption: hazard name as a label, the scene sentence below; pause control */
.hero.vid .cap-v { font: 700 clamp(1.25rem, 2vw, 1.75rem)/1.15 var(--display); font-stretch: 88%; }
.cap-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 10px; }
.cap-ctl .dots { margin: 0; }
.reel-pause { font: 600 0.75rem/1 var(--mono); font-stretch: 87%; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,0.6); padding: 0 12px; min-height: 32px; cursor: pointer; }
.reel-pause:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 900px) { .cap-ctl { justify-content: flex-start; } .hero.vid .cap-v { margin-left: 0; } }

/* address: confirm the match before running the report */
.run-pick { max-width: 500px; margin-top: 10px; display: grid; gap: 8px; }
.run-pick[hidden] { display: none; }
.pick-yes { display: block; text-align: left; background: #fff; border: 2px solid var(--ink); padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink); }
.pick-yes b { display: block; font: 700 1rem/1.25 var(--display); }
.pick-yes span { display: block; margin-top: 4px; font: 600 0.75rem/1.2 var(--mono); font-stretch: 87%; text-transform: uppercase; color: var(--steel); }
.pick-yes:hover { background: var(--fog); }
.pick-no { justify-self: start; background: rgba(14,17,22,0.55); color: #fff; border: 0; padding: 8px 12px; font: 600 0.875rem/1.2 var(--display); cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }

/* map: region and hazard filters share one bar; note under the legend */
.mapbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.mapbar .regions { padding: 0; border: 0; background: transparent; }
.layers { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.layers span { font: 600 0.6875rem/1 var(--mono); font-stretch: 87%; text-transform: uppercase; color: var(--steel); margin-right: 10px; }
.layers button { font: 700 0.875rem/1 var(--display); font-stretch: 84%; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 9px 12px; min-height: 40px; margin-right: -1px; cursor: pointer; }
.layers button:hover { background: var(--fog); }
.layers button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.map-note { margin: 0; padding: 10px 12px 12px; background: #fff; border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.5; color: var(--steel); }

/* how it works + example alerts */
.how { border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 88px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); padding: 8px var(--gut) 0; align-items: start; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.how-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.how-steps li:last-child { border-bottom: 1px solid var(--line); }
.how-steps li > span { font: 600 0.8125rem/1.6 var(--mono); font-stretch: 87%; color: var(--steel); }
.how-steps h3 { margin: 0 0 6px; font: 700 1.375rem/1.2 var(--display); font-stretch: 90%; }
.how-steps p { margin: 0; color: var(--steel); line-height: 1.5; max-width: 46ch; }
.ch { background: var(--fog); border: 1px solid var(--line); padding: 18px; }
.ch-tabs { display: flex; border-bottom: 1px solid var(--line); }
.ch-tabs button { flex: 1; background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 12px 6px; min-height: 44px; font: 700 0.9375rem/1 var(--display); font-stretch: 86%; color: var(--steel); cursor: pointer; }
.ch-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ch-panel[hidden] { display: none; }
.ch-panel { min-height: 250px; display: flex; align-items: center; justify-content: center; padding: 24px 4px; }
.msg { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); padding: 18px; }
.msg p { margin: 0; line-height: 1.5; }
.msg-from, .msg-k { font: 600 0.75rem/1.2 var(--mono); font-stretch: 87%; text-transform: uppercase; color: var(--steel); margin-bottom: 10px !important; }
.bubble { background: var(--fog); padding: 12px 14px; border-radius: 0 14px 14px 14px; }
.msg-subj { font-weight: 700; padding-bottom: 12px; margin-bottom: 12px !important; border-bottom: 1px solid var(--line); }
.msg-mail dl { margin: 0 0 12px; display: grid; gap: 4px; }
.msg-mail dl div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
.msg-mail dt { color: var(--steel); }
.msg-mail dd { margin: 0; font-weight: 600; }
.msg-call { text-align: center; }
.msg-who { font: 800 1.75rem/1.1 var(--display); font-stretch: 80%; margin-bottom: 10px !important; }
.msg-call p:last-child { color: var(--steel); }
.ch-note { margin: 0; text-align: center; font-size: 0.8125rem; color: var(--steel); }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }

/* hazards in four groups */
.hz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px var(--gut) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hz-grid article { padding: 28px 24px 30px 0; margin-right: 24px; border-right: 1px solid var(--line); }
.hz-grid article:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hz-grid svg { display: block; width: 34px; height: 34px; margin-bottom: 26px; fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hz-k { display: block; font: 600 0.75rem/1.2 var(--mono); font-stretch: 87%; text-transform: uppercase; color: var(--steel); }
.hz-grid h3 { margin: 12px 0 10px; font: 600 1.375rem/1.2 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.hz-grid p { margin: 0; color: var(--steel); line-height: 1.5; }
.hz2 .sec-top p b { color: var(--ink); font-weight: 700; }
.hz-foot { margin: 14px var(--gut) 0; font-size: 0.875rem; color: var(--steel); }
@media (max-width: 900px) {
  .hz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hz-grid article { margin: 0; padding: 24px 18px 24px 0; }
  .hz-grid article:nth-child(2n) { border-right: 0; padding-left: 18px; padding-right: 0; }
  .hz-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .hz-grid { grid-template-columns: 1fr; }
  .hz-grid article, .hz-grid article:nth-child(2n) { border-right: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .hz-grid article:last-child { border-bottom: 0; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 5vw, 72px); padding: clamp(48px, 7vw, 88px) var(--gut) 0; }
.faq h2 { margin: 0; font: 800 clamp(1.75rem, 3vw, 2.5rem)/1 var(--display); font-stretch: 66%; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 700 1.125rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--display); color: var(--steel); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--steel); line-height: 1.55; max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
