:root {
  --bg: #0b0f14;
  --bg-soft: #111826;
  --ink: #a4a6a7;
  --muted: #8b9094;
  --accent: #ff7a18;
  --accent-2: #22d3ee;
  --card: rgba(9, 12, 18, 0.78);
  --outline: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1a2433 0%, #0b0f14 55%, #090c12 100%);
  color: var(--ink);
  line-height: 1.6;
}

.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 7vw 5rem;
}

.legal h1 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #f1f3f5;
}

.legal h2 {
  margin-top: 2rem;
  color: #e3e6e8;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.link {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 4rem 7vw;
  position: relative;
}

.link-logo-wrap {
  margin: 0 auto 1.6rem;
  display: flex;
  justify-content: center;
}

.link-logo {
  width: clamp(240px, 36vw, 480px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

.link-panel {
  max-width: 760px;
  width: 100%;
  background: rgba(8, 12, 18, 0.82);
  border: 1px solid var(--outline);
  padding: 2.5rem 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.link-panel h1 {
  margin-top: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  color: #f1f3f5;
}

.link-lead {
  color: var(--muted);
  margin-bottom: 2rem;
}

.link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.link-provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.btn.linked {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.link-note {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.link-status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.link-status.ok {
  color: #b6f2c0;
}

.link-status.warn {
  color: #ffd08a;
}

.steam-profile {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin: 1.8rem 0 2rem;
}

.steam-name {
  color: #f1f3f5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.steam-avatar {
  width: 72px;
  height: 72px;
  background: #1b2838;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.linked-tag {
  margin-left: 0.6rem;
  color: #18d26b;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.linked-tag.active {
  opacity: 1;
}

.link-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.link-utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.link-utility-btn {
  min-width: 160px;
}

.link-utility .btn {
  text-transform: none;
  letter-spacing: 0.02em;
}

.link-footer a {
  color: inherit;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid var(--outline);
  padding: 0.85rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 10;
}

.cookie-banner button {
  background: #ffffff;
  color: #0b0f14;
  border: none;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.btn.steam {
  background: linear-gradient(135deg, #3abbdf 0%, #3a74dc 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(58, 116, 220, 0.45);
  width: 380px;
  height: 60px;
  white-space: nowrap;
}


main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 6rem 7vw 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 10, 16, 0.9) 0%, rgba(6, 10, 16, 0.35) 55%, rgba(6, 10, 16, 0.9) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 45%);
}

.hero-noise {
  position: absolute;
  inset: -15%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44IiBudW1PY3RhdmVzPSIyIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjEiLz48L3N2Zz4=");
  opacity: 0.25;
  filter: blur(22.5px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 2;
  justify-self: center;
}

.hero-trailer-trigger {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(88px, 8.8vw, 132px));
  transform: translateX(-50%);
  z-index: 2;
  width: clamp(62px, 4.4vw, 74px);
  height: clamp(62px, 4.4vw, 74px);
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, #5b160a 0%, #c13014 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.44);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.hero-trailer-trigger img {
  width: 38%;
  height: 38%;
  object-fit: contain;
  display: block;
  transform: translateX(2px);
  filter: brightness(0) saturate(100%) invert(100%);
}

.hero-trailer-trigger:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
}

.hero-trailer-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.hero-desktop-tagline {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(174px, 16vw, 232px));
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  color: #d9d9d9;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(calc(0.84rem + 4px), calc(1.05vw + 4px), calc(1rem + 4px));
  white-space: nowrap;
  font-family: "Hubot Sans", "Roboto", sans-serif;
}

.hero-desktop-note {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(216px, 19vw, 282px));
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  width: min(86vw, 780px);
  text-align: center;
  color: #d9d9d9;
  font-size: clamp(calc(0.78rem + 2px), calc(0.95vw + 2px), calc(0.93rem + 2px));
  line-height: 1.42;
}

.hero-top-right {
  position: absolute;
  top: 2rem;
  right: 20vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}

.logo {
  width: clamp(420px, 60vw, 980px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

h1 {
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  margin: 0;
  letter-spacing: 0.04em;
  color: #f3f5f6;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--muted);
  margin: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  gap: 0.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn.patreon {
  background: #000000;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.discord {
  background: #5865f2;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.btn.steam .btn-icon {
  width: 30px;
  height: 30px;
}

.btn.link-accounts {
  background: rgba(8, 12, 18, 0.75);
  color: #f1f3f5;
  border-color: rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
}

.hero-top-right .btn {
  width: min(250px, 72vw);
  justify-content: center;
}

.hero-top-right .btn.link-accounts .btn-icon {
  filter: brightness(0) saturate(100%) invert(97%) sepia(7%) saturate(210%) hue-rotate(174deg) brightness(102%) contrast(92%);
}

.hero-top-right .btn.planned-link .btn-icon {
  filter: brightness(0) saturate(100%) invert(78%) sepia(9%) saturate(337%) hue-rotate(173deg) brightness(90%) contrast(90%);
}

.hero-top-right .planned-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.btn.planned-link {
  background: rgba(8, 12, 18, 0.62);
  color: #b8c1ca;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn.planned-link[disabled] {
  cursor: not-allowed;
  opacity: 0.95;
  box-shadow: none;
}

.btn.planned-link[disabled]:hover {
  transform: none;
  box-shadow: none;
}

.btn.planned-toggle {
  cursor: pointer;
  justify-content: center;
}

.btn.planned-toggle .planned-toggle-main {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.btn.planned-toggle .planned-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn.planned-toggle[aria-expanded="true"] .planned-toggle-icon {
  transform: rotate(90deg);
}

.btn.soft {
  background: rgba(34, 211, 238, 0.12);
  color: #c8f6ff;
  border-color: rgba(34, 211, 238, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.server-pill {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.9rem 1.8rem;
  border-radius: 0;
  background: rgba(8, 12, 18, 0.85);
  border: 1px solid var(--outline);
  font-size: 1.05rem;
}

.server-pill .label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.server-pill--copy {
  position: relative;
  cursor: pointer;
  color: #f1f3f5;
  border-color: rgba(95, 143, 47, 0.75);
  box-shadow: 0 0 18px rgba(95, 143, 47, 0.2);
}

.server-pill--copy .label {
  text-transform: none;
  letter-spacing: 0.08em;
  color: #f1f3f5;
  font-weight: 600;
}

.server-pill--copy .copy-toast {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%) translateY(6px);
  background: #5f8f2f;
  border: 1px solid rgba(25, 45, 10, 0.6);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d8f08a;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.server-pill--copy.is-copied .copy-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 7vw;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

.hero-bottom-left,
.hero-bottom-right {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  transform: none;
}

.hero-bottom-left {
  left: 20vw;
}

.hero-bottom-right {
  left: auto;
  right: 20vw;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.72rem;
  transform: none;
}

.hero-bottom-right .button-row {
  flex-wrap: nowrap;
  gap: 0.75rem;
  flex-direction: row;
  align-items: center;
}

.workshop-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  width: min(100%, 420px);
  padding: 0.82rem 0.8rem 0.28rem;
  text-decoration: none;
  color: #f1f3f5;
  background: transparent;
  border: 0;
  text-shadow: 0.045em 0.045em 0 rgba(0, 0, 0, 0.36);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.workshop-support-link:hover {
  transform: translateY(-2px);
}

.workshop-support-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-mobile-blurb {
  display: none;
  max-width: 360px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-mobile-blurb h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: #d9d9d9;
  letter-spacing: 0.02em;
  font-family: "Hubot Sans", "Roboto", sans-serif;
}

.hero-mobile-blurb p {
  margin: 0;
  font-size: calc(0.95rem + 2px);
}

.hero-bottom-center {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-see-more {
  color: #f1f3f5;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.hero-bottom-center .hero-see-more {
  color: #d9d9d9;
  opacity: 0.86;
}

.hero-see-more:hover {
  opacity: 1;
}

.section-see-more {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
  padding: 0 7vw;
}

.tutorials,
.faq-panel {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
}

.tutorials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1.2rem;
  padding: 4rem 7vw 5.4rem;
  background: url("https://assets.playrustcompany.com/Images/bricktile.png") top left / 720px 720px repeat;
  background-attachment: scroll;
  overflow: hidden;
}

.tutorials::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  z-index: 0;
}

.faq-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  z-index: 0;
}

.tutorials .panel {
  padding: 0;
  gap: 0.95rem;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  direction: ltr;
  position: relative;
  z-index: 1;
}

.tutorials .panel-content {
  padding: 0.86rem 0.9rem;
  max-width: 430px;
  width: min(100%, 430px);
  justify-self: center;
  margin-top: 0.45rem;
  text-align: center;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--outline);
  box-shadow:
    0 1px 14px rgba(255, 255, 255, 0.16),
    0 2px 30px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.tutorials .panel-content h2 {
  font-size: clamp(1rem, 1.22vw, 1.26rem);
  margin-bottom: 0.4rem;
  text-align: center;
  color: #f1f3f5;
}

.tutorials .panel-content p {
  font-size: 0.81rem;
  line-height: 1.3;
  color: #bcc6cf;
}

.tutorials .panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(24, 29, 33, 0.85);
  box-shadow: 0 1px 12px rgba(255, 255, 255, 0.12);
}

.tutorials .panel-media {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 100%;
}

.tutorials .frame,
.tutorials .frame-wide,
.tutorials .frame-square,
.tutorials .frame-portrait {
  width: min(100%, 460px);
  aspect-ratio: 4 / 3;
}

.tutorials .frame-tilt-left,
.tutorials .frame-tilt-right,
.tutorials .tutorial .frame {
  transform: none;
}

.tutorials .tutorial:nth-of-type(1) .frame {
  transform: rotate(-0.9deg);
}

.tutorials .tutorial:nth-of-type(2) .frame {
  transform: rotate(0.75deg);
}

.tutorials .tutorial:nth-of-type(3) .frame {
  transform: rotate(-0.65deg);
}

.tutorials .section-see-more {
  z-index: 3;
}

.frame {
  background:
    linear-gradient(130deg, #2c3338, #1b1f23);
  padding: 0.9rem;
  border: 2px solid rgba(73, 87, 96, 0.9);
  box-shadow:
    0 1px 18px rgba(255, 255, 255, 0.18),
    0 2px 40px rgba(255, 255, 255, 0.08),
    inset 0 0 0 2px rgba(123, 145, 161, 0.2),
    inset 0 0 0 6px rgba(24, 29, 33, 0.68),
    0 20px 45px rgba(0, 0, 0, 0.55);
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
}

.frame img {
  border: 2px solid rgba(24, 29, 33, 0.85);
}

.frame-square {
  aspect-ratio: 1 / 1;
  width: min(100%, 400px);
}

.frame-wide {
  aspect-ratio: 16 / 9;
  width: min(100%, 620px);
}

.frame-portrait {
  aspect-ratio: 3 / 4;
  width: min(100%, 360px);
}

.frame-tilt-left {
  transform: rotate(-2.2deg);
}

.frame-tilt-right {
  transform: rotate(2deg);
}

.panel.reverse .panel-media {
  justify-self: center;
}

.phase {
  display: grid;
  place-items: center;
  padding: 4rem 7vw 2rem;
}

.phase-inner {
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--outline);
  padding: 2.5rem 2.75rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.phase-inner h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  color: #f1f3f5;
}

.phase-inner p {
  margin: 0;
  color: var(--muted);
}

.phase-inner p + p {
  margin-top: 1rem;
}

.feature-map-shell {
  position: relative;
  overflow: hidden;
  background-image: url("https://assets.playrustcompany.com/Images/stickyimagesegment4.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.feature-map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
    radial-gradient(circle at 40% 30%, rgba(8, 12, 18, 0.25), rgba(8, 12, 18, 0.65));
  z-index: 0;
  pointer-events: none;
}

.feature-sticky {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 4rem 7vw;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.map-showcase {
  --map-layer-alpha: 0;
  --map-image-alpha: 0.9;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
}

.map-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(17, 54, 66, var(--map-layer-alpha));
  pointer-events: none;
}

.map-showcase::after {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.map-showcase-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
  box-sizing: border-box;
}

.map-showcase img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: var(--map-image-alpha);
  filter: saturate(1.08) contrast(1.04);
}

.map-showcase-title {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
  text-transform: uppercase;
  color: #ffffff;
  font-family: "Michroma", "Roboto", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-synthesis: weight style;
  font-size: clamp(1.6rem, 4vw, 3.45rem);
  letter-spacing: 0.1em;
  -webkit-text-stroke: 0 transparent;
  text-shadow:
    -1px -1px 0 #2e4b52,
    0 -1px 0 #2e4b52,
    1px -1px 0 #2e4b52,
    -1px 0 0 #2e4b52,
    1px 0 0 #2e4b52,
    -1px 1px 0 #2e4b52,
    0 1px 0 #2e4b52,
    1px 1px 0 #2e4b52,
    0.07em 0.07em 0 rgba(0, 0, 0, 0.48);
  text-align: center;
  white-space: nowrap;
}

.map-showcase-description {
  position: absolute;
  top: calc(45% + clamp(2.6rem, 5.8vw, 4rem));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  width: min(72ch, 84vw);
  color: rgba(247, 251, 254, 0.97);
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  padding: 0.95rem 1.2rem;
  background: rgba(8, 12, 18, 0.82);
  border: 1px solid var(--outline);
  box-shadow:
    0 1px 12px rgba(255, 255, 255, 0.14),
    0 2px 26px rgba(255, 255, 255, 0.07),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.map-showcase-description-text {
  display: inline;
  color: inherit;
  background: none;
  box-shadow: none;
  -webkit-box-decoration-break: initial;
  box-decoration-break: initial;
  padding: 0;
  text-shadow: none;
  font-weight: 400;
  border-radius: 0;
}

.gallery-showcase {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 0.95rem;
  padding: 2.6rem 7vw 4.6rem;
  background: url("https://assets.playrustcompany.com/Images/bricktile.png") top left / 720px 720px repeat;
  background-attachment: scroll;
  overflow: hidden;
}

.gallery-showcase::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: linear-gradient(180deg, #101010 0 52%, #11100e 52% 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-header {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.gallery-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  color: #f1f3f5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Michroma", "Roboto", sans-serif;
}

.gallery-header p {
  margin: 0.72rem 0 0;
  color: #bcc6cf;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.gallery-grid {
  width: min(100%, 960px, calc((100svh - 18rem) * 1.5));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  position: relative;
  z-index: 2;
  align-self: center;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(8, 12, 18, 0.78);
  border: 1px solid var(--outline);
  box-shadow:
    0 1px 12px rgba(255, 255, 255, 0.14),
    0 2px 28px rgba(255, 255, 255, 0.07),
    0 18px 40px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  transition: transform 0.24s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.06) 30%, rgba(8, 12, 18, 0.72) 100%);
  pointer-events: none;
}

.gallery-item-hidden {
  display: none;
}

.gallery-item-more::after {
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.22) 25%, rgba(8, 12, 18, 0.84) 100%);
}

.gallery-more-count {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #f1f3f5;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  letter-spacing: 0.04em;
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.85),
    0 0 10px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.gallery-showcase .section-see-more {
  z-index: 3;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(4, 6, 10, 0.94);
  padding: 1.4rem;
}

.gallery-lightbox-figure {
  margin: 0;
  width: min(92vw, 1500px);
  height: min(88vh, 88svh);
}

.trailer-lightbox-figure {
  width: min(92vw, calc(88vh * 16 / 9), calc(88svh * 16 / 9), 1500px);
  height: auto;
  aspect-ratio: 16 / 9;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 12px rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.4);
}

