@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #101819;
  --panel: #172122;
  --panel-soft: #131e1f;
  --line: #2b3838;
  --text: #e8ebe4;
  --muted: #a1b0ab;
  --accent: #e4b17b;
  --green: #a1c6ac;
  --blue: #9fbfd1;
  --radius: 18px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:focus-visible {
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 10;
  background: var(--text);
  color: var(--bg);
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.shell {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand span:last-child {
  font-weight: 400;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.87rem;
}
nav a {
  text-decoration: none;
  color: var(--muted);
}
nav a:hover,
nav a[aria-current="page"] {
  color: var(--text);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 20px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}
p {
  max-width: 65ch;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.8rem;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 60px;
  padding: 90px 0 75px;
}
.hero .intro {
  font-size: 1.04rem;
  color: var(--muted);
  max-width: 36ch;
}
.landscape {
  width: 100%;
  height: auto;
  color: var(--green);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 19px;
  text-decoration: none;
  font-size: 0.87rem;
  background: var(--panel);
  color: var(--text);
}
.button:hover {
  border-color: var(--muted);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #201c17;
}
.arrow {
  font-size: 1.15rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px 11px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.tag.sample {
  color: var(--accent);
}
.tag.fresh {
  color: var(--green);
}
.tag.stale,
.tag.error {
  color: #e9a39a;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.stations {
  padding: 40px 0 70px;
}
.station-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-soft);
}
.station-copy {
  padding: 38px 40px;
}
.station-copy h3 {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.station-copy .meta {
  display: flex;
  gap: 18px;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 22px 0;
}
.station-art {
  background: #1a2727;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.principles {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 45px 0 70px;
}
.principles h3 {
  font-size: 0.92rem;
}
.principles p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 0 35px;
  color: var(--muted);
  font-size: 0.75rem;
}
.footer a {
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.station-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 50px 0 30px;
}
.station-header h1 {
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  margin-bottom: 10px;
}
.station-header .eyebrow {
  margin-bottom: 12px;
}
.station-header p {
  margin: 0;
}
.mode-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.segments {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
  max-width: 100%;
}
.segments button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 7px 14px;
  font-size: 0.77rem;
  border-radius: 5px;
  white-space: nowrap;
}
.segments button[aria-pressed="true"] {
  background: #30413f;
  color: var(--text);
}
.segments button:hover {
  color: var(--text);
}
.notice {
  border: 1px solid #5c4932;
  background: #251f18;
  color: #e5c39b;
  border-radius: 9px;
  padding: 12px 17px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
}
.notice a {
  white-space: nowrap;
}
.notice.error {
  border-color: #70433e;
  background: #2a1d1b;
  color: #edbbb3;
}
.observation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.current-panel,
.details-panel,
.history-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}
.current-panel {
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 1fr 110px;
  align-items: center;
}
.label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.temperature {
  font-size: clamp(4rem, 8vw, 6.2rem);
  letter-spacing: -0.07em;
  line-height: 1.1;
  font-weight: 300;
  margin: 10px 0 18px;
  font-variant-numeric: tabular-nums;
}
.temperature .unit {
  font-size: 0.4em;
  color: var(--muted);
  letter-spacing: -0.02em;
  vertical-align: top;
  display: inline-block;
  padding-top: 12px;
}
.current-panel .stamp {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0;
  max-width: 36ch;
}
.sun-mark {
  width: 90px;
  color: var(--accent);
  opacity: 0.75;
}
.details-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px 25px;
}
.metric {
  padding: 17px 5px;
}
.metric:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.metric-value {
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  margin: 0 0 5px;
}
.metric-unit {
  font-size: 0.85rem;
  color: var(--muted);
}
.metric-detail {
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0;
}
.history-panel {
  margin: 25px 0;
  padding: 27px 30px 14px;
}
.history-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.history-heading h2 {
  font-size: 1.8rem;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.history-heading p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
.chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.chart-tabs {
  display: flex;
  gap: 24px;
}
.chart-tabs button {
  border: 0;
  background: none;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 10px 0;
  position: relative;
}
.chart-tabs button[aria-pressed="true"] {
  color: var(--accent);
}
.chart-tabs button[aria-pressed="true"]:after {
  position: absolute;
  content: "";
  bottom: -16px;
  height: 2px;
  left: 0;
  right: 0;
  background: var(--accent);
}
.chart {
  height: 300px;
  width: 100%;
  margin-top: 12px;
}
.chart-message {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: none;
}
.history-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 14px 0 0;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.7rem;
}
.below-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 25px 0 45px;
}
.below-grid h3 {
  font-size: 0.85rem;
}
.below-grid p {
  font-size: 0.8rem;
  color: var(--muted);
}
.below-grid a {
  color: var(--text);
}
.station-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.station-facts dt {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.station-facts dd {
  margin: 3px 0 0;
  font-size: 0.85rem;
}
.value {
  font-variant-numeric: tabular-nums;
}
.hidden,
[hidden] {
  display: none !important;
}
.chart-description {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.no-script {
  padding: 20px;
  color: var(--accent);
}
@media (max-width: 800px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 80px;
  }
  nav {
    gap: 17px;
  }
  .hero {
    gap: 15px;
    padding: 65px 0 35px;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .station-copy {
    padding: 27px;
  }
  .station-art {
    padding: 20px;
  }
  .current-panel {
    padding: 22px;
  }
  .history-panel {
    padding: 23px 20px 12px;
  }
  .sun-mark {
    width: 70px;
  }
  .station-header {
    align-items: flex-start;
  }
  .history-heading {
    flex-direction: column;
    gap: 13px;
  }
  .chart-tabs {
    gap: 20px;
  }
  .below-grid {
    gap: 30px;
  }
  .metric-value {
    font-size: 1.5rem;
  }
}
@media (max-width: 580px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header {
    gap: 10px;
  }
  .brand {
    font-size: 0.88rem;
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  nav {
    gap: 14px;
    font-size: 0.75rem;
  }
  nav .desktop {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    gap: 15px;
  }
  .hero h1 {
    font-size: 3.9rem;
  }
  .hero .landscape {
    max-height: 210px;
    margin: 0 0 10px;
  }
  .hero .intro {
    font-size: 0.95rem;
  }
  .station-card {
    grid-template-columns: 1fr;
  }
  .station-art {
    height: 180px;
    grid-row: 1;
  }
  .station-art svg {
    height: 145px;
  }
  .station-copy {
    padding: 26px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 45px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .station-header {
    flex-direction: column;
    gap: 20px;
    padding: 33px 0 25px;
  }
  .mode-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .observation-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .current-panel {
    grid-template-columns: 1fr 95px;
    padding: 23px;
  }
  .temperature {
    font-size: 5.5rem;
  }
  .details-panel {
    padding: 5px 20px;
  }
  .metric {
    padding: 17px 3px;
  }
  .notice {
    flex-direction: column;
    gap: 5px;
    font-size: 0.75rem;
  }
  .history-panel {
    padding: 23px 15px 10px;
  }
  .history-heading .segments {
    width: 100%;
    justify-content: space-between;
  }
  .segments button {
    padding: 6px 10px;
  }
  .chart-toolbar {
    gap: 10px;
  }
  .chart-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .chart-tabs button {
    font-size: 0.76rem;
  }
  .chart {
    height: 270px;
  }
  .history-foot {
    flex-direction: column;
    gap: 3px;
  }
  .below-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 15px;
  }
  .footer {
    font-size: 0.7rem;
    padding-top: 22px;
  }
  .stations {
    padding-top: 25px;
  }
  .small {
    font-size: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.station-map {
  display: inline-block;
  margin: 12px 0 0 18px;
  color: var(--muted);
}

.footer {
  align-items: center;
}
.iceburg-credit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.iceburg-credit img {
  width: 180px;
  height: auto;
}

.pilot-notice {
  margin-top: 28px;
  border: 1px solid #705638;
  border-left: 3px solid var(--accent);
  border-radius: 9px;
  padding: 15px 20px;
  background: #251f18;
  color: #e5c39b;
  font-size: 0.8rem;
}
.pilot-notice strong {
  display: block;
  margin-bottom: 4px;
}
.pilot-notice p {
  max-width: none;
  margin: 0;
}
