@font-face {
  font-family:Comic Neue;
  src:url(/fonts/comic-neue.woff2)format("woff2");
  font-display:swap;
  font-weight:400;
}

@font-face {
  font-family:Comic Neue;
  src:url(/fonts/comic-neue-bold.woff2)format("woff2");
  font-display:swap;
  font-weight:700;
}

@font-face {
  font-family:Poppins;
  src:url(/fonts/poppins-light.woff2)format("woff2");
  font-display:swap;
  font-weight:300;
}

:root {
  color:#292621;
  scroll-behavior:smooth;
  background:#121214;
  font-family:Comic Neue,cursive;
}

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

body {
  margin:0;
}

button {
  font:inherit;
}

a {
  color:inherit;
}

img {
  max-width:100%;
  height:auto;
  display:block;
}

[hidden] {
  display:none!important;
}

:focus-visible {
  outline-offset:5px;
  outline:2px solid #be780d;
}

[id] {
  scroll-margin-top:90px;
}

.asuma-site {
  --paper:#fff;
  --ink:#2b2926;
  --muted:#55504a;
  --gold:#8e560b;
  --soft:#fcf4e1;
  --line:#e3dbce;
  --alternate:#faf9f7;
  background:var(--paper);
  color:var(--ink);
}

.asuma-site[data-theme=dark] {
  --paper:#201f21;
  --ink:#fcf6ed;
  --muted:#d3c7b9;
  --gold:#f7b654;
  --soft:#353028;
  --line:#51473b;
  --alternate:#282629;
}

.container {
  width:min(1120px,100% - 64px);
  margin-inline:auto;
}

.skip-link {
  color:#201b15;
  z-index:6;
  background:#fff;
  padding:10px 16px;
  position:fixed;
  top:10px;
  left:16px;
  transform:translateY(-160%);
}

.skip-link:focus {
  transform:none;
}

