:root {
  color-scheme: dark;
  --ink: #f6efdf;
  --ink-muted: #b8ad9f;
  --ink-faint: #7f756e;
  --night: #09070d;
  --night-soft: #100c16;
  --panel: rgba(24, 18, 30, 0.84);
  --panel-solid: #17121d;
  --line: rgba(223, 190, 135, 0.18);
  --line-bright: rgba(236, 196, 126, 0.42);
  --gold: #e3b467;
  --gold-light: #f4d69a;
  --ember: #d75b40;
  --violet: #8d6ca8;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --shell: min(1160px, calc(100% - 40px));
  --heading: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 44%, rgba(114, 70, 119, 0.11), transparent 32rem),
    var(--night);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--night);
  background: var(--gold-light);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(9, 7, 13, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.brand img {
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.45));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 30px);
}

.site-nav a {
  position: relative;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a:not(.nav-discord)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-discord {
  padding: 8px 13px;
  color: var(--gold-light);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.nav-toggle > span[aria-hidden] {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 5px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  overflow: hidden;
  align-items: end;
  isolation: isolate;
}

.hero-art,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
  background-image: url("assets/vitaeum-splash.webp");
  background-position: center 38%;
  background-size: cover;
  transform: scale(1.015);
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 6, 11, 0.94) 0%, rgba(8, 6, 11, 0.67) 43%, rgba(8, 6, 11, 0.12) 73%),
    linear-gradient(0deg, var(--night) 0%, rgba(9, 7, 13, 0.05) 39%, rgba(9, 7, 13, 0.5) 100%);
}

.hero-content {
  padding-block: 170px 56px;
}

.eyebrow {
  display: flex;
  margin: 0 0 15px;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--ember);
}

.hero h1,
.section-heading h2,
.legal-layout h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.65);
}

.hero h1 span {
  color: var(--gold-light);
  font-style: italic;
}

