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

:root {
  --header-bg: #1a1a1a;
  --hero-bg: #2a2a2a;
  --white: #ffffff;
  --light-grey: #b0b0b0;
  --nav-hover: #ffffff;
  --frame-purple: #4E12DA;
  --header-height: 90px;
  --nav-panel-inset-right: 6px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html.company-home-page {
  scroll-padding-top: 0;
}

html.is-scripted-scroll {
  scroll-behavior: auto;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #111;
  overflow-x: hidden;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 24px;
  background-color: #0099FF;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-image: url('../images/header.png');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 100;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 0.7vw, 6px);
  transform: translateY(3px);
}

.nav-divider {
  content: '';
  display: block;
  height: clamp(16px, 2.25vw, 30px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

.nav > .nav-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
}

.nav > .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: #0099FF;
  box-shadow: 0 0 7px rgba(0, 153, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s ease;
}

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

.nav-divider {
  width: clamp(20px, 5vw, 15px);
  background-image: url('../images/nav_divider.png');
  pointer-events: none;
  user-select: none;
}

.nav-expander-wrap {
  position: absolute;
  top: 50%;
  right: clamp(20px, 2vw, 36px);
  transform: translateY(-50%);
  z-index: 101;
}

.nav-expander {
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transition: transform 0.35s ease;
}

.site-header.is-nav-expanded .nav-expander {
  transform: rotate(90deg);
}

.nav-expander img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.nav-expander:hover {
  opacity: 0.9;
}

.nav-expander:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Expandable Panel art */
.nav-expand-panel {
  position: absolute;
  top: 100%;
  right: var(--nav-panel-inset-right);
  width: 260px;
  min-height: 220px;
  padding: 28px 20px 22px;
  background-image: url('../images/header_expand_panel.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  transform: scaleY(0);
  transform-origin: top right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.35s ease,
    opacity 0.3s ease,
    visibility 0.35s ease;
}

.site-header.is-nav-expanded .nav-expand-panel {
  transform: scaleY(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-expand-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.nav-expand-menu .nav-link {
  font-size: 18px;
  text-align: center;
  white-space: nowrap;
}

.nav-expand-spacer {
  flex: 1;
  min-height: 0;
}

.nav-link {
  background: linear-gradient(
    to bottom,
    #ffffff 0 34%,
    #0099FF 66% 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:focus-visible {
  opacity: 1;
  outline: 2px solid #0099FF;
  outline-offset: 4px;
  border-radius: 2px;
}

.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

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

.site-header.is-section-transitioning {
  transform: translateY(0);
  opacity: 1;
}

/* ── HERO ── */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
}

.hero-gif {
  --hero-parallax-y: 0px;
  position: absolute;
  width: 300px;
  height: 300px;
  top: 600px;
  left: 50%;
  transform: translateX(-50%) translateY(var(--hero-parallax-y));
  background-image: url('../images/worker.gif');
  background-size: 100% 100%;
  will-change: transform;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.png');
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 3;
}

.game-intro {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100vh;
  margin-top: -100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(96px, 12vh, 150px) 24px clamp(110px, 18vh, 190px);
  background: transparent;
  text-align: center;
}

.game-intro-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.game-title {
  line-height: 0;
}

.hero-title-img {
  width: min(1000px, 88vw);
  height: auto;
}

.wishlist-text {
  margin-top: clamp(-72px, -5.5vw, -26px);
  font-family: 'Nunito', sans-serif;
  font-size: clamp(22px, 3.4vw, 52px);
  font-weight: 300;
  color: var(--light-grey);
  letter-spacing: -0.01em;
}

.steam-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 16px 48px;
  background-color: #0099FF;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.steam-btn:hover {
  transform: scale(1.08);
}

.steam-btn:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 4px;
}

/* ── MEDIA SECTION ── */
.media-section {
  --media-fade-mid: clamp(68px, 10vh, 110px);
  --media-fade-end: clamp(150px, 22vh, 240px);
  position: relative;
  z-index: 4;
  background-color: transparent;
  background-image: linear-gradient(
    to bottom,
    rgba(17, 17, 17, 0) 0,
    rgba(17, 17, 17, 0.78) var(--media-fade-mid),
    #111111 var(--media-fade-end),
    #111111 100%
  );
  width: 100%;
  min-height: calc(100vh + var(--media-fade-end) + 90px);
  padding: var(--media-fade-end) 0 90px;
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vh, 58px);
  align-items: center;
  justify-content: center;
}

.game-intro .steam-btn {
  margin-top: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 72px 24px 24px;
  cursor: zoom-out;
}

.lightbox-img {
  width: auto;
  height: auto;
  max-width: min(92vw, 1600px);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
}

/* ── MEDIA CAROUSEL ── */
.media-title {
  position: relative;
  z-index: 21;
  min-width: 5.5ch;
  min-height: 1em;
  background: linear-gradient(
    to bottom,
    #ffffff 0 34%,
    #0099FF 66% 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.media-carousel {
  --slide-width: min(820px, 58vw);
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1600px;
  padding: 0 clamp(44px, 5vw, 78px);
}

.media-carousel::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 1728px;
  height: 730px;
  background: url('../petalfall/images/MediaBG.png') center / contain no-repeat;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.media-viewport {
  position: relative;
  width: 100%;
  height: clamp(280px, 36vw, 540px);
  overflow: hidden;
}

.media-viewport:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 6px;
}

.media-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: start center;
}

.media-slide {
  grid-area: 1 / 1;
  width: var(--slide-width);
  aspect-ratio: 16 / 9;
  border: 3px solid var(--frame-purple);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(8, 4, 18, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(7%) scale(0.78);
  filter: brightness(0.42) saturate(0.7);
  transition:
    transform 0.45s ease,
    filter 0.45s ease,
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.media-slide.is-active {
  z-index: 3;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) translateY(0) scale(1);
  filter: none;
}

.media-slide.is-previous,
.media-slide.is-next {
  z-index: 1;
  opacity: 0.78;
  visibility: visible;
  transform: translateX(0) translateY(0) scale(1);
}

.media-carousel.is-revealed .media-slide.is-previous,
.media-carousel.is-revealed .media-slide.is-next {
  pointer-events: auto;
}

.media-carousel.is-revealed .media-slide.is-previous {
  transform: translateX(-46%) translateY(8%) scale(0.82);
}

.media-carousel.is-revealed .media-slide.is-next {
  transform: translateX(46%) translateY(8%) scale(0.82);
}

.media-carousel.is-revealing .media-slide {
  transition-duration: 1.15s;
  transition-timing-function: cubic-bezier(0.22, 0.75, 0.24, 1);
}

.media-carousel.is-revealed .media-slide.is-previous:hover,
.media-carousel.is-revealed .media-slide.is-next:hover {
  filter: brightness(0.55) saturate(0.82);
}

.media-open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-slide:not(.is-active) .media-open {
  cursor: pointer;
}

.media-open:focus-visible {
  outline: 3px solid #0099FF;
  outline-offset: -6px;
}

.media-open .feature-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
}

.media-open .feature-img.media-contain {
  object-fit: contain;
  padding: clamp(14px, 3vw, 34px);
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  z-index: 5;
  width: clamp(58px, 6vw, 76px);
  height: clamp(76px, 8vw, 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.carousel-arrow-icon {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
  transition: filter 0.18s ease;
}

.carousel-arrow-prev .carousel-arrow-icon {
  transform: scaleX(-1);
}

.carousel-arrow:hover .carousel-arrow-icon {
  filter: brightness(1.4) drop-shadow(0 0 5px rgba(0, 153, 255, 0.4));
}

.carousel-arrow:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 4px;
}

.carousel-arrow-prev {
  left: clamp(4px, 1.5vw, 20px);
}

.carousel-arrow-next {
  right: clamp(4px, 1.5vw, 20px);
}

.carousel-arrow-next:active .carousel-arrow-icon {
  animation: arrow-bump-right 0.16s ease-out;
}

.carousel-arrow-prev:active .carousel-arrow-icon {
  animation: arrow-bump-left 0.16s ease-out;
}

@keyframes arrow-bump-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes arrow-bump-left {
  0%, 100% { transform: scaleX(-1) translateX(0); }
  50% { transform: scaleX(-1) translateX(5px); }
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 18px;
  margin-top: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #646b74;
  border-radius: 50%;
  background: #2d3238;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
  border-color: #8a929c;
}

.carousel-dot.is-active {
  border-color: #0099FF;
  background: #0099FF;
  box-shadow: 0 0 9px rgba(0, 153, 255, 0.5);
  transform: scale(1.08);
}

.carousel-dot:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 4px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .game-intro {
    padding: 90px 18px 86px;
  }

  .game-intro-top {
    gap: 0;
  }

  .hero-title-img {
    width: min(760px, 94vw);
  }

  .wishlist-text {
    font-size: clamp(20px, 7vw, 34px);
  }

  .game-intro .steam-btn {
    padding: 14px 36px;
    font-size: 22px;
  }

  .media-section {
    min-height: calc(100vh + var(--media-fade-end) + 70px);
    padding: var(--media-fade-end) 0 70px;
    gap: 28px;
  }

  .media-title {
    font-size: clamp(32px, 11vw, 48px);
  }

  .media-carousel {
    --slide-width: calc(100vw - 108px);
    padding-inline: 46px;
  }

  .media-viewport {
    height: clamp(220px, 56vw, 360px);
  }

  .media-slide {
    border-radius: 8px;
  }

  .carousel-arrow {
    width: 44px;
    height: 62px;
  }

  .carousel-arrow-icon {
    width: 32px;
    height: 32px;
  }

  .carousel-arrow-prev {
    left: 4px;
  }

  .carousel-arrow-next {
    right: 4px;
  }

  .carousel-dots {
    margin-top: 6px;
  }
}

@media (max-width: 420px) {
  .media-carousel {
    --slide-width: calc(100vw - 92px);
    padding-inline: 40px;
  }

  .media-viewport {
    height: clamp(190px, 56vw, 250px);
  }

  .media-open .feature-img.media-contain {
    padding: 10px;
  }
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 5;
  isolation: isolate;
  background-color: #111111;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  padding: 60px 80px 30px;
  border-top: 1px solid #2a2a2a;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
  margin-bottom: 40px;
  position: relative;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon {
  color: var(--white);
  opacity: 0.75;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: #0099FF;
  opacity: 1;
}

.social-icon:focus-visible {
  opacity: 1;
  outline: 2px solid #0099FF;
  outline-offset: 4px;
  border-radius: 4px;
}

.footer-steam-label {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.75;
  padding-left: 4px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-link {
  color: var(--light-grey);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--white);
}

.footer-link:focus-visible {
  color: var(--white);
  outline: 2px solid #0099FF;
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-logo-img {
  width: 200px;
  object-fit: contain;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 901px) {
  .footer-left,
  .footer-col {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .footer-logo-img {
    position: static;
    margin: 0 auto;
    display: block;
    top: unset;
    transform: none;
  }

  .footer-main {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--light-grey);
  opacity: 0.6;
  line-height: 1.8;
}

/* ── CONTACT ── */
.contact-section {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  background-color: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
}

.contact-container {
  width: 100%;
  max-width: 600px;
}

.contact-title {
  font-family: 'Nunito', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--light-grey);
  margin-bottom: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  background-color: #222222;
  border: 1px solid #333333;
  border-radius: 8px;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease;
  resize: none;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  border-color: #0099FF;
  outline: 2px solid #0099FF;
  outline-offset: 2px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555555;
}

.submit-btn {
  background-color: #0099FF;
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  transform: scale(1.05);
}

.submit-btn:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 4px;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.contact-form-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-privacy-notice {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--light-grey);
  line-height: 1.65;
  max-width: 520px;
}

.contact-privacy-notice a {
  color: #0099FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-privacy-notice a:hover {
  color: var(--white);
}

.contact-privacy-notice a:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── LEGAL / PRIVACY PAGE ── */
.about-section.legal-page {
  height: auto;
  min-height: 100vh;
  padding-bottom: 80px;
}

.legal-box {
  width: 860px;
  padding: 40px;
  background-image: url('../images/legalbox.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.legal-box .about-text + .about-text,
.legal-box .legal-heading + .about-text {
  margin-top: 16px;
}

.legal-updated {
  opacity: 0.75;
  margin-bottom: 8px;
}

.legal-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-top: 28px;
}

.legal-link {
  color: #0099FF;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-link:hover {
  color: var(--white);
}

.legal-link:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── NEWS ── */
.news-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  background-color: #161616;
  background-image: url('../images/homeBG.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
}

.news-section::before,
.news-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.news-section::before {
  z-index: 1;
  background-image: url('../images/homeBG3.png');
}

.news-section::after {
  z-index: 10;
  background-image: url('../images/homeBG2.png');
}

.news-container {
  position: relative;
  z-index: 20;
  text-align: center;
}

.news-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(32px, 6vw, 80px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.news-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  color: var(--light-grey);
}

@media (max-width: 600px) {
  .news-section {
    background-attachment: scroll;
  }

  .site-header {
    justify-content: flex-start;
    padding-left: 12px;
  }

  .nav {
    gap: 7px;
  }

  .nav-divider {
    display: none;
  }

  .nav > .nav-link {
    font-size: clamp(10px, 3.2vw, 12px);
    letter-spacing: 0.08em;
  }
}

/* ── ABOUT ── */
.about-section {
  width: 100%;
  height: 100vh;
  background-color: #161616;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 120px 20px 0;
}

.about-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.about-box {
  width: 860px;
  background-image: url('../images/personalbox.png');
  background-size: 100% 100%;
  padding: 40px;
}

.about-text {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--light-grey);
  line-height: 1.8;
}

/* -- DEVELOPERS -- */
.about-box p + p {
  margin-top: 16px;
}

.dev-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dev-box .about-text {
  width: 860px;
  font-size: 24px;
  background-image: url('../images/devbox.png');
  background-size: 100% 100%;
  padding: 40px;
}

/* ── 404 ERROR PAGE ── */
.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: linear-gradient(180deg, #121212 0%, #181818 60%, #111 100%);
}

.error-section.contact-scene-background {
  background:
    linear-gradient(180deg, rgba(19, 18, 35, 0.6), rgba(22, 22, 22, 0.96)),
    url('../images/homeBG.png') center / cover fixed;
}

.error-container {
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding: 84px 48px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: rgba(20, 20, 20, 0.95);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.35);
}

.error-grid {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 40px;
  align-items: center;
}

.error-image {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-image img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 24px;
}

.error-copy-panel {
 grid-column: 2;
}

.error-copy-panel p,
.error-copy-panel h1 {
  width: 100%;
}

.error-subtitle {
  color: var(--light-grey);
  font-size: 20px;
  line-height: 1.8;
  margin: 0;
}

.error-code {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(72px, 14vw, 138px);
  font-weight: 900;
  color: #0099FF;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.error-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(26px, 4vw, 28px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 18px;
}

.error-copy {
  color: var(--light-grey);
  font-size: 17px;
  line-height: 1.9;
  margin: 0 auto 30px;
  max-width: 540px;
}

.error-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  margin-bottom: 28px;
  background-color: #0099FF;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 153, 255, 0.28);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.error-btn::before {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: 8px;
  background: #202229;
  pointer-events: none;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.55s cubic-bezier(0.22, 0.75, 0.24, 1);
}