.trailer-lightbox-video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.gallery-lightbox-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  border: none;
  background: rgba(10, 14, 20, 0.72);
  color: #f1f3f5;
  cursor: pointer;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(56, 8, 10, 0.96);
  border: none;
}

.gallery-lightbox-close img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  font-size: 1.5rem;
  line-height: 1;
}

.gallery-lightbox-arrow {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.gallery-lightbox-arrow-prev {
  transform: rotate(180deg);
}

.gallery-lightbox-prev {
  left: 1rem;
}

.gallery-lightbox-next {
  right: 1rem;
}

.gallery-lightbox-close:hover {
  background: rgba(42, 5, 7, 0.98);
}

.gallery-lightbox-nav:hover {
  background: rgba(18, 24, 32, 0.9);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.feature-sticky::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-sticky-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2.4rem, 3.9vw, 3.5rem);
  color: #ffff00;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  font-family: "Jolly Lodger", "Roboto", sans-serif;
  text-shadow:
    0 12px 26px rgba(0, 0, 0, 0.6),
    3px 0 rgba(255, 0, 70, 0.6),
    -3px 0 rgba(0, 180, 255, 0.6),
    0 0 8px rgba(255, 0, 70, 0.25),
    0 0 8px rgba(0, 180, 255, 0.25);
  text-align: center;
}

