:root {
  --bg: #080d18;
  --bg-elevated: #0e1627;
  --bg-panel: #121c31;
  --bg-card: #10192c;
  --ink: #ecf1fb;
  --ink-muted: #9eb0cc;
  --ink-faint: #6f82a3;
  --border: rgba(167, 191, 232, 0.16);
  --border-strong: rgba(218, 183, 111, 0.34);
  --gold: #dfb86b;
  --gold-soft: rgba(223, 184, 107, 0.14);
  --rigel: #84c5ff;
  --rigel-soft: rgba(132, 197, 255, 0.14);
  --betelgeuse: #ef8f61;
  --nebula: #9873d4;
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.62);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(84, 134, 214, 0.16), transparent 42%),
    radial-gradient(circle at 84% 16%, rgba(152, 115, 212, 0.12), transparent 38%),
    radial-gradient(circle at 52% 88%, rgba(223, 184, 107, 0.08), transparent 44%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
}

button, input {
  font-family: inherit;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 13, 24, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(223, 184, 107, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(18, 28, 49, 0.9);
  font-size: 0.84rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-pill:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.list-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #0b1120;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Typography */
.eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}

.section-intro {
  max-width: 670px;
  color: var(--ink-muted);
  margin: 0;
  font-size: 1rem;
}

/* Hero Centerpiece: Orion */
.hero {
  padding: 50px 0 66px;
}

.hero-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
  padding: 46px 48px;
  background: linear-gradient(155deg, rgba(16, 26, 46, 0.96) 0%, rgba(10, 16, 30, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(223, 184, 107, 0.18);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #ffffff;
}

.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--rigel);
  margin: 0 0 22px;
}

.hero-quote {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2.5px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  color: #e4ebf9;
  line-height: 1.62;
}

.hero-body {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.star-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(132, 197, 255, 0.1);
  border: 1px solid rgba(132, 197, 255, 0.24);
  color: #dce9ff;
  font-size: 0.81rem;
  font-weight: 500;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-blue { background: var(--rigel); box-shadow: 0 0 8px var(--rigel); }
.dot-amber { background: var(--betelgeuse); box-shadow: 0 0 8px var(--betelgeuse); }
.dot-nebula { background: #c59eff; box-shadow: 0 0 8px #c59eff; }
.dot-gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0;
  margin-bottom: 26px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fact-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.fact-value {
  font-family: var(--serif);
  font-size: 0.96rem;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--gold);
  color: #0b1120;
  box-shadow: 0 8px 24px rgba(223, 184, 107, 0.22);
}

.btn-primary:hover {
  background: #ebd08c;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--rigel-soft);
  border-color: var(--rigel);
}

/* Observatory Plate SVG */
.hero-plate {
  position: relative;
  z-index: 1;
  margin: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(61, 101, 178, 0.22), transparent 64%),
    linear-gradient(180deg, #070c17 0%, #0b1326 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 20px 16px;
  box-shadow: inset 0 0 0 5px rgba(223, 184, 107, 0.06);
}

.plate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 8px;
}

.orion-svg {
  width: 100%;
  max-width: 410px;
  height: auto;
  margin: 0 auto;
}

@keyframes pulseStar {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

.twinkle-slow {
  animation: pulseStar 4.5s ease-in-out infinite;
}

.twinkle-mid {
  animation: pulseStar 3.2s ease-in-out infinite 1.1s;
}

.plate-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.plate-caption em {
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--ink);
}

/* Atlas Section */
.section {
  padding: 58px 0;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0b1120;
  font-weight: 600;
}

.search-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input::placeholder {
  color: var(--ink-faint);
}

.search-input:focus {
  border-color: var(--gold);
}

.results-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

/* Constellation Grid */
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sky-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.sky-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-chart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 182px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 50%, #13213c 0%, #09101f 100%);
  cursor: pointer;
}

.card-chart svg {
  width: 146px;
  height: 146px;
  transition: transform 0.3s ease;
}

.sky-card:hover .card-chart svg {
  transform: scale(1.06);
}

.card-abbr {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.season-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(8, 13, 24, 0.75);
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px;
}

.card-title {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 1.26rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}

.card-sub {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

.card-star {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--rigel);
}

.card-excerpt {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.text-link-btn {
  border: none;
  background: none;
  padding: 4px 0;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}

.text-link-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.add-target-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.add-target-btn:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.add-target-btn.in-list {
  background: rgba(132, 197, 255, 0.2);
  border-color: var(--rigel);
  color: #ffffff;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--ink-muted);
}

/* Observing Planner */
.planner-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 32px;
  padding: 36px;
  background: linear-gradient(145deg, #101a30 0%, #0b1222 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.planner-desc {
  color: var(--ink-muted);
  margin: 0 0 20px;
  font-size: 0.96rem;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.preset-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.preset-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.selected-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  align-items: center;
}

.target-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(132, 197, 255, 0.14);
  border: 1px solid rgba(132, 197, 255, 0.34);
  font-size: 0.84rem;
  color: #fff;
}

.target-pill button {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.target-pill button:hover {
  color: #fff;
}

.logbook-sheet {
  background: #090f1d;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sheet-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.sheet-summary {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 0 18px;
  color: #f3f7ff;
}

.sheet-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 0.87rem;
}

.sheet-list li {
  margin-bottom: 6px;
}

.sheet-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* Seasons Grid */
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.season-panel {
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.season-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.season-panel h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  margin: 6px 0 8px;
  color: #fff;
}

.season-panel p {
  font-size: 0.89rem;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

.season-list {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: #dbe6fa;
}

.season-list li {
  padding: 3px 0;
}

/* Essays */
.essays-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.essay-card {
  padding: 28px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.essay-date {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--rigel);
  text-transform: uppercase;
}

.essay-card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.32;
  margin: 10px 0 12px;
  color: #fff;
}

.essay-card p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-muted);
  line-height: 1.72;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 6, 12, 0.76);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: min(780px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  border-color: var(--gold);
}

.modal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: start;
}

.modal-plate {
  background: radial-gradient(circle at 50% 45%, #132240 0%, #080e1c 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}

.modal-plate svg {
  width: 175px;
  height: 175px;
  margin: 0 auto 12px;
}

.modal-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin: 0 0 4px;
  color: #fff;
}

.modal-latin {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rigel);
  margin: 0 0 16px;
}

.modal-section-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 18px 0 6px;
}

.modal-text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--border);
  background: #060a13;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 404 Page */
.not-found-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.not-found-card {
  max-width: 540px;
  text-align: center;
  padding: 48px 36px;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.not-found-card h1 {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.22;
  margin: 0 0 14px;
  color: #fff;
}

.not-found-card .lead {
  color: var(--ink-muted);
  margin: 0 0 26px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-frame {
    grid-template-columns: 1fr;
    padding: 32px 26px;
  }
  .atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .planner-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .seasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .essays-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .atlas-grid,
  .seasons-grid {
    grid-template-columns: 1fr;
  }
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .modal-layout {
    grid-template-columns: 1fr;
  }
}