.error-btn:hover,
.error-btn:focus-visible {
  transform: scale(1.08);
  color: #0099FF;
  box-shadow:
    inset 0 0 0 2px #0099FF,
    0 10px 22px rgba(0, 153, 255, 0.38);
}

.error-btn:hover::before,
.error-btn:focus-visible::before {
  clip-path: polygon(0 0, 120% 0, 105% 100%, 0 100%);
}

.error-btn > span {
  position: relative;
  z-index: 1;
}

.error-suggestion {
  color: var(--light-grey);
  margin-bottom: 18px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.error-links a {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 12px 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-links a:hover,
.error-links a:focus-visible {
  background-color: rgba(0, 153, 255, 0.12);
  color: #0099FF;
}

@media (max-width: 700px) {
  .contact-scene-background {
    background-attachment: scroll;
  }

  .error-grid {
    grid-template-columns: 1fr;
  }
  .error-image {
    grid-column: 1;
  }
  .error-copy-panel {
    grid-column: 1;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header {
    transition: none;
  }

  .nav-link,
  .nav > .nav-link::after,
  .nav-expander,
  .nav-expand-panel,
  .nav-expand-menu .nav-link,
  .carousel-arrow,
  .carousel-arrow-icon,
  .carousel-dot,
  .media-slide,
  .steam-btn,
  .submit-btn,
  .social-icon,
  .footer-link {
    transition: none;
  }

  .site-header.is-nav-expanded .nav-expander {
    transform: rotate(90deg);
  }

  .nav-expand-panel {
    transform: none;
    opacity: 0;
    visibility: hidden;
  }

  .site-header.is-nav-expanded .nav-expand-panel {
    opacity: 1;
    visibility: visible;
  }

  .steam-btn:hover,
  .submit-btn:hover {
    transform: none;
  }

  .carousel-arrow:hover {
    transform: translateY(-50%);
  }

  .carousel-arrow-next:active .carousel-arrow-icon,
  .carousel-arrow-prev:active .carousel-arrow-icon {
    animation: none;
  }
}

/* -- PETALDAWN COMPANY PAGES -- */
.company-site {
  color: var(--white);
  background-color: #111111;
}

.company-site .nav-link[aria-current='page'] {
  opacity: 1;
  text-shadow: 0 0 14px rgba(0, 153, 255, 0.36);
}

.company-hero-stage {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100vh;
}

.company-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 150px 24px 110px;
  background-color: #161616;
  background-image: url('../images/New_homeBG2.png');
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.company-home .company-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  background-attachment: scroll;
}

.company-hero::before,
.company-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.company-hero::before {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 153, 255, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(10, 8, 30, 0.2) 0%, rgba(9, 9, 18, 0.42) 68%, #111111 100%);
}

.company-hero::after {
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #111111);
}

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

.company-home .company-hero-content {
  opacity: var(--company-hero-content-opacity, 1);
  transform: translate3d(0, 0, 0) scale(var(--company-hero-content-scale, 1));
  transform-origin: center center;
  filter: blur(var(--company-hero-content-blur, 0px));
  will-change: transform, filter, opacity;
}

.company-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px) + 100vh - 100svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #c5cfdf;
  font-size: 13px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  opacity: var(--company-scroll-cue-opacity, 1);
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.company-scroll-cue svg {
  display: block;
  animation: company-scroll-arrow 2s ease-in-out 0.8s infinite both;
}

@keyframes company-scroll-arrow {
  0% { opacity: 0; transform: translate3d(0, -6px, 0); }
  22% { opacity: 0.9; }
  65% { opacity: 0; transform: translate3d(0, 10px, 0); }
  100% { opacity: 0; transform: translate3d(0, 10px, 0); }
}

.company-leaf-transition {
  --company-games-fade-height: clamp(80px, 12vh, 140px);
  position: relative;
  height: 250vh;
  height: 250svh;
  pointer-events: none;
}

.company-leaf-transition::before {
  content: '';
  position: fixed;
  z-index: 4;
  inset: 0;
  background-color: #151b31;
  background-image:
    radial-gradient(
      ellipse at 50% 44%,
      rgba(10, 14, 28, 0) 24%,
      rgba(10, 14, 28, 0.14) 58%,
      rgba(8, 12, 24, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(19, 18, 35, 0.34) 0%,
      rgba(16, 20, 34, 0.12) 42%,
      rgba(17, 17, 17, 0.7) 100%
    ),
    url('../images/petalfall-dawn-bg.png');
  background-position: center;
  background-size: 100% 100%, 100% 100%, cover;
  background-repeat: no-repeat;
  opacity: var(--transition-background-opacity, 0);
  will-change: opacity;
  pointer-events: none;
}

.company-leaf-transition-viewport {
  position: fixed;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.company-leaf-transition-image {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.28));
  will-change: transform;
  user-select: none;
}

.company-leaf-transition-image {
  z-index: 3;
  width: 128px;
  max-width: 28vw;
  transform: translate3d(
    calc(-50% + var(--leaf-fall-x, 0px)),
    var(--leaf-fall-y, 0px),
    0
  ) rotate(var(--leaf-rotation, 0deg)) scale(var(--leaf-scale, 1));
  transform-origin: 50% 48%;
  backface-visibility: hidden;
}

.company-leaf-transition.has-petal-started .company-leaf-transition-image {
  opacity: 1;
}

.company-leaf-transition .company-grass-platform {
  position: absolute;
  z-index: 2;
  top: calc(100% - var(--company-games-fade-height) - 108px);
  left: 50%;
  display: block;
  width: min(256px, 80vw);
  height: auto;
  opacity: var(--transition-background-opacity, 0);
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.26));
  user-select: none;
  pointer-events: none;
}