.feature-sticky-title span {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.2em;
  margin-top: 0.35rem;
}

.feature-callout {
  position: absolute;
  bottom: 5.2rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 760px;
  width: min(82vw, 760px);
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--outline);
  padding: 1.35rem 1.6rem;
  text-align: center;
  z-index: 2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.feature-callout h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  color: #f1f3f5;
}

.feature-callout p {
  margin: 0;
  color: #bcc6cf;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.45;
}

.feature-callout p + p {
  margin-top: 0.7rem;
}

.feature-logo {
  position: absolute;
  top: 50%;
  width: clamp(360px, 42vw, 720px);
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.95;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.feature-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.feature-logo::after {
  content: none;
  pointer-events: none;
}

.feature-banner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 22vw, 320px);
  height: clamp(180px, 20vw, 260px);
  display: grid;
  place-items: center;
  z-index: 1;
}

.feature-banner::before {
  content: none;
}

.feature-banner--blue {
  left: 6%;
}

.feature-banner--red {
  right: 6%;
}

.feature-logo--blue {
  box-shadow: none;
}

.feature-logo--red {
  box-shadow: none;
}

.feature-logo--blue {
  --team-color: #3164e2;
}

.feature-logo--red {
  --team-color: #af3131;
}


.feature-panel {
  position: relative;
  z-index: 1;
  max-width: 720px;
  background: rgba(160, 160, 160, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem 2.75rem;
  text-align: center;
}

.feature-panel h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  color: #f1f3f5;
}

