/* Home-page sections (src/site/home.js) inside <div id="home-sections" class="home-sections">.
   Every rule is scoped under .home-sections so nothing here can reach the app. Uses the design tokens from
   css/app.css, with the same values as fallbacks so the sections also stand alone (dev/home-sections.html). */

.home-sections {
  --hs-text: var(--text, #eef1f5);
  --hs-muted: var(--muted, #a9b2bf);
  --hs-faint: var(--faint, #8590a0);
  --hs-line: var(--line, rgba(255, 255, 255, 0.1));
  --hs-line-strong: var(--line-strong, rgba(255, 255, 255, 0.2));
  --hs-fill: var(--fill, rgba(255, 255, 255, 0.06));
  --hs-accent: var(--accent, #e8b765);
  --hs-accent-soft: var(--accent-soft, rgba(232, 183, 101, 0.14));
  --hs-radius: var(--radius, 14px);
  color: var(--hs-text);
  font: 16px/1.5 var(--font, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}
.home-sections *, .home-sections *::before, .home-sections *::after { box-sizing: border-box; }
.home-sections a { color: var(--hs-text); text-decoration-color: var(--hs-faint); text-underline-offset: 2px; }
.home-sections a:hover { text-decoration-color: var(--hs-accent); }
.home-sections a:focus-visible { outline: 2px solid var(--hs-accent); outline-offset: 2px; border-radius: 4px; }
.home-sections h2 { font-size: 20px; font-weight: 600; margin: 0 0 10px; line-height: 1.25; }
.home-sections p { margin: 0 0 10px; }
.home-sections .hs-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.home-sections .hs-muted { color: var(--hs-muted); font-size: 14px; }

.home-sections .hs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.home-sections .hs-card {
  border: 1px solid var(--hs-line); border-radius: var(--hs-radius); background: var(--hs-fill);
  padding: 16px 18px; display: flex; flex-direction: column; min-width: 0;
}
.home-sections .hs-more { margin: auto 0 0; padding-top: 8px; font-weight: 500; }
.home-sections .hs-kicker { color: var(--hs-muted); margin: 0; }
.home-sections .hs-big {
  font-size: clamp(22px, 6vw, 28px); font-weight: 650; font-variant-numeric: tabular-nums; margin: 0 0 4px;
  color: var(--hs-accent); overflow-wrap: anywhere;
}
.home-sections .hs-moon { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.home-sections .hs-moon svg { flex: none; }
.home-sections .hs-moon p { margin: 0; }
.home-sections .hs-trip { margin: 0 0 8px; }
.home-sections .hs-trip > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--hs-line); }
.home-sections .hs-trip dt { color: var(--hs-muted); }
.home-sections .hs-trip dd { margin: 0; font-weight: 600; text-align: right; }

.home-sections .hs-wide { margin-top: 24px; }
.home-sections .hs-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.home-sections .hs-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--hs-line); background: var(--hs-fill); text-decoration: none; font-size: 14px;
}
.home-sections .hs-chip:hover { border-color: var(--hs-line-strong); }
.home-sections .hs-chip-all { color: var(--hs-accent); border-color: rgba(232, 183, 101, 0.5); background: var(--hs-accent-soft); }
.home-sections .hs-count { color: var(--hs-faint); font-variant-numeric: tabular-nums; }
.home-sections .hs-strip {
  list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}
.home-sections .hs-strip li { border-top: 1px solid var(--hs-line-strong); padding-top: 8px; color: var(--hs-muted); font-size: 14px; }
.home-sections .hs-strip strong { display: block; color: var(--hs-text); font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; }

.home-sections .hs-lead { color: var(--hs-muted); }
.home-sections .hs-tour-list {
  list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.home-sections .hs-tour {
  display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--hs-line); border-left: 3px solid var(--hs-accent);
  border-radius: 12px; background: var(--hs-fill); text-decoration: none;
}
.home-sections .hs-tour:hover { border-color: var(--hs-line-strong); border-left-color: var(--hs-accent); }
.home-sections .hs-tour-title { font-weight: 600; }
.home-sections .hs-tour-blurb { display: block; margin-top: 4px; color: var(--hs-muted); font-size: 14px; }

.home-sections .hs-launch { margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--hs-line); }
.home-sections .hs-event { margin: 0 0 6px; }
.home-sections .hs-count-down { margin: 0 0 4px; color: var(--hs-muted); }
.home-sections .hs-big-small {
  display: block; color: var(--hs-accent); font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums;
}
.home-sections .hs-fly { margin: 0 0 6px; font-weight: 500; }
