/**
 * Homepage after-hero - impactful bento UX
 * Inspired by 21st: Feature Bento, Colorful Bento Grid, Feature Service, Integration Logos
 */

/* ------------------------------------------------------------------
   Client logo marquee (ghosted infinite scroll)
   ------------------------------------------------------------------ */

.home-logo-marquee {
  position: relative;
  z-index: 2;
  padding: clamp(1.35rem, 3vw, 2rem) 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(13, 13, 13, 0.06);
  overflow: hidden;
}

.home-logo-marquee__viewport {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-logo-marquee__track {
  display: flex;
  width: max-content;
  animation: home-logo-marquee 42s linear infinite;
  will-change: transform;
}

.home-logo-marquee:hover .home-logo-marquee__track {
  animation-play-state: paused;
}

.home-logo-marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}

.home-logo-marquee__item {
  flex: 0 0 auto;
}

.home-logo-marquee__link,
.home-logo-marquee__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  text-decoration: none;
}

.home-logo-marquee__link img,
.home-logo-marquee__mark img {
  display: block;
  max-height: 2.35rem;
  max-width: 8.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.38;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.home-logo-marquee__link:hover img {
  filter: grayscale(0);
  opacity: 0.85;
}

@keyframes home-logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 1.25rem;
  }

  .home-logo-marquee__list[aria-hidden='true'] {
    display: none;
  }

  .home-logo-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.home-impact {
  --hi-surface: #f3f4f6;
  --hi-ink: var(--onyx, #0d0d0d);
  --hi-muted: rgba(13, 13, 13, 0.62);
  --hi-line: rgba(13, 13, 13, 0.08);
  --hi-orange: var(--energy-orange, #ff4d20);
  padding: clamp(4.5rem, 9vw, 7.75rem) 0;
  background:
    radial-gradient(55% 45% at 0% 0%, rgba(255, 77, 32, 0.07) 0%, transparent 55%),
    #ffffff;
  color: var(--hi-ink);
}

.home-impact--work {
  background: #ffffff;
}

.home-impact--soft {
  background:
    linear-gradient(180deg, #f4f5f7 0%, #ffffff 70%);
}

.home-impact--cta {
  background: var(--hi-ink);
  color: #fff;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
}

.home-impact--portals {
  position: relative;
}

.home-impact__tubes-mask {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #ffffff;
}

.home-impact--portals .home-impact__wrap {
  position: relative;
  z-index: 1;
}

.home-bento__scrim {
  display: none;
}

/* Fallback when tubes are off: solid dark cards */
.home-bento__tile--portal {
  isolation: isolate;
}

.home-impact__wrap {
  max-width: 74rem;
}

.home-impact__intro {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.home-impact__intro--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: none;
}

.home-impact__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hi-orange);
}

.home-impact__headline {
  margin: 0.85rem 0 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(2.15rem, 1.35rem + 2.8vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--hi-ink);
}

.home-impact__lede {
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--hi-muted);
  max-width: 36rem;
}

.home-impact__link {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hi-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 13, 13, 0.28);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-impact__link:hover {
  color: var(--hi-orange);
  border-color: var(--hi-orange);
}

/* ------------------------------------------------------------------
   Bento - Feature Bento / Colorful Bento pattern
   ------------------------------------------------------------------ */

.home-bento {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .home-bento {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto auto;
  }

  .home-bento__tile--hero {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
    min-height: 28rem;
  }

  .home-bento__tile--tall {
    grid-column: 5 / span 2;
    grid-row: 1 / span 2;
  }

  .home-bento__tile--wide {
    grid-column: 1 / span 3;
    grid-row: 3;
  }

  .home-bento__tile--stat {
    grid-column: 4 / span 1;
    grid-row: 3;
  }

  .home-bento__tile--stack {
    grid-column: 5 / span 1;
    grid-row: 3;
  }

  .home-bento__tile--action {
    grid-column: 6 / span 1;
    grid-row: 3;
  }
}