.feature-panel p {
  margin: 0;
  color: #d5d7da;
}

.feature-panel p + p {
  margin-top: 1rem;
}

.panel.reverse {
  direction: rtl;
}

.panel.reverse .panel-content,
.panel.reverse .panel-media {
  direction: ltr;
}

.panel-content {
  background: var(--card);
  padding: 2rem;
  border-radius: 0;
  border: 1px solid var(--outline);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.panel-content h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
}

.panel-content p {
  margin: 0;
  color: var(--muted);
}

.panel-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid var(--outline);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta {
  padding: 0 7vw 4rem;
}

.cta-inner {
  padding: 3rem;
  background: linear-gradient(130deg, rgba(255, 122, 24, 0.14), rgba(34, 211, 238, 0.1));
  border-radius: 0;
  border: 1px solid var(--outline);
  text-align: center;
}

.cta-inner h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

.final-stack {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 7fr) minmax(0, 3fr);
}

.faq-panel {
  --faq-plaque-width: min(100%, 900px);
  height: auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 2.4rem 7vw 2.4rem;
  background: url("https://assets.playrustcompany.com/Images/bricktile.png") top left / 720px 720px repeat;
  background-attachment: scroll;
  overflow: hidden;
}

.faq-campaign-plaque {
  position: relative;
  z-index: 1;
  width: var(--faq-plaque-width);
  justify-self: center;
  padding: 0.95rem 1.2rem;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--outline);
  box-shadow:
    0 1px 12px rgba(255, 255, 255, 0.14),
    0 2px 26px rgba(255, 255, 255, 0.07),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.faq-campaign-plaque h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.06rem, 1.4vw, 1.4rem);
  color: #f1f3f5;
}

