:root {
  --navy: #122f3d;
  --navy-2: #244653;
  --ink: #193a46;
  --muted: #5d6e72;
  --paper: #f7f7f2;
  --card: #ffffff;
  --border: #dfe5df;
  --orange: #a84c29;
  --orange-soft: #e99e72;
  --cream: #efe9dc;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #b96638; outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Top bar */
.top {
  background: var(--navy);
  color: #d7e0df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding: 16px clamp(16px, 5vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 1.8px;
  color: #f3eadb;
}

.brand-mark {
  position: relative;
  display: block;
  width: 38px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy-2);
  font-size: 27px;
  line-height: 42px;
  text-align: center;
}
.brand-mark span { position: absolute; right: -5px; top: -12px; font-size: 20px; color: var(--orange-soft); }

nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 -10px; }
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  color: #c9d6d8;
  padding: 8px 12px;
  border-radius: 8px;
}
nav a:hover { background: var(--navy-2); color: #fff; }

/* Main */
main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 56px) 56px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(36px, 7vw, 72px) 0 clamp(28px, 5vw, 48px);
}

.eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 650; letter-spacing: 2.4px; color: var(--orange); }

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.lede { margin: 18px 0 0; max-width: 34ch; font-size: 17px; color: var(--muted); }

.hero-art {
  position: relative;
  flex: none;
  width: 250px;
  height: 190px;
  border-radius: 18px;
  background: var(--cream);
  overflow: hidden;
}
.orbit { position: absolute; border: 1px solid #cfc5ae; border-radius: 50%; }
.orbit.one { width: 220px; height: 220px; left: 60px; top: -50px; }
.orbit.two { width: 130px; height: 130px; left: 105px; top: -5px; border-style: dashed; }
.plane { position: absolute; left: 148px; top: 34px; font-size: 44px; color: var(--navy); transform: rotate(-20deg); }
.art-label { position: absolute; left: 18px; bottom: 14px; font-size: 9px; letter-spacing: 2.2px; color: #8a8068; }

h2 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}
.cards li { display: flex; }

.card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: #b9c6c2; box-shadow: 0 6px 20px rgba(18, 47, 61, .08); transform: translateY(-1px); }

.icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: #f3eadb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  display: grid;
  place-items: center;
}

.card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.card strong { font-size: 17px; font-weight: 650; color: var(--navy); }
.desc { font-size: 14px; color: var(--muted); }

.meta { margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.host { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.tag { padding: 1px 8px; border-radius: 999px; background: var(--cream); color: #6b5a34; font-weight: 600; }

.go { flex: none; align-self: center; font-size: 18px; color: var(--orange); transition: transform .15s; }
.card:hover .go { transform: translateX(3px); }

footer {
  border-top: 1px solid var(--border);
  padding: 18px clamp(16px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  font-size: 12px;
  color: var(--muted);
}
footer span:first-child { letter-spacing: 2px; font-weight: 650; }

@media (max-width: 720px) {
  .hero-art { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .go { transition: none; }
  .card:hover { transform: none; }
}
