.pr-card,
.promo-card,
.link-preview {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.pr-card h2,
.promo-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.card-eyebrow {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-align: center;
}

.card-signoff {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%) skewX(-16deg);
}

.workout-card,
.adjustment-card,
.macro-card,
.milestone-card {
  aspect-ratio: 4 / 5;
}

.workout-card {
  background: var(--color-blaze);
}

.workout-card .card-eyebrow {
  color: rgba(247, 228, 210, 0.9);
}

.workout-card__center,
.adjustment-card__center,
.milestone-card__center {
  position: absolute;
  z-index: 2;
  top: 47%;
  right: 20px;
  left: 20px;
  text-align: center;
  transform: translateY(-50%);
}

.workout-card h2,
.adjustment-card h2,
.milestone-card h2 {
  font-size: 50px;
  line-height: 0.95;
}

.workout-card h2 {
  color: var(--color-bone);
}

.hybrid-workout-card__center {
  top: 46%;
}

.hybrid-workout-card h2 {
  font-size: 48px;
}

.hybrid-workout-card__blocks {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  margin-top: 23px;
  border-top: 1px solid rgba(247, 228, 210, 0.4);
  border-bottom: 1px solid rgba(247, 228, 210, 0.4);
  text-align: left;
}

.hybrid-workout-card__block {
  min-width: 0;
  padding: 12px 9px 13px;
  color: rgba(247, 228, 210, 0.92);
  font-family: var(--font-mono);
}

.hybrid-workout-card__block + .hybrid-workout-card__block {
  border-left: 1px solid rgba(247, 228, 210, 0.4);
}

.hybrid-workout-card__block span,
.hybrid-workout-card__block strong {
  display: block;
}

.hybrid-workout-card__block span {
  margin-bottom: 7px;
  font-size: 7.5px;
  letter-spacing: 0.14em;
}

