/* HunJing portal: paper, ink, and the possibility of another story. */
:root {
  --paper:#f6f3ec;
  --ink:#302b35;
  --muted:#706975;
  --purple:#695481;
  --line:#dcd6df;
  --serif:"Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",Georgia,serif;
  --sans:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:15px/1.8 var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
  color:inherit;
  cursor:pointer;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--purple);
  outline-offset:5px;
}
h1,h2,h3,p {
  margin:0;
}
h1,h2 {
  font-family:var(--serif);
  font-weight:500;
  line-height:1.45;
}
h2 {
  font-size:40px;
  letter-spacing:-1px;
}
svg {
  display:block;
}
.svg-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
.wrap {
  width:min(1240px,calc(100% - 112px));
  margin-inline:auto;
}
.mono {
  font:10px/1.6 Consolas,"SFMono-Regular",monospace;
  letter-spacing:1.4px;
}
.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
.eyebrow {
  font-size:11px;
  font-weight:500;
  letter-spacing:2px;
  color:var(--purple);
  margin-bottom:24px;
}
.skip-link {
  position:fixed;
  left:20px;
  top:-100px;
  padding:12px 20px;
  background:white;
  z-index:200;
}
.skip-link:focus {
  top:10px;
}
.site-header {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(246,243,236,.94);
  backdrop-filter:blur(15px);
  border-bottom:1px solid rgba(220,214,223,.7);
}
.nav {
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
}
.brand svg {
  height:34px;
  width:34px;
  fill:none;
  stroke:var(--purple);
  stroke-width:1.2;
}
.brand>span:not(.brand-en) {
  font-family:var(--serif);
  font-size:25px;
  letter-spacing:4px;
}
.brand-en {
  font:10px/1.5 Georgia,serif;
  letter-spacing:2px;
  border-left:1px solid var(--line);
  padding-left:13px;
  margin-left:4px;
}
.nav-links {
  display:flex;
  gap:34px;
  font-size:12px;
}
.nav-links a:hover {
  color:var(--purple);
}
.nav-cta {
  display:flex;
  align-items:center;
  gap:28px;
  font-size:12px;
  border-bottom:1px solid var(--ink);
  padding:7px 0;
}
.nav-cta .icon {
  width:17px;
}
.hero {
  display:grid;
  grid-template-columns:1.08fr 1fr;
  gap:42px;
  align-items:center;
  padding-top:76px;
  padding-bottom:88px;
}
.hero-copy {
  padding-bottom:7px;
}
.tiny-star {
  font-size:17px;
  margin-right:6px;
}
.hero h1 {
  font-size:clamp(35px,3.5vw,52px);
  letter-spacing:-2px;
  line-height:1.5;
  white-space:nowrap;
}
.ink-accent {
  color:var(--purple);
  position:relative;
}
.ink-accent:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-7px;
  height:8px;
  border-top:1px solid #9d88ac;
  border-radius:50%;
  transform:rotate(-2deg);
}
.hero-description {
  margin-top:30px;
  font-size:14px;
  line-height:2.1;
  color:var(--muted);
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:34px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:14px 23px;
  border:1px solid var(--purple);
  font-size:12px;
  transition:background .2s,transform .2s;
}
.button:hover {
  transform:translateY(-2px);
}
.primary {
  background:var(--purple);
  color:white;
}
.primary:hover {
  background:#514062;
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:14px;
  font-size:12px;
  font-weight:500;
}
.text-link:hover {
  color:var(--purple);
}
.text-link .icon {
  width:17px;
}
.hero-footnote {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:10px;
  color:var(--muted);
  margin-top:40px;
  white-space:nowrap;
}
.small-line {
  height:1px;
  width:23px;
  background:#a99ab4;
}
.footnote-divider {
  color:#b5aabd;
  margin-inline:2px;
}
.observatory {
  position:relative;
  background:#292532;
  color:#e9e1ef;
  min-width:0;
  height:512px;
  border:1px solid #4e425b;
  box-shadow:12px 16px 0 #e9e4e9;
}
.observatory-top {
  height:49px;
  margin-inline:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #4c4357;
  font-size:10px;
  color:#c5b7d0;
}
.observatory-top>span:first-child {
  display:flex;
  align-items:center;
  gap:9px;
}
.observatory-top i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#c4b1de;
}
.chart-caption {
  position:absolute;
  top:69px;
  left:26px;
  right:22px;
  display:flex;
  justify-content:space-between;
  font-family:var(--serif);
  font-size:13px;
  line-height:1.8;
}
.vertical-note {
  writing-mode:vertical-rl;
  font:8px/1.5 Consolas,monospace;
  letter-spacing:2px;
  color:#b2a5be;
}
.star-map {
  width:100%;
  height:350px;
  margin-top:10px;
}
.orbits {
  fill:none;
  stroke:#b4a1c7;
  stroke-width:.6;
  opacity:.3;
}
.orbits circle {
  stroke-dasharray:2 7;
}
.map-lines {
  fill:none;
  stroke:#a18caf;
  stroke-width:.8;
  stroke-dasharray:3 5;
}
.map-lines .branch-line {
  stroke:#e4caaa;
  stroke-width:1.5;
  stroke-dasharray:none;
}
.map-specks {
  fill:#bda9ce;
}
.story-node circle {
  fill:#393140;
  stroke:#c9b5dd;
  stroke-width:.7;
}
.story-node circle:nth-child(2) {
  fill:none;
  stroke:#74617f;
}
.story-node text {
  fill:#efe5f5;
  text-anchor:middle;
  font-size:14px;
  font-family:var(--serif);
}
.place-node {
  fill:#bca9ce;
}
.place-node text {
  font-size:11px;
}
.outcome-node {
  fill:#ead0b2;
  transition:opacity .3s;
}
.outcome-node text {
  font-size:12px;
}
.outcome-node .node-halo {
  fill:none;
  stroke:#d5b797;
  stroke-width:.7;
}
.muted-node {
  opacity:.38;
}
.map-relation {
  fill:#bbabc8;
  font-size:9px;
  letter-spacing:1px;
}
.story-fragment {
  position:absolute;
  bottom:36px;
  left:-24px;
  right:40px;
  background:#eee9df;
  color:var(--ink);
  padding:20px 24px 15px;
  box-shadow:0 8px 25px #100b1d26;
  border:1px solid #d2c8d6;
  transform:rotate(-2deg);
}
.fragment-meta {
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:9px;
}
.fragment-meta .mono {
  font-size:9px;
}
.story-fragment>p {
  font-family:var(--serif);
  font-size:21px;
  line-height:1.65;
  margin-block:13px;
  min-height:70px;
  white-space:pre-line;
}
.branch-controls {
  display:flex;
  align-items:center;
  gap:16px;
  padding-top:10px;
  border-top:1px solid #d6ccd6;
}
.branch-controls button {
  padding:0 0 3px;
  background:none;
  border:0;
  border-bottom:1px solid transparent;
  font-size:10px;
  color:#706674;
}
.branch-controls button[aria-pressed=true] {
  color:#4d385e;
  border-bottom-color:#766181;
}
.branch-controls>.icon {
  margin-left:auto;
  width:18px;
}
.chart-index {
  position:absolute;
  bottom:10px;
  left:24px;
  font-size:8px;
  color:#b7a7c2;
}
.chapter-divider {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-block:1px solid var(--line);
  padding-block:17px;
  color:var(--muted);
  font-size:11px;
}
.divider-star {
  font-size:26px;
  color:#9b87ab;
  line-height:1;
}
.world-section {
  display:grid;
  grid-template-columns:1fr 1.12fr;
  gap:120px;
  padding-block:100px;
}
.world-heading h2 em {
  color:var(--purple);
  font-style:normal;
}
.world-heading>p:last-child {
  max-width:315px;
  color:var(--muted);
  font-size:13px;
  line-height:2;
  margin-top:24px;
}
.world-details article {
  display:flex;
  gap:23px;
  padding:0 0 26px;
  margin-bottom:26px;
  border-bottom:1px solid var(--line);
}
.world-details article:last-child {
  border:0;
  padding-bottom:0;
  margin-bottom:0;
}
.detail-number {
  padding-top:6px;
  color:var(--purple);
}
.world-details h3 {
  font-size:16px;
  font-weight:500;
  margin-bottom:9px;
}
.world-details p {
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
}
.detail-tag {
  font-size:9px;
  letter-spacing:.5px;
  display:inline-block;
  margin-top:12px;
  color:var(--purple);
}
.modes-section {
  background:#eae5ee;
  border-block:1px solid #d9d1df;
  padding-block:84px;
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:44px;
}
.section-heading .eyebrow {
  margin-bottom:17px;
}
.section-heading>p {
  font-size:12px;
  color:var(--muted);
  line-height:2;
  padding-bottom:6px;
}
.mode-workspace {
  display:grid;
  grid-template-columns:300px 1fr;
  border-block:1px solid #c9bece;
}
.mode-tabs {
  display:flex;
  flex-direction:column;
  border-right:1px solid #c9bece;
}
.mode-tab {
  display:flex;
  align-items:center;
  text-align:left;
  gap:23px;
  background:none;
  border:0;
  border-bottom:1px solid #cfc6d4;
  padding:20px 25px 20px 8px;
  min-height:86px;
}
.mode-tab:last-child {
  border:0;
}
.mode-tab>.mono {
  color:#766781;
  font-size:10px;
}
.mode-tab>span:nth-child(2) {
  font-family:var(--serif);
  font-size:21px;
}
.mode-tab small {
  font-family:var(--sans);
  font-size:10px;
  color:var(--muted);
  margin-left:18px;
}
.tab-arrow {
  margin-left:auto;
  font-size:20px;
  color:var(--purple);
  opacity:0;
}
.tab-status {
  font-size:9px;
  color:#655471;
  margin-left:auto;
  white-space:nowrap;
}
.mode-tab:hover {
  background:#f6f3ec66;
}
.mode-tab.active {
  background:#f6f3ec;
  padding-left:20px;
  box-shadow:inset 3px 0 var(--purple);
}
.mode-tab.active .tab-arrow {
  opacity:1;
}
.mode-panel {
  padding:35px 42px 25px;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#f5f1f5;
}
.mode-panel-top {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  color:var(--purple);
  font-size:10px;
}
.mode-panel h3 {
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
  line-height:1.5;
  white-space:pre-line;
  margin-top:27px;
}
.mode-description {
  font-size:12px;
  color:var(--muted);
  line-height:2;
  max-width:490px;
  margin-top:16px;
  min-height:48px;
}
.mode-example {
  margin-top:24px;
  padding:20px 25px;
  border-left:1px solid #aa94b6;
  background:#e9e2eb66;
  flex:1;
}
.example-label,.example-note {
  font-size:9px;
  color:#77657e;
}
.mode-example p {
  font-family:var(--serif);
  font-size:18px;
  line-height:1.9;
  margin-block:10px;
}
.example-note {
  color:var(--muted);
}
.mode-panel-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:24px;
  font-size:9px;
  color:var(--muted);
}
.mode-panel-bottom a {
  color:var(--purple);
  white-space:nowrap;
}
.lab-section {
  padding-block:100px;
}
.lab-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.lab-card {
  border:1px solid var(--line);
  background:#f0ece5;
  overflow:hidden;
}
.lab-card-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:21px 26px;
  color:var(--purple);
}
.lab-status {
  font-size:10px;
  border:1px solid #b5a5bf;
  padding:0 8px;
}
.comic-illustration {
  height:244px;
  margin:0 26px;
  display:grid;
  grid-template-columns:1fr 1.1fr;
  grid-template-rows:1fr .9fr;
  gap:7px;
  padding:10px;
  background:#faf7ef;
  border:1px solid #b2a5b8;
}
.comic-panel {
  position:relative;
  border:1px solid #5e5069;
  overflow:hidden;
  background:#c8bdcf;
}
.panel-wide {
  grid-column:1/-1;
  background:#b3a5bb;
}
.drawn-moon {
  position:absolute;
  width:43px;
  height:43px;
  border:1px solid #74647e;
  border-radius:50%;
  background:#eee5d4;
  right:19%;
  top:14px;
}
.drawn-hills {
  position:absolute;
  width:110%;
  height:120px;
  left:-5%;
  top:49px;
  background:#7e6d8b;
  clip-path:polygon(0 60%,20% 20%,38% 47%,57% 5%,80% 40%,100% 22%,100% 100%,0 100%);
}
.panel-caption {
  position:absolute;
  top:14px;
  left:13px;
  background:#f4efe4;
  padding:4px 10px;
  font:11px var(--serif);
  border:1px solid #776881;
}
.panel-small {
  background:#80718d;
}
.window-light {
  position:absolute;
  left:24%;
  height:145%;
  top:-12px;
  width:37%;
  transform:skew(-12deg);
  background:repeating-linear-gradient(0deg,transparent 0 40px,#655474 40px 43px),#e3d6bd;
}
.drawn-person,.film-person {
  position:absolute;
  width:27px;
  height:70px;
  background:#3e334b;
  border-radius:45% 45% 0 0;
  left:58%;
  top:40px;
}
.drawn-person:before,.film-person:before {
  content:"";
  position:absolute;
  top:-19px;
  left:5px;
  width:18px;
  height:23px;
  border-radius:50%;
  background:inherit;
}
.panel-close {
  background:repeating-linear-gradient(135deg,#dfd6e2 0 3px,#e8e1e8 3px 5px);
}
.letter-shape {
  position:absolute;
  width:90px;
  height:53px;
  bottom:12px;
  left:16px;
  background:#f5efdf;
  border:1px solid #706079;
  transform:rotate(-12deg);
}
.letter-shape:after {
  content:"";
  position:absolute;
  inset:0;
  clip-path:polygon(0 0,50% 65%,100% 0,100% 3%,50% 70%,0 3%);
  background:#706079;
}
.speech-bubble {
  position:absolute;
  right:13px;
  top:10px;
  background:#faf7ef;
  border:1px solid #706079;
  border-radius:50%;
  padding:8px 13px;
  font:12px var(--serif);
}
.film-illustration {
  height:244px;
  margin:0 26px;
  background:#312c3b;
  padding:10px;
  border:1px solid #44374f;
}
.film-frame {
  height:183px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(#54485f,#918198);
}
.film-moon {
  position:absolute;
  top:25px;
  left:58%;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#d8c8ab;
  box-shadow:0 0 40px #dbc9b242;
}
.film-horizon {
  position:absolute;
  inset:110px -5% -40px;
  background:#302a38;
  transform:rotate(-5deg);
  border-top:4px solid #a597a5;
}
.film-horizon:after {
  content:"";
  position:absolute;
  width:110%;
  top:-30px;
  left:0;
  border-top:1px solid #c1b0c1;
  box-shadow:0 -5px 0 #c1b0c133;
  transform:rotate(3deg);
}
.film-person {
  left:41%;
  top:94px;
  width:20px;
  height:50px;
  background:#24202e;
}
.film-person:before {
  left:3px;
  width:14px;
  height:18px;
  top:-16px;
}
.film-time {
  position:absolute;
  top:12px;
  left:16px;
  color:#e3d5e9;
  font-size:8px;
}
.film-subtitle {
  position:absolute;
  bottom:12px;
  left:0;
  right:0;
  color:#f3e9dc;
  font-family:var(--serif);
  font-size:11px;
  text-align:center;
}
.frame-corner {
  position:absolute;
  width:13px;
  height:13px;
  border-color:#e0d3e7;
  border-style:solid;
}
.top-left {
  left:8px;
  top:8px;
  border-width:1px 0 0 1px;
}
.bottom-right {
  right:8px;
  bottom:8px;
  border-width:0 1px 1px 0;
}
.film-timeline {
  position:relative;
  display:flex;
  gap:5px;
  margin:12px 5px 0;
  height:18px;
}
.film-timeline>span:not(.timeline-playhead) {
  flex:1;
  background:#7e6a8f;
  border:1px solid #ac98bd;
}
.film-timeline>span:nth-child(3) {
  flex:1.5;
  background:#a493b0;
}
.film-timeline>span:nth-child(5) {
  flex:1.8;
  background:#584965;
}
.timeline-playhead {
  position:absolute;
  left:38%;
  height:27px;
  top:-5px;
  border-left:1px solid #ead1a8;
  z-index:1;
}
.timeline-playhead:before {
  content:"";
  position:absolute;
  left:-4px;
  top:-2px;
  border-top:5px solid #ead1a8;
  border-inline:3px solid transparent;
}
.lab-copy {
  padding:28px 26px;
}
.lab-copy h3 {
  font-family:var(--serif);
  font-weight:500;
  font-size:26px;
}
.lab-copy h3 span {
  display:block;
  font-family:var(--sans);
  font-size:12px;
  margin-top:4px;
  color:var(--purple);
}
.lab-copy>p {
  font-size:12px;
  color:var(--muted);
  line-height:2;
  margin-top:16px;
}
.lab-tags {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:20px;
  font-size:9px;
  color:var(--purple);
}
.lab-copy .lab-progress {
  border-top:1px solid var(--line);
  padding-top:17px;
  font-size:10px;
  margin-top:20px;
}
.lab-copy>.text-link {
  margin-top:15px;
}
.illustration-note {
  font-size:10px;
  color:var(--muted);
  margin-top:18px;
  text-align:right;
}
.community-section {
  background:#342d3d;
  color:#f1eaf3;
  padding-block:65px;
}
.community-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}
.community-inner .eyebrow {
  color:#bda8cd;
  font-size:10px;
}
.community-inner h2 {
  font-size:30px;
}
.community-inner>div:last-child {
  max-width:430px;
}
.community-inner p:not(.eyebrow) {
  font-size:12px;
  line-height:2;
  color:#c6b9ce;
  margin-bottom:23px;
}
.community-inner .text-link:hover {
  color:#e1c49e;
}
.access-section {
  padding-block:90px;
}
.access-section h2 {
  font-size:36px;
}
.access-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:38px;
}
.access-grid article {
  border-top:1px solid var(--line);
  padding-top:23px;
}
.access-grid .mono {
  color:var(--purple);
}
.access-grid h3 {
  font-family:var(--serif);
  font-size:23px;
  font-weight:500;
  margin-block:18px 12px;
}
.access-grid p {
  font-size:12px;
  line-height:2;
  color:var(--muted);
  min-height:72px;
}
.access-grid .text-link {
  margin-top:25px;
}
.access-grid small {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:8px;
}
.site-footer {
  border-top:1px solid var(--line);
  padding-top:34px;
  padding-bottom:24px;
}
.footer-top,.footer-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.footer-top>p {
  font-family:var(--serif);
  font-size:13px;
  color:var(--muted);
}
.contact-trigger {
  border:0;
  background:none;
  padding:8px 0;
}
.footer-bottom {
  font-size:9px;
  color:var(--muted);
  margin-top:35px;
}
.footer-bottom .mono {
  font-size:8px;
}
dialog {
  padding:40px;
  border:1px solid #b4a4bf;
  border-radius:4px;
  background:var(--paper);
  color:var(--ink);
  width:min(480px,calc(100% - 32px));
  box-shadow:0 25px 90px #211a3844;
}
dialog::backdrop {
  background:#28203475;
  backdrop-filter:blur(6px);
}
dialog h2 {
  font-size:27px;
}
dialog>p:not(.eyebrow) {
  font-size:12px;
  color:var(--muted);
  margin-top:15px;
}
.dialog-close {
  position:absolute;
  right:15px;
  top:10px;
  border:0;
  background:none;
  font-size:25px;
  padding:3px 8px;
}
.contact-account {
  margin-top:24px;
  background:#e9e2ed;
  padding:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.contact-account>span {
  font-size:11px;
}
.contact-account strong {
  font-size:15px;
  font-weight:500;
  user-select:all;
}
.contact-account button {
  background:var(--purple);
  border:0;
  color:white;
  padding:5px 12px;
  font-size:11px;
}
.copy-status {
  min-height:23px;
}
.noscript-note {
  margin-top:20px;
  font-size:13px;
}
.noscript-note a {
  text-decoration:underline;
}
@media(min-width:1500px) {
  .hero {
    gap:70px;
    padding-block:90px 105px;
  }
  .observatory {
    height:540px;
  }
  .star-map {
    height:375px;
  }
  .hero h1 {
    font-size:54px;
  }
}
@media(max-width:1100px) {
  .wrap {
    width:calc(100% - 64px);
  }
  .hero {
    gap:28px;
    padding-top:60px;
  }
  .hero h1 {
    font-size:36px;
    letter-spacing:-1.5px;
  }
  .hero-description {
    font-size:13px;
  }
  .hero-actions {
    gap:20px;
  }
  .hero-footnote {
    font-size:9px;
    gap:6px;
  }
  .observatory {
    height:470px;
  }
  .star-map {
    height:320px;
  }
  .story-fragment {
    left:-12px;
    right:24px;
  }
  .story-fragment>p {
    font-size:19px;
  }
  .world-section {
    gap:70px;
  }
  .mode-workspace {
    grid-template-columns:270px 1fr;
  }
  .mode-panel {
    padding-inline:28px;
  }
  .mode-tab {
    gap:15px;
  }
  .mode-tab small {
    margin-left:13px;
  }
  .mode-panel h3 {
    font-size:28px;
  }
  .mode-panel-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
  .community-inner {
    gap:30px;
  }
  .community-inner h2 {
    font-size:27px;
  }
  .access-grid {
    gap:25px;
  }
}
@media(max-width:800px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .nav {
    height:72px;
  }
  .nav-links {
    gap:16px;
    font-size:11px;
  }
  .brand-en {
    display:none;
  }
  .hero {
    grid-template-columns:1fr;
    gap:48px;
    padding-top:48px;
    padding-bottom:55px;
  }
  .hero-copy {
    padding-bottom:0;
  }
  .hero h1 {
    font-size:46px;
    letter-spacing:-2px;
  }
  .hero-description {
    font-size:14px;
  }
  .hero-footnote {
    font-size:10px;
    margin-top:28px;
  }
  .observatory {
    height:490px;
    width:calc(100% - 12px);
    max-width:610px;
    margin-inline:auto;
  }
  .star-map {
    height:350px;
  }
  .story-fragment {
    left:20px;
    right:45px;
  }
  .chart-caption {
    font-size:14px;
  }
  .chapter-divider {
    font-size:10px;
  }
  .chapter-divider .mono {
    font-size:8px;
  }
  .world-section {
    gap:35px;
    padding-block:65px;
    grid-template-columns:.9fr 1.1fr;
  }
  h2 {
    font-size:31px;
  }
  .world-heading>p:last-child {
    font-size:12px;
  }
  .world-details h3 {
    font-size:14px;
  }
  .world-details article {
    gap:15px;
  }
  .modes-section {
    padding-block:60px;
  }
  .section-heading {
    gap:25px;
  }
  .section-heading>p {
    font-size:11px;
  }
  .mode-workspace {
    grid-template-columns:220px 1fr;
  }
  .mode-tab {
    padding-right:14px;
    gap:12px;
  }
  .mode-tab>span:nth-child(2) {
    font-size:19px;
  }
  .mode-tab small {
    display:block;
    margin-left:0;
  }
  .mode-panel {
    padding:25px;
  }
  .mode-panel h3 {
    font-size:26px;
  }
  .mode-example {
    padding:15px;
  }
  .mode-example p {
    font-size:16px;
  }
  .lab-section {
    padding-block:65px;
  }
  .lab-grid {
    gap:18px;
  }
  .lab-card-head {
    padding:18px;
  }
  .lab-card-head .mono {
    font-size:8px;
  }
  .comic-illustration,.film-illustration {
    margin-inline:16px;
    height:210px;
  }
  .film-frame {
    height:149px;
  }
  .film-person {
    top:78px;
  }
  .film-horizon {
    top:95px;
  }
  .lab-copy {
    padding:22px 18px;
  }
  .lab-tags {
    gap:8px;
  }
  .community-inner {
    align-items:flex-start;
    flex-direction:column;
    gap:30px;
  }
  .community-inner h2 {
    font-size:32px;
  }
  .community-section {
    padding-block:50px;
  }
  .access-section {
    padding-block:65px;
  }
  .access-section h2 {
    font-size:30px;
  }
  .access-grid h3 {
    font-size:20px;
  }
  .footer-top>p {
    font-size:11px;
  }
  .footer-bottom {
    flex-wrap:wrap;
  }
  .footer-bottom .mono {
    display:none;
  }
}
@media(max-width:540px) {
  .nav-links {
    display:none;
  }
  .nav-cta {
    gap:18px;
  }
  .brand svg {
    width:29px;
    height:29px;
  }
  .brand>span:not(.brand-en) {
    font-size:23px;
  }
  .hero {
    padding-top:38px;
    gap:37px;
  }
  .eyebrow {
    font-size:10px;
    letter-spacing:1.4px;
    margin-bottom:21px;
  }
  .hero h1 {
    font-size:clamp(29px,8.3vw,43px);
    letter-spacing:-1px;
  }
  .hero-description {
    font-size:13px;
    margin-top:25px;
  }
  .hero-actions {
    gap:20px;
    margin-top:27px;
  }
  .button {
    padding:13px 17px;
    gap:16px;
  }
  .hero-actions>.text-link {
    font-size:11px;
    gap:7px;
  }
  .hero-footnote {
    font-size:8px;
    gap:7px;
    white-space:normal;
    flex-wrap:wrap;
  }
  .hero-footnote .small-line {
    display:none;
  }
  .observatory {
    height:430px;
    box-shadow:7px 9px 0 #e9e4e9;
  }
  .observatory-top {
    margin-inline:18px;
    height:44px;
  }
  .observatory-top .mono {
    font-size:8px;
  }
  .chart-caption {
    left:18px;
    top:59px;
    font-size:12px;
  }
  .vertical-note {
    font-size:7px;
  }
  .star-map {
    height:290px;
    margin-top:20px;
  }
  .story-fragment {
    left:12px;
    right:18px;
    bottom:34px;
    padding:16px 17px 12px;
  }
  .story-fragment>p {
    font-size:18px;
    min-height:60px;
    margin-block:12px;
  }
  .fragment-meta {
    font-size:8px;
  }
  .fragment-meta .mono {
    font-size:8px;
  }
  .branch-controls {
    gap:17px;
  }
  .chart-index {
    font-size:7px;
    left:15px;
  }
  .chapter-divider>span:nth-child(2) {
    display:none;
  }
  .world-section {
    grid-template-columns:1fr;
    gap:35px;
    padding-block:54px;
  }
  .world-heading h2 {
    font-size:33px;
  }
  .world-heading>p:last-child {
    max-width:100%;
    margin-top:20px;
  }
  .world-details article {
    gap:20px;
    padding-bottom:22px;
    margin-bottom:22px;
  }
  .world-details h3 {
    font-size:15px;
  }
  .section-heading {
    display:block;
    margin-bottom:28px;
  }
  .section-heading h2 {
    font-size:30px;
  }
  .section-heading>p {
    margin-top:20px;
    font-size:12px;
  }
  .modes-section {
    padding-block:50px;
  }
  .mode-workspace {
    grid-template-columns:1fr;
    border:0;
  }
  .mode-tabs {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border:1px solid #c9bece;
  }
  .mode-tab,.mode-tab.active {
    padding:13px 10px;
    gap:7px;
    min-height:76px;
    align-items:flex-start;
    border-bottom:1px solid #c9bece;
    border-right:1px solid #c9bece;
  }
  .mode-tab:nth-child(3n) {
    border-right:0;
  }
  .mode-tab:nth-child(n+4) {
    border-bottom:0;
  }
  .mode-tab.active {
    box-shadow:inset 0 3px var(--purple);
  }
  .mode-tab>span:nth-child(2) {
    font-size:17px;
    line-height:1.6;
  }
  .mode-tab small {
    font-size:9px;
    white-space:nowrap;
    margin-top:3px;
  }
  .mode-tab>.mono {
    font-size:8px;
    padding-top:4px;
  }
  .tab-arrow,.tab-status {
    display:none;
  }
  .mode-panel {
    padding:25px 20px;
    min-height:480px;
    border:1px solid #c9bece;
    border-top:0;
  }
  .mode-panel-top .mono {
    font-size:8px;
  }
  .mode-panel h3 {
    font-size:29px;
    margin-top:24px;
  }
  .mode-description {
    font-size:12px;
  }
  .mode-example {
    margin-top:22px;
  }
  .mode-panel-bottom {
    flex-direction:row;
    align-items:center;
    gap:14px;
    font-size:8px;
  }
  .mode-panel-bottom a {
    font-size:10px;
    gap:5px;
  }
  .lab-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .comic-illustration,.film-illustration {
    height:234px;
    margin-inline:20px;
  }
  .film-frame {
    height:173px;
  }
  .film-horizon {
    top:110px;
  }
  .film-person {
    top:94px;
  }
  .lab-card-head {
    padding:19px 20px;
  }
  .lab-card-head .mono {
    font-size:10px;
  }
  .lab-copy {
    padding:25px 22px;
  }
  .lab-copy h3 {
    font-size:27px;
  }
  .lab-tags {
    gap:16px;
  }
  .illustration-note {
    text-align:left;
    font-size:9px;
  }
  .community-inner h2 {
    font-size:27px;
  }
  .community-inner p:not(.eyebrow) {
    font-size:11px;
  }
  .access-section .section-heading>.button {
    margin-top:23px;
  }
  .access-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .access-grid h3 {
    font-size:23px;
    margin-block:12px;
  }
  .access-grid p {
    min-height:0;
  }
  .access-grid .text-link {
    margin-top:16px;
  }
  .access-grid article {
    padding-top:20px;
  }
  .footer-top {
    flex-wrap:wrap;
    gap:20px;
  }
  .footer-top>p {
    order:3;
    width:100%;
  }
  .footer-bottom {
    margin-top:20px;
    gap:10px;
    font-size:8px;
  }
  .site-footer {
    padding-bottom:25px;
  }
  dialog {
    padding:35px 24px;
  }
  .contact-account {
    padding:12px;
    gap:8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
  }
}
