@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #263e5d;
  --muted: #60748c;
  --line: #dce7f1;
  --pale: #f1f7fc;
  --gold: #ffd477;
  --gold-hover: #ffca56;
  --gold-edge: #d6a344;
  --blue: #315e96;
  --display: "Outfit", sans-serif;
  --body: "Outfit", sans-serif;
  /* Layers: normal content, hero copy (1), keyboard skip link (2). */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; }
p, h1, h2 { margin: 0; }
p { text-wrap: pretty; }
p + p { margin-top: 18px; }
h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -1.1px; }
:focus-visible { outline: 3px solid #3677c7; outline-offset: 5px; }
.wrap { width: min(1152px, calc(100% - 96px)); margin-inline: auto; }
.site-header { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 180px; height: 60px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.site-header nav > a:not(.button) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-header nav > a:not(.button):hover, .text-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px; border: 1px solid var(--gold-edge); border-radius: 12px; background: linear-gradient(180deg, #ffdf94, var(--gold)); color: #354568; box-shadow: 0 3px 0 #c9983e, inset 0 1px 0 #fff0c9; font: 600 15px/1.4 var(--display); white-space: nowrap; cursor: pointer; transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.button:hover { background: var(--gold-hover); box-shadow: 0 4px 0 #c9983e, 0 7px 18px #ccac6230; transform: translateY(-1px); }
.button:active { transform: translateY(2px); box-shadow: 0 1px 0 #c9983e; }
.button-small { min-height: 40px; padding: 8px 25px; border-radius: 10px; font-size: 14px; }
.button-note { font-family: var(--body); font-size: 10px; font-weight: 400; margin-left: 4px; padding-left: 12px; border-left: 1px solid #c1a064; }
.button-secondary { background: #fafdffed; color: #35567d; border-color: #c6d8e9; box-shadow: 0 3px 0 #c8d8e7, inset 0 1px 0 #fff; }
.button-secondary:hover { background: #fff; box-shadow: 0 4px 0 #c8d8e7, 0 7px 18px #578bbb20; }
.button-secondary:active { box-shadow: 0 1px 0 #c8d8e7; }
.button:disabled { cursor: default; box-shadow: none; transform: none; background: var(--pale); color: var(--muted); border-color: var(--line); }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 620px; height: clamp(620px, 44vw, 720px); max-width: 1920px; margin-inline: auto; background: #eaf6ff; }
.hero-image, .hero-wash { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero-image { object-fit: cover; object-position: center center; }
.hero-wash { background: linear-gradient(90deg, #f4fafff5, #f4faffc2 27%, #f4faff00 59%), linear-gradient(0deg, var(--paper), transparent 26%); }
.hero-content { position: relative; z-index: 1; padding-top: 86px; color: #263e5d; }
.hero-intro { font: 500 14px/1.5 var(--display); color: #4d6b8a; }
h1 { margin: 20px 0 25px; font-size: clamp(48px, 5.1vw, 74px); letter-spacing: -2.4px; line-height: 1.05; }
.hero-description { max-width: 430px; font-size: 16px; line-height: 1.8; color: #4c6380; }
.hero-actions { display: flex; gap: 15px; align-items: center; margin-top: 30px; }
.intro { text-align: center; padding-block: 82px 94px; }
.intro > p { max-width: 625px; margin: 23px auto 0; color: var(--muted); font-size: 17px; }
.intro .project-detail { margin-top: 18px; font-size: 15px; line-height: 1.8; }
.community { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 84px; padding-bottom: 94px; }
.community-art { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.community-copy { max-width: 440px; }
.community-copy > p { margin-top: 20px; color: var(--muted); font-size: 16px; }
.community-copy .button { margin-top: 27px; }
.community-copy .community-note { margin-top: 14px; font-size: 12px; }
.development { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 38px 42px; border: 1px solid #e2edf6; border-radius: 18px; background: var(--pale); }
.development h2 { font-size: 27px; letter-spacing: -.6px; }
.development p { margin-top: 13px; max-width: 670px; font-size: 15px; color: var(--muted); }
.development .development-label { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--blue); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.development-link { flex-shrink: 0; gap: 10px; color: var(--blue); font-weight: 500; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 34px; padding-block: 38px; }
.site-footer .brand img { width: 138px; height: 46px; }
.site-footer p { margin-left: auto; color: var(--muted); font-size: 11px; line-height: 1.8; }
.site-footer .text-link { flex-shrink: 0; font-size: 11px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 2; background: var(--surface); padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.play-page { min-height: 100svh; display: flex; flex-direction: column; }
.play-main { position: relative; isolation: isolate; flex: 1; display: grid; place-items: center; padding: 70px 24px; background: var(--pale); }
.play-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/aerlore-sky-hd.png") center/cover; opacity: .16; }
.play-message { width: min(580px, 100%); padding: 48px 36px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); text-align: center; }
.play-message .play-logo { width: 250px; height: auto; margin: 0 auto 28px; }
.play-message h1 { margin-top: 0; font-size: clamp(38px, 4vw, 50px); letter-spacing: -1.6px; }
.play-message > p { font-size: 15px; color: var(--muted); }
.play-message .button { margin-top: 29px; }
.play-return { display: flex; justify-content: center; width: fit-content; margin: 16px auto 0; color: var(--muted); }
@media (max-width: 1023px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 23px; }
  .hero-content { padding-top: 65px; }
  .hero-wash { background: linear-gradient(90deg, #f4fafff5, #f4faffca 34%, #f4faff00 78%), linear-gradient(0deg, var(--paper), transparent 26%); }
  .community { gap: 44px; }
  .community-copy h2 { font-size: 34px; }
  .community-copy > p { font-size: 15px; }
  .development { gap: 28px; padding: 32px; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 72px; gap: 15px; }
  .brand img { width: 140px; height: 47px; }
  .site-header nav { gap: 18px; }
  .site-header nav > a.nav-section { display: none; }
  .site-header .nav-discord { font-size: 12px; gap: 6px; }
  .button-small { min-height: 38px; padding-inline: 20px; }
  .hero { height: 715px; min-height: 0; }
  .hero-image { top: auto; bottom: 0; height: 365px; object-position: 78% center; }
  .hero-wash { background: linear-gradient(180deg, #eaf6ff 0%, #eaf6ff 45%, #eaf6ff00 65%, transparent 78%, var(--paper) 100%); }
  .hero-content { padding-top: 37px; }
  .hero-intro { font-size: 13px; }
  h1 { font-size: clamp(43px, 7.8vw, 58px); letter-spacing: -1.6px; margin-block: 17px 20px; }
  .hero-description { max-width: 365px; font-size: 15px; line-height: 1.75; }
  .hero-actions { margin-top: 23px; gap: 12px; }
  .button { padding-inline: 19px; min-height: 50px; font-size: 14px; }
  .button-note { font-size: 9px; padding-left: 10px; margin-left: 0; }
  .hero-actions .button-secondary { padding-inline: 19px; }
  .intro { padding-block: 48px 66px; }
  h2 { font-size: 31px; }
  .intro > p { font-size: 15px; margin-top: 20px; }
  .intro .project-detail { font-size: 14px; margin-top: 18px; }
  .community { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .community-art { border-radius: 16px; }
  .community-copy { max-width: 440px; }
  .community-copy > p { margin-top: 17px; font-size: 15px; }
  .community-copy .button { margin-top: 23px; }
  .development { flex-direction: column; align-items: start; gap: 14px; padding: 26px 24px; }
  .development h2 { font-size: 25px; }
  .development p { font-size: 14px; }
  .site-footer { flex-wrap: wrap; gap: 15px; padding-block: 24px; }
  .site-footer p { order: 3; width: 100%; margin: 0; font-size: 10px; }
  .site-footer .text-link { margin-left: auto; }
  .play-message { padding: 36px 22px; }
}
@media (max-width: 389px) {
  .site-header { gap: 10px; }
  .brand img { width: 114px; height: 38px; }
  .site-header nav { gap: 13px; }
  .site-header .nav-discord .icon { display: none; }
  .site-header .button-small { padding-inline: 15px; }
  h1 { font-size: 35px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 12px; gap: 8px; font-size: 13px; }
  .hero-actions .icon { width: 16px; height: 16px; }
  .hero-actions .button-note { padding-left: 7px; }
  .hero { height: 715px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover, .button:active { transform: none; }
}