.faq-campaign-plaque p {
  margin: 0;
  font-size: clamp(0.82rem, 1.03vw, 0.92rem);
  line-height: 1.33;
  color: #bcc6cf;
}

.faq-inner {
  position: relative;
  z-index: 1;
  width: var(--faq-plaque-width);
  max-width: none;
  margin: 0 auto;
  background: rgba(8, 12, 18, 0.72);
  border: 1px solid var(--outline);
  padding: 1.2rem 1.4rem;
  box-shadow:
    0 1px 12px rgba(255, 255, 255, 0.14),
    0 2px 26px rgba(255, 255, 255, 0.07),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.faq-inner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: #f1f3f5;
  letter-spacing: 0.04em;
}

.faq-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.faq-question {
  margin: 0;
  color: #f1f3f5;
  font-size: 0.93rem;
}

.faq-answer {
  margin: 0.2rem 0 0;
  color: #bcc6cf;
  font-size: 0.84rem;
  line-height: 1.35;
}

.footer-panel {
  position: relative;
  background: #11100f url("https://assets.playrustcompany.com/Images/Concrate2.png") center / auto repeat;
  border-top: 0;
  color: var(--muted);
  padding: 3.5rem 7vw 3.5rem;
}

.footer-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(180deg, #101010 0 52%, #11100e 52% 100%);
  box-shadow: none;
  pointer-events: none;
}

