/* potatomodem.net page layout (components live in /brand/base.css). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

main {
  min-height: 60svh;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s5) var(--s6);
}
.statement {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(var(--pm-fs-4), 7vw, var(--pm-fs-5));
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.hero-photo img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  object-fit: cover;
}
@media (min-width: 720px) {
  .hero {
    padding-block: var(--s6) calc(var(--s6) + var(--s4));
  }
  .hero-photo img {
    width: 200px;
    height: 200px;
  }
}

.section-h {
  margin: 0 0 var(--s3);
  color: var(--text-3);
  font-size: var(--pm-fs-1);
  font-weight: 500;
  letter-spacing: 0;
}
/* Desktop and Mobile sections; on touch phones, Mobile comes first. */
.platforms {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}
@media (hover: none) and (pointer: coarse) {
  .platform--mobile {
    order: -1;
  }
}
.games {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 720px) {
  /* two columns: Desktop | Mobile, each a column of cards */
  .platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s3);
    align-items: start;
  }
}
.pm-card__media {
  display: block;
}
.pm-card__media img {
  transition: transform var(--t) var(--ease-out);
}
.pm-card:hover .pm-card__media img {
  transform: scale(1.02);
}

/* long-form pages */
.prose {
  max-width: 640px;
  padding-block: var(--s4) var(--s5);
}
.prose h1 {
  margin: 0 0 var(--s3);
  font-size: var(--pm-fs-4);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.prose h2 {
  margin: var(--s5) 0 var(--s1);
  font-size: var(--pm-fs-3);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.prose p,
.prose li {
  color: var(--text-2);
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li + li {
  margin-top: var(--s1);
}
.about {
  max-width: none;
}
.about > :not(.about-photo) {
  max-width: 640px;
}
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: var(--s5);
}

.lost {
  padding-block: var(--s6);
}
.lost p {
  color: var(--text-2);
  max-width: 40ch;
}
