:root {
  color-scheme: dark;
  --ink: #f2eee4;
  --muted: #a6a397;
  --quiet: #77776c;
  --night: #171914;
  --panel: #20221c;
  --panel-light: #272921;
  --line: #383a30;
  --amber: #e5a35c;
  --ember: #bc6744;
  --moss: #9ba27b;
  --mono: 'SFMono-Regular', Consolas, monospace;
  --sans: 'Avenir Next', 'Segoe UI', sans-serif;
  --serif: Baskerville, 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 78% 11%, rgba(139, 90, 49, .13), transparent 29rem),
    radial-gradient(ellipse at 3% 54%, rgba(91, 101, 68, .08), transparent 34rem),
    var(--night);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }
.site-shell { width: min(1120px, calc(100% - 72px)); margin: 0 auto; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(242,238,228,.1); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 500 12px var(--mono); letter-spacing: .11em; }
.brand-mark { width: 22px; height: 22px; border: 1px solid var(--amber); border-radius: 50%; display: grid; place-items: center; }
.brand-mark span { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 12px rgba(229,163,92,.7); }
.top-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.status-dot { width: 6px; height: 6px; background: var(--moss); border-radius: 50%; box-shadow: 0 0 8px rgba(155,162,123,.6); }
main { padding-bottom: 26px; }
.intro { position: relative; min-height: 246px; display: flex; align-items: center; overflow: hidden; }
.intro-copy { position: relative; z-index: 1; padding: 26px 0 23px; }
.eyebrow, .panel-kicker, .clock-label, .search-hint, .weather-stats span, .footer, .nearby-label { font: 10px var(--mono); letter-spacing: .13em; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; color: var(--amber); }
.eyebrow-rule { width: 24px; height: 1px; background: var(--amber); }
h1 { margin: 0; font: 500 54px/.98 var(--serif); letter-spacing: 0; }
h1 em { color: var(--amber); font-weight: 500; }
.lede { margin: 15px 0 0; color: var(--muted); font-size: 14px; }
.moon-scene { position: absolute; top: 4px; right: 25px; width: 430px; height: 242px; overflow: hidden; }
.moon { position: absolute; top: 36px; right: 89px; width: 98px; aspect-ratio: 1; border-radius: 50%; background: #e8c28b; box-shadow: 0 0 48px rgba(229,163,92,.2); }
.moon::after { content: ''; position: absolute; width: 87px; height: 87px; left: 20px; top: -7px; border-radius: 50%; background: #1c1d17; }
.moon-haze { position: absolute; top: 59px; right: 47px; width: 190px; height: 60px; border: 1px solid rgba(229,163,92,.16); border-radius: 50%; transform: rotate(-12deg); }
.scene-ridge { position: absolute; bottom: -45px; width: 510px; height: 155px; border-radius: 50% 50% 0 0; }
.ridge-back { right: -70px; background: #26271f; transform: rotate(-9deg); }
.ridge-front { right: -135px; bottom: -77px; background: #1e2019; transform: rotate(9deg); }
.scene-tree { position: absolute; z-index: 1; color: #171914; font: 100px/1 Georgia, serif; transform: scaleX(.7); }
.tree-one { bottom: 8px; left: 105px; font-size: 119px; }
.tree-two { bottom: -6px; right: 52px; font-size: 91px; }
.scene-star { position: absolute; color: var(--amber); font-size: 11px; opacity: .8; }
.star-one { top: 43px; left: 139px; }.star-two { top: 101px; right: 179px; font-size: 7px; }
.searchbar { position: relative; z-index: 2; display: flex; align-items: center; min-height: 62px; padding: 7px 7px 7px 20px; border: 1px solid #4a493d; background: rgba(32,34,28,.95); box-shadow: 0 14px 38px rgba(0,0,0,.16); }
.search-icon { position: relative; width: 16px; height: 16px; margin-right: 14px; border: 1.5px solid var(--muted); border-radius: 50%; flex: 0 0 auto; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.5px; top: 13px; left: 11px; background: var(--muted); transform: rotate(45deg); }
.searchbar input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.searchbar input::placeholder { color: #89897f; opacity: 1; }
.search-button { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 21px; flex: 0 0 auto; padding: 0 17px; border: 0; background: var(--amber); color: #211c15; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s ease; }
.search-button:hover { background: #f0b16c; }.search-button:disabled { cursor: wait; opacity: .7; }
.search-hint { margin: 11px 0 0 2px; color: var(--quiet); font-size: 9px; }
.search-hint span { padding: 0 5px; color: var(--ember); }
.notice { margin: 20px 0 0; padding: 12px 15px; border-left: 2px solid var(--amber); background: rgba(229,163,92,.08); color: #e7c597; font-size: 13px; }
.notice[data-kind="error"] { border-color: var(--ember); background: rgba(188,103,68,.1); color: #e0a18a; }
.candidate-options { display: grid; gap: 5px; margin-top: 10px; }
.candidate-option { width: 100%; padding: 8px 10px; border: 1px solid rgba(229,163,92,.2); background: rgba(23,25,20,.55); color: var(--ink); cursor: pointer; text-align: left; font-size: 12px; line-height: 1.45; }
.candidate-option:hover, .candidate-option:focus-visible { border-color: var(--amber); outline: none; }
.results { margin-top: 38px; animation: arrive .55s both; }
.location-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 19px; }
.location-heading .eyebrow { margin-bottom: 10px; }
h2 { margin: 0; font: 500 34px/1.1 var(--serif); }
.location-detail { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.local-clock { display: grid; justify-items: end; gap: 2px; padding-bottom: 2px; }
.clock-label { color: var(--quiet); font-size: 9px; }
.local-clock strong { font: 500 24px var(--serif); color: var(--amber); }
.local-clock > span:last-child { color: var(--muted); font-size: 11px; }
.dashboard { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0, 1.55fr); border: 1px solid var(--line); }
.weather-panel { position: relative; overflow: hidden; min-height: 315px; padding: 22px 24px 17px; background: linear-gradient(145deg, #303027, #24251e 72%); }
.weather-panel::after { content: ''; position: absolute; right: -48px; top: 42px; width: 170px; height: 170px; border: 1px solid rgba(229,163,92,.09); border-radius: 50%; box-shadow: 0 0 0 20px rgba(229,163,92,.025), 0 0 0 40px rgba(229,163,92,.02); pointer-events: none; }
.weather-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.panel-kicker { color: var(--quiet); font-size: 9px; }
.weather-symbol { color: var(--amber); font-size: 24px; }
.weather-condition { position: relative; z-index: 1; margin: 10px 0 0; color: #e4dfd2; font: 500 16px var(--serif); }
.temperature { position: relative; z-index: 1; display: flex; align-items: flex-start; margin-top: 2px; font: 500 76px/.98 var(--serif); }
.degree { margin: 8px 0 0 3px; font: 400 23px var(--sans); }
.unit { margin: 18px 0 0 1px; color: var(--muted); font: 11px var(--mono); }
.feels-like { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.weather-divider { height: 1px; margin: 20px 0 14px; background: var(--line); }
.weather-stats { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; }
.weather-stats div { display: grid; gap: 7px; }
.weather-stats span { color: var(--quiet); font-size: 8px; white-space: nowrap; }
.weather-stats strong { color: #e9e4d9; font-size: 12px; font-weight: 500; }
.weather-source { margin: 15px 0 0; color: #73756a; font-size: 9px; }
.attractions-panel { min-width: 0; padding: 25px 27px 15px; background: rgba(28,29,24,.8); }
.attractions-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.attractions-heading .panel-kicker { margin: 0 0 7px; }
h3 { margin: 0; font: 500 22px/1.15 var(--serif); }
.heading-period { color: var(--ember); }
.nearby-label { padding: 6px 8px; border: 1px solid #414238; color: var(--moss); font-size: 8px; white-space: nowrap; }
.attraction-list { min-height: 195px; }
.attraction { display: grid; grid-template-columns: 29px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(56,58,48,.72); animation: arrive .45s both; }
.attraction:last-child { border-bottom: 0; }
.attraction-number { color: var(--ember); font: 11px var(--mono); }
.attraction-copy { min-width: 0; }
.attraction-name { display: block; overflow: hidden; color: #e6e2d8; font: 500 14px var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.attraction-type { display: block; margin-top: 4px; color: var(--quiet); font-size: 10px; text-transform: capitalize; }
.attraction-distance { color: var(--muted); font: 10px var(--mono); white-space: nowrap; }
.attraction-link { color: inherit; text-decoration: none; }
.attraction-link:hover .attraction-name { color: var(--amber); }
.list-message { padding: 22px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.attractions-source { margin: 2px 0 0; color: #73756a; font-size: 9px; }
.empty-state { min-height: 235px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 29px 16px 18px; text-align: center; }
.empty-orbit { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(229,163,92,.38); border-radius: 50%; color: var(--amber); font-size: 17px; box-shadow: 0 0 35px rgba(229,163,92,.08); }
.empty-title { margin: 13px 0 4px; font: 500 20px var(--serif); }
.empty-copy { max-width: 340px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.example-button { margin-top: 13px; padding: 6px 0; border: 0; background: none; color: var(--amber); cursor: pointer; font-size: 11px; }
.example-button span { margin-left: 5px; }
.footer { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(242,238,228,.1); color: #77776c; font-size: 8px; }
.footer-separator { padding: 0 5px; color: var(--ember); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 720px) {
  .site-shell { width: min(100% - 36px, 540px); }
  .topbar { height: 65px; }.top-note { font-size: 10px; }
  .intro { min-height: 225px; }.intro-copy { padding-top: 23px; } h1 { font-size: 46px; }
  .moon-scene { right: -165px; opacity: .62; transform: scale(.83); transform-origin: right center; }
  .searchbar { padding-left: 13px; }.searchbar input { font-size: 12px; }.search-button { min-height: 43px; gap: 8px; padding: 0 10px; font-size: 10px; }
  .search-hint { font-size: 8px; }
  .results { margin-top: 30px; }.location-heading { align-items: center; } h2 { font-size: 29px; }.local-clock strong { font-size: 21px; }
  .dashboard { grid-template-columns: 1fr; }.weather-panel { min-height: 294px; }.attractions-panel { padding: 22px 20px 14px; }
  .attraction-list { min-height: 100px; }.footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 0; line-height: 1.5; }
}
@media (max-width: 400px) {
  .site-shell { width: calc(100% - 28px); }.top-note { max-width: 130px; text-align: right; }
  h1 { font-size: 41px; }.search-button { width: 43px; gap: 0; padding: 0; font-size: 0; }.search-button span:last-child { font-size: 17px; }
  .location-heading { align-items: flex-start; flex-direction: column; gap: 13px; }.local-clock { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
