@font-face {
  font-family: "Noto Sans SC";
  src: url("fonts/NotoSansSC-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root { --nav: 89px; --gutter: clamp(24px, 5.55vw, 90px); }
* { box-sizing: border-box; }
html { scroll-padding-top: var(--nav); }
html.enhanced { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--nav); background: #fff; color: #111; font: 400 1rem/1.55 "Noto Sans SC", system-ui, sans-serif; }
img { display: block; max-width: 100%; object-fit: contain; }
p, h1, h2, figure { margin: 0; }
a { color: inherit; }
button { color: inherit; font: inherit; cursor: pointer; }
button[hidden] { display: none; }
:focus-visible { outline: 3px solid #4a8eff; outline-offset: 3px; }
.top { position: fixed; inset: 0 0 auto; height: var(--nav); z-index: 3; background: #000; color: #fff; }
.bar { height: 100%; max-width: 1600px; margin: auto; display: flex; align-items: center; gap: 18px; padding-inline: var(--gutter); }
.brand { margin-right: auto; display: flex; align-items: center; gap: 14px; font: 20px "Space Grotesk", sans-serif; text-decoration: none; }
.brand img { width: 64px; height: 64px; }
.join-link { padding: 9px; font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pill { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; border-radius: 999px; padding: 6px 23px; text-decoration: none; }
.language { min-width: 106px; border: 1.5px solid white; background: transparent; font: 19px "Space Grotesk", "Noto Sans SC", sans-serif; }
.solid { color: white; background: #000; font-weight: 700; }
.screen { position: relative; display: grid; align-items: center; min-height: calc(100svh - var(--nav)); padding: 28px var(--gutter); scroll-snap-align: start; scroll-snap-stop: always; }
.shell { width: min(100%, 1440px); margin-inline: auto; }
.columns { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4.3vw, 72px); }
h1 { font-size: clamp(32px, 4vw, 56px); line-height: 1.18; }
h2 { font-size: clamp(29px, 3.35vw, 48px); line-height: 1.22; }
.screen p, address { font-size: clamp(16px, 1.75vw, 26px); }
.tagline, .present { color: #555; font-weight: 700; }
.tagline { margin-top: 14px; }
.present { display: flex; gap: 13px; align-items: center; margin-top: 32px; }
.present img, .projects img { flex: none; width: 45px; height: 45px; }
.present span { font-size: clamp(14px, 1.55vw, 22px); }
.featured { font-size: clamp(20px, 1.75vw, 25px); margin-top: 23px; }
.projects { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 13px; }
.projects li { display: flex; align-items: center; gap: 18px; font-size: clamp(16px, 1.6vw, 23px); }
.projects img { width: 42px; height: 42px; }
.red-carpet { width: 100%; max-width: 500px; justify-self: end; }
.story { background: #353535; color: white; }
.story .columns { grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }
.story p, .sumirona p, .contact p { margin-top: 20px; }
.multiline { white-space: pre-line; }
.story .aside { margin-top: clamp(22px, 6vh, 80px); font-size: clamp(14px, 1.55vw, 22px); }
.logos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 46px); align-items: center; justify-items: center; }
.logos img { width: min(100%, 174px); aspect-ratio: 1; border-radius: 11%; }
.logos img:first-child { grid-column: span 2; background: black; }
.agm { background: #253f38 url("minecraft-background.png") center 38% / cover no-repeat; align-items: end; padding: 34px clamp(22px, 3vw, 48px) clamp(30px, 7vh, 66px); }
.video-anchor { position: absolute; inset: 0 auto auto 0; }
.agm-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.agm-card, .video-panel { border-radius: 20px; overflow: hidden; }
.agm-card { background: #fff; padding: clamp(18px, 2.2vw, 33px); }
.agm-heading { display: flex; gap: clamp(10px, 1.2vw, 20px); align-items: center; }
.agm-heading img { width: clamp(45px, 7vw, 108px); }
.agm-heading h2 { font-size: clamp(24px, 3.2vw, 46px); }
.agm-card p { margin-top: 17px; font-size: clamp(15px, 1.7vw, 25px); }
.server { margin-left: auto; white-space: nowrap; }
.video-panel { position: relative; isolation: isolate; background: #171f32; color: white; min-height: 140px; display: grid; }
.play { border: 0; background: transparent; padding: 22px; font-weight: 700; font-size: clamp(16px, 1.9vw, 30px); }
.player-slot { position: absolute; inset: 0; pointer-events: none; }
.player-slot iframe { border: 0; width: 100%; height: 100%; display: block; pointer-events: auto; }
.stop { z-index: 1; position: absolute; top: 7px; right: 8px; border: 1px solid #fff6; border-radius: 18px; background: #000d; color: white; font-size: 12px; padding: 4px 10px; }
.sumirona { color: #fff; background: #28183e; }
.sumirona .solid, .discord .solid { margin-top: 24px; }
.soft-logo { width: min(100%, 340px); justify-self: center; border-radius: 11%; }
.discord .columns { grid-template-columns: minmax(0, .82fr) minmax(0, 1.55fr); }
.discord-icon { width: 86px; margin-bottom: 22px; }
.discord-preview { width: 100%; }
.contributors { background: #faf6ef; }
.credits { width: min(100%, 970px, 105svh); margin: 19px auto 0; }
.credits > img { width: 100%; }
.credit-labels { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.credit-labels span { display: block; }
.contact { padding-bottom: 90px; }
.contact address { margin-top: 14px; font-style: normal; }
.contact figure img { width: min(100%, 624px); margin-inline: auto; }
.contact figcaption { display: none; margin-top: 10px; color: #555; text-align: center; }
html[lang="en"] .contact figcaption { display: block; }
footer { position: absolute; inset: auto 0 0; display: flex; align-items: center; min-height: 64px; padding: 8px max(24px, 2vw); color: #fff; background: #000; font-weight: 700; font-size: 15px; }
.page-controls { display: none; }
@media (max-width: 760px) {
  :root { --nav: 62px; --gutter: clamp(16px, 6vw, 30px); }
  .bar { gap: 7px; padding-inline: 14px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .join-link, .language { font-size: 14px; }
  .join-link { padding-inline: 5px; }
  .language { min-width: 81px; padding-inline: 11px; min-height: 42px; }
  .screen { padding-block: clamp(19px, 4svh, 36px); }
  .columns, .story .columns, .discord .columns, .agm-layout { grid-template-columns: 1fr; gap: 19px; }
  .hero .columns { display: flex; flex-direction: column; align-items: stretch; }
  .hero .columns > div { display: contents; }
  .hero h1 { order: 0; }
  .hero .tagline { order: 1; margin-top: -10px; }
  .hero .red-carpet { order: 2; align-self: center; max-width: 300px; height: clamp(125px, 27svh, 244px); }
  .hero .present { order: 3; margin-top: 0; }
  .hero .featured { order: 4; margin-top: 0; }
  .hero .projects { order: 5; margin-top: -9px; gap: 7px; }
  .present img, .projects img { width: 34px; height: 34px; }
  .story .aside { margin-top: 15px; }
  .logos { justify-self: center; width: min(76%, 265px); gap: 9px; }
  .logos img { width: min(100%, 72px); }
  .agm { align-items: center; background-size: auto min(33svh, 300px); background-position: center top; background-color: white; padding-top: clamp(170px, 31svh, 285px); }
  .agm-card { padding: 0; border-radius: 0; }
  .agm-heading { flex-wrap: wrap; }
  .agm-heading img { width: 53px; }
  .server { margin-left: 0; min-height: 42px; padding-inline: 14px; font-size: 14px; }
  .agm-card p { margin-top: 12px; }
  .video-panel { min-height: 116px; aspect-ratio: 16 / 9; }
  .soft-logo { order: -1; width: min(44%, 180px); }
  .discord-preview { grid-row: 2; }
  .discord-icon { width: 54px; margin-bottom: 12px; }
  .credit-labels p { font-size: clamp(13px, 4vw, 17px); }
  .contact { padding-bottom: 64px; }
  .contact figure img { width: min(100%, 330px); max-height: 29svh; }
  .page-controls { display: flex; align-self: end; gap: 12px; margin-top: 17px; justify-content: space-between; }
  .page-controls button { min-height: 44px; border: 1px solid currentColor; background: transparent; padding: 4px 14px; font-size: 14px; }
  .page-controls button[data-direction="1"] { margin-left: auto; }
  footer { min-height: 45px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html.enhanced { scroll-behavior: auto; }
}