@media (min-width: 720px) and (max-width: 980px) {
  .home-bento__tile--hero {
    grid-column: 1 / span 6;
    grid-row: 1;
    min-height: 20rem;
  }

  .home-bento__tile--tall {
    grid-column: 1 / span 3;
    grid-row: 2;
    min-height: 16rem;
  }

  .home-bento__tile--wide {
    grid-column: 4 / span 3;
    grid-row: 2;
  }

  .home-bento__tile--stat {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .home-bento__tile--stack {
    grid-column: 3 / span 2;
    grid-row: 3;
  }

  .home-bento__tile--action {
    grid-column: 5 / span 2;
    grid-row: 3;
  }
}

.home-bento__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 12rem;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border-radius: 1.35rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--hi-surface);
  border: 1px solid var(--hi-line);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}

a.home-bento__tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(13, 13, 13, 0.12);
  border-color: rgba(13, 13, 13, 0.14);
}

.home-bento__tile--hero {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 77, 32, 0.42) 0%, transparent 55%),
    linear-gradient(155deg, #1a1a1a 0%, var(--hi-ink) 55%, #050505 100%);
  color: #fff;
  border-color: transparent;
  min-height: 22rem;
}

.home-bento__tile--tall {
  background:
    linear-gradient(165deg, #1c1c1f 0%, #111113 100%);
  color: #fff;
  border-color: transparent;
}

.home-bento__tile--wide {
  background:
    linear-gradient(135deg, #222226 0%, #141416 100%);
  color: #fff;
  border-color: transparent;
}

/* Beat global h3/a colour rules - dark tiles must stay readable */
.home-bento__tile--hero,
.home-bento__tile--tall,
.home-bento__tile--wide,
.home-bento__tile--hero h3,
.home-bento__tile--tall h3,
.home-bento__tile--wide h3,
.home-bento__tile--hero .home-bento__title,
.home-bento__tile--tall .home-bento__title,
.home-bento__tile--wide .home-bento__title,
.home-bento__tile--hero .home-bento__cta,
.home-bento__tile--tall .home-bento__cta,
.home-bento__tile--wide .home-bento__cta {
  color: #ffffff !important;
}

.home-bento__tile--hero .home-bento__text,
.home-bento__tile--tall .home-bento__text,
.home-bento__tile--wide .home-bento__text {
  color: rgba(255, 255, 255, 0.82) !important;
}

.home-bento__tile--hero .home-bento__eyebrow,
.home-bento__tile--tall .home-bento__eyebrow,
.home-bento__tile--wide .home-bento__eyebrow {
  color: var(--hi-orange) !important;
}

.home-bento__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hi-orange);
}

.home-bento__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: inherit;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.home-bento__text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--hi-muted);
}

.home-bento__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.home-bento__chips li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-bento__cta {
  position: relative;
  z-index: 1;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: #fff;
}

.home-bento__cta span {
  display: inline-block;
  transition: transform 0.25s ease;
}

a.home-bento__tile:hover .home-bento__cta span {
  transform: translateX(0.35rem);
}

.home-bento__tile--stat {
  justify-content: center;
  background: #fff;
  border-color: rgba(13, 13, 13, 0.1);
}

.home-bento__stat-value {
  margin: 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(2.8rem, 2rem + 3vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--hi-orange);
}

.home-bento__stat-label {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--hi-muted);
}

.home-bento__tile--stack {
  justify-content: center;
  background: #fff;
}

.home-bento__stack-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.45);
}

.home-bento__logos {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-bento__logos li {
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--hi-ink);
}

.home-bento__tile--action {
  justify-content: space-between;
  background: var(--hi-orange);
  color: #fff;
  border-color: transparent;
  min-height: 12rem;
}

.home-bento__tile--action,
.home-bento__tile--action h3,
.home-bento__tile--action .home-bento__action-title,
.home-bento__tile--action .home-bento__action-text,
.home-bento__tile--action .home-bento__action-arrow {
  color: #ffffff !important;
}

.home-bento__action-title {
  margin: 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.home-bento__action-text {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92) !important;
}

.home-bento__action-arrow {
  align-self: flex-end;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.3s ease;
}

.home-bento__tile--action:hover .home-bento__action-arrow {
  transform: translateX(0.4rem);
}

.home-specialty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(13, 13, 13, 0.1);
}

.home-specialty__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.45);
}

.home-specialty__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-specialty__list a {
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--hi-ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 13, 13, 0.22);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-specialty__list a:hover {
  color: var(--hi-orange);
  border-color: var(--hi-orange);
}

/* ------------------------------------------------------------------
   Cinema work
   ------------------------------------------------------------------ */

