/* Marcus Screensaver landing — layered on style.css + home.css */

body.marcus-screensaver .marcus-container {
  max-width: 1040px;
  width: 100%;
}

body.marcus-screensaver .marcus-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  min-height: min(72vh, 640px);
  padding-top: 0.5rem;
}

body.marcus-screensaver .marcus-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42ch;
}

body.marcus-screensaver .marcus-lede {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: fadeUp 1s ease-out 0.22s both;
}

body.marcus-screensaver .marcus-subtitle {
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: var(--leading-body);
  color: color-mix(in srgb, var(--fg) 72%, var(--accent));
  margin: 0;
}

body.marcus-screensaver .marcus-philosophers {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: var(--leading-body);
  color: color-mix(in srgb, var(--fg) 72%, var(--accent));
}

body.marcus-screensaver .marcus-philosophers li {
  padding-left: 0.15rem;
}

body.marcus-screensaver .marcus-philosophers li + li {
  margin-top: 0.25rem;
}

body.marcus-screensaver .marcus-actions {
  animation: fadeUp 1s ease-out 0.32s both;
}

body.marcus-screensaver .marcus-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--fg);
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--fg) 85%, transparent);
  transition:
    color 0.2s cubic-bezier(0.19, 1, 0.22, 1),
    background 0.2s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.2s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

body.marcus-screensaver .marcus-download:hover {
  background: color-mix(in srgb, var(--fg) 92%, #fff);
}

body.marcus-screensaver .marcus-download:active {
  opacity: 0.88;
  transform: translateY(1px);
}

body.marcus-screensaver .marcus-back {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0 6px;
  width: fit-content;
  line-height: var(--leading-subhead);
  transition:
    color 0.2s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.2s cubic-bezier(0.19, 1, 0.22, 1);
  animation: fadeUp 1s ease-out 0.42s both;
}

body.marcus-screensaver .marcus-back:hover {
  color: color-mix(in srgb, var(--fg) 90%, #fff);
}

body.marcus-screensaver .marcus-back:active {
  opacity: 0.82;
}

body.marcus-screensaver .marcus-back::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--dim);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

body.marcus-screensaver .marcus-back:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

body.marcus-screensaver .marcus-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1s ease-out 0.28s both;
}

body.marcus-screensaver .marcus-img {
  max-width: min(100%, 380px);
  width: 100%;
  height: auto;
  vertical-align: middle;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

@media (max-width: 768px) {
  body.marcus-screensaver .marcus-hero {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 2.5rem;
  }

  body.marcus-screensaver .marcus-visual {
    order: -1;
  }

  body.marcus-screensaver .marcus-copy {
    max-width: none;
  }

  body.marcus-screensaver .marcus-img {
    max-width: min(100%, 280px);
  }
}