.company-logo-heading {
  line-height: 0;
}

.company-logo {
  display: block;
  width: clamp(260px, 37vw, 500px);
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.4));
}

.company-hero.is-visible .company-logo {
  animation: company-logo-float 5s ease-in-out 0.8s infinite both;
  will-change: transform;
}

@keyframes company-logo-float {
  0%,
  100% {
    transform: translate3d(0, 5px, 0);
  }

  50% {
    transform: translate3d(0, -5px, 0);
  }
}

.company-kicker,
.company-section-label,
.company-card-label {
  color: #0099FF;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.company-kicker,
.company-section-label {
  font-size: clamp(17px, 2.1vw, 26px);
}

.company-kicker {
  margin-top: 26px;
}

.company-intro {
  max-width: 620px;
  margin-top: 18px;
  color: #d2d2da;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}

.company-hero.has-entrance .company-logo-heading,
.company-hero.has-entrance .company-kicker,
.company-hero.has-entrance .company-intro {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.company-hero.has-entrance .company-kicker {
  transition-delay: 0.3s;
}

.company-hero.has-entrance .company-intro {
  transition-delay: 0.62s;
}

.company-hero.has-entrance.is-visible .company-logo-heading,
.company-hero.has-entrance.is-visible .company-kicker,
.company-hero.has-entrance.is-visible .company-intro {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.company-game-card:focus-visible {
  outline: 2px solid #0099FF;
  outline-offset: 4px;
}

.company-games-section {
  --company-games-fade-height: clamp(80px, 12vh, 140px);
  --company-games-surface: #12111a;
  position: relative;
  z-index: 6;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: clamp(90px, 14vh, 170px);
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(420px, 1.2fr);
  align-items: start;
  align-content: center;
  gap: clamp(50px, 7vw, 110px);
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(to bottom, transparent 75%, #111111),
    radial-gradient(ellipse at 76% 48%, rgba(172, 124, 244, var(--petal-game-glow, 0)), transparent 46%),
    radial-gradient(ellipse at 18% 0%, rgba(99, 83, 142, 0.16), transparent 58%),
    radial-gradient(circle at 76% 48%, rgba(78, 18, 218, 0.2), transparent 32%),
    var(--company-games-surface);
}

.company-home > .footer {
  z-index: 6;
}

.company-games-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: calc(100% - 72px);
  left: 0;
  height: calc(var(--company-games-fade-height) + 72px);
  background:
    radial-gradient(
      ellipse 20% 160% at 76.5% 180%,
      rgba(78, 18, 218, 0.22) 0%,
      rgba(78, 18, 218, 0.12) 38%,
      rgba(78, 18, 218, 0) 72%
    ),
    var(--company-games-surface);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 24%,
    rgba(0, 0, 0, 0.88) 60%,
    #000000 calc(100% - 72px),
    #000000 calc(100% - 46px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.28) 24%,
    rgba(0, 0, 0, 0.88) 60%,
    #000000 calc(100% - 72px),
    #000000 calc(100% - 46px),
    transparent 100%
  );
  pointer-events: none;
}

.company-games-section::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: calc(-1 * var(--company-games-fade-height));
  right: 0;
  left: 0;
  height: clamp(320px, 40vw, 720px);
  background: url('../images/Games_clouds.png') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 65%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 65%, transparent);
  pointer-events: none;
}

.company-games-copy,
.company-game-card-wrap {
  position: relative;
  z-index: 2;
}

.company-games-copy h2,
.company-content-card h1 {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.company-games-copy h2 {
  display: inline-block;
  width: max-content;
  padding-right: 0.06em;
  white-space: nowrap;
  background: linear-gradient(
    to bottom,
    #ffffff 0 34%,
    #0099FF 66% 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.company-games-copy > p:last-child {
  max-width: 460px;
  margin-top: 22px;
  color: var(--light-grey);
  font-size: 18px;
  line-height: 1.75;
}

.company-game-card-wrap {
  min-width: 0;
}

.company-games-section.has-entrance .company-games-copy > .company-section-label,
.company-games-section.has-entrance .company-games-copy > h2,
.company-games-section.has-entrance .company-games-copy > p:last-child,
.company-games-section.has-entrance .company-game-card-wrap {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.company-games-section.has-entrance .company-games-copy > h2 {
  transition-delay: 0.24s;
}

.company-games-section.has-entrance .company-games-copy > p:last-child {
  transition-delay: 0.5s;
}

.company-games-section.has-entrance .company-game-card-wrap {
  transform: translate3d(0, 72px, 0);
  transition-delay: 0.82s;
}

.company-games-section.has-entrance.is-visible .company-games-copy > .company-section-label,
.company-games-section.has-entrance.is-visible .company-games-copy > h2,
.company-games-section.has-entrance.is-visible .company-games-copy > p:last-child,
.company-games-section.has-entrance.is-visible .company-game-card-wrap {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.company-game-card {
  position: relative;
  width: 100%;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow: hidden;
  padding: 54px 42px 42px;
  border: 1px solid rgba(159, 128, 224, 0.5);
  border-top-color: rgba(198, 176, 241, 0.65);
  border-bottom-color: rgba(122, 92, 176, 0.38);
  border-radius: 18px;
  background-color: #15151b;
  color: var(--white);
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(177, 144, 239, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.38);
  transform: perspective(1000px)
    translate3d(0, var(--card-pointer-lift, var(--card-lift, 0px)), 0)
    rotateX(var(--card-tilt-x, 0deg))
    rotateY(var(--card-tilt-y, 0deg));
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .company-game-card.is-pointer-tilting {
    transition-duration: 0s, 0.32s, 0.32s;
  }
}

.company-game-card::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(13, 12, 25, 0.28) 0%,
      rgba(13, 12, 25, 0.03) 46%,
      rgba(13, 12, 25, 0.56) 100%
    ),
    url('../images/Grapeventure_capsule_1232x706px.png') center / cover no-repeat;
  transform: scale(1);
  filter: brightness(1.03) saturate(1.02);
  backface-visibility: hidden;
  will-change: transform;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.45s ease;
  pointer-events: none;
}

.company-game-card::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.company-game-card-wrap:hover .company-game-card,
.company-game-card:focus-visible {
  --card-lift: -7px;
  border-color: rgba(143, 176, 247, 0.85);
  border-top-color: #cbdcff;
  box-shadow:
    0 0 0 1px rgba(143, 176, 247, 0.12),
    0 0 36px rgba(120, 88, 205, 0.17),
    0 30px 70px rgba(0, 0, 0, 0.44);
}

.company-game-card-wrap:hover .company-game-card::before,
.company-game-card:focus-visible::before {
  transform: scale(1.045);
  filter: brightness(1.16) saturate(1.07);
}

.company-game-card-wrap:hover .company-game-card::after,
.company-game-card:focus-visible::after {
  transform: translateX(100%);
}

.company-game-title {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 500px);
  height: auto;
  max-height: 190px;
  object-fit: contain;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.company-card-label,
.company-card-link {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.9);
}

.company-card-link {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.company-content-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 24px 90px;
  background:
    linear-gradient(180deg, rgba(14, 13, 30, 0.66), rgba(17, 17, 17, 0.94)),
    url('../images/homeBG.png') center / cover fixed;
}

.company-content-card {
  width: min(900px, 100%);
  padding: clamp(30px, 5vw, 62px);
  border: 2px solid #4E12DA;
  border-radius: 18px;
  background-color: rgba(28, 28, 35, 0.94);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.company-about-card {
  width: min(860px, 100%);
  aspect-ratio: 860 / 832;
  padding: clamp(40px, 5vw, 58px) clamp(34px, 5vw, 52px) clamp(66px, 7vw, 84px);
  border: 0;
  border-radius: 0;
  background-color: #202229;
  background-image: url('../images/personalbox.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  box-shadow: none;
}

.company-prose {
  margin-top: 34px;
  color: #c5c5cd;
  font-size: 17px;
  line-height: 1.85;
}

.company-prose p + p {
  margin-top: 20px;
}

.company-contact-page {
  min-height: 100vh;
  padding-top: 150px;
  background:
    linear-gradient(180deg, rgba(19, 18, 35, 0.6), rgba(22, 22, 22, 0.96)),
    url('../images/homeBG.png') center / cover fixed;
}

.company-contact-page .contact-container {
  padding: clamp(28px, 5vw, 52px);
  border: 2px solid #4E12DA;
  border-radius: 18px;
  background-color: rgba(25, 25, 31, 0.94);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.company-contact-page .contact-title {
  margin-top: 8px;
}

@media (max-width: 820px) {
  .company-games-section {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .company-games-copy {
    text-align: center;
  }

  .company-games-copy > p:last-child {
    margin-right: auto;
    margin-left: auto;
  }

  .company-game-card {
    min-height: 330px;
  }
}

@media (max-width: 600px) {
  .company-hero,
  .company-content-section,
  .company-contact-page {
    background-attachment: scroll;
  }

  .company-hero {
    min-height: 820px;
    padding-top: 130px;
  }

  .company-home .company-hero-stage,
  .company-home .company-hero {
    height: 100svh;
    min-height: 100svh;
  }

  .company-home .company-hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .company-game-card {
    min-height: 280px;
    padding: 38px 24px 32px;
  }

  .company-content-section,
  .company-contact-page {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 420px) {
  .company-games-copy h2 {
    font-size: clamp(30px, 9vw, 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-leaf-transition {
    display: none;
  }

  .company-scroll-cue svg {
    animation: none;
    opacity: 0.85;
    transform: none;
  }

  .company-hero.is-visible .company-logo {
    animation: none;
  }

  .company-hero.has-entrance .company-logo-heading,
  .company-hero.has-entrance .company-kicker,
  .company-hero.has-entrance .company-intro {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .company-game-card,
  .company-game-card::before,
  .company-game-card::after {
    transition: none;
  }

  .company-game-card-wrap:hover .company-game-card,
  .company-game-card:focus-visible,
  .company-game-card-wrap:hover .company-game-card::before,
  .company-game-card:focus-visible::before {
    transform: none;
  }

  .company-game-card::after {
    display: none;
  }

  .company-games-section.has-entrance .company-games-copy > .company-section-label,
  .company-games-section.has-entrance .company-games-copy > h2,
  .company-games-section.has-entrance .company-games-copy > p:last-child,
  .company-games-section.has-entrance .company-game-card-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