.site-header {
  z-index:5;
  color:#f8f6f1;
  background:linear-gradient(#141416b3,#0000);
  transition:background .2s,box-shadow .2s;
  position:fixed;
  inset:0 0 auto;
}

.site-header.is-solid {
  background:#141416;
  box-shadow:0 1px #ffffff13;
}

.header-inner {
  align-items:center;
  gap:19px;
  width:min(1200px,100% - 52px);
  min-height:70px;
  margin-inline:auto;
  display:flex;
}

.brand {
  color:#fff;
  letter-spacing:.065em;
  flex:none;
  align-items:center;
  gap:10px;
  font-family:Poppins,sans-serif;
  font-size:23px;
  line-height:1;
  text-decoration:none;
  display:inline-flex;
}

.brand img {
  object-fit:contain;
  background:#a4712d;
  border:1px solid #e2aa50;
  border-radius:50%;
  width:39px;
  height:39px;
  padding:1px;
}

.header-inner .brand img {
  background:none;
  border:0;
  padding:0;
}

.site-nav {
  justify-content:flex-end;
  align-items:center;
  gap:20px;
  margin-left:auto;
  display:flex;
}

.site-nav a {
  color:#ece9e4;
  white-space:nowrap;
  font-size:16px;
  text-decoration:none;
}

.site-nav a:hover,.icon-button:hover {
  color:#fac36b;
}

.site-nav .nav-cta {
  color:#211b13;
  background:#e7ad50;
  border-radius:30px;
  padding:7px 14px;
  font-weight:700;
}

.site-nav .nav-cta:hover {
  color:#211b13;
  background:#ffcc74;
}

.header-tools {
  align-items:center;
  gap:12px;
  margin-left:2px;
  display:flex;
}

.icon-button {
  color:#eeeeed;
  cursor:pointer;
  background:0 0;
  border:0;
  place-items:center;
  width:32px;
  height:34px;
  padding:0;
  display:grid;
}

.language {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  color:#eeeae3;
  letter-spacing:.06em;
  background:#29282a;
  border-radius:3px;
  padding:2px 5px;
  font-family:Poppins,sans-serif;
  font-size:10px;
  line-height:1.2;
}

.menu-trigger {
  display:none;
}

.hero {
  isolation:isolate;
  text-align:center;
  color:#fff;
  background:#131316 url(/img/space.svg) bottom/cover no-repeat;
  place-items:center;
  min-height:max(690px,100svh);
  display:grid;
  position:relative;
  overflow:hidden;
}

.hero-content {
  margin-top:-3vh;
  padding-top:32px;
  padding-bottom:48px;
  position:relative;
}

.hero-portrait {
  width:clamp(288px,34vw,460px);
  margin-inline:auto;
  position:relative;
}

.mascot-button {
  z-index:1;
  width:100%;
  color:inherit;
  cursor:pointer;
  background:0 0;
  border:0;
  border-radius:45%;
  padding:0;
  transition:transform .25s;
  display:block;
  position:relative;
}

.mascot-button:hover {
  transform:translateY(-4px)rotate(-1deg);
}

.mascot-button:active {
  transform:scale(.98);
}

.mascot-button img {
  filter:drop-shadow(0 14px 17px #0707088c);
}

.speech-bubble {
  z-index:2;
  color:#1f1d19;
  text-align:center;
  background:#f4f2ee;
  border-radius:13px;
  width:max-content;
  max-width:185px;
  padding:12px 16px;
  font-size:16px;
  font-weight:700;
  line-height:1.15;
  text-decoration:none;
  transition:background .2s;
  position:absolute;
  top:10%;
  left:91%;
  box-shadow:0 5px 18px #0909096b;
}

.speech-bubble:after {
  content:"";
  transform-origin:100%;
  border:8px solid #0000;
  border-right-color:#f4f2ee;
  position:absolute;
  top:52%;
  right:calc(100% - 1px);
  transform:rotate(-15deg);
}

.speech-bubble:hover {
  background:#ffe2a6;
}

.speech-bubble:hover:after {
  border-right-color:#ffe2a6;
}

.hero h1 {
  letter-spacing:.055em;
  text-shadow:0 3px 19px #0c0b0b80;
  margin:15px 0 9px;
  padding-left:.055em;
  font-size:clamp(58px,6.1vw,96px);
  font-weight:700;
  line-height:.95;
}

.hero-tagline {
  letter-spacing:.045em;
  color:#eeeae4;
  margin:0;
  font:300 clamp(16px,1.45vw,23px)/1.5 Poppins,sans-serif;
}

.scroll-cue {
  color:#fff;
  background:#10101242;
  border:1px solid #fff5;
  border-radius:50%;
  place-items:center;
  width:42px;
  height:42px;
  text-decoration:none;
  transition:background .2s,color .2s;
  display:grid;
  position:absolute;
  bottom:20px;
  left:50%;
  translate:-50%;
}

.scroll-cue:hover {
  color:#171416;
  background:#f5b450;
}

.star-burst {
  z-index:3;
  pointer-events:none;
  position:absolute;
  inset:0;
}

.star-burst span {
  clip-path:polygon(50% 0,61% 37%,100% 50%,61% 63%,50% 100%,39% 63%,0 50%,39% 37%);
  --x:-190px;
  --y:-150px;
  background:#ffd68a;
  width:16px;
  height:16px;
  animation:.85s ease-out both scatter;
  position:absolute;
  top:54%;
  left:50%;
}

.star-burst span:nth-child(2) {
  --x:-240px;
  --y:12px;
  animation-delay:.1s;
}

.star-burst span:nth-child(3) {
  --x:170px;
  --y:-204px;
  animation-delay:70ms;
}

.star-burst span:nth-child(4) {
  --x:242px;
  --y:24px;
  animation-delay:.12s;
}

.star-burst span:nth-child(5) {
  --x:28px;
  --y:-245px;
  animation-delay:.16s;
}

@keyframes scatter {
  0% {
    opacity:0;
    transform:scale(.5);
  }
  25% {
    opacity:1;
  }
  to {
    opacity:0;
    transform:translate(var(--x),var(--y)) rotate(140deg) scale(1.5);
  }
}

.section-wrap {
  padding-block:70px;
}

.section-wrap h2 {
  letter-spacing:-.025em;
  margin:0 0 20px;
  font-size:clamp(34px,4vw,48px);
  line-height:1.06;
}

.section-wrap p {
  color:var(--muted);
  margin:0 0 18px;
  font-size:18px;
  line-height:1.55;
}

.intro-layout,.community-layout,.story-grid {
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:68px;
  display:grid;
}

.story-grid {
  align-items:start;
  margin-top:clamp(32px,5vw,64px);
}

.story-block {
  border-top:1px solid var(--line);
  padding-top:24px;
}

.story-block h2 {
  font-size:clamp(26px,3vw,36px);
}

.story-values {
  color:var(--muted);
  margin:0;
  padding-inline-start:1.25em;
  font-size:18px;
  line-height:1.55;
}

.story-values li + li {
  margin-top:8px;
}

.story-values li::marker,.story-acronym strong {
  color:var(--gold);
}

.story-closing {
  max-width:66ch;
  margin:clamp(32px,5vw,64px) auto 0;
  text-align:center;
}

.intro-layout .intro-lead {
  color:var(--ink);
  font-size:clamp(22px,2.65vw,31px);
  line-height:1.27;
}

.intro-lead strong,.text-link {
  color:var(--gold);
}

.text-link {
  text-underline-offset:4px;
  font-size:18px;
  font-weight:700;
}

.text-link:hover {
  color:var(--ink);
}

.intro-art {
  isolation:isolate;
  place-items:center;
  min-height:330px;
  display:grid;
  position:relative;
}

.intro-art img {
  filter:drop-shadow(0 13px 12px #3d251e43);
  z-index:1;
  width:min(80%,350px);
}

.orbit {
  border-radius:50%;
  width:75%;
  height:87%;
  position:absolute;
}

.orbit-outer {
  background:radial-gradient(at 43%,#f7c977,#e7a540 62%,#9f641a);
  border:1px solid #9f611d;
  transform:rotate(-13deg)scale(.92);
  box-shadow:inset 0 0 0 9px #f4bb667f;
}

.orbit-inner {
  border:1px dashed #874d229c;
  transform:rotate(-24deg)scale(1.08);
}

.art-star {
  color:var(--gold);
  font-family:serif;
  font-size:35px;
  position:absolute;
}

.art-star-top {
  top:6%;
  right:10%;
}

.art-star-bottom {
  bottom:8%;
  left:10%;
}

.getting-started {
  margin-top:61px;
}

.step-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  display:grid;
}

.step {
  border-top:1px solid var(--line);
  flex-direction:column;
  align-items:flex-start;
  padding-top:18px;
  display:flex;
}

.step h3 {
  align-items:center;
  gap:9px;
  margin:0 0 12px;
  font-size:24px;
  line-height:1.12;
  display:flex;
}

.step .step-number {
  color:#fff;
  letter-spacing:.04em;
  background:#615b56;
  border-radius:4px;
  padding:5px 6px;
  font-size:13px;
}

.step p {
  margin-bottom:20px;
}

.outline-button {
  border:1px solid var(--muted);
  color:var(--ink);
  border-radius:5px;
  margin-top:auto;
  padding:7px 13px;
  font-weight:700;
  text-decoration:none;
}

.outline-button:hover {
  background:var(--ink);
  color:var(--paper);
}

.project-details-button {
  background:transparent;
  cursor:pointer;
}

.project-details {
  width:min(720px,100% - 32px);
  max-height:min(84dvh,840px);
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
  color:var(--ink);
  overscroll-behavior:contain;
}

.project-details::backdrop {
  background:#181719b3;
}

.project-details-bar {
  position:sticky;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px clamp(16px,4vw,36px);
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.project-details-bar h2 {
  margin:0;
  font-size:clamp(18px,3vw,24px);
}

.project-details-content {
  padding:clamp(16px,4vw,36px);
}

.project-details-cover {
  padding:clamp(16px,4vw,28px);
  border-left:4px solid var(--gold);
  border-radius:6px;
  background:var(--soft);
}

.project-details-cover .project-details-name {
  color:var(--gold);
  font-size:clamp(25px,5vw,40px);
  font-weight:700;
  line-height:1.1;
  margin-bottom:8px;
}

.project-details-content section {
  margin-block:26px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.project-details-content h3,.project-details-content h4 {
  margin:0 0 10px;
}

.project-details-content h3 {
  font-size:22px;
}

.project-details-content ul {
  margin:0 0 18px;
  padding-left:1.3em;
  color:var(--muted);
  font-size:18px;
  line-height:1.55;
}

.project-details-content :is(p,ul):last-child {
  margin-bottom:0;
}

.step-grid:has(.wallet-options[open]) {
  align-items:start;
}

.wallet-options {
  margin-top:auto;
}

.wallet-options summary {
  display:inline-block;
  cursor:pointer;
}

.wallet-options summary::-webkit-details-marker {
  display:none;
}

.wallet-options[open] summary span {
  display:inline-block;
  transform:rotate(90deg);
}

.wallet-options-content {
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:6px;
  margin-top:12px;
  padding:16px;
}

.wallet-options-content p,.wallet-options-content h4,.wallet-options-content dd {
  margin:0;
}

.wallet-options-content dt,.wallet-options-content h4 {
  font-weight:700;
}

.wallet-options-content dd + dt {
  margin-top:8px;
}

.community {
  background:var(--soft);
  padding-top:57px;
}

.community-letters {
  color:var(--gold);
  justify-content:space-around;
  gap:8px;
  margin:0 0 41px;
  font-size:clamp(53px,10vw,133px);
  font-weight:700;
  line-height:1;
  display:flex;
}

.community-letters span {
  text-shadow:3px 4px #eab86756;
  transform:rotate(-7deg);
}

.community-letters span:nth-child(2n) {
  transform:rotate(6deg);
}

.community-art {
  aspect-ratio:16/9;
  background:#151518 url(/img/space.svg) 50%/cover;
  border-radius:8px;
  place-items:center;
  display:grid;
  overflow:hidden;
}

.community-art img {
  filter:drop-shadow(0 8px 14px #09090999);
  width:43%;
}

.pedia {
  background:var(--alternate);
}

.pedia-heading {
  align-items:center;
  gap:18px;
  margin-bottom:25px;
  display:flex;
}

.pedia-heading h2,.pedia-heading p {
  margin:0;
}

.pedia-mark {
  color:#582f04;
  background:#eabb62;
  border:4px double #8a510a;
  border-radius:50%;
  flex:none;
  place-items:center;
  width:64px;
  height:64px;
  font-size:38px;
  font-weight:700;
  display:grid;
}

.tab-list {
  border-bottom:1px solid var(--line);
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:24px;
  display:flex;
}

.tab-list button {
  color:var(--muted);
  cursor:pointer;
  background:0 0;
  border:0;
  border-bottom:3px solid #0000;
  padding:10px 16px;
  font-size:18px;
  font-weight:700;
  position:relative;
}

.tab-list button:hover,.tab-list button[aria-selected=true] {
  color:var(--ink);
  border-color:#e8ad52;
}

.pedia-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  display:grid;
}

.pedia-card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:6px;
  min-height:176px;
  padding:23px;
}

.pedia-card h3 {
  margin:0 0 10px;
  font-size:22px;
}

.pedia-card p,.quick-guide details p {
  margin:0;
}

.quick-guide {
  margin-top:60px;
}

.quick-guide h2 {
  font-size:clamp(29px,3vw,40px);
}

.quick-guide details {
  background:var(--soft);
  border-radius:6px;
  margin-top:8px;
  padding:14px 18px;
}

.quick-guide summary {
  cursor:pointer;
  font-size:19px;
  font-weight:700;
}

.quick-guide details p {
  margin-top:8px;
}

.site-footer {
  color:#f4eee6;
  background:#181719;
  padding:46px 0 54px;
}

.footer-grid {
  grid-template-columns:1.65fr 1fr 1fr;
  gap:35px;
  display:grid;
}

.footer-grid p {
  color:#cbc3b8;
  max-width:24em;
  font-size:16px;
  line-height:1.5;
}

.footer-grid h2 {
  margin:4px 0 12px;
  font-size:20px;
}

.footer-grid a:not(.brand) {
  color:#d8d0c7;
  width:fit-content;
  margin-bottom:7px;
  text-decoration:none;
  display:block;
}

.footer-grid a:hover {
  color:#f9c575;
}

.not-found {
  color:#fff;
  width:min(600px,100% - 48px);
  margin:72px auto;
}

@media (width<=960px) {
  .header-inner {
    justify-content:space-between;
    min-height:64px;
  }
  .menu-trigger {
    display:grid;
  }
  .site-nav {
    background:#141416;
    border-top:1px solid #fff2;
    padding:12px 26px 24px;
    display:none;
    position:absolute;
    inset:100% 0 auto;
  }
  .site-nav.is-open {
    flex-direction:column;
    align-items:flex-start;
    gap:13px;
    display:flex;
  }
  .site-nav a {
    font-size:20px;
  }
  .intro-layout,.community-layout {
    gap:34px;
  }
}

@media (width<=670px) {
  .container {
    width:calc(100% - 38px);
  }
  .header-inner {
    width:calc(100% - 32px);
  }
  .brand {
    font-size:21px;
  }
  .brand img {
    width:35px;
    height:35px;
  }
  .hero {
    background-position:bottom;
    min-height:max(580px,100svh);
  }
  .hero-content {
    margin-top:0;
    padding-top:72px;
  }
  .hero-portrait {
    width:min(74vw,365px);
  }
  .speech-bubble {
    padding:9px 11px;
    font-size:13px;
    top:-12%;
    left:auto;
    right:-2%;
  }
  .speech-bubble:after {
    border-top-color:#f4f2ee;
    border-right-color:#0000;
    top:calc(100% - 1px);
    left:26%;
    right:auto;
    transform:none;
  }
  .speech-bubble:hover:after {
    border-top-color:#ffe2a6;
    border-right-color:#0000;
  }
  .hero h1 {
    margin-top:17px;
  }
  .hero-tagline {
    letter-spacing:.01em;
  }
  .section-wrap {
    padding-block:48px;
  }
  .intro-layout,.community-layout,.story-grid,.step-grid,.pedia-grid {
    grid-template-columns:1fr;
    gap:25px;
  }
  .intro-art {
    min-height:265px;
  }
  .intro-art img {
    width:min(73%,290px);
  }
  .orbit {
    max-width:280px;
  }
  .getting-started,.quick-guide {
    margin-top:42px;
  }
  .community-letters {
    margin-bottom:27px;
  }
  .tab-list button {
    padding:9px 8px;
    font-size:15px;
  }
  .pedia-card {
    min-height:0;
  }
  .footer-grid {
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
  .footer-grid>div:first-child {
    grid-column:1/-1;
  }
}

@media (prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto;
  }
  *,:before,:after {
    transition:none!important;
    animation:none!important;
  }
  .star-burst {
    display:none;
  }
}
