@font-face {
  font-family: "DynaPuff";
  src: url("/media/fonts/DynaPuff-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

html:has(body.info-page),
body.info-page {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body.info-page {
  color: #fff;
  background: #282828;
  font-family: "DynaPuff", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.info-shell {
  box-sizing: border-box;
  width: 100%;
  min-height: 100dvh;
  background: #282828;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem clamp(1.5rem, 4vw, 4.5rem) 0;
  border: 0;
  border-bottom: 0;
  background: transparent;
  position: relative;
  z-index: 5;
}

.info-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  position: relative;
  z-index: 6;
}

.info-logo img {
  display: block;
  width: clamp(11rem, 18vw, 17.5rem);
  height: auto;
  mix-blend-mode: lighten;
}

.info-menu-toggle {
  display: none;
  position: relative;
  z-index: 6;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.info-menu-toggle-bar {
  display: block;
  width: 1.55rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.info-shell.is-menu-open .info-menu-toggle-bar:nth-child(1) {
  transform: translateY(0.58rem) rotate(45deg);
}

.info-shell.is-menu-open .info-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.info-shell.is-menu-open .info-menu-toggle-bar:nth-child(3) {
  transform: translateY(-0.58rem) rotate(-45deg);
}

.info-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.info-nav a,
.info-nav-item {
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.info-nav a:hover,
.info-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.info-nav a[aria-current="page"] {
  color: #f9d775;
}

.info-nav-item {
  opacity: 0.5;
  cursor: default;
}

.info-main {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 3.85rem clamp(1.5rem, 4vw, 4.5rem) 4.5rem;
}

.info-topmatter {
  margin: 0 0 3.25rem;
}

.info-main h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin: 0;
}

.info-intro {
  margin: 0;
  max-width: 52rem;
  min-width: 0;
}

.info-lead {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  opacity: 0.92;
}

/* Desktop-only line break from \n; mobile keeps one flowing line. */
@media (min-width: 901px) {
  .info-announcements {
    white-space: pre-line;
  }
}

.info-intro > p {
  margin: 0 0 1.1rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
}

.info-intro > p:last-child {
  margin-bottom: 0;
}

.info-emperium {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 0;
  justify-self: end;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.info-emperium img {
  display: block;
  width: clamp(7.5rem, 14vw, 11rem);
  height: auto;
  image-rendering: auto;
}

.info-main > section,
.info-notes-grid {
  margin: 0 0 3.25rem;
}

.info-main h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 600;
  line-height: 1.25;
}

.info-subhead {
  margin: 1.85rem 0 0.85rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  opacity: 0.9;
  line-height: 1.25;
}

.info-subhead:first-of-type {
  margin-top: 0.2rem;
}

.info-main section > p {
  margin: 0 0 1.1rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
}

.info-list {
  margin: 0 0 1.65rem;
  padding: 0 0 0 1.15rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

.info-list li {
  margin-block: 0;
}

.info-list li + li {
  margin-top: 0.7rem;
}

.info-list strong {
  display: block;
  font-weight: 600;
}

.info-list-desc {
  display: block;
  margin-top: 0.1rem;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0.88;
}

.info-cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  box-sizing: border-box;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
}

.info-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  opacity: 1;
  line-height: 1.3;
}

.info-card h3:last-child {
  margin-bottom: 0;
}

.info-card code {
  font-family: "DynaPuff", system-ui, sans-serif;
  font-size: inherit;
  color: #fff;
  background: transparent;
  padding: 0;
}

.info-card p {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.55;
  opacity: 0.92;
}

.info-card .info-list {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.info-cards--mall .info-card {
  display: flex;
  flex-direction: column;
}

.info-card--job .info-list {
  margin-bottom: 0.75rem;
}

.info-job-art {
  display: block;
  width: 100%;
  max-width: 14rem;
  height: auto;
  margin: auto auto 0;
  object-fit: contain;
  image-rendering: auto;
}

.info-notes-grid {
  display: grid;
  gap: 2rem;
}

.info-notes-grid > section {
  margin: 0;
}

.info-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.5rem, 4vw, 4.5rem) 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-foot-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.info-foot-logo img {
  display: block;
  width: clamp(6.5rem, 12vw, 8.5rem);
  height: auto;
  mix-blend-mode: lighten;
}

.info-top-btn {
  margin: 0;
  padding: 0.65rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.info-top-btn:hover,
.info-top-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

@media (min-width: 720px) {
  .info-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.15rem;
  }

  .info-notes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.85rem;
  }
}

@media (min-width: 1100px) {
  .info-main {
    padding-top: 4.35rem;
    padding-bottom: 5rem;
  }

  .info-main > section,
  .info-notes-grid {
    margin-bottom: 3.75rem;
  }

  .info-cards {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.15rem 1.25rem;
  }

  .info-cards--mall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .info-notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.15rem 2.25rem;
  }
}

@media (max-width: 900px) {
  .info-top {
    padding: 1rem 1.15rem 0;
    gap: 1rem;
  }

  .info-logo img {
    width: min(12.5rem, 58vw);
  }

  .info-menu-toggle {
    display: inline-flex;
  }

  .info-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 1.15rem;
    left: auto;
    width: min(15.5rem, calc(100vw - 2.3rem));
    margin: 0;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border-radius: 0.55rem;
    box-shadow: 0 0.65rem 1.6rem rgba(0, 0, 0, 0.35);
  }

  .info-shell.is-menu-open .info-nav {
    display: flex;
  }

  .info-nav a,
  .info-nav-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.35rem;
    color: #282828;
    font-size: 1.2rem;
    line-height: 1.2;
    opacity: 1;
    border-bottom: 1px solid rgba(40, 40, 40, 0.08);
    white-space: normal;
  }

  .info-nav-item {
    opacity: 0.45;
  }

  .info-nav a:last-child,
  .info-nav-item:last-child {
    border-bottom: 0;
  }

  .info-nav a:hover,
  .info-nav a:focus-visible {
    text-decoration: none;
    background: rgba(40, 40, 40, 0.06);
    border-radius: 0.35rem;
  }

  .info-nav a[aria-current="page"] {
    color: #282828;
    text-decoration: none;
    background: rgba(40, 40, 40, 0.06);
    border-radius: 0.35rem;
  }

  .info-main {
    padding: 1.85rem 1.15rem 2.75rem;
  }

  .info-foot {
    padding: 1.35rem 1.15rem 1.85rem;
  }

  .info-top-btn {
    padding: 0.6rem 0.95rem;
  }

  .info-topmatter {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.85rem;
  }

  .info-main h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.55rem, 7vw, 2rem);
    order: 2;
  }

  .info-hero {
    display: contents;
  }

  .info-intro {
    order: 3;
  }

  .info-emperium {
    order: 1;
    justify-self: center;
    align-self: center;
    /* Match info-main padding-top so gap above/below the GIF is equal. */
    margin: 0 auto 1.85rem;
  }

  .info-emperium img {
    width: min(8.5rem, 42vw);
  }

  .info-lead {
    margin-bottom: 1.15rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .info-main > section,
  .info-notes-grid {
    margin-bottom: 2.85rem;
  }

  .info-main h2 {
    margin-bottom: 1.1rem;
  }

  .info-main section > p {
    margin-bottom: 1rem;
  }

  .info-cards,
  .info-notes-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .info-notes-grid {
    gap: 1.75rem;
  }

  .info-list {
    padding-left: 1.05rem;
  }

  .info-card {
    padding: 1.05rem 1rem;
  }
}

@media (max-width: 480px) {
  .info-top {
    padding: 1rem 1rem 0;
  }

  .info-nav {
    right: 1rem;
    width: min(15.5rem, calc(100vw - 2rem));
  }

  .info-main {
    padding: 1.65rem 1rem 2.5rem;
  }

  .info-emperium {
    margin-bottom: 1.65rem;
  }

  .info-main > section,
  .info-notes-grid {
    margin-bottom: 2.6rem;
  }

  .info-cards {
    gap: 0.85rem;
  }

  .info-foot {
    /* Match .info-top horizontal inset so logo/button align with the header menu. */
    padding: 1.2rem 1rem 1.65rem;
  }

  .info-foot-logo img {
    width: min(6.25rem, 42vw);
  }
}

@media (max-width: 360px) {
  .info-logo img {
    width: min(11rem, 54vw);
  }

  .info-main h1 {
    font-size: 1.4rem;
  }

  .info-nav a,
  .info-nav-item {
    font-size: 1.1rem;
  }
}
