:root {
  --brand: #340109;
  --brand-deep: #210006;
  --brand-dark: #130104;
  --black: #070708;
  --surface: #0d090a;
  --white: #fff;
  --text: #f7f3f3;
  --muted: #b9abad;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.26);
  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--black);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

::selection {
  color: var(--brand);
  background: var(--white);
}

.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;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--brand);
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  animation: header-enter 900ms 120ms var(--ease) both;
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(100%, calc(var(--container) + (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand-link,
.footer-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.brand-link {
  width: 3.25rem;
  height: 3.25rem;
  transition:
    opacity 220ms ease,
    transform 320ms var(--ease);
}

.brand-link::after {
  position: absolute;
  inset: -0.25rem;
  border: 1px solid transparent;
  content: "";
  transition: border-color 220ms ease;
}

.brand-link img {
  width: 100%;
  height: 100%;
}

.brand-link:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.brand-link:hover::after {
  border-color: rgba(255, 255, 255, 0.15);
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.social-link {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    transform 320ms var(--ease);
}

.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 9rem var(--gutter) 6rem;
  background:
    radial-gradient(circle at 50% 42%, #5b0b18 0, var(--brand) 34%, transparent 68%),
    linear-gradient(180deg, #3b010b 0%, var(--brand) 68%, var(--brand-deep) 100%);
}

.hero::before,
.hero::after,
.hero-atmosphere {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 38%, rgba(0, 0, 0, 0.4));
}

.hero::after {
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 0.45px, transparent 0.65px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.hero-atmosphere {
  top: 50%;
  left: 50%;
  width: min(75vw, 66rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(255, 255, 255, 0.012),
    0 0 0 14rem rgba(255, 255, 255, 0.008);
  transform: translate(-50%, -52%);
}

.hero-content {
  display: flex;
  width: min(100%, 45rem);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--white);
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.64);
  animation: hero-enter 900ms 240ms var(--ease) both;
}

.hero-logo {
  width: clamp(14rem, 34vw, 24rem);
  filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, 0.22));
  animation: logo-enter 1.1s 120ms var(--ease) both;
}

.hero-statement {
  margin: 1.6rem 0 2.2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 390;
  letter-spacing: -0.015em;
  line-height: 1.48;
  animation: hero-enter 900ms 380ms var(--ease) both;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.9rem 1rem 0.9rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 320ms ease,
    transform 320ms var(--ease);
}

.button svg,
.text-link svg,
.back-to-top svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-primary {
  color: var(--brand);
  background: var(--white);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.13);
  animation: hero-enter 900ms 500ms var(--ease) both;
}

.button-primary:hover {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.23);
  transform: translateY(-3px);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 200ms ease;
}

.scroll-cue svg {
  width: 0.8rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.scroll-cue:hover {
  color: var(--white);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.featured {
  padding-block: clamp(7.5rem, 13vw, 12rem);
  background:
    linear-gradient(180deg, var(--brand-deep) 0%, var(--brand-dark) 24%, #0b0809 64%, var(--black) 100%);
}

.featured::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 1px;
  height: clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25));
  content: "";
}

.section-glow {
  position: absolute;
  z-index: -1;
  top: 42%;
  left: 50%;
  width: min(68rem, 100vw);
  height: 30rem;
  background: radial-gradient(ellipse, rgba(96, 7, 22, 0.32), transparent 68%);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.section-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  width: min(100%, 50rem);
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
  margin: 0;
}

.section-heading h2,
.about-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.steam-shell {
  position: relative;
  width: min(100%, 50rem);
  margin-inline: auto;
  padding: clamp(0.7rem, 2vw, 1.1rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 40%),
    rgba(5, 4, 4, 0.72);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.36);
}

.steam-frame {
  position: relative;
  width: min(100%, 646px);
  min-height: 190px;
  margin-inline: auto;
  overflow: hidden;
  background: #10151b;
}

.steam-frame iframe {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
  background: #10151b;
}

.steam-frame iframe[hidden] {
  display: none;
}

.steam-placeholder {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 80% 20%, rgba(93, 13, 28, 0.36), transparent 42%),
    linear-gradient(135deg, #15191e, #0c0f12);
}

.steam-placeholder[hidden] {
  display: none;
}

.steam-placeholder > svg {
  flex: 0 0 auto;
  width: 3.1rem;
  height: 3.1rem;
  fill: currentColor;
}

.steam-placeholder > div {
  display: grid;
  gap: 0.45rem;
}

.steam-placeholder strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.steam-placeholder span {
  max-width: 25rem;
  color: #aeb3b8;
  font-size: 0.78rem;
  line-height: 1.55;
}

.steam-placeholder code {
  color: #e5e7e9;
  font: inherit;
  font-weight: 650;
}

.corner {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  pointer-events: none;
}

.corner-top {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.corner-bottom {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.text-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.8rem;
  margin: 2.25rem auto 0;
  padding-block: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 200ms ease,
    gap 300ms var(--ease);
}

.text-link:hover {
  gap: 1.1rem;
  color: var(--white);
}

.about {
  padding-block: clamp(7rem, 13vw, 12rem);
  background:
    radial-gradient(circle at 18% 50%, rgba(73, 5, 17, 0.22), transparent 34%),
    var(--black);
}

.about-inner {
  display: block;
  width: min(100%, 56rem);
  text-align: center;
}

.about-copy {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.about-copy .eyebrow {
  justify-content: center;
  margin-bottom: 1.25rem;
}

.about-copy h2 {
  max-width: none;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
}

.about-copy > p:last-child {
  max-width: 42rem;
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  color: #c8bec0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 350;
  letter-spacing: -0.015em;
  line-height: 1.7;
}

.site-footer {
  background: #030304;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 8.5rem;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-mark {
  width: 2.35rem;
  height: 2.35rem;
  opacity: 0.52;
  transition: opacity 200ms ease;
}

.footer-mark:hover {
  opacity: 1;
}

.footer-center {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  justify-self: center;
}

.footer-social-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.footer-social-nav .social-link {
  width: 2.15rem;
  height: 2.15rem;
}

.footer-social-nav .social-link svg {
  width: 1rem;
  height: 1rem;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  white-space: nowrap;
  text-transform: uppercase;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.back-to-top:hover {
  color: var(--white);
}

.back-to-top svg {
  width: 1rem;
  height: 1rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

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

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.97);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 5.4rem;
  }

  .brand-link {
    width: 2.7rem;
    height: 2.7rem;
  }

  .social-link {
    width: 2.25rem;
    height: 2.25rem;
  }

  .social-link svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero-atmosphere {
    width: 88vw;
  }

  .scroll-cue span {
    display: none;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .steam-placeholder {
    min-height: 190px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
  }

  .steam-placeholder > svg {
    width: 2.35rem;
    height: 2.35rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    justify-items: center;
    padding-block: 1.75rem;
  }

  .footer-center {
    flex-direction: column;
    gap: 0.65rem;
  }

  .back-to-top {
    display: none;
  }
}

@media (max-width: 390px) {
  :root {
    --gutter: 1rem;
  }

  .social-nav {
    gap: 0;
  }

  .social-link {
    width: 2.1rem;
  }

  .hero-logo {
    width: 13.5rem;
  }

  .hero-statement {
    font-size: 1.05rem;
  }

  .steam-shell {
    padding: 0.55rem;
  }

  .steam-placeholder {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