.final-stack .footer-panel {
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0.75rem 7vw 0.7rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.final-stack .footer-panel-inner {
  gap: 0.8rem;
  grid-template-columns: minmax(170px, 1fr) minmax(260px, 1.25fr) minmax(220px, 1fr);
}

.final-stack .footer-credits {
  margin-top: auto;
  margin-bottom: 0.2rem;
  position: relative;
  top: 2px;
}

.final-stack .footer-disclaimer {
  margin-top: 0.3rem;
  margin-bottom: 0.15rem;
  position: relative;
  top: 2px;
}

.footer-hero {
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-panel .cta-inner {
  background: rgba(10, 10, 12, 0.78);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-panel .cta-inner h2 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.cta-note {
  margin: 0.75rem 0 1.5rem;
  font-size: 0.95rem;
  color: #d9d0c2;
}

.cta-subtext {
  margin: 1.5rem 0 0.9rem;
  font-size: 0.95rem;
  color: #d2c7b8;
}

.footer-panel-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-workshop-promo {
  display: block;
  width: min(100%, 190px);
  justify-self: start;
  align-self: center;
  transition: transform 0.2s ease;
}

.footer-workshop-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-utility-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.footer-teaser {
  margin: 0 0 0.3rem;
  color: #cfd5db;
  font-size: 0.82rem;
  line-height: 1.22;
  letter-spacing: 0.03em;
}

.footer-teaser-connect {
  width: clamp(320px, 46vw, 560px);
  text-align: center;
  margin-bottom: 0.62rem;
}

.footer-teaser-community {
  width: min(100%, 360px);
  text-align: center;
  font-size: calc(0.82rem + 6px);
}

.footer-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.footer-social-buttons .btn {
  min-width: 140px;
}

.footer-social-buttons .btn-icon {
  width: 20px;
  height: 20px;
}

.footer-server-copy {
  width: clamp(320px, 46vw, 560px);
  min-height: 58px;
  padding: 1.08rem 2.2rem;
  justify-content: center;
}

.footer-server-copy .label {
  font-size: 0.98rem;
  letter-spacing: 0.1em;
}

.footer-center-connect {
  justify-self: center;
  align-self: stretch;
  text-align: center;
  display: grid;
  gap: 0;
  justify-items: center;
  align-content: center;
}

.footer-go-top {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  opacity: 1;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-go-top:hover {
  opacity: 1;
}

.footer-workshop-promo:hover {
  transform: translateY(-2px);
}

.footer-bottom-socials {
  position: absolute;
  left: 7vw;
  bottom: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  white-space: nowrap;
}

.footer-bottom-socials a {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.footer-bottom-socials a:hover {
  opacity: 1;
}

.footer-bottom-socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(67%);
}

.footer-bottom-links {
  position: absolute;
  right: 7vw;
  bottom: 0.72rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.24rem;
  white-space: nowrap;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-menu-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.72rem;
}

.footer-menu-links a {
  color: #cfd5db;
  opacity: 0.9;
}

.footer-menu-links a:hover {
  opacity: 1;
}

.footer-panel a {
  color: inherit;
  text-decoration: none;
}

.footer-credits {
  margin-top: 2.2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #cdd2d6;
}

.footer-credits a {
  color: #ffffff;
}

.footer-disclaimer {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a4a6a7;
}

@media (max-width: 980px) {
  .hero {
    padding: 5rem 7vw 5rem;
  }

  .hero-top-right {
    right: 7vw;
  }

  .hero-bottom-left {
    left: 7vw;
  }

  .hero-bottom-right {
    right: 7vw;
  }

  .logo {
    width: clamp(320px, 68vw, 760px);
  }

  .feature-banner {
    display: none;
  }

}

@media (max-width: 720px) {
  .tutorials,
  .faq-panel {
    background-attachment: scroll;
  }

  .feature-map-shell {
    background-attachment: scroll;
  }

  .feature-sticky-title {
    top: 1.4rem;
    letter-spacing: 0.08em;
    transform: translateX(-50%);
  }

  .feature-logo {
    width: clamp(240px, 52vw, 380px);
    opacity: 0.85;
  }

  .feature-banner {
    position: static;
    transform: none;
    margin: 5.5rem auto 0;
  }

  .feature-sticky-title span {
    letter-spacing: 0.14em;
  }

  .feature-callout {
    position: static;
    transform: none;
    margin-top: 6rem;
    padding: 1.6rem 1.4rem;
  }

  .map-showcase {
    --map-layer-alpha: 0;
    --map-image-alpha: 0.9;
    height: 100svh;
    min-height: 100svh;
    padding: 0;
  }

  .map-showcase-title {
    top: 42%;
    font-size: clamp(1.4rem, 7vw, 2.35rem);
    white-space: normal;
  }

  .map-showcase-description {
    top: calc(42% + clamp(3.15rem, 11vw, 4.35rem));
    width: min(90vw, 34rem);
    font-size: clamp(0.82rem, 3.2vw, 0.98rem);
    line-height: 1.45;
    padding: 0.8rem 0.95rem;
  }

  .map-showcase-description-text {
    box-shadow: none;
    padding: 0;
  }

  .gallery-showcase {
    min-height: auto;
    padding: 2.8rem 8vw 3rem;
    gap: 1rem;
  }

  .gallery-header h2 {
    font-size: clamp(1.25rem, 6.2vw, 1.95rem);
    letter-spacing: 0.06em;
  }

  .gallery-header p {
    font-size: 0.9rem;
  }

  .gallery-showcase .section-see-more {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 0.25rem;
    justify-self: center;
  }

  .gallery-lightbox {
    padding: 0.9rem;
  }

  .gallery-lightbox-figure {
    width: min(96vw, 900px);
    height: min(78vh, 78svh);
  }

  .trailer-lightbox-figure {
    width: min(96vw, calc(78vh * 16 / 9), calc(78svh * 16 / 9), 900px);
  }

  .gallery-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }

  .gallery-lightbox-prev {
    left: 0.6rem;
  }

  .gallery-lightbox-next {
    right: 0.6rem;
  }

  .tutorials {
    height: auto;
    min-height: 100svh;
    grid-template-columns: 1fr;
    padding: 3rem 8vw 4.8rem;
    gap: 1.5rem;
  }

  .tutorials .panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tutorials .panel-media img {
    max-height: none;
  }

  .frame {
    width: min(100%, 420px);
  }

  .frame-wide {
    width: min(100%, 440px);
  }

  .frame-square {
    width: min(100%, 330px);
  }

  .frame-portrait {
    width: min(100%, 310px);
  }

  .frame-tilt-left,
  .frame-tilt-right {
    transform: none;
  }

  .tutorials .tutorial .frame {
    transform: none;
  }

  .final-stack {
    height: auto;
    min-height: 100svh;
    grid-template-rows: auto auto;
  }

  .faq-panel {
    --faq-plaque-width: min(100%, 560px);
    min-height: 50svh;
    padding: 2.4rem 8vw 3.2rem;
  }

  .faq-campaign-plaque {
    padding: 0.9rem 1rem;
  }

  .faq-inner {
    padding: 1rem 1rem;
  }

  .final-stack .footer-panel {
    min-height: 50svh;
    padding: 2.2rem 8vw 2.6rem;
    overflow: visible;
    gap: 0.8rem;
  }

  .final-stack .footer-panel-inner {
    grid-template-columns: 1fr;
  }

  .footer-workshop-promo {
    width: min(100%, 180px);
    justify-self: center;
  }

  .footer-utility-stack {
    align-items: center;
  }

  .footer-teaser-connect,
  .footer-teaser-community {
    width: min(100%, 420px);
    text-align: center;
  }

  .footer-social-buttons {
    justify-content: center;
  }

  .footer-server-copy {
    min-width: 0;
    width: min(100%, 420px);
    min-height: 54px;
    padding: 0.96rem 1.4rem;
  }

  .footer-center-connect {
    width: 100%;
    justify-items: center;
  }

  .footer-bottom-links {
    position: static;
    align-items: center;
    justify-content: center;
    row-gap: 0.32rem;
    margin-top: 0.2rem;
    white-space: normal;
  }

  .footer-bottom-socials {
    position: static;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    margin-top: 0.2rem;
  }

  .footer-menu-links {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .phase {
    padding: 3rem 8vw 1.5rem;
  }

  .phase-inner {
    padding: 2rem 1.8rem;
  }

  .link {
    padding: 3rem 8vw 4rem;
  }

  .link-panel {
    padding: 2.2rem 1.8rem 2rem;
  }

  .btn.steam {
    width: min(100%, 320px);
    font-size: 20px;
  }

  .link-actions {
    flex-direction: column;
    align-items: center;
  }

  .link-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero {
    padding: 4.5rem 8vw 4rem;
    align-content: stretch;
    gap: 1.4rem;
    grid-template-rows: auto auto 1fr auto auto;
  }

  .logo {
    width: clamp(260px, 74vw, 480px);
  }

  .hero-desktop-tagline {
    display: none;
  }

  .hero-desktop-note {
    display: none;
  }

  .hero-trailer-trigger {
    position: static;
    transform: none;
    justify-self: center;
    align-self: center;
    margin-top: 0.15rem;
    width: 66px;
    height: 66px;
  }

  .hero-trailer-trigger:hover {
    transform: translateY(-2px);
  }

  .hero-top-right {
    position: static;
    justify-self: center;
    margin-bottom: 0.4rem;
    align-items: center;
    width: min(90vw, 360px);
  }

  .hero-top-right .btn {
    width: 100%;
    justify-content: center;
  }

  .scroll-hint {
    left: 8vw;
  }

  .hero-bottom-left,
  .hero-bottom-right,
  .hero-bottom-center {
    position: static;
    margin-top: 0;
    transform: none;
  }

  .hero-bottom-right .button-row {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-bottom-right {
    align-items: center;
  }

  .workshop-support-link {
    width: min(90vw, 420px);
    justify-content: center;
    text-align: center;
  }

  .server-pill {
    width: min(90vw, 360px);
    justify-content: center;
    text-align: center;
  }

  .hero-bottom-left {
    grid-row: 3;
    justify-self: center;
    align-self: center;
  }

  .hero-bottom-right {
    grid-row: 4;
    justify-self: center;
  }

  .hero-bottom-center {
    grid-row: 5;
    justify-self: center;
  }

  .hero-bottom-left .server-pill {
    display: none;
  }

  .hero-mobile-blurb {
    display: block;
  }

  .cta-inner .server-pill {
    display: flex;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .panel {
    padding: 0 8vw;
  }

  .cta-inner {
    padding: 2.2rem 1.6rem;
  }

  .footer-panel {
    padding: 2.2rem 8vw 2.6rem;
  }

  .footer-hero {
    margin-bottom: 2.2rem;
  }

}

@media (max-width: 560px) {
  .hero-bottom-right .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-bottom-right .btn {
    width: 100%;
    justify-content: center;
  }

  .workshop-support-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .server-pill--copy .copy-toast {
    white-space: normal;
    width: min(92vw, 320px);
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    width: min(92vw, 320px);
    text-align: center;
  }
}

@media (max-height: 640px) {
  .hero {
    padding: 3.5rem 7vw 3rem;
    align-content: start;
    gap: 1rem;
  }

  .hero-top-right,
  .hero-bottom-left,
  .hero-bottom-right,
  .hero-bottom-center {
    position: static;
    margin-top: 0.9rem;
  }

  .hero-bottom-right .button-row {
    flex-wrap: wrap;
  }

  .feature-banner {
    display: none;
  }
}

.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;
}

.is-hidden {
  display: none !important;
}
