/* WESA Lab site styles.
   Colours match the logo (logo/index.html). Type: Source Serif 4 for headings, Source Sans 3 for text. */

:root {
  --navy: #13324b;
  --teal: #1d7f8c;
  --teal-dark: #155f69;
  --sea: #7cc4cb;
  --text: #1f2d36;
  --muted: #5b6872;
  --line: #e2dfd7;
  --paper: #fbfaf7;
  --panel: #f2f0ea;
  --white: #ffffff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button { font: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 8px; top: -50px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { top: 8px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Header ---------- */
.uni-bar { background: var(--navy); color: #d7e3ea; font-size: .82rem; }
.uni-bar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.uni-bar a { color: #fff; text-decoration: none; }
.uni-bar a:hover { text-decoration: underline; color: #fff; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); padding: 10px 0; }
.brand:hover { color: var(--navy); }
.brand img { width: 50px; height: 50px; }
.brand-name { display: block; font: 700 1.35rem/1.1 var(--sans); letter-spacing: .03em; }
.brand-sub { display: block; font-size: .82rem; color: var(--muted); line-height: 1.3; }
.nav { display: flex; align-items: stretch; }
.nav a { display: flex; align-items: center; padding: 0 14px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .97rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.nav a:hover { color: var(--teal-dark); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }
.menu-toggle { display: none; align-self: center; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 7px 12px; color: var(--navy); font-weight: 600; cursor: pointer; }

@media (max-width: 860px) {
  .uni-bar .wrap span:last-child { display: none; }
  .menu-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; min-height: 0; }
  .nav { display: none; width: 100%; flex-direction: column; border-top: 1px solid var(--line); padding: 4px 0 8px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 0; margin: 0; }
  .nav a[aria-current="page"] { color: var(--teal-dark); }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* ---------- Page layout ---------- */
main { display: block; padding-bottom: 72px; }
.page-title { padding-top: 44px; padding-bottom: 8px; }
.page-title p { color: var(--muted); max-width: 70ch; font-size: 1.05rem; }
.block { padding-top: 40px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 20px; }
.block-head h2 { margin: 0; }
.block-head a { font-weight: 600; font-size: .95rem; }

/* ---------- Home ---------- */
.photo-band { margin: 0; background: var(--panel); }
.photo-band img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; object-position: center 62%; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 40px; }
.intro h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.intro .lead { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--text); }
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 28px 0 0; }
.areas dt { font-weight: 700; color: var(--navy); }
.areas dd { margin: 2px 0 0; color: var(--muted); font-size: .97rem; }
.sidebar { border-left: 1px solid var(--line); padding-left: 32px; }
.sidebar h2 { font-size: 1.2rem; margin-bottom: 12px; }
.side-list { list-style: none; padding: 0; margin: 0 0 28px; }
.side-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-list li:first-child { border-top: 1px solid var(--line); }
.side-list a { font-weight: 600; text-decoration: none; color: var(--navy); line-height: 1.35; display: block; }
.side-list a:hover { color: var(--teal-dark); text-decoration: underline; }
.side-list span { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.contact-box { background: var(--panel); padding: 16px 18px; font-size: .93rem; }
.contact-box h2 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-box p { margin: 0; }
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

.faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.faces a { text-decoration: none; color: var(--text); font-size: .9rem; line-height: 1.3; }
.faces img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; margin-bottom: 8px; background: var(--panel); }
.faces strong { display: block; color: var(--navy); }
.faces span { color: var(--muted); font-size: .84rem; }
.faces a:hover strong { text-decoration: underline; }
@media (max-width: 900px) { .faces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Publications ---------- */
.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pubs li:last-child { border-bottom: 0; }
.pubs .cite { margin: 0; }
.pubs .cite strong { color: var(--navy); }
.pubs .links { font-size: .88rem; margin-top: 4px; }
.pubs .links a { font-weight: 600; margin-right: 14px; }
.pubs .yr { color: var(--muted); margin-right: 6px; }
.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 8px 0 8px; padding: 14px 16px; background: var(--panel); }
.tools input, .tools select { font: inherit; font-size: .95rem; padding: 8px 10px; border: 1px solid #cfccc3; border-radius: 3px; background: #fff; color: var(--text); }
.tools input { flex: 1 1 280px; max-width: 460px; }
.tools input:focus, .tools select:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.tools .count { margin-left: auto; color: var(--muted); font-size: .9rem; }
.year { padding-top: 28px; }
.year h2 { font-size: 1.35rem; border-bottom: 2px solid var(--navy); padding-bottom: 4px; margin-bottom: 4px; }
mark { background: #fbe7a8; color: inherit; }
.empty { padding: 40px 0; color: var(--muted); }

/* ---------- Research ---------- */
.project { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.project:last-child { border-bottom: 0; }
.project-media { display: grid; gap: 10px; align-content: start; }
.project-media button { padding: 0; border: 0; background: var(--panel); cursor: zoom-in; display: block; }
.project-media img { width: 100%; }
.project h3 { font-size: 1.3rem; margin-bottom: 6px; }
.meta { font-size: .92rem; color: var(--muted); margin: 0 0 12px; }
.meta b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) {
  .project { grid-template-columns: 1fr; gap: 16px; }
  .project-media { grid-template-columns: 1fr 1fr; }
}

/* ---------- People ---------- */
.pi { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 8px 0 12px; }
.pi img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--panel); }
.pi h2 { margin-bottom: 2px; }
.pi .role { color: var(--muted); margin-bottom: 14px; }
.pi .links { font-size: .95rem; }
.pi .links a { font-weight: 600; margin-right: 16px; white-space: nowrap; }
@media (max-width: 640px) { .pi { grid-template-columns: 1fr; } .pi img { max-width: 240px; } }

.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--panel); margin-bottom: 10px; }
.person h3 { font: 700 1rem/1.3 var(--sans); color: var(--navy); margin: 0; }
.person .role { color: var(--muted); font-size: .9rem; }
.person-links { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: .88rem; }
.person-links a { font-weight: 600; }
.bio-inner .links a { font-weight: 600; margin-right: 16px; white-space: nowrap; }
.person .bio-btn { padding: 0; border: 0; background: none; color: var(--teal-dark); font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.person .bio-btn:hover { color: var(--navy); }
.person .now { font-size: .9rem; margin-top: 2px; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } }

