:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --panel: #111317;
  --text: #efeee8;
  --muted: #92948f;
  --line: rgba(239, 238, 232, 0.17);
  --accent: #ff6846;
  --accent-rgb: 255, 104, 70;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--bg); background: var(--accent); }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 20px; }
.grain {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.site-header {
  height: 88px; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 15px; height: 15px; border: 1px solid var(--accent); border-radius: 50%; position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 19px; height: 1px; background: var(--accent); left: -3px; top: 6px; transform: rotate(-35deg); }
.brand-period { color: var(--accent); margin-left: -9px; }
.station, .index-link { font-family: "Courier New", monospace; font-size: 10px; letter-spacing: .12em; }
.station { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.index-link { justify-self: end; padding: 10px 0 10px 15px; }
.index-link span { color: var(--accent); margin-left: 12px; }

.hero { padding: 0 var(--pad); display: grid; grid-template-columns: 1.12fr .88fr; position: relative; min-height: calc(100svh - 88px); }
.hero-copy { padding: clamp(55px, 8vh, 100px) 3vw 70px 0; display: flex; flex-direction: column; }
.eyebrow, .section-label { font-family: "Courier New", monospace; font-size: 10px; line-height: 1.4; letter-spacing: .16em; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 26px; height: 1px; margin-right: 12px; background: var(--accent); }
h1 { font-size: clamp(82px, 11.3vw, 182px); line-height: .74; letter-spacing: -.075em; font-weight: 800; margin: auto 0; }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.075em; color: var(--accent); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 50px; }
.hero-intro { max-width: 340px; color: #b6b6b0; font-size: 13px; line-height: 1.9; }
.round-link { flex: 0 0 auto; width: 108px; height: 108px; border: 1px solid var(--line); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 11px; transition: background .3s, border-color .3s, transform .3s; }
.round-link:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: rotate(-6deg); }
.round-link .arrow { font-size: 24px; line-height: 1; }
.observatory { min-height: 610px; border-left: 1px solid var(--line); position: relative; overflow: hidden; background: radial-gradient(circle at 50% 43%, rgba(var(--accent-rgb), .06), transparent 48%); }
#atmosphere { position: absolute; width: 100%; height: 100%; inset: 0; }
.observer-top { position: absolute; top: 28px; left: 28px; right: 28px; display: flex; justify-content: space-between; font: 9px "Courier New", monospace; letter-spacing: .13em; color: var(--muted); }
.crosshair { position: absolute; color: var(--accent); font: 16px "Courier New", monospace; opacity: .7; }
.crosshair-a { top: 24%; left: 12%; }.crosshair-b { right: 12%; bottom: 34%; }
.scene-caption { position: absolute; left: 30px; bottom: 88px; max-width: 75%; }
.scene-kicker { color: var(--accent); font: 9px "Courier New", monospace; letter-spacing: .14em; margin-bottom: 8px; }
.scene-caption h2 { font-size: clamp(23px, 2.7vw, 42px); letter-spacing: -.045em; line-height: 1; }
.scene-caption > p:last-child { margin-top: 12px; color: var(--muted); font-size: 12px; }
.shift-button { position: absolute; right: 26px; bottom: 24px; background: transparent; border: 1px solid var(--line); padding: 11px 15px; font-size: 11px; transition: border-color .2s, color .2s; }
.shift-button:hover { border-color: var(--accent); color: var(--accent); }
.shift-icon { display: inline-block; margin-right: 6px; }
.shift-button:active .shift-icon { transform: rotate(180deg); }
.hero-footnote { position: absolute; left: var(--pad); bottom: 20px; font: 8px "Courier New", monospace; letter-spacing: .13em; color: #676964; }
.hero-footnote span { margin: 0 10px; color: var(--accent); }

.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 120px var(--pad); position: relative; }
.manifesto-text { font-size: clamp(40px, 6vw, 92px); font-weight: 600; letter-spacing: -.06em; line-height: 1.15; margin-top: 36px; }
.manifesto-text span { font-family: Georgia, "Songti SC", serif; font-weight: 400; font-style: italic; color: var(--accent); }
.manifesto-note { position: absolute; right: var(--pad); bottom: 90px; display: flex; gap: 18px; align-items: flex-start; }
.manifesto-note p { color: var(--muted); font-size: 11px; line-height: 1.9; }
.note-line { width: 35px; height: 1px; background: var(--accent); margin-top: 10px; }

.atlas { padding: 110px var(--pad) 130px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 4.5vw, 67px); font-weight: 400; font-style: italic; letter-spacing: -.05em; margin-top: 10px; }
.filters { display: flex; border: 1px solid var(--line); border-radius: 100px; padding: 4px; }
.filter { background: transparent; color: var(--muted); border-radius: 100px; padding: 8px 17px; font-size: 11px; transition: .2s; }
.filter:hover { color: var(--text); }.filter.active { background: var(--text); color: var(--bg); }
.place-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.place-card { min-width: 0; transition: opacity .25s, transform .25s; }
.place-card[hidden] { display: none; }
.place-open { width: 100%; background: transparent; text-align: left; }
.landscape { height: clamp(260px, 31vw, 430px); position: relative; overflow: hidden; border: 1px solid var(--line); background: #131519; transition: border-color .3s; }
.place-open:hover .landscape { border-color: var(--accent); }
.landscape-code { position: absolute; left: 16px; bottom: 14px; font: 8px "Courier New", monospace; letter-spacing: .12em; color: rgba(255,255,255,.6); z-index: 5; }
.landscape-glass { background: linear-gradient(165deg, #d37a52 0%, #e8ab76 42%, #a85140 43%, #462e32 100%); }
.sun { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; background: #f5d6a2; left: 31%; top: 15%; box-shadow: 0 0 50px rgba(245,214,162,.35); transition: transform .6s; }
.place-open:hover .sun { transform: translateY(-10px); }
.horizon { position: absolute; inset: 43% 0 auto; height: 1px; background: rgba(255,255,255,.45); }
.dune { position: absolute; width: 140%; height: 48%; left: -20%; border-radius: 50% 50% 0 0; transform: rotate(-8deg); }
.dune-a { bottom: -15%; background: #6f3c38; }.dune-b { bottom: -30%; background: #2b252b; transform: rotate(12deg); }
.landscape-static { background: radial-gradient(circle at 70% 25%, #343e70, #13192c 45%, #0b0e18 100%); }
.moon { position: absolute; width: 62px; height: 62px; border: 1px solid #aebcff; border-radius: 50%; right: 16%; top: 12%; box-shadow: inset -15px -8px 0 #13192c, 0 0 35px rgba(141,160,255,.2); }
.wave { position: absolute; left: -15%; width: 130%; height: 35%; border: 1px solid rgba(144,162,255,.65); border-radius: 50%; transition: transform .7s; }
.wave-a { bottom: -2%; }.wave-b { bottom: 9%; left: -5%; opacity: .6; }.wave-c { bottom: 20%; left: -25%; opacity: .3; }
.place-open:hover .wave-a { transform: translateY(-12px) rotate(3deg); }.place-open:hover .wave-b { transform: translateY(7px) rotate(-4deg); }
.landscape-orchard { background: linear-gradient(180deg, #15251e, #0b110e 75%); }
.landscape-orchard::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(164,255,176,.035) 40px); }
.orb { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: #b5f59c; box-shadow: 0 0 30px rgba(181,245,156,.35); z-index: 2; transition: box-shadow .4s, transform .4s; }
.orb-a { left: 22%; top: 35%; }.orb-b { left: 57%; top: 20%; width: 49px; height: 49px; }.orb-c { left: 66%; top: 58%; width: 26px; height: 26px; }
.place-open:hover .orb { box-shadow: 0 0 55px rgba(181,245,156,.65); transform: scale(1.08); }
.stem { position: absolute; width: 1px; background: #67876a; transform-origin: bottom; bottom: -5%; }
.stem-a { height: 72%; left: 27%; transform: rotate(-9deg); }.stem-b { height: 90%; left: 62%; transform: rotate(5deg); }.stem-c { height: 53%; left: 70%; transform: rotate(13deg); }
.place-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 20px; }
.place-meta > div { display: flex; align-items: baseline; gap: 12px; }
.place-number { font: 9px "Courier New", monospace; color: var(--accent); }
.place-meta h3 { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.place-time { font: 8px "Courier New", monospace; letter-spacing: .08em; color: var(--muted); padding-top: 6px; white-space: nowrap; }
.place-summary { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 13px 0 18px; max-width: 310px; }
.read-more { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; font: 9px "Courier New", monospace; letter-spacing: .1em; }
.read-more span { color: var(--accent); font-size: 15px; }
.filter-empty { padding: 50px; text-align: center; border: 1px solid var(--line); color: var(--muted); }

.closing { padding: 110px var(--pad); border-top: 1px solid var(--line); text-align: center; }
.closing-title { font-size: clamp(55px, 8vw, 120px); line-height: .95; letter-spacing: -.065em; font-weight: 700; margin: 35px 0 50px; }
.closing-title em { font-family: Georgia, serif; font-weight: 400; color: var(--accent); }
.text-button { background: transparent; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 12px; }
.text-button span { color: var(--accent); margin-left: 25px; }
.site-footer { border-top: 1px solid var(--line); padding: 25px var(--pad); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 8px "Courier New", monospace; letter-spacing: .1em; }
.site-footer a { color: var(--text); }

.field-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; background: #111317; color: var(--text); border: 1px solid var(--accent); padding: clamp(28px, 5vw, 55px); }
.field-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 18px; top: 12px; background: transparent; color: var(--muted); font-size: 30px; font-weight: 200; }
.field-dialog h2 { font-size: clamp(38px, 7vw, 62px); letter-spacing: -.06em; line-height: 1; margin: 25px 0 20px; }
.dialog-intro { color: var(--accent); font-family: Georgia, "Songti SC", serif; font-size: 18px; line-height: 1.7; }
.dialog-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin: 28px 0; }
.dialog-data div { min-width: 0; }.dialog-data dt { color: var(--muted); font: 8px "Courier New", monospace; letter-spacing: .1em; margin-bottom: 7px; }.dialog-data dd { font: 11px "Courier New", monospace; overflow-wrap: anywhere; }
.dialog-body { color: #b5b6b0; font-size: 13px; line-height: 2; }
.dialog-stamp { width: max-content; max-width: 100%; margin-top: 35px; border: 1px solid var(--line); padding: 8px 10px; color: var(--muted); font: 8px "Courier New", monospace; letter-spacing: .08em; transform: rotate(-2deg); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 25px; transform: translate(-50%, 20px); padding: 10px 16px; background: var(--text); color: var(--bg); font-size: 11px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

html[data-scene="ice"] { --accent: #8ea2ff; --accent-rgb: 142, 162, 255; }
html[data-scene="moss"] { --accent: #b5f59c; --accent-rgb: 181, 245, 156; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 630px; padding-right: 0; }
  h1 { font-size: clamp(90px, 18vw, 150px); }
  .observatory { min-height: 600px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-footnote { display: none; }
  .manifesto-note { position: static; margin-top: 45px; }
  .place-grid { grid-template-columns: 1fr 1fr; }.place-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .landscape { height: 390px; }
}
@media (max-width: 600px) {
  .site-header { height: 70px; grid-template-columns: 1fr auto; }.station { display: none; }
  .hero { min-height: auto; }.hero-copy { min-height: calc(100svh - 70px); padding: 48px 0 45px; }
  h1 { font-size: clamp(78px, 25vw, 125px); }
  .hero-bottom { align-items: center; }.hero-intro { font-size: 12px; max-width: 220px; }.round-link { width: 88px; height: 88px; }
  .observatory { min-height: 540px; }.scene-caption { max-width: 85%; bottom: 92px; }.shift-button { left: 26px; right: auto; }
  .manifesto { padding-top: 80px; padding-bottom: 80px; }.manifesto-text { font-size: 42px; }
  .atlas { padding-top: 80px; padding-bottom: 90px; }.section-heading { display: block; }.filters { width: max-content; margin-top: 25px; }
  .place-grid { grid-template-columns: 1fr; gap: 45px; }.place-card:last-child { grid-column: auto; max-width: none; }.landscape { height: 390px; }
  .site-footer { flex-direction: column; gap: 10px; }.closing { padding: 85px var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
