/* Hallmark · simple meme variant · extends styles.css (same tokens) */

.brand__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: var(--rule-hair) solid var(--color-rule);
  object-fit: cover;
  flex: none;
}
.s-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-ink-soft);
  white-space: nowrap;
}
.s-link:hover {
  color: var(--color-ink);
}
.s-link[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* hero: tighter, shorter */
.hero__text {
  padding-block: var(--space-2xl);
}
.hero__panel .split__proof--img {
  min-height: 520px;
}

/* the joke */
.joke__wrap {
  max-width: 820px;
  margin-bottom: var(--space-lg);
}
.joke__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: var(--space-lg) auto 0;
  max-width: none;
}

/* buy */
.buy {
  max-width: 980px;
}
.facts {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}
.facts li {
  padding: 0.4em 0.9em;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-marble);
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
  white-space: nowrap;
}
.steps--row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.steps--row li {
  padding: var(--space-md);
  padding-top: calc(var(--space-md) + 2.8rem);
  background: var(--color-marble);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
}
.steps--row li::before {
  left: var(--space-md);
  top: var(--space-md);
}

@media (max-width: 960px) {
  .hero__panel .split__proof--img {
    min-height: 0;
  }
  .steps--row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .s-link {
    display: none;
  }
  .hero__text {
    padding-block: var(--space-lg);
  }
}
.hero__panel .art--fill figcaption {
  left: auto;
  background: var(--color-night);
  padding: 0.35em 0.8em;
  border-radius: var(--radius-pill);
}
@media (max-width: 960px) {
  .hero__panel .art--fill figcaption {
    background: transparent;
    border-radius: 0;
  }
}

/* ---------- v3: fun sections ---------- */
.mood {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0.4em 0.9em;
  border: var(--rule-hair) solid var(--color-rule-night);
  border-radius: var(--radius-pill);
  color: var(--color-snow-soft);
  width: fit-content;
  max-width: 100%;
}
.mood b {
  color: var(--color-ice-glow);
  font-weight: 500;
}
.mood__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-ice-glow);
  flex: none;
  animation: mood-pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes mood-pulse {
  50% {
    opacity: 0.25;
  }
}

/* things that upset him */
.upsets__lede {
  margin-bottom: var(--space-lg);
}
.upsets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}
.upset {
  display: flex;
  flex-direction: column;
  background: var(--color-marble);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.upset h3 {
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}
.upset p {
  margin-bottom: var(--space-sm);
}
.upset__meta {
  margin: auto 0 0 !important;
  padding-top: var(--space-xs);
  border-top: var(--rule-hair) solid var(--color-rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-ink-faint);
}
.icicles {
  color: var(--color-ice-deep);
  letter-spacing: 0.15em;
  transform: scaleY(-1);
  display: inline-block;
}
.icicles i {
  font-style: normal;
  opacity: 0.22;
}
.upset--us {
  background: var(--color-night);
  border-color: var(--color-rule-night);
  color: var(--color-snow);
}
.upset--us .upset__meta {
  border-color: var(--color-rule-night);
  color: var(--color-snow-soft);
}
.upset--us .icicles {
  color: var(--color-ice-glow);
}

/* whispers: book quotes fading in and out */
.whispers {
  position: relative;
  overflow: hidden;
  background: var(--color-night);
  color: var(--color-snow);
  padding-block: var(--space-2xl);
  margin-block: var(--space-xl);
}
.whispers__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.whispers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-night);
  opacity: 0.5;
  z-index: 1;
}
.whispers > *:not(.whispers__bg) {
  position: relative;
  z-index: 2;
}
.whispers__head h2 {
  color: var(--color-snow);
  margin-bottom: var(--space-2xs);
}
.whispers__book {
  font-style: normal;
}
.whispers__head p {
  color: var(--color-ice-glow);
  margin: 0;
}
.whispers__stage {
  position: relative;
  height: 470px;
  margin-top: var(--space-md);
}
.whisper {
  position: absolute;
  width: min(34ch, 40%);
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 1.8s var(--ease-in-out),
    transform 1.8s var(--ease-in-out);
}
.whisper.is-on {
  opacity: 1;
  transform: translateY(0);
}
.whisper[data-slot='0'] { left: 0; top: 2%; }
.whisper[data-slot='1'] { left: 54%; top: 0; }
.whisper[data-slot='2'] { left: 26%; top: 30%; }
.whisper[data-slot='3'] { left: 62%; top: 40%; }
.whisper[data-slot='4'] { left: 2%; top: 64%; }
.whisper[data-slot='5'] { left: 44%; top: 74%; }
.whisper__q {
  display: block;
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.3;
  color: var(--color-snow);
  text-shadow: 0 0 18px var(--color-night);
}
.whisper__c {
  display: block;
  margin-top: var(--space-2xs);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-ice-glow);
}
.whispers__foot {
  margin-top: var(--space-md);
  color: var(--color-snow-soft);
  max-width: none;
}
.whispers__foot a {
  color: var(--color-ice-glow);
  white-space: nowrap;
}

