/* ---------------------------------------------------------------
   Home
   --------------------------------------------------------------- */
.hero {
  padding-block: var(--space-3xl) var(--space-xl);
  text-align: center;
}

/* "Open to roles" badge: avatar + label */
.hero__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}
.hero__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  border: 3.6px solid #fff;
  overflow: hidden;
  flex-shrink: 0;
  filter: drop-shadow(0 4.8px 4.8px rgba(0,0,0,0.1))
          drop-shadow(0 2.4px 2.4px rgba(0,0,0,0.05));
}
.hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero__status p {
  font-size: 16px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.hero__title {
  max-width: 1006px;
  margin: var(--space-xl) auto 0;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.28;
}
/* On wide screens the headline is two lines: the second starts at "that are". */
@media (min-width: 1100px) {
  .hero__title { max-width: 1150px; font-size: 3rem; }
  .hero__break { display: block; }
}


.hero__lede {
  max-width: 859px;
  margin: var(--space-xl) auto 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.011em;
}
@media (max-width: 760px) {
  .hero__lede { font-size: 17px; }
}

/* --- Featured case studies ------------------------------------- */
.featured {
  padding-bottom: var(--space-4xl);
}
.featured__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  max-width: var(--wrap-wide);
  margin-inline: auto;
}
/* Five cards sit in one row on laptops and wider. Below that they wrap to
   three and two, and to one on a phone. In a narrow row the type is a
   little smaller so the titles do not stack too tall. */
@media (max-width: 1500px) {
  .featured__grid { gap: var(--space-md); }
  .featured__grid .case-card__body { padding: var(--space-md); }
  .featured__grid .case-card__title { font-size: 20px; }
  .featured__grid .case-card__kicker { font-size: 13px; }
}
@media (max-width: 1239px) {
  .featured__grid { grid-template-columns: repeat(3, 1fr); max-width: 1320px; gap: var(--space-lg); }
  .featured__grid .case-card__body { padding: var(--space-lg); }
  .featured__grid .case-card__title { font-size: 24px; }
  .featured__grid .case-card__kicker { font-size: 15px; }
}
@media (max-width: 960px) {
  .featured__grid { grid-template-columns: repeat(2, 1fr); max-width: 1040px; }
}
@media (max-width: 720px) {
  .featured__grid { grid-template-columns: 1fr; max-width: 560px; }
  /* On a phone, lead with ShipRush, then ARO, then the OKRs case study. */
  .case-card--shiprush { order: -3; }
  .case-card--aro { order: -2; }
  .case-card--okrs { order: -1; }
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 3px solid var(--brand-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.case-card:hover,
.case-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 14px 0 -4px rgba(27, 25, 25, 0.18);
}

.case-card__thumb {
  aspect-ratio: 489 / 261;
  overflow: hidden;
  background: var(--wash, #f5f5f5);
}
.case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.case-card:hover .case-card__thumb img { transform: scale(1.04); }

/* The Slingshot thumbnail is a small supplied crop, not a full-bleed
   artwork like the others. Show it inset, with the card's wash around it. */
.case-card--okrs .case-card__thumb {
  display: grid;
  place-items: center;
}
.case-card--okrs .case-card__thumb img {
  width: 62%;
  height: auto;
  border-radius: var(--radius-lg);
}

.case-card__body { padding: var(--space-lg); }
.case-card__kicker {
  font-size: 15px;
  letter-spacing: -0.011em;
  text-transform: uppercase;
}
.case-card__title {
  margin-top: var(--space-xs);
  font-size: 24px;
  line-height: 1.3;
}
.case-card__title a::after {
  /* Stretch the link hit-area over the whole card */
  content: "";
  position: absolute;
  inset: 0;
}
.case-card { position: relative; }
.case-card__desc {
  margin-top: var(--space-sm);
  font-size: 14px;
  line-height: 1.5;
}