.hero-summary {
  max-width: 660px;
  margin: 26px 0 0;
  color: #d2c8bc;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 21px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #1a1110;
  background: linear-gradient(135deg, var(--gold-light), #c58b3a);
  box-shadow: 0 12px 34px rgba(195, 124, 45, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffe5aa, #d59b46);
}

.button-secondary {
  color: var(--ink);
  background: rgba(12, 9, 15, 0.48);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: var(--line-bright);
}

.hero-facts {
  display: grid;
  max-width: 810px;
  padding: 28px 0 0;
  margin: 56px 0 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
}

.hero-facts li {
  display: flex;
  padding-right: 22px;
  flex-direction: column;
}

.hero-facts li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts strong {
  font-family: var(--heading);
  font-size: 1.32rem;
  font-weight: 600;
}

.hero-facts span {
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.section {
  position: relative;
  padding-block: clamp(86px, 11vw, 142px);
}

.section-heading h2,
.legal-layout h2 {
  font-size: clamp(2.55rem, 5vw, 4.7rem);
}

.split-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: clamp(35px, 7vw, 100px);
}

.split-heading > p,
.legal-copy p {
  margin: 0;
  color: var(--ink-muted);
}

.project-section {
  background:
    radial-gradient(circle at 90% 20%, rgba(147, 83, 71, 0.09), transparent 28rem),
    var(--night);
}

.feature-grid {
  display: grid;
  margin-top: clamp(50px, 7vw, 86px);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card {
  min-height: 260px;
  padding: 34px clamp(22px, 3vw, 38px) 42px;
}

.feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-number {
  color: var(--gold);
  font-family: var(--heading);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 60px 0 9px;
  font-family: var(--heading);
  font-size: 1.72rem;
  font-weight: 500;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
}

.platform-mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-light);
  background: radial-gradient(circle at 35% 30%, rgba(214, 164, 88, 0.18), rgba(72, 45, 78, 0.16));
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.platform-mark.small {
  width: 43px;
  height: 43px;
  font-size: 0.55rem;
}

.download-card h4 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.34rem;
  font-weight: 600;
}

.download-card-heading p {
  margin: 1px 0 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-section {
  background: var(--night-soft);
}

.release-panel {
  padding: clamp(24px, 4vw, 48px);
  margin-top: clamp(46px, 7vw, 76px);
  background:
    linear-gradient(150deg, rgba(47, 31, 51, 0.38), rgba(20, 15, 25, 0.8)),
    var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.release-heading {
  display: flex;
  padding-bottom: 27px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.release-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.release-heading h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 600;
}

.release-heading p {
  margin: 5px 0 0;
  color: var(--ink-muted);
}

.release-badge {
  padding: 4px 8px;
  color: var(--gold-light);
  background: rgba(205, 143, 70, 0.12);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-underline-offset: 5px;
}

.download-grid {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  min-width: 0;
  padding: 22px;
  background: rgba(7, 5, 10, 0.28);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.download-card.has-assets {
  border-color: var(--line-bright);
}

.download-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.asset-list {
  display: grid;
  margin-top: 19px;
  gap: 8px;
}

.asset-link {
  display: flex;
  min-width: 0;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.78rem;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.asset-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-bright);
}

.asset-name {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-size,
.asset-state {
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.asset-state {
  margin: 0;
}

.other-downloads {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.other-downloads h4 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.15rem;
}

.asset-list.compact {
  display: flex;
  margin-top: 12px;
  flex-wrap: wrap;
}

.asset-list.compact .asset-link {
  max-width: 100%;
}

.noscript-note {
  padding: 15px;
  margin: 22px 0 0;
  color: var(--ink-muted);
  background: rgba(215, 91, 64, 0.08);
  border: 1px solid rgba(215, 91, 64, 0.2);
  border-radius: 8px;
}

.requirements-callout {
  display: grid;
  padding: clamp(22px, 4vw, 34px);
  margin-top: 22px;
  grid-template-columns: auto 1fr;
  gap: 18px;
  background: rgba(20, 15, 25, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.callout-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  font-family: var(--heading);
  font-style: italic;
}

.requirements-callout h3 {
  margin: 0 0 4px;
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 600;
}

.requirements-callout p {
  max-width: 850px;
  margin: 0;
  color: var(--ink-muted);
}

.gallery-section {
  background:
    radial-gradient(circle at 70% 40%, rgba(126, 71, 134, 0.1), transparent 35rem),
    var(--night);
}

.gallery-grid {
  display: grid;
  margin-top: clamp(48px, 7vw, 78px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-empty {
  display: grid;
  min-height: 320px;
  padding: clamp(24px, 5vw, 58px);
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.7fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(35px, 7vw, 90px);
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.gallery-empty-art {
  position: relative;
  display: grid;
  min-height: 190px;
  place-items: center;
}

.gallery-empty-art::before,
.gallery-empty-art::after,
.gallery-empty-art span {
  position: absolute;
  content: "";
  border: 1px solid var(--line-bright);
  transform: rotate(45deg);
}

.gallery-empty-art::before {
  width: 145px;
  height: 145px;
  opacity: 0.32;
}

.gallery-empty-art::after {
  width: 92px;
  height: 92px;
  border-color: var(--gold);
  opacity: 0.55;
}

.gallery-empty-art span:nth-child(1) {
  width: 34px;
  height: 34px;
  background: rgba(219, 151, 66, 0.16);
  border-color: var(--gold-light);
  box-shadow: 0 0 38px rgba(215, 91, 64, 0.28);
}

.gallery-empty-art span:nth-child(2) {
  width: 175px;
  height: 1px;
  transform: rotate(0deg);
}

.gallery-empty-art span:nth-child(3) {
  width: 1px;
  height: 175px;
  transform: rotate(0deg);
}

.gallery-empty h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
}

.gallery-empty p {
  margin: 8px 0 0;
  color: var(--ink-muted);
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: zoom-in;
  text-align: left;
}

.gallery-item:first-child {
  grid-column: 1 / -1;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-item:hover img {
  filter: brightness(1.08);
  transform: scale(1.018);
}

.gallery-dialog {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: #0a080d;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.gallery-dialog::backdrop {
  background: rgba(3, 2, 5, 0.88);
  backdrop-filter: blur(9px);
}

.gallery-dialog figure {
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: calc(100svh - 34px);
  object-fit: contain;
  border-radius: 11px;
}

.community-section {
  padding-block: clamp(62px, 8vw, 94px);
  background:
    radial-gradient(circle at 82% 0%, rgba(210, 116, 64, 0.14), transparent 26rem),
    #120d17;
  border-top: 1px solid var(--line);
}

.community-panel {
  display: grid;
  padding: clamp(32px, 6vw, 66px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  background:
    linear-gradient(135deg, rgba(104, 56, 91, 0.2), rgba(29, 19, 30, 0.42)),
    var(--panel-solid);
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.community-panel h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.community-panel p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--ink-muted);
}

.community-panel .button {
  min-width: 190px;
}

.dialog-close,
.dialog-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(8, 6, 11, 0.82);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  cursor: pointer;
}

.dialog-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
}

.dialog-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.2rem;
  transform: translateY(-50%);
}

.dialog-nav.previous {
  left: 12px;
}

.dialog-nav.next {
  right: 12px;
}

.legal-section {
  background:
    linear-gradient(145deg, rgba(42, 26, 47, 0.38), transparent 55%),
    #0e0a12;
  border-top: 1px solid var(--line);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 9vw, 130px);
}

.legal-copy p + p {
  margin-top: 18px;
}

.legal-copy .text-link {
  display: inline-block;
  margin-top: 24px;
}

.site-footer {
  padding-block: 30px;
  background: #070509;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-size: 1.1rem;
}

.footer-inner p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.footer-inner p a {
  color: var(--gold-light);
  text-underline-offset: 4px;
}

.error-page {
  display: grid;
  width: min(680px, calc(100% - 40px));
  min-height: 100svh;
  padding-block: 60px;
  margin-inline: auto;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.error-page img {
  margin-bottom: 24px;
  filter: drop-shadow(0 15px 34px rgba(0, 0, 0, 0.45));
}

.error-page .eyebrow {
  justify-content: center;
}

.error-page h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.8rem, 10vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.error-page > p:not(.eyebrow) {
  margin: 20px 0 30px;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 22px max(20px, calc((100% - 1160px) / 2));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 7, 13, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .site-nav .nav-discord {
    padding-inline: 13px;
    margin-top: 8px;
    text-align: center;
  }

  .site-header.is-open .nav-toggle > span[aria-hidden]:nth-of-type(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle > span[aria-hidden]:nth-of-type(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle > span[aria-hidden]:nth-of-type(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-art {
    background-position: 62% center;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(8, 6, 11, 0.92), rgba(8, 6, 11, 0.4) 80%),
      linear-gradient(0deg, var(--night), transparent 60%, rgba(9, 7, 13, 0.45));
  }

  .split-heading,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card + .feature-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-card h3 {
    margin-top: 35px;
  }

  .gallery-empty {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .community-panel {
    grid-template-columns: 1fr;
  }

  .community-panel .button {
    justify-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-block: 135px 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .community-panel .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 42px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-facts li + li {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .section-heading h2,
  .legal-layout h2 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .release-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-empty {
    min-height: 390px;
    padding-inline: 20px;
  }

  .dialog-nav {
    top: auto;
    bottom: 68px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