.alumni-list { columns: 2 260px; column-gap: 32px; list-style: none; padding: 0; margin: 28px 0 0; }
.alumni-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); }
.intro { padding-top: 40px; }
.intro .lead { max-width: 62ch; }
.home-projects { list-style: none; padding: 0; margin: 0; }
.home-projects li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.home-projects li:last-child { border-bottom: 0; }
.home-projects a { font-weight: 600; color: var(--navy); text-decoration: none; }
.home-projects a:hover { text-decoration: underline; color: var(--teal-dark); }
.home-projects span { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.profile-links a { font-weight: 600; margin-right: 18px; }
table.alumni { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 28px; }
table.alumni th { text-align: left; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--navy); padding: 6px 12px 6px 0; }
table.alumni td { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; vertical-align: top; }
table.alumni td:first-child { font-weight: 600; }
@media (max-width: 560px) { table.alumni th:nth-child(2), table.alumni td:nth-child(2) { display: none; } }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; max-width: none; max-height: none; color: var(--text); }
dialog::backdrop { background: rgba(10, 25, 36, .7); }
.bio { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: #fff; }
.bio-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 28px; overflow: auto; max-height: calc(100vh - 40px); }
.bio-inner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.bio-inner h2 { margin-bottom: 2px; }
.bio-inner .role { color: var(--muted); margin-bottom: 14px; }
.close { position: absolute; top: 10px; right: 10px; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px; cursor: pointer; font-weight: 600; color: var(--navy); }
@media (max-width: 600px) { .bio-inner { grid-template-columns: 1fr; } .bio-inner img { max-width: 180px; } }