.hybrid-workout-card__block strong {
  color: var(--color-bone);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hybrid-workout-card__block p {
  margin-top: 5px;
  font-size: 7.5px;
  letter-spacing: 0.03em;
  line-height: 1.55;
}

.card-prescription {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.workout-card .card-prescription {
  color: rgba(247, 228, 210, 0.9);
}

.recipe-card {
  aspect-ratio: 3 / 4;
}

.adjustment-card,
.macro-card,
.link-preview__logos {
  background: var(--color-sand);
}

.link-preview__logos {
  position: relative;
  overflow: hidden;
  padding: 16px 18px 14px;
}

.logo-stack {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 22px;
  padding: 14px 6px 12px;
}

.logo-stack img {
  width: auto;
  object-fit: contain;
}

.logo-stack img:nth-child(1) {
  align-self: flex-start;
  max-width: 62%;
  height: 26px;
}

.logo-stack img:nth-child(2) {
  align-self: flex-end;
  max-width: 52%;
  height: 34px;
}

.logo-stack img:nth-child(3) {
  align-self: flex-start;
  max-width: 66%;
  height: 22px;
}

.link-preview__caption {
  padding: 9px 14px 11px;
  background: var(--color-composer);
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.adjustment-card .card-eyebrow,
.macro-card .card-eyebrow {
  color: var(--color-ember);
}

.adjustment-card__center {
  top: 47%;
}

.adjustment-card h2 {
  color: var(--color-ember);
  font-size: 52px;
  letter-spacing: -0.025em;
}

.adjustment-card .card-prescription {
  color: rgba(18, 16, 14, 0.7);
}

.macro-card h2 {
  position: absolute;
  z-index: 2;
  top: 52px;
  right: 22px;
  left: 22px;
  color: var(--color-ember);
  font-size: 38px;
  text-align: center;
}

.macro-bars {
  position: absolute;
  z-index: 2;
  top: 170px;
  right: 22px;
  left: 22px;
  display: grid;
  gap: 14px;
}

.macro-row p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  color: rgba(18, 16, 14, 0.6);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.macro-track,
.macro-track span {
  display: block;
  height: 11px;
}

.macro-track {
  background: rgba(18, 16, 14, 0.1);
}

.macro-track span {
  width: var(--progress);
  background: var(--color-ember);
}

.recipe-card {
  background: var(--color-bone);
}

.recipe-card__content {
  position: absolute;
  z-index: 2;
  inset: 24px 22px 18px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.recipe-card__eyebrow,
.recipe-grid h3 {
  color: var(--color-ember);
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
}

.recipe-card__eyebrow {
  font-size: 8.5px;
}

.recipe-card h2 {
  margin-top: 10px;
  color: var(--color-ink);
  font-size: 31px;
}

.nutrition-band {
  display: flex;
  width: 100%;
  gap: 16px;
  margin-top: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(18, 16, 14, 0.18);
  border-bottom: 1px solid rgba(18, 16, 14, 0.18);
}

.nutrition-band div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.nutrition-band strong {
  color: rgba(18, 16, 14, 0.8);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.nutrition-band div:first-child strong {
  color: var(--color-ember);
}

.nutrition-band span {
  margin-top: 3px;
  color: rgba(18, 16, 14, 0.5);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.recipe-grid {
  display: flex;
  width: 100%;
  gap: 14px;
  margin-top: 14px;
  color: rgba(18, 16, 14, 0.82);
  font-family: var(--font-card);
  font-size: 10px;
}

.recipe-grid h3 {
  margin: 0;
  color: rgba(18, 16, 14, 0.5);
  font-size: 7.5px;
  font-weight: 400;
}

.ingredients {
  width: 88px;
  flex: none;
}

.ingredients p {
  line-height: 1.7;
}

.method {
  min-width: 0;
  flex: 1;
}

.method ol {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding: 0;
  list-style: none;
}

.method li {
  display: flex;
  gap: 6px;
  line-height: 1.45;
}

.method li > span {
  flex: none;
  color: var(--color-ember);
  font-family: var(--font-mono);
}

.recipe-card .brand-wedge {
  margin-top: auto;
}

.milestone-card {
  background: var(--color-ink);
}

.milestone-card > img,
.milestone-card__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.milestone-card > img {
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.75) contrast(1.06) brightness(0.72);
}

.milestone-card__scrim {
  background: linear-gradient(to bottom, rgba(18, 16, 14, 0.48) 0%, rgba(18, 16, 14, 0.14) 32%, rgba(18, 16, 14, 0.92) 84%);
}

.milestone-card .card-eyebrow,
.milestone-card h2 {
  color: var(--color-blaze);
}

.milestone-card__center {
  top: 53%;
}

.milestone-card__center p {
  margin-top: 14px;
  color: rgba(247, 228, 210, 0.85);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.promo-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 30px 24px 26px;
  border-radius: 19px;
  background: var(--color-ink);
}

.promo-card__content {
  position: relative;
  z-index: 2;
}

.promo-card h2 {
  margin-top: 20px;
  color: var(--color-bone);
  font-size: 38px;
}

.promo-card__content > p {
  margin-top: 16px;
  color: rgba(247, 228, 210, 0.72);
  font-family: var(--font-card);
  font-size: 14.5px;
  line-height: 1.55;
}

.promo-card--photo > img,
.promo-card__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.promo-card--photo > img {
  object-fit: cover;
}

.promo-card--hero > img {
  object-position: center 48%;
  filter: saturate(0.86) contrast(1.03) brightness(0.82);
}

.promo-card--closing > img {
  filter: saturate(0.88) contrast(1.04) brightness(0.78);
}

.promo-card__scrim--hero {
  background: linear-gradient(to bottom, rgba(18, 16, 14, 0.07) 0%, rgba(18, 16, 14, 0.38) 52%, rgba(18, 16, 14, 0.84) 100%);
}

.promo-card__scrim--closing {
  background: linear-gradient(to bottom, rgba(18, 16, 14, 0.08) 15%, rgba(18, 16, 14, 0.82) 100%);
}

.promo-card--hero h2,
.promo-card--hero .promo-card__content > p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.promo-card--hero .promo-card__content > p {
  color: rgba(247, 228, 210, 0.84);
}

.promo-card--hero .promo-card__content,
.promo-card--closing .promo-card__content {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.promo-card--hero .promo-card__content {
  position: absolute;
  inset: 30px 24px 26px;
  height: auto;
}

.promo-card--hero h2 {
  margin-top: auto;
}

.promo-card--hero .brand-wedge,
.promo-card--closing .brand-wedge {
  align-self: flex-start;
}

.promo-card--closing h2 {
  margin-top: auto;
  font-size: 34px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

@media (min-width: 860px) {
  .promo-card {
    padding: clamp(20px, 6cqw, 30px) clamp(18px, 5cqw, 24px) clamp(20px, 5.5cqw, 26px);
  }

  .promo-card h2 {
    font-size: clamp(30px, 8.5cqw, 38px);
  }

  .promo-card__content > p {
    margin-top: 12px;
    font-size: clamp(11.5px, 3.2cqw, 14.5px);
    line-height: 1.45;
  }

  .promo-card--hero h2 {
    font-size: clamp(27px, 7.5cqw, 34px);
  }

  .promo-card--hero .promo-card__content > p {
    margin-top: 10px;
    font-size: clamp(10px, 2.8cqw, 12.5px);
    line-height: 1.35;
  }

  .promo-card--hero .promo-card__content {
    inset: clamp(20px, 6cqw, 30px) clamp(18px, 5cqw, 24px) clamp(20px, 5.5cqw, 26px);
  }

  .promo-card--closing h2 {
    font-size: clamp(27px, 7.5cqw, 34px);
  }
}

@media (max-width: 359px) {
  .workout-card h2,
  .milestone-card h2 { font-size: 44px; }
  .adjustment-card h2 { font-size: 46px; }
  .recipe-card h2 { font-size: 27px; }
  .nutrition-band { gap: 10px; }
  .recipe-grid { gap: 9px; }
  .ingredients { width: 76px; }
  .promo-card { padding: 24px 20px; }
  .promo-card h2 { font-size: 34px; }
  .promo-card--closing h2 { font-size: 30px; }
  .promo-card__content > p { font-size: 13.5px; }
  .promo-card--hero .promo-card__content { inset: 24px 20px; }
}
