:root {
  --navy: #061722;
  --navy-soft: #0b2635;
  --panel: #0e3040;
  --cream: #f3efe3;
  --muted: #9fb2bb;
  --gold: #f5b942;
  --teal: #41d6c3;
  --blue: #64b5f6;
  --violet: #ad8cff;
  --border: rgba(190, 220, 229, 0.16);
  --font-body: "Manrope", sans-serif;
  --font-data: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 18px clamp(24px, 5vw, 80px); background: rgba(6, 23, 34, .9); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; letter-spacing: -.6px; }
.brand strong { color: var(--gold); font-weight: 800; }
.brand-duck { display: grid; width: 40px; height: 40px; place-items: center; background: var(--gold); border-radius: 11px; font-size: 24px; box-shadow: 0 0 24px rgba(245, 185, 66, .18); }
nav { display: flex; gap: 28px; color: #c4d0d5; font-size: 14px; }
nav a:hover { color: var(--gold); }
.net-control-button { justify-self: end; padding: 11px 16px; border: 1px solid rgba(245, 185, 66, .55); border-radius: 8px; color: var(--gold); font: 600 13px var(--font-data); }
.net-control-button:hover { color: var(--navy); background: var(--gold); }
.menu-button { display: none; }

main { overflow: hidden; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 900px); min-height: 570px; align-items: center; padding: 100px clamp(24px, 7vw, 120px); background: radial-gradient(circle at 80% 30%, rgba(31, 108, 127, .3), transparent 28%), linear-gradient(135deg, #061722 0%, #092433 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, transparent, black); }
.hero-copy, .signal-panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font: 600 12px var(--font-data); letter-spacing: 1.5px; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 6.2vw, 90px); line-height: .98; letter-spacing: -4px; }
h1 span { color: var(--gold); }
.hero-lede { max-width: 660px; margin: 28px 0 0; color: #b6c5cb; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.primary-button, .secondary-button { padding: 14px 19px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.primary-button { background: var(--gold); color: #17202a; }
.secondary-button { border: 1px solid var(--border); }

.signal-panel { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: rgba(12, 45, 59, .8); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.panel-heading { display: flex; justify-content: space-between; color: var(--muted); font: 600 11px var(--font-data); letter-spacing: 1px; text-transform: uppercase; }
.utc-time { color: var(--teal); }
.signal-display { position: relative; height: 170px; margin: 22px 0; overflow: hidden; border-block: 1px solid var(--border); background: repeating-linear-gradient(90deg, transparent 0, transparent 43px, rgba(255,255,255,.05) 44px); }
.signal-line { position: absolute; left: 0; right: 0; height: 2px; top: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(65,214,195,.65); clip-path: polygon(0 50%, 8% 50%, 10% 42%, 12% 58%, 15% 50%, 28% 50%, 30% 20%, 32% 80%, 35% 50%, 50% 50%, 53% 35%, 56% 65%, 59% 50%, 70% 50%, 72% 5%, 74% 95%, 76% 50%, 100% 50%, 100% 100%, 0 100%); }
.line-two { opacity: .2; transform: translateY(-35px); }.line-three { opacity: .12; transform: translateY(35px); }.line-four { opacity: .08; transform: translateY(-70px); }.line-five { opacity: .08; transform: translateY(70px); }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preview-grid div { padding: 14px; background: rgba(2, 19, 28, .45); border-radius: 8px; }
.preview-grid span, .preview-grid strong { display: block; }
.preview-grid span { margin-bottom: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.preview-grid strong { color: #d5dfe2; font: 500 12px var(--font-data); }

.dashboard-section { padding: 100px clamp(24px, 7vw, 120px); background: #f0eee6; color: #112a35; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading h2, .quick-links h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); letter-spacing: -2px; }
.section-heading > p { max-width: 480px; margin: 0; color: #5c6d73; line-height: 1.6; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.data-card { min-height: 340px; padding: 25px; border: 1px solid rgba(17,42,53,.12); border-radius: 12px; background: #faf8f2; box-shadow: 0 12px 35px rgba(17,42,53,.06); }
.card-icon { display: grid; width: 46px; height: 46px; margin-bottom: 46px; place-items: center; border-radius: 50%; background: #112a35; color: var(--card-accent); font: 600 23px var(--font-data); }
.accent-gold { --card-accent: var(--gold); }.accent-blue { --card-accent: var(--blue); }.accent-teal { --card-accent: var(--teal); }.accent-violet { --card-accent: var(--violet); }
.card-kicker { color: #67777d; font: 600 10px var(--font-data); letter-spacing: 1px; text-transform: uppercase; }
.data-card h3 { margin: 8px 0 10px; font-size: 23px; letter-spacing: -.7px; }
.data-card > p:not(.card-kicker) { color: #617177; font-size: 14px; line-height: 1.6; }
.placeholder-row { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(17,42,53,.12); color: #6b797e; font: 500 10px var(--font-data); text-transform: uppercase; }
.placeholder-row span:last-child { color: #b67d0e; }

.conditions-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px; padding: 8px; border: 1px solid rgba(17,42,53,.18); border-radius: 9px; background: #081b27; box-shadow: 0 16px 45px rgba(17,42,53,.16); }
.hamqsl-tile { min-width: 0; padding: 10px; overflow: hidden; border: 1px solid rgba(190,220,229,.15); border-radius: 5px; background: #102d3a; }
.hamqsl-tile > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; padding-inline: 2px; }.hamqsl-tile .card-kicker { margin: 0; color: var(--teal); font-size: 8px; }.hamqsl-tile h3 { margin: 0; color: #e6edef; font-size: 13px; letter-spacing: -.2px; }.hamqsl-tile a { display: flex; width: 100%; align-items: flex-start; justify-content: center; }.hamqsl-tile img { display: block; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.board-credit { margin: 10px 4px 0; color: #68787e; font-size: 10px; }.board-credit a { color: #176e75; text-decoration: underline; }

.conditions-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.period-toggle { display: inline-flex; padding: 4px; border-radius: 9px; background: #dcd9cf; }
.period-button { min-width: 78px; padding: 9px 15px; border: 0; border-radius: 6px; background: transparent; color: #53666d; font: 600 12px var(--font-data); cursor: pointer; }
.period-button.active { background: #112a35; color: #fff; box-shadow: 0 3px 12px rgba(17,42,53,.18); }
.feed-status { margin: 0; color: #64757b; font: 500 11px var(--font-data); }
.band-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.band-tile { position: relative; overflow: hidden; min-height: 126px; padding: 18px 14px; border-radius: 10px; background: #d8d5cb; transition: transform .2s ease; }
.band-tile:hover { transform: translateY(-3px); }
.band-tile::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.band-tile strong, .band-tile span { display: block; }.band-tile strong { color: #112a35; font: 700 23px var(--font-data); }.band-tile span { margin-top: 30px; font: 700 11px var(--font-data); letter-spacing: 1px; text-transform: uppercase; }
.band-tile.good { color: #08745d; background: #bde9d8; }.band-tile.fair { color: #9a6400; background: #f5dda1; }.band-tile.poor { color: #a33131; background: #f0c3bb; }.band-tile.unknown, .band-tile.loading { color: #6f7b7f; }
.band-tile.estimated::before { content: "EST"; position: absolute; top: 12px; right: 10px; color: currentColor; font: 600 8px var(--font-data); letter-spacing: 1px; }
.estimate-note { margin: 13px 0 34px; color: #68787e; font-size: 11px; }
.solar-summary { display: grid; grid-template-columns: .65fr 2fr; gap: 30px; padding: 28px; border-radius: 12px; background: #112a35; color: var(--cream); }
.solar-heading h3 { margin: 7px 0; font-size: 25px; }.solar-summary .card-kicker { color: var(--teal); }
.solar-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: rgba(255,255,255,.09); }
.solar-metrics div { padding: 15px; background: #112a35; }.solar-metrics dt { color: var(--muted); font: 500 9px var(--font-data); letter-spacing: .8px; text-transform: uppercase; }.solar-metrics dd { margin: 7px 0 0; font: 600 20px var(--font-data); }
.source-credit { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }.source-credit a, .map-credit a { color: var(--teal); text-decoration: underline; }

.map-section { padding: 100px clamp(12px, 2.5vw, 42px); background: #091f2c; }.map-heading { color: var(--cream); padding-inline: clamp(12px, 4.5vw, 78px); }.map-intro { max-width: 520px; }.map-intro p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }.map-open-button { display: inline-block; padding: 10px 14px; border: 1px solid rgba(65,214,195,.45); border-radius: 7px; color: var(--teal); font: 600 11px var(--font-data); }.map-open-button:hover { color: var(--navy); background: var(--teal); }.map-frame { height: 82vh; min-height: 680px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #061722; box-shadow: 0 25px 70px rgba(0,0,0,.28); }.map-frame iframe { width: 100%; height: 100%; border: 0; }.map-credit { margin-left: clamp(12px, 4.5vw, 78px); color: var(--muted); font-size: 11px; }

.quick-links { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; padding: 100px clamp(24px, 7vw, 120px); }
.quick-links > div:first-child > p:last-child { max-width: 400px; color: var(--muted); line-height: 1.7; }
.link-list { border-top: 1px solid var(--border); }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 24px 4px; border-bottom: 1px solid var(--border); }
.link-list a:hover { color: var(--gold); }
.link-list span { font-size: 20px; font-weight: 700; }.link-list b { margin-right: 20px; color: var(--teal); font: 500 11px var(--font-data); }.link-list em { color: var(--muted); font-style: normal; font-size: 13px; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 30px clamp(24px, 7vw, 120px); border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--cream); }.footer-brand .brand-duck { width: 34px; height: 34px; font-size: 20px; }

@media (max-width: 1100px) { .band-grid { grid-template-columns: repeat(5, 1fr); }.solar-summary { grid-template-columns: 1fr; }.source-credit { grid-column: auto; } }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; }.signal-panel { max-width: 700px; }.card-grid { grid-template-columns: 1fr 1fr; }.site-header { grid-template-columns: 1fr auto; }.site-header nav { display: none; }.quick-links { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 1050px) { .conditions-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .conditions-board { grid-template-columns: 1fr; }.hamqsl-tile > div { align-items: flex-start; flex-direction: column; } }
@media (max-width: 650px) { .site-header { padding: 13px 18px; }.net-control-button { display: none; }.menu-button { display: block; justify-self: end; border: 1px solid var(--border); border-radius: 7px; background: transparent; color: var(--cream); padding: 9px 12px; }.site-header nav.open { position: absolute; top: 66px; left: 0; right: 0; display: grid; gap: 0; padding: 10px 20px 20px; background: var(--navy); border-bottom: 1px solid var(--border); }.site-header nav.open a { padding: 12px; }.hero { min-height: auto; padding-block: 74px; }.hero h1 { letter-spacing: -2.5px; }.section-heading, .conditions-toolbar { align-items: start; flex-direction: column; }.band-grid { grid-template-columns: repeat(3, 1fr); }.band-tile { min-height: 108px; }.solar-metrics { grid-template-columns: 1fr 1fr; }.map-section { padding-inline: 8px; }.map-heading { padding-inline: 12px; }.map-frame { height: 75vh; min-height: 560px; border-radius: 9px; }.map-credit { margin-left: 12px; }.card-grid { grid-template-columns: 1fr; }.data-card { min-height: 290px; }.card-icon { margin-bottom: 25px; }.link-list a { align-items: start; flex-direction: column; }.link-list em { margin-left: 36px; } footer { align-items: start; flex-direction: column; } }
