/* A code component's Shadow DOM doesn't inherit the prototype's global box-sizing reset. */
.EFyILbVOSRCnnGiExqTh,
.EFyILbVOSRCnnGiExqTh *,
.EFyILbVOSRCnnGiExqTh *::before,
.EFyILbVOSRCnnGiExqTh *::after {
  box-sizing: border-box;
}

/* A card: a rounded panel, its content on the lower left, eyebrow tag at the top left. */
.EFyILbVOSRCnnGiExqTh {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: clip;
  border-radius: 32px;
  background: var(--background-inverse, #171717);
  color: var(--text-inverse, #ffffff);
  text-decoration: none;
  font-family: var(--type-family-base, 'Raleway', system-ui, sans-serif);
}

/* Grow in (growIn): from 86% to full size about its top middle (--grow, 0–1, from useGrowIn), as HomeTransitions' GrowRow does for a row. */
.EFyILbVOSRCnnGiExqTh[data-grow] {
  --grow: 1;
  transform: scale(calc(0.86 + 0.14 * var(--grow)));
  transform-origin: 50% 0;
}

/* A GPU layer while it grows (useGrowIn sets data-growing), so the scale doesn't redraw it each frame. */
.EFyILbVOSRCnnGiExqTh[data-grow][data-growing='true'] {
  will-change: transform;
}

.EFyILbVOSRCnnGiExqTh:focus-visible {
  outline: 2px solid var(--action-primary-default, #0073e6);
  outline-offset: 4px;
}

.jHKm5KBPMotllBBUxyHg {
  aspect-ratio: 1632 / 570;
}

.l4grrBb8xfC8WGEe1Qei {
  aspect-ratio: 864 / 535;
}

/* Background photo, with a dark gradient for the text. */
.sFBgGsqVQf4LpA8G1TWD {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.EFyILbVOSRCnnGiExqTh::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/*
 * How dark the gradients are: every stop's opacity is scaled by --case-card-overlay (1 = the original Figma
 * gradients), which the card sets on itself from its Overlay strength prop.
 */
.jHKm5KBPMotllBBUxyHg::after {
  background: linear-gradient(186deg, rgb(0 0 0 / 0) 25.7%, rgb(16 16 16 / var(--case-card-overlay, 1)) 93.7%);
}

/*
 * Half cards: one gradient for all, darker than the feature's. A wash rising
 * from the bottom, and a second darkening from the lower left (where the logo
 * and title sit) fading out by the upper right.
 */
.l4grrBb8xfC8WGEe1Qei::after {
  background:
    linear-gradient(
      to top right,
      rgb(0 0 0 / calc(0.6 * var(--case-card-overlay, 1))) 0%,
      rgb(0 0 0 / calc(0.25 * var(--case-card-overlay, 1))) 40%,
      rgb(0 0 0 / 0) 70%
    ),
    linear-gradient(185deg, rgb(0 0 0 / calc(0.12 * var(--case-card-overlay, 1))) 35%, rgb(0 0 0 / calc(0.9 * var(--case-card-overlay, 1))) 92%);
}

.EFyILbVOSRCnnGiExqTh:hover .sFBgGsqVQf4LpA8G1TWD {
  scale: 1.03;
}

/* …and the title grows a little, from its bottom left corner (so it stays put by the logo and the edge). */
.bmJtRnhA2SrPZtjIaBoQ {
  margin: 0;
  transform-origin: 0 100%;
  transition: scale 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.EFyILbVOSRCnnGiExqTh:is(:hover, :focus-visible) .bmJtRnhA2SrPZtjIaBoQ {
  scale: 1.04;
}

/* Eyebrow tag (Raleway SemiBold, uppercase, on white). */
.jzGfjUW6Wt086WRJ1TKI {
  position: absolute;
  top: max(24px, 2.78vw);
  left: max(24px, 2.78vw);
  padding: 6px 11px;
  background: #fff;
  color: var(--text-primary, #171717);
  font-size: var(--type-eyebrow-size, 16px);
  font-weight: var(--type-eyebrow-weight, 600);
  line-height: var(--type-eyebrow-lh, 22px);
  letter-spacing: var(--type-eyebrow-ls, 5.4px);
  text-transform: uppercase;
  white-space: nowrap;
}

.GoPfmHXKr5ugsWYiGzJA {
  position: absolute;
  z-index: 1;
  right: max(24px, 2.78vw);
  bottom: max(18px, calc(3.1vw - 10px)); /* 10px less under the text (user ruling 2026-10-27) */
  left: max(24px, 2.78vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Larger screens: the text spans 75% of the card (user ruling 2026-10-27, amending the full width of the same day); from 900px down it runs the card's width to the right gutter. Square cards, three to a row, keep the full width. */
@media (min-width: 901px) {
  .EFyILbVOSRCnnGiExqTh:not(.TnX891Ef5NAWhsLh6uCJ) .GoPfmHXKr5ugsWYiGzJA {
    right: 25%;
  }
}

/*
 * square: three to a row on the service page's Proof in production
 * (prototype ServiceDetail .caseRow): 1:1 above 1200px, the text the card's
 * full width and nearer the bottom (the prototype's wideText). From 1200px
 * down the card keeps its own shape; the page stacks the cards there.
 */
.TnX891Ef5NAWhsLh6uCJ {
  aspect-ratio: 1;
}

.TnX891Ef5NAWhsLh6uCJ .GoPfmHXKr5ugsWYiGzJA {
  bottom: max(14px, calc(2.78vw - 10px));
}

/* compact (Promo Card's Third, user 2026-10-28): the eyebrow and the text closer to the left edge, the text closer to the bottom. */
.nvj4sz6CMAcIIjGfOxgk .jzGfjUW6Wt086WRJ1TKI,
.nvj4sz6CMAcIIjGfOxgk .GoPfmHXKr5ugsWYiGzJA {
  left: max(16px, 1.67vw);
}

.nvj4sz6CMAcIIjGfOxgk .GoPfmHXKr5ugsWYiGzJA {
  bottom: max(12px, 1.39vw);
}

/* Three to a row from 1201px: the title a size down, Heading XS, at the half cards' weight (the prototype's wideText rule). */
@media (min-width: 1201px) {
  .l4grrBb8xfC8WGEe1Qei.TnX891Ef5NAWhsLh6uCJ .bmJtRnhA2SrPZtjIaBoQ {
    font-size: var(--type-heading-xs-size, 22px);
    line-height: var(--type-heading-xs-lh, 28px);
    letter-spacing: var(--type-heading-xs-ls, 0);
  }
}

@media (max-width: 1200px) {
  .TnX891Ef5NAWhsLh6uCJ {
    aspect-ratio: 864 / 535;
  }
}

/* The logo: its full-size width (--logo-w), scaling with the window, no smaller than --logo-min. */
.RBIkBK1tALpTCMpL5X6A {
  width: max(calc(var(--logo-min) * 1px), calc(var(--logo-w) / 1728 * 100vw));
  height: auto;
}


/* Feature: the title Raleway Light, twice H5 size; its <strong> part Medium. Its width is the text block's (75% of the card on larger screens; it was capped at 20em less 80px, and the half cards' text at 61%). */
.jHKm5KBPMotllBBUxyHg .bmJtRnhA2SrPZtjIaBoQ {
  font-size: var(--type-heading-xl-size, 48px);
  font-weight: var(--type-heading-xl-weight, 300);
  line-height: var(--type-heading-xl-lh, 54px);
  letter-spacing: var(--type-heading-xl-ls, -1px);
}

.jHKm5KBPMotllBBUxyHg .bmJtRnhA2SrPZtjIaBoQ strong {
  font-weight: 500;
}

/* Half cards: the title 20% over H6, Raleway Medium. */
.l4grrBb8xfC8WGEe1Qei .bmJtRnhA2SrPZtjIaBoQ {
  font-size: var(--type-heading-s-size, 28px);
  font-weight: var(--type-heading-s-weight, 500);
  line-height: var(--type-heading-s-lh, 34px);
  letter-spacing: var(--type-heading-s-ls, 0);
}

/* The byline: Light with the name Medium. */
.d5ISN16HY4TWYBZptF7o {
  font-size: var(--type-default-size, 16px);
  font-weight: var(--type-default-weight, 400);
  line-height: var(--type-default-lh, 24px);
  letter-spacing: var(--type-default-ls, 0);
}

.d5ISN16HY4TWYBZptF7o strong {
  font-weight: 600;
}

@media (max-width: 900px) {
  .jHKm5KBPMotllBBUxyHg {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .EFyILbVOSRCnnGiExqTh {
    border-radius: 24px;
  }

  .jHKm5KBPMotllBBUxyHg,
  .l4grrBb8xfC8WGEe1Qei {
    aspect-ratio: 3 / 4;
  }

  /* Phones: more room under the text (18px read as cramped against the card's foot). */
  .GoPfmHXKr5ugsWYiGzJA,
  .TnX891Ef5NAWhsLh6uCJ .GoPfmHXKr5ugsWYiGzJA,
  .nvj4sz6CMAcIIjGfOxgk .GoPfmHXKr5ugsWYiGzJA {
    bottom: 32px;
  }

  /* Phones: scaling the logo with the window from 1728 left every logo at its minimum (250 is about 56px at 390), so here it is half its full-size width instead (250 → 125px), still never under the minimum. */
  .RBIkBK1tALpTCMpL5X6A {
    width: max(calc(var(--logo-min) * 1px), calc(var(--logo-w) * 0.5px));
  }

  /* Phones: the half card is tall and its text fills the lower half, so a wash straight up from the foot as well (a photo anchored to one side can put a light shirt or background behind the text). */
  .l4grrBb8xfC8WGEe1Qei::after {
    background:
      linear-gradient(to top, rgb(0 0 0 / calc(0.45 * var(--case-card-overlay, 1))) 0%, rgb(0 0 0 / calc(0.3 * var(--case-card-overlay, 1))) 35%, rgb(0 0 0 / 0) 60%),
      linear-gradient(
        to top right,
        rgb(0 0 0 / calc(0.6 * var(--case-card-overlay, 1))) 0%,
        rgb(0 0 0 / calc(0.25 * var(--case-card-overlay, 1))) 40%,
        rgb(0 0 0 / 0) 70%
      ),
      linear-gradient(185deg, rgb(0 0 0 / calc(0.12 * var(--case-card-overlay, 1))) 35%, rgb(0 0 0 / calc(0.9 * var(--case-card-overlay, 1))) 92%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sFBgGsqVQf4LpA8G1TWD,
  .bmJtRnhA2SrPZtjIaBoQ {
    transition: none;
  }
}

