.play-card.is-disabled {
  pointer-events: none;
  cursor: default;
}
/* Page-level spacing that matches the site */
.playground-page .section {
  padding: 60px 0 100px;
}

/* HERO */
.page-hero {
  padding: 70px 0 40px;
}

.page-hero__title {
  font-family: "campaign-serif", serif;
  font-weight: 500;
  font-size: 70px;
  /* font-size: clamp(42px, 4vw, 64px); */
  line-height: 140%;
  margin: 0 0 14px;
  color: white;
  z-index: 1;
}
.playground .about-hero__heading {
  z-index: 1;
}
.hero__title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 66px;
  letter-spacing: 0.005em;
  color: var(--color-text);
  margin: 0 0 20px;
}

.page-hero__lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 72ch;
  margin: 0 0 10px;
}

.page-hero__note {
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
}

/* GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card__media {
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1 / 1;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.work-card__body {
  padding-top: 14px;
}

.work-card__title {
  font-family: "campaign-serif", serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 6px;
}

.work-card__meta {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.75;
  margin: 0;
}

/* Disabled state for now */
.work-card.is-disabled {
  pointer-events: none;
}

.work-card.is-disabled .work-card__media {
  opacity: 0.95;
}

/* Playground hero: single column */
.hero--playground .hero-columns {
  display: block;
}

.hero--playground .hero__description {
  max-width: 70ch;
}
/* .playground .site-header {
  background: transparent;
  backdrop-filter: unset;
}

.playground .site-header {
  background: transparent;
  backdrop-filter: unset;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
} */

/* .playground .site-header.site-header--scrolled {
  background: var(--Colors-Stone-900, #1c1917);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
} */

/* Playground: header is transparent by default */
.playground
  .site-header:not(.site-header--bg-dark):not(.site-header--bg-light) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Playground: when JS toggles background on scroll-up */
.playground .site-header.site-header--bg-dark {
  background: var(--Colors-Stone-900, #1c1917);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.playground .site-header.site-header--bg-light {
  background: var(--Colors-Stone-50, #fafaf9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.playground .logo {
  color: white;
}

.playground .hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 88px;
  position: relative;
  height: auto;
  top: 0px;
  overflow: visible;
  /* background: rgb(0, 0, 0); */
}
.playground .about-hero__text-block {
  display: flex;
  flex-direction: column;
  align-items: center; /* 🔥 все дети по центру */
  text-align: center; /* 🔥 и текст тоже */
}
/* Optional: a slightly softer note */
.playground-hero__note {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.75;
}

.playground .about-hero__caption {
  /* max-width: 500px; */
  text-align: unset;
  color: white;
  margin-top: 10px;
}
.playground .about-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (max-width: 900px) {
  .playground .about-hero__caption {
    max-width: 500px;
    text-align: center;
  }
}
.playground .about-hero__intro {
  margin-bottom: 0;
}
.playground .hero {
  padding-block: 117px 117px;
}
.playground .site-nav a {
  color: white;
}

.playground .site-nav a.active {
  color: var(--Colors-Rose-300, #fda4af);
}
.playground .site-nav a:hover {
  color: var(--Colors-Rose-300, #fda4af);
}
/* .playground .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0px;
  background: url("../assets/images/playground_bg.png") center center / cover
    no-repeat;
} */
/* 1) Make the hero a positioning context */
.playground .hero {
  position: relative;
  isolation: isolate;
  background: #1c1917;
}

/* делаем псевдоэлемент чуть ниже, чем hero */
.playground .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    /* СВЕРХУ: фейд в чистый #1c1917 (он перекроет всё внизу) */
    linear-gradient(180deg, rgba(28, 25, 23, 0) 55%, #1c1917 80%, #1c1917 100%),
    /* ПОД НИМ: лёгкое затемнение картинки */
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("../assets/images/playground_bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.play-section--dark {
  border-top: 0 !important;
  box-shadow: none !important;
}

/* убери ::after полностью */
.playground .hero::after {
  content: none;
}
.playground .hero::before,
.playground .hero::after {
  pointer-events: none;
}

/* Responsive */
@media (max-width: 820px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* 🤚Cards */
/* Dark section wrapper */
.play-section--dark {
  background: #1c1917;
  padding: 50px 0 110px;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .play-section--dark {
    padding: 0px 0 110px;
  }
}
/* Grid */
.play-grid {
  display: grid;

  /* карточка плавно ужимается: 500 → 300 */
  --card: clamp(300px, 38vw, 500px);

  grid-template-columns: repeat(2, var(--card));
  justify-content: center;
  column-gap: 40px;
  row-gap: 40px;
}

@media (max-width: 720px) {
  .play-grid {
    grid-template-columns: min(500px, 100%);
    justify-content: center;
  }
}

/* Card as a link (future-proof) */
.play-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.play-card.is-disabled {
  pointer-events: none;
  cursor: default;
}

/* Media: enforce 1:1 and “500x500 feel” */
.play-card__media {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  aspect-ratio: 1 / 1; /* keeps square */
  /* max-width: 500px;  */
  border: 1px solid var(--Colors-Stone-700, #44403c);
  max-width: none;
}

.play-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Text block below image */
.play-card__body {
  padding-top: 14px;
  max-width: none;
  /* max-width: 500px; */
}

/* Title spec */
.play-card__title {
  font-family: "campaign-serif", serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1; /* 100% */
  letter-spacing: 0.005em; /* 0.5% */
  margin: 0 0 10px;
}

/* Paragraph spec */
.play-card__desc {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.005em; /* 0.5% */
  margin: 0;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 980px) {
  /* .play-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  } */

  /* .play-card__media,
  .play-card__body {
    max-width: 560px; 
  } */
}