.lightbox { background: transparent; width: 100vw; height: 100vh; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; text-align: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; }
.lightbox figcaption { color: #dfe6ea; font-size: .9rem; margin-top: 10px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 0; border-radius: 3px; width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 600px) { .lightbox figure { padding: 56px 8px; } .lb-nav { top: auto; bottom: 14px; transform: none; } }

/* ---------- Gallery ---------- */
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 0; background: var(--panel); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.thumbs button:hover img { opacity: .85; }
@media (max-width: 760px) { .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Opportunities ---------- */
.prose > * { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.contact-panel { background: var(--panel); padding: 20px 24px; margin-top: 28px; max-width: 72ch; }
.contact-panel p { margin: 0 0 .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font: 700 .95rem/1.3 var(--sans); color: var(--navy); margin: 0 0 8px; }
.site-footer p { margin: 0 0 .3em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .3em; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 104px; height: 104px; flex: none; }
.copyright { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Live data ---------- */
.live-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--panel); }
.live-status { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .95rem; }
.state { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.state.on { color: #1e7b45; }
.state.off { color: var(--muted); }
.unit-toggle { display: inline-flex; border: 1px solid #cfccc3; border-radius: 3px; overflow: hidden; }
.unit-toggle button { border: 0; background: #fff; padding: 6px 12px; font-weight: 600; font-size: .88rem; color: var(--text); cursor: pointer; }
.unit-toggle button + button { border-left: 1px solid #cfccc3; }
.unit-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile-stat { background: #fff; padding: 16px 18px; }
.tile-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.tile-value { font: 600 1.7rem/1.2 var(--serif); color: var(--navy); margin-top: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile-sub { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.wind-dir { display: inline-flex; align-items: center; gap: 4px; font: 600 .95rem/1 var(--sans); color: var(--teal-dark); }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile-value { font-size: 1.4rem; } }
.rain-totals { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .95rem; background: #fff; border: 1px solid var(--line); }
.rain-totals caption { text-align: left; font-weight: 700; color: var(--navy); padding-bottom: 6px; }
.rain-totals th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 8px 12px 2px; }
.rain-totals td { padding: 2px 12px 10px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .rain-totals th, .rain-totals td { padding-left: 6px; padding-right: 6px; font-size: .85rem; } }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .charts { grid-template-columns: 1fr; } }
.chart { margin: 0; background: #fff; border: 1px solid var(--line); padding: 12px 12px 6px; }
.chart figcaption { font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.chart svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chart .grid { stroke: #ebe8e1; stroke-width: 1; }
.chart .baseline { stroke: #b9b5ab; stroke-width: 1; }
.chart .tick { stroke: #b9b5ab; }
.chart .axis { font: 11px var(--sans); fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .bar { fill: var(--teal); }
.chart .cross { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .dot { fill: var(--teal); stroke: #fff; stroke-width: 2; }
.chart-empty { color: var(--muted); font-size: .92rem; padding: 40px 0; text-align: center; }
.chart-tip { position: absolute; z-index: 60; pointer-events: none; background: var(--navy); color: #fff; padding: 6px 10px; border-radius: 3px; font-size: .85rem; line-height: 1.3; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.chart-tip strong { display: block; font-variant-numeric: tabular-nums; }
.chart-tip span { color: #c9d6de; }
.data-table { margin-top: 20px; }
.data-table summary { cursor: pointer; font-weight: 600; color: var(--teal-dark); }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.data-table table { border-collapse: collapse; font-size: .88rem; min-width: 560px; width: 100%; background: #fff; }
.data-table th { text-align: left; border-bottom: 2px solid var(--navy); padding: 6px 10px 6px 0; color: var(--navy); }
.data-table td { border-bottom: 1px solid var(--line); padding: 5px 10px 5px 0; font-variant-numeric: tabular-nums; }
.tile-stat.is-stale .tile-value { color: var(--muted); }
.stale-note { display: block; color: #8a5a00; font-size: .84rem; margin-top: 2px; }
.warn-note { flex-basis: 100%; color: #8a5a00; font-size: .9rem; }
.nav a { white-space: nowrap; }
.brand-sub { white-space: nowrap; }
@media (max-width: 1040px) and (min-width: 861px) { .nav a { padding: 0 9px; font-size: .93rem; } .brand-sub { display: none; } }

/* SmartCover sensors */
.sc-group { font-size: 1.2rem; margin: 0; }
.sc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .sc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sc-cards { grid-template-columns: 1fr; } }
.sc-card { background: #fff; border: 1px solid var(--line); padding: 14px 14px 6px; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sc-card h4 { margin: 0; font: 700 1rem/1.3 var(--sans); color: var(--navy); }
.sc-card .state { font-size: .75rem; }
.state.warn { color: #8a5a00; }
.state.bad { color: #a32d2d; }
.sc-value { font: 600 1.6rem/1.2 var(--serif); color: var(--navy); margin-top: 6px; font-variant-numeric: tabular-nums; }
.sc-value small { font: 600 .9rem var(--sans); color: var(--muted); }
.sc-chart { margin-top: 6px; }
.sc-chart svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.sc-chart .grid { stroke: #ebe8e1; stroke-width: 1; }
.sc-chart .baseline, .sc-chart .tick { stroke: #b9b5ab; stroke-width: 1; }
.sc-chart .axis { font: 11px var(--sans); fill: var(--muted); font-variant-numeric: tabular-nums; }
.sc-chart .line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sc-chart .bar { fill: var(--teal); }
.sc-chart .cross { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; }
.sc-chart .dot { fill: var(--teal); stroke: #fff; stroke-width: 2; }

/* ---------- Field monitoring highlight ---------- */
.nav-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2e9d5b; margin-right: 7px; flex: none; box-shadow: 0 0 0 3px rgba(46,157,91,.18); }
.live-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #4cc47e; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4cc47e; opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }

.monitor-band { background: var(--navy); color: #dbe6ec; margin-top: 44px; padding: 44px 0 48px; }
.monitor-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.monitor-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.monitor-band p { max-width: 54ch; }
.net-counts { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; }
.net-counts strong { font: 600 1.35rem/1 var(--serif); color: #fff; margin-right: 4px; }
.btn-light { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-weight: 700; padding: 11px 18px; border-radius: 3px; text-decoration: none; }
.btn-light:hover { background: var(--sea); color: var(--navy); }
.now-card { display: block; background: #fff; color: var(--text); text-decoration: none; padding: 18px 20px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.now-card:hover { color: var(--text); box-shadow: 0 12px 34px rgba(0,0,0,.26); }
.now-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: .95rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.now-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 16px 0; }
.now-vals span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.now-vals strong { font: 600 1.6rem/1.2 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; }
.now-foot { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 820px) { .monitor-grid { grid-template-columns: 1fr; gap: 28px; } }

.monitor-head { background: var(--navy); color: #dbe6ec; padding: 44px 0 0; }
.monitor-head h1 { color: #fff; margin-bottom: 10px; }
.monitor-lede { max-width: 66ch; font-size: 1.05rem; }
.monitor-head .net-counts { margin-bottom: 26px; }
.jump { display: flex; flex-wrap: wrap; gap: 4px 24px; border-top: 1px solid rgba(255,255,255,.15); padding: 12px 0; }
.jump a { color: #fff; font-weight: 600; font-size: .93rem; text-decoration: none; }
.jump a:hover { color: var(--sea); text-decoration: underline; }
.monitor-section { padding-top: 36px; }
.monitor-section > h2 { margin-bottom: 16px; }

/* ---------- Openings ---------- */
.hiring { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px; max-width: 62ch; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); color: var(--text); text-decoration: none; }
.hiring:hover { color: var(--text); border-color: var(--teal); }
.hiring-tag { flex: none; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--teal); padding: 3px 8px; border-radius: 2px; }
.hiring-go { margin-left: auto; color: var(--teal-dark); font-weight: 700; }
.openings-wrap { padding-bottom: 12px; }
.openings-wrap > h2 { margin-bottom: 14px; }
.opening { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); padding: 20px 24px; margin-bottom: 18px; max-width: 80ch; }
.opening h3 { font-size: 1.35rem; margin: 6px 0 12px; }
.opening h4 { font: 700 .95rem/1.3 var(--sans); color: var(--navy); margin: 16px 0 6px; }
.opening-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 0; font-size: .9rem; color: var(--muted); }
.opening-type { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); background: var(--tide-soft, #dbeceb); padding: 3px 8px; border-radius: 2px; }
.opening-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 16px 0 0; }
.btn-navy { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; padding: 9px 16px; border-radius: 3px; text-decoration: none; }
.btn-navy:hover { background: var(--teal-dark); color: #fff; }

/* ---------- Page not found ---------- */
.notfound { padding-bottom: 24px; }
.notfound-links { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.notfound-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); background: #fff; font-weight: 600; text-decoration: none; border-radius: 3px; }
.notfound-links a:hover { border-color: var(--teal); }