.home-cinema {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.home-cinema__stage {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  aspect-ratio: 16 / 9;
  background: #111;
  min-height: 18rem;
}

.home-cinema__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-cinema:hover .home-cinema__stage img {
  transform: scale(1.05);
}

.home-cinema__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(5, 5, 5, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.home-cinema__caption {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 34rem;
  color: #fff;
  z-index: 1;
}

.home-cinema__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hi-orange);
}

.home-cinema__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.4rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-cinema__text {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-cinema__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 750;
}

.home-work-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .home-work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--hi-surface);
  border: 1px solid var(--hi-line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 13, 13, 0.1);
}

.home-work-card__media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e5e7eb;
}

.home-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.home-work-card:hover .home-work-card__media img {
  transform: scale(1.06);
}

.home-work-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem 1.25rem;
}

.home-work-card__cat {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.45);
}

.home-work-card__title {
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--hi-ink);
}

/* ------------------------------------------------------------------
   Software catalogue (homepage)
   ------------------------------------------------------------------ */

.home-soft {
  display: grid;
  gap: clamp(1.15rem, 2.5vw, 1.65rem);
}

.home-soft-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-soft-badge--on-media {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  color: #0d0d0d;
}

.home-soft-lead {
  display: grid;
  gap: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #0f0f10;
  border: 1px solid rgba(13, 13, 13, 0.12);
  box-shadow: 0 18px 50px rgba(13, 13, 13, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-soft-lead:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(13, 13, 13, 0.14);
}

@media (min-width: 900px) {
  .home-soft-lead {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 22rem;
  }
}

.home-soft-lead__media {
  display: block;
  position: relative;
  min-height: 14rem;
  background: #16161a;
  overflow: hidden;
}

.home-soft-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-soft-lead:hover .home-soft-lead__media img {
  transform: scale(1.04);
}

.home-soft-lead__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  color: #fff;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 77, 32, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, #17171a 0%, #0d0d0d 100%);
}

.home-soft-lead__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.home-soft-lead__badges .home-soft-badge {
  background: rgba(255, 77, 32, 0.18);
  color: #ffb088;
  border: 1px solid rgba(255, 77, 32, 0.35);
}

.home-soft-lead__eyebrow {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.home-soft-lead__name {
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
}

.home-soft-lead__tagline {
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.home-soft-lead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
  margin-top: 0.65rem;
}

.home-soft-lead__price {
  font-size: 0.95rem;
  font-weight: 750;
  color: #ffb088;
}

.home-soft-lead__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--hi-orange, #ff4d20);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(255, 77, 32, 0.35);
}

.home-soft-lead:hover .home-soft-lead__cta {
  filter: brightness(1.06);
}

.home-soft-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .home-soft-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  }
}

.home-soft-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hi-line, rgba(13, 13, 13, 0.1));
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-soft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 13, 13, 0.1);
  border-color: rgba(255, 77, 32, 0.28);
}

.home-soft-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eaee;
}

.home-soft-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.home-soft-card:hover .home-soft-card__media img {
  transform: scale(1.05);
}

.home-soft-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
}

.home-soft-card__name {
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--hi-ink, #0d0d0d);
}

.home-soft-card__tagline {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--hi-muted, rgba(13, 13, 13, 0.62));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-soft-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.home-soft-card__price {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--hi-orange, #ff4d20);
}

.home-soft-card__price--muted {
  color: rgba(13, 13, 13, 0.45);
}

.home-soft-card__cta {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 32, 0.1);
  color: var(--hi-orange, #ff4d20);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-soft-card:hover .home-soft-card__cta {
  background: var(--hi-orange, #ff4d20);
  color: #fff;
}

/* Legacy tile hooks kept harmless if cached markup remains */
.home-soft-bento {
  display: none;
}

/* ------------------------------------------------------------------
   Close
   ------------------------------------------------------------------ */

.home-close {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.home-close__brand {
  margin: 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
}

.home-close__title {
  margin: 1.35rem 0 0;
  font-family: var(--font-heading, 'Urbanist', sans-serif);
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.home-close__lede {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.home-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.home-close__btn-light,
.home-impact--cta .btn-pill-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: transparent !important;
}

.home-close__btn-light:hover,
.home-impact--cta .btn-pill-outline:hover {
  background: #fff !important;
  color: var(--hi-ink) !important;
  border-color: #fff !important;
}

.home-impact--cms {
  background: #fff;
}