/* court + buy splits */
.court__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.court__art .art--portrait {
  width: min(100%, 440px);
}
.buy .split__proof--img {
  min-height: 560px;
}
.buy .art--fill figcaption {
  left: var(--space-md);
  background: var(--color-night);
  color: var(--color-snow);
  padding: 0.5em 0.9em;
  border-radius: var(--radius-md);
  text-align: left;
}

@media (max-width: 960px) {
  .upsets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .buy .split__proof--img {
    min-height: 0;
  }
  .buy .art--fill figcaption {
    background: transparent;
    color: var(--color-ink-faint);
    border-radius: 0;
  }
}
@media (max-width: 640px) {
  .upsets {
    grid-template-columns: minmax(0, 1fr);
  }
  .whispers__stage {
    height: 430px;
  }
  .whisper {
    width: 100%;
  }
  .whisper[data-slot='0'] { left: 0; top: 0; }
  .whisper[data-slot='1'] { left: 0; top: 34%; }
  .whisper[data-slot='2'] { left: 0; top: 68%; }
  .whisper[data-slot='3'],
  .whisper[data-slot='4'],
  .whisper[data-slot='5'] {
    display: none;
  }
  .whisper__q {
    font-size: var(--text-lg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mood__dot {
    animation: none;
  }
}

/* ---------- v4: how-to-buy, responsive ---------- */
.buy2 {
  overflow: hidden;
}
.buy2__banner {
  margin: 0;
  position: relative;
}
.buy2__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: center 55%;
}
.buy2__banner figcaption {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-sm);
  max-width: calc(100% - 2 * var(--space-md));
  width: fit-content;
  background: var(--color-night);
  color: var(--color-snow);
  padding: 0.5em 0.9em;
  border-radius: var(--radius-md);
}
.buy2__body {
  padding: clamp(var(--space-lg), 5vw, var(--space-2xl));
}
.buy2__body .facts {
  margin-bottom: var(--space-lg);
}
.buy2__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin: 0 0 var(--space-lg);
}
.buy2__steps li {
  padding: calc(var(--space-md) + 2.9rem) var(--space-md) var(--space-md);
  background: var(--color-frost);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-md);
}
.buy2__steps li::before {
  left: var(--space-md);
  top: var(--space-md);
}
.buy2__steps b {
  display: block;
  margin-bottom: var(--space-2xs);
}
@media (max-width: 1100px) {
  .buy2__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .buy2__banner img {
    aspect-ratio: 4 / 3;
  }
  .buy2__banner figcaption {
    position: static;
    max-width: none;
    width: auto;
    background: transparent;
    color: var(--color-ink-faint);
    border-radius: 0;
    padding: var(--space-xs) var(--space-md) 0;
  }
  .buy2__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
  }
  .buy2__body {
    padding: var(--space-md);
  }
  .buy2__steps li {
    padding: calc(var(--space-sm) + 2.9rem) var(--space-sm) var(--space-sm);
  }
  .buy2__steps li::before {
    left: var(--space-sm);
    top: var(--space-sm);
  }
}

/* v4.1: footer has a single column (links removed) */
.footer__grid {
  grid-template-columns: minmax(0, 1fr);
}
