@import url('/fonts/fonts.css');

:root {
  --blue: #001478;
  --blue-dark: #000d58;
  --yellow: #e6b400;
  --ink: #111;
  --muted: #626262;
  --line: #d6d6d6;
  --soft: #f2f2f2;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.65 var(--sans); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 10px; z-index: 10; padding: 10px 13px; background: var(--blue); color: #fff; }
.skip:focus { top: 10px; }

.page { width: calc(100% - 30px); max-width: 1100px; margin: 20px auto; background: #fff; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 22px 15px; border-top: 6px solid var(--blue); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.brand-symbol { color: var(--yellow); font-size: 31px; line-height: 1; }
.brand-label { padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted); font: 10px/1.35 var(--mono); letter-spacing: 1px; }
.masthead nav { display: flex; gap: 23px; font-size: 12px; font-weight: 700; }
.masthead nav a:hover, footer a:hover { color: var(--yellow); text-decoration: none; }

main { padding: 0 22px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; align-items: center; padding: 35px 0 28px; }
.eyebrow, .index { color: var(--blue); font: 11px/1.6 var(--mono); font-weight: 700; letter-spacing: 1.35px; }
.eyebrow { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); }
.edition { display: none; }
h1, h2, h3, p { margin: 0; }
h1 { margin: 18px 0 14px; color: var(--blue); font-size: clamp(52px, 7vw, 76px); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 620px; color: #282828; font-size: 15px; line-height: 1.8; }
.hero-intro strong { color: var(--blue); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 23px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 21px; min-width: 196px; padding: 11px 16px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.button:hover { background: var(--blue-dark); text-decoration: none; }
.button span { color: var(--yellow); font-size: 18px; line-height: 1; }
.hero-actions .license { color: var(--blue); font: 10px var(--mono); font-weight: 700; letter-spacing: .5px; }
.hero-actions .license i { color: var(--yellow); font-style: normal; font-size: 17px; vertical-align: -1px; }
.station-art { border: 1px solid var(--line); background: var(--soft); }
.station-art svg { display: block; width: 100%; height: auto; }
.profile-photo { width: 230px; justify-self: end; }
.profile-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.art-caption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; background: var(--soft); color: var(--blue); font: 9px var(--mono); font-weight: 700; letter-spacing: .5px; }
.art-caption .dot { width: 5px; height: 5px; margin-right: 4px; }

.station-strip { display: flex; flex-wrap: wrap; background: var(--blue); color: #fff; }
.station-strip span { flex: 1 1 180px; padding: 11px 15px; border-right: 1px solid rgba(255,255,255,.2); font: 11px var(--mono); }
.station-strip b { margin-right: 8px; color: #b8c9ff; font-size: 9px; font-weight: 400; letter-spacing: 1px; }

.section { padding: 47px 0; border-bottom: 1px solid var(--line); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
.index { display: block; margin-bottom: 13px; color: var(--muted); }
h2 { color: var(--blue); font-size: 31px; font-weight: 700; line-height: 1.16; letter-spacing: -.02em; }
.about-copy { color: #282828; font-size: 15px; line-height: 1.8; }
.about-copy p + p { margin-top: 15px; }
.signature { margin-top: 22px; color: var(--blue); font-size: 18px; font-weight: 700; }
.signature span { color: var(--muted); font: 10px var(--mono); }

.weather-section { margin-top: 47px; padding: 25px 23px 18px; border-top: 5px solid var(--blue); background: var(--soft); }
.weather-heading, .section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.weather-heading h2 { font-size: 31px; }
.weather-controls { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 9px var(--mono); }
.weather-controls button { min-width: 35px; min-height: 35px; border: 1px solid #a9a9a9; background: #fff; color: var(--blue); font: 12px var(--mono); }
.weather-controls button:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.weather-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.weather-card { min-height: 160px; padding: 18px 18px 15px; background: #fff; }
.city-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.city-line h3 { color: var(--blue); font-size: 18px; }
.city-line span { color: var(--muted); font: 9px var(--mono); letter-spacing: .4px; }
.weather-temp { margin-top: 14px; color: var(--blue); font-size: 38px; font-weight: 700; line-height: 1; }
.weather-temp span { margin-left: 3px; color: var(--muted); font-size: 14px; font-weight: 400; }
.weather-desc { min-height: 25px; margin-top: 8px; color: #333; font-size: 12px; }
.weather-details { display: flex; gap: 12px; margin-top: 10px; color: var(--muted); font: 9px var(--mono); }
.weather-details b { color: var(--ink); font-weight: 400; }
.weather-time { margin-top: 12px; color: var(--muted); font: 9px var(--mono); }
.weather-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 14px; color: var(--muted); font: 9px var(--mono); }
.weather-footer a { font-weight: 700; }

.equipment-section { border-bottom: 1px solid var(--line); }
.section-top { align-items: baseline; }
.section-top p { color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.equipment-card { min-height: 173px; padding: 20px 21px; background: #fff; }
.equipment-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: var(--blue); font: 9px var(--mono); font-weight: 700; letter-spacing: .25px; }
.equipment-icon { color: var(--yellow); font-size: 23px; line-height: 1; }
.equipment-card h3 { color: var(--ink); font-size: 17px; line-height: 1.25; }
.equipment-card p { min-height: 38px; margin-top: 8px; color: #555; font-size: 11px; line-height: 1.5; }
.equipment-tag { display: inline-block; padding: 4px 7px; border-bottom: 2px solid var(--blue); color: var(--blue); font: 8px var(--mono); font-weight: 700; letter-spacing: .3px; }
.next-equipment { background: var(--soft); }

.interests { display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; align-items: start; }
.topics { display: flex; flex-wrap: wrap; gap: 7px; }
.topics span { padding: 7px 11px; border: 1px solid var(--line); border-bottom: 2px solid var(--blue); background: #fff; color: var(--blue); font: 10px var(--mono); font-weight: 700; }
.next-chapter { display: flex; align-items: center; gap: 19px; margin-top: 31px; padding: 21px 20px; border-left: 8px solid var(--yellow); background: var(--soft); }
.next-marker { color: var(--blue); font-size: 48px; line-height: 1; }
.next-chapter .index { margin-bottom: 6px; }
.next-chapter h2 { font-size: 27px; }
.next-chapter p { margin-top: 9px; color: #555; font-size: 12px; line-height: 1.55; }
.next-chapter p strong { color: var(--ink); }
.study-stamp { margin-left: auto; flex: 0 0 auto; padding: 10px 13px; border: 1px solid var(--blue); color: var(--blue); font: 10px/1.7 var(--mono); font-weight: 700; text-align: center; }
.study-stamp b { color: var(--yellow); font-size: 8px; }
.contact { padding: 54px 0 49px; text-align: center; }
.contact h2 { font-size: 39px; }
.contact p { margin: 17px 0 21px; color: var(--muted); font-size: 13px; }
.contact .button { margin: 0 auto; text-align: left; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0 28px; border-top: 1px solid var(--line); }
.footer-call { color: var(--blue); font-size: 19px; font-weight: 700; }
.footer-call span { display: block; color: var(--muted); font: 8px var(--mono); letter-spacing: 1px; }
footer > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 17px; font-size: 10px; }
.footer-location { color: var(--muted); font: 8px/1.7 var(--mono); letter-spacing: .7px; text-align: right; }

.prose { max-width: 750px; margin: 70px auto; }
.prose p { margin: 24px 0; }
.prose a { text-decoration: underline; }

@media (max-width: 900px) {
  .page { width: calc(100% - 12px); margin: 6px auto; }
  main { padding: 0 16px; }
  .hero { grid-template-columns: 1fr 280px; gap: 22px; }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .masthead { display: block; padding: 16px 14px 12px; }
  .brand { font-size: 22px; }
  .brand-label { display: none; }
  .masthead nav { gap: 15px; margin-top: 13px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding: 27px 0 24px; }
  h1 { font-size: 59px; }
  .hero-intro { font-size: 14px; }
  .station-art { max-width: 470px; }
  .profile-photo { width: 190px; justify-self: start; }
  .station-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .station-strip span { padding: 10px 11px; font-size: 9px; }
  .station-strip b { display: block; margin: 0 0 4px; }
  .section { padding: 39px 0; }
  .about, .interests { grid-template-columns: 1fr; gap: 21px; }
  h2 { font-size: 29px; }
  .weather-section { margin-top: 39px; padding: 21px 15px 15px; }
  .weather-heading, .section-top { display: block; }
  .weather-controls { justify-content: flex-end; margin-top: 15px; }
  .weather-controls #weather-state { margin-right: auto; }
  .weather-grid, .equipment-grid { grid-template-columns: 1fr; }
  .weather-card { min-height: 145px; }
  .weather-footer { display: block; }
  .weather-footer a { display: inline-block; margin-top: 9px; }
  .section-top p { margin-top: 12px; text-align: left; }
  .next-chapter { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .next-chapter > div:nth-child(2) { flex: 1; min-width: 200px; }
  .study-stamp { margin-left: auto; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  .footer-location { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
