@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: dark;
  --earth: #18100d;
  --charcoal: #110c0a;
  --walnut: #302018;
  --bronze: #986143;
  --gold: #f4bd87;
  --linen: #f7e7d8;
  --muted: #c8b09e;
  font-family: Inter, system-ui, sans-serif;
}

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

body {
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--earth);
  color: var(--linen);
  line-height: 1.5;
}

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  padding: clamp(2rem, 4.7vh, 5rem) clamp(1rem, 5vw, 3.5rem) clamp(2.3rem, 4.25vh, 5rem);
}

.scene, .scene__art, .scene__shade, .scene__glow, .embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene {
  z-index: -2;
  overflow: hidden;
  background: var(--earth);
}

.scene__art {
  background: url("guardians.webp") center 42% / cover no-repeat;
}

.scene__glow {
  inset: 20% -8% 2%;
  background:
    radial-gradient(ellipse at 84% 67%, #ff873c3b, transparent 27%),
    radial-gradient(ellipse at 15% 44%, #b4c9ee24, transparent 24%);
  opacity: .55;
}

.scene__shade {
  background:
    radial-gradient(ellipse 44% 45% at 50% 61%, #1b110ce6, transparent 100%),
    linear-gradient(180deg, #140b0933 0%, transparent 29%, #1b100c2e 58%, #18100de6 100%);
}

.embers {
  z-index: -1;
  overflow: hidden;
}

.embers i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffd5a1;
  box-shadow: 0 0 7px 2px #dc713d9c;
  opacity: 0;
  animation: ember 6s var(--delay) ease-out infinite both;
}

.embers i:nth-child(3n) {
  width: 2px;
  height: 2px;
  animation-duration: 8.2s;
}

@keyframes ember {
  0% { opacity: 0; transform: translate(0, 0) scale(.7); }
  24% { opacity: .78; }
  64% { opacity: .48; }
  100% { opacity: 0; transform: translate(var(--drift), var(--rise)) scale(.35); }
}

.hero__content {
  width: min(100%, 46rem);
  text-align: center;
}

.brand {
  margin: 0 auto;
  max-width: 40rem;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 23px #0c0706ad);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  margin: .6rem auto .9rem;
  color: var(--bronze);
}

.ornament::before, .ornament::after {
  content: "";
  width: clamp(2rem, 10vw, 5rem);
  height: 1px;
}

.ornament::before { background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { background: linear-gradient(90deg, currentColor, transparent); }

.ornament span {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 9px #dd814e55;
}

.announcement h2 {
  margin: 0;
  color: var(--linen);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.875rem, 5.25vw, 3.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-shadow: 0 3px 18px #080504;
}

.announcement p {
  max-width: 35rem;
  margin: .85rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.08rem);
  text-wrap: pretty;
  text-shadow: 0 2px 12px #0d0806, 0 1px 3px #0d0806;
}

.announcement p strong { color: var(--linen); }

.development {
  width: min(100%, 29rem);
  margin: 1.6rem auto 0;
  padding: .95rem clamp(.8rem, 3vw, 1.15rem) 1.08rem;
  border: 1px solid #9b624d73;
  border-top-color: #d1956d8a;
  border-radius: 5px;
  background: linear-gradient(145deg, #38251ddf, #211711f2);
  box-shadow: 0 11px 28px #0b060654, inset 0 1px #f1b88418;
  text-align: left;
}

.development__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .35rem .8rem;
  margin-bottom: .7rem;
  font-size: .92rem;
}

.development__header strong {
  color: var(--gold);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.development__header strong, .development__header abbr {
  font-family: "JetBrains Mono", monospace;
}

.development__header abbr {
  display: inline-block;
  margin-inline-start: .38rem;
  padding: .08rem .32rem;
  border: 1px solid #a87351a3;
  border-radius: 3px;
  color: #e6aa79;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-decoration: none;
}

.development__track {
  position: relative;
  height: .68rem;
  border: 1px solid #905f496e;
  border-radius: 999px;
  background: linear-gradient(180deg, #100908, #2c1b11);
  box-shadow: inset 0 1px 3px #0b0606;
}

.development__fill {
  display: block;
  position: relative;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(120deg, #ffcf9b28 0 1px, transparent 1px 8px),
    linear-gradient(90deg, #8d472a, #c97943 62%, #ffe0a7);
  box-shadow: 0 0 13px #e7985a75, inset 0 1px #ffe0b9a3;
  transform-origin: left center;
  animation: load-progress 1.45s cubic-bezier(.2, .8, .26, 1) both;
}

.development__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, #fff1cebb 49%, transparent 68%) -150% 0 / 45% 100% no-repeat;
  animation: progress-light 3.2s 1s ease-in-out infinite;
}

.development__fill::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: .54rem;
  height: .54rem;
  top: 50%;
  right: 0;
  background: #ffe8bd;
  border: 1px solid #f4bb83;
  transform: translate(50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px #ffb374;
  animation: progress-tip 2.6s 1.45s ease-in-out infinite alternate;
}

@keyframes load-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes progress-light {
  0%, 9% { background-position: -95% 0; }
  64%, 100% { background-position: 192% 0; }
}

@keyframes progress-tip {
  from { box-shadow: 0 0 5px #ffb37499; }
  to { box-shadow: 0 0 14px 2px #ffb374b5; }
}

.announcement .update {
  margin-top: 1.35rem;
  font-size: 1rem;
}

.discord {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .68rem;
  min-height: 3.15rem;
  margin-top: 1rem;
  padding: .45rem 1.1rem;
  border: 1px solid #a47759;
  border-radius: 5px;
  background: linear-gradient(155deg, #6a432e, #372218 60%, #2a1811);
  box-shadow: inset 0 1px #ffd0a528, 0 5px 19px #10090670;
  color: var(--linen);
  font-size: .96rem;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.discord svg { flex: 0 0 auto; }
.discord small { display: block; color: #dbc1ac; font-size: .75rem; font-weight: 400; }
.discord[href]:not([href="#"]) small { display: none; }

.discord::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, #ffda9b3d 48%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .55s ease;
  pointer-events: none;
}

.discord:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: inset 0 1px #ffd0a550, 0 0 26px #d1814d73;
}

.discord:is(:hover, :focus-visible)::before { transform: translateX(110%); }
.discord:is(:active, .is-pressed) { transform: translateY(1px) scale(.97); }

.footer {
  flex: none;
  border-top: 1px solid #97604a5e;
  background: linear-gradient(165deg, #281b15, #19110e 66%);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem clamp(1.5rem, 5vw, 5rem);
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
  padding-block: 1.35rem;
}

.legal {
  max-width: 39rem;
  margin: 0;
  color: #bfa796;
  font-size: .8125rem;
  line-height: 1.6;
}

.legal strong { color: #ddc5b1; font-weight: 600; }

.social__label {
  display: block;
  margin-bottom: .3rem;
  color: #e1b396;
  font-size: .81rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.social ul {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  color: #d7bba5;
  font-size: .875rem;
  text-decoration: none;
  transition: color .18s, transform .18s, text-shadow .18s;
}

.social a:is(:hover, :focus-visible) {
  color: var(--gold);
  transform: translateY(-2px);
  text-shadow: 0 0 13px #e8985b83;
}

.social a:is(:active, .is-pressed) { transform: translateY(1px) scale(.97); }

.notice {
  position: fixed;
  z-index: 2;
  inset: auto 1rem 1rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: .65rem 1rem;
  border: 1px solid #ba8058;
  border-radius: 5px;
  background: #271710;
  color: var(--linen);
  text-align: center;
  font-size: .9rem;
  box-shadow: 0 6px 25px #100906ad;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}

.notice.is-visible { opacity: 1; transform: translateY(0); }

a[href]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.footer__bar {
  display: grid;
  place-items: center;
  padding: .7rem 1rem;
  border-top: 1px solid #76513c6e;
  background: var(--charcoal);
  color: #ae9482;
  text-align: center;
  font-size: .8125rem;
}

.footer__bar p { margin: 0; }
.footer__bar strong { color: #d8ab89; font-weight: 650; }

@media (max-width: 900px) {
  .scene__art {
    background-image: url("guardians-small.webp");
  }
}

@media (max-width: 780px) and (orientation: portrait) {
  .scene__art {
    inset: 0 0 auto;
    height: clamp(19rem, 73vw, 31rem);
    background: none;
  }

  .scene__art::before, .scene__art::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: 55%;
    background: url("guardians-small.webp") no-repeat;
    background-size: auto 100%;
  }

  .scene__art::before {
    left: 0;
    background-position: 7% center;
    mask-image: linear-gradient(90deg, #000 57%, transparent);
  }

  .scene__art::after {
    right: 0;
    background-position: 93% center;
    mask-image: linear-gradient(270deg, #000 57%, transparent);
  }

  .scene__shade {
    background: linear-gradient(180deg, #18100d19, #18100d71 27%, #18100df0 55%, var(--earth));
  }
}

@media (max-width: 625px) {
  .footer__main { grid-template-columns: 1fr; gap: .9rem; }
  .social ul { gap: .2rem .9rem; }
}

@media (max-width: 360px) {
  .announcement h2 { letter-spacing: .085em; }
}

@media (prefers-reduced-motion: reduce) {
  .embers i, .development__fill, .development__fill::before, .development__fill::after { animation: none; }
  .development__fill::after { opacity: 0; }
  .discord, .discord::before, .social a, .notice { transition: none; transform: none; }
  .discord:is(:hover, :focus-visible, :active, .is-pressed), .social a:is(:hover, :focus-visible, :active, .is-pressed) { transform: none; }
}
