/* A quiet, asymmetric emerald curve joins the cover copy to its illustration. */
.landing-home .landing-hero {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  border: 1px solid #285044;
  box-shadow: 0 12px 30px #173a331a;
  container-type: inline-size;
}

.landing-home .landing-copy {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  padding: clamp(22px, 3cqw, 38px);
  background: linear-gradient(180deg, #0a6955, #08705b);
}

.landing-home .landing-copy h1 {
  font-size: clamp(36px, 5.25cqw, 66px);
  line-height: 1.07;
  max-width: 100%;
  text-wrap: balance;
}

.landing-home .landing-slogan {
  font-size: clamp(16px, 1.7cqw, 21px);
}

.landing-home .landing-concept {
  font-size: clamp(14px, 1.3cqw, 16px);
}

.landing-home .landing-actions {
  gap: 12px;
  max-width: 100%;
}

.landing-home .landing-actions button {
  max-width: 100%;
  gap: 14px;
  font-size: clamp(12px, 1.2cqw, 14px);
  padding: 12px 15px;
}

/* A clean flowing silhouette: no scorched texture, border or extra ornament. */
.landing-home .landing-copy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -66px;
  width: 68px;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(180deg, #0a6955, #08705b);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 600' preserveAspectRatio='none'%3E%3Cpath d='M0 0H48C12 130 78 185 36 300S16 470 50 600H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 600' preserveAspectRatio='none'%3E%3Cpath d='M0 0H48C12 130 78 185 36 300S16 470 50 600H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.landing-home .landing-copy::after { content: none; }

/* A desktop cover occupies one viewport; longer game pages keep natural scrolling.
   Minimum content sizing still permits scrolling with zoom or enlarged text. */
@media (min-width: 931px) {
  .workspace:has(> main [data-landing-home]) {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  .workspace > main:has([data-landing-home]) {
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 16px 28px 10px;
    display: flex;
    animation: none;
    transform: none;
  }
  .workspace main .landing-home {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .workspace .landing-home .landing-hero { flex: 1; min-height: 0; }
  .workspace .landing-home .landing-ways { margin-top: 10px; }
  .workspace .landing-home .landing-ways a { padding: 9px 14px; min-height: 40px; font-size: 12px; }
  .workspace:has([data-landing-home]) > footer { width: 100%; padding: 8px 28px; font-size: 10px; gap: 12px; }
  .workspace:has([data-landing-home]) > .ssp-credit { padding: 0 12px 4px; }
  .workspace:has([data-landing-home]) > .ssp-credit a { min-height: 32px; padding: 3px 8px; }
  .workspace:has([data-landing-home]) > .ssp-credit img { width: 120px; }
}

@media (min-width: 931px) and (max-height: 800px) {
  .landing-home .landing-copy { padding: 20px 22px; }
  .landing-home .landing-copy h1 { font-size: clamp(34px, 4.1cqw, 48px); line-height: 1.04; margin-bottom: 10px; padding-bottom: 3px; }
  .landing-home .landing-eyebrow { font-size: 9px; padding: 3px 7px; margin-bottom: 10px; }
  .landing-home .landing-slogan { font-size: 16px; line-height: 1.3; margin-bottom: 10px; }
  .landing-home .landing-concept { font-size: 13px; line-height: 1.45; margin-bottom: 0; }
  .landing-home .landing-humor { display: none; }
  .landing-home .landing-resume { margin-top: 10px; padding: 6px 8px; font-size: 11px; line-height: 1.4; }
  .landing-home .landing-actions { margin-top: 14px; gap: 10px; }
  .landing-home .landing-actions button { padding: 9px 11px; min-height: 42px; font-size: 12px; gap: 8px; }
  .landing-home .landing-learn { font-size: 11px; line-height: 1.4; margin-top: 10px; }
  .landing-home .landing-meta { font-size: 10px; margin-top: 8px; }
}

/* The illustration sits above the copy on small screens; the curve runs across it. */
@media (max-width: 680px) {
  .landing-home .landing-art {
    height: clamp(230px, 65vw, 330px);
    min-height: 230px;
  }
  .landing-home .landing-copy { padding: 24px; }
  .landing-home .landing-copy h1 {
    font-size: clamp(39px, 10vw, 54px);
    max-width: 9em;
  }
  .landing-home .landing-copy::before {
    top: -42px;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 44px;
    background: #0a6955;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V24C110 48 170 0 300 24S480 46 600 14V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V24C110 48 170 0 300 24S480 46 600 14V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }
}

@media (forced-colors: active), print {
  .landing-home .landing-copy::before,
  .landing-home .landing-copy::after { display: none; }
}
