/* Homepage only. Keep every rule beneath the page root so shared pages retain their own layout. */
.uxpilot-home {
  --home-canvas: #f7f8fa;
  --home-white: #fff;
  --home-ink: #172033;
  --home-muted: #657186;
  --home-line: #e3e7ed;
  --home-yellow: #ffd400;
  color: var(--home-ink);
}

.uxpilot-home .home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .94fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding: 8px 0 0;
}
.uxpilot-home .home-intro-copy { min-width: 0; }
.uxpilot-home .home-eyebrow {
  margin: 0 0 13px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
}
.uxpilot-home .home-intro h1 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.28;
  word-break: keep-all;
}
.uxpilot-home .home-lead {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}
.uxpilot-home .home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.uxpilot-home .home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.uxpilot-home .home-button:hover { transform: translateY(-1px); }
.uxpilot-home .home-button-primary { border-color: var(--home-yellow); background: var(--home-yellow); color: var(--home-ink); }
.uxpilot-home .home-button-primary:hover { border-color: #edc500; background: #edc500; }
.uxpilot-home .home-button-secondary { background: var(--home-white); color: var(--home-ink); }
.uxpilot-home .home-button-secondary:hover { border-color: #c9d0da; background: #fbfcfd; }
.uxpilot-home .home-catalog-note {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 44px;
  margin-top: 15px;
  color: var(--home-muted);
  font-size: 12px;
  text-decoration: none;
}
.uxpilot-home .home-catalog-note strong { color: var(--home-ink); }
.uxpilot-home .home-note-icon { color: var(--home-ink); font-size: 17px; }
.uxpilot-home .home-note-separator { color: #a4adba; }

.uxpilot-home .home-feature {
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-white);
}
.uxpilot-home .home-feature-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 1px 13px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}
.uxpilot-home .home-feature-topline span:last-child { letter-spacing: 0; }
.uxpilot-home .home-feature-link { display: block; color: inherit; text-decoration: none; }
.uxpilot-home .home-feature-image,
.uxpilot-home .home-item-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5f6f8;
}
.uxpilot-home .home-feature-image { min-height: 250px; border-radius: 8px; }
.uxpilot-home .home-feature-image img {
  display: block;
  width: 100%;
  height: clamp(250px, 28vw, 340px);
  object-fit: contain;
}
.uxpilot-home .home-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: inherit;
  padding: 20px;
  color: #929bac;
  font-size: 13px;
  text-align: center;
}
.uxpilot-home .home-feature-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 2px 1px;
}
.uxpilot-home .home-feature-category,
.uxpilot-home .home-item-category {
  display: block;
  margin-bottom: 4px;
  color: var(--home-muted);
  font-size: 12px;
}
.uxpilot-home .home-feature-caption h2 {
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.uxpilot-home .home-feature-summary { display: block; margin-top: 4px; color: var(--home-muted); font-size: 12px; }
.uxpilot-home .home-feature-arrow {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 50%;
  color: var(--home-ink);
  font-size: 19px;
}
.uxpilot-home .home-feature-link:hover .home-feature-arrow { border-color: var(--home-yellow); background: var(--home-yellow); }

.uxpilot-home .home-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.uxpilot-home .home-entry-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: var(--home-white);
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.uxpilot-home .home-entry-card:hover { transform: translateY(-2px); border-color: #d0d6df; box-shadow: 0 5px 18px #1720330c; }
.uxpilot-home .home-entry-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--home-line);
  border-radius: 9px;
  background: #fafbfc;
  color: var(--home-muted);
  font-size: 19px;
}
.uxpilot-home .home-entry-copy { display: grid; min-width: 0; gap: 4px; }
.uxpilot-home .home-entry-copy strong { font-size: 14px; line-height: 1.4; word-break: keep-all; }
.uxpilot-home .home-entry-copy small { color: var(--home-muted); font-size: 12px; line-height: 1.5; word-break: keep-all; }
.uxpilot-home .home-entry-arrow { color: #8b95a4; font-size: 17px; text-align: right; }

.uxpilot-home .home-recent { margin-top: 45px; }
.uxpilot-home .home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.uxpilot-home .home-section-heading .home-eyebrow { margin-bottom: 5px; }
.uxpilot-home .home-section-heading h2 { margin: 0; font-size: 24px; line-height: 1.35; letter-spacing: -.04em; }
.uxpilot-home .home-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.uxpilot-home .home-section-heading > a:hover { color: var(--home-ink); }
.uxpilot-home .home-recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.uxpilot-home .home-item-card { min-width: 0; overflow: hidden; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-white); }
.uxpilot-home .home-item-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.uxpilot-home .home-item-card:hover { border-color: #ccd3dd; box-shadow: 0 5px 20px #1720330b; }
.uxpilot-home .home-item-image { min-height: 205px; }
.uxpilot-home .home-item-image img { display: block; width: 100%; height: 205px; object-fit: contain; }
.uxpilot-home .home-item-body { display: flex; min-height: 145px; flex-direction: column; align-items: flex-start; padding: 15px 16px 16px; }
.uxpilot-home .home-item-body h3 { display: -webkit-box; width: 100%; margin: 0; overflow: hidden; color: var(--home-ink); font-size: 17px; line-height: 1.45; letter-spacing: -.025em; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.uxpilot-home .home-item-body p { display: -webkit-box; width: 100%; margin: 7px 0 0; overflow: hidden; color: var(--home-muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.uxpilot-home .home-item-meta { margin-top: auto; padding-top: 12px; color: var(--home-muted); font-size: 12px; }
.uxpilot-home .home-empty-state { padding: 30px 22px; border: 1px solid var(--home-line); border-radius: 12px; background: var(--home-white); text-align: center; }
.uxpilot-home .home-empty-state strong { display: block; font-size: 16px; }
.uxpilot-home .home-empty-state p { margin: 7px 0 14px; color: var(--home-muted); font-size: 13px; }
.uxpilot-home .home-empty-state a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 8px; background: var(--home-yellow); color: var(--home-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.uxpilot-home :where(a, button):focus-visible { outline: 3px solid #5274d9; outline-offset: 3px; }

@media (max-width: 900px) {
  .uxpilot-home .home-intro { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 24px; }
  .uxpilot-home .home-intro h1 { font-size: clamp(31px, 4.5vw, 42px); }
  .uxpilot-home .home-feature { padding: 14px; }
  .uxpilot-home .home-feature-image { min-height: 220px; }
  .uxpilot-home .home-feature-image img { height: 240px; }
  .uxpilot-home .home-entry-grid { gap: 10px; }
  .uxpilot-home .home-entry-card { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 9px; padding: 13px; }
  .uxpilot-home .home-entry-icon { width: 36px; height: 36px; }
  .uxpilot-home .home-entry-copy strong { font-size: 13px; }
  .uxpilot-home .home-entry-copy small { font-size: 12px; }
}

@media (max-width: 680px) {
  .uxpilot-home .home-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 1px; }
  .uxpilot-home .home-intro h1 { font-size: clamp(34px, 9vw, 43px); line-height: 1.24; }
  .uxpilot-home .home-eyebrow { margin-bottom: 9px; }
  .uxpilot-home .home-lead { margin-top: 12px; font-size: 14px; }
  .uxpilot-home .desktop-break { display: none; }
  .uxpilot-home .home-actions { gap: 8px; margin-top: 17px; }
  .uxpilot-home .home-button { min-height: 44px; padding: 0 13px; font-size: 13px; }
  .uxpilot-home .home-catalog-note { margin-top: 8px; font-size: 12px; }
  .uxpilot-home .home-feature { padding: 12px; }
  .uxpilot-home .home-feature-topline { margin-bottom: 10px; font-size: 12px; }
  .uxpilot-home .home-feature-image { min-height: 190px; }
  .uxpilot-home .home-feature-image img { height: clamp(190px, 60vw, 270px); }
  .uxpilot-home .home-feature-caption { padding-top: 12px; }
  .uxpilot-home .home-feature-caption h2 { font-size: 18px; }
  .uxpilot-home .home-feature-arrow { flex-basis: 36px; width: 36px; height: 36px; }
  .uxpilot-home .home-entry-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 15px; }
  .uxpilot-home .home-entry-card { grid-template-columns: 38px minmax(0, 1fr) 18px; min-height: 76px; padding: 12px; }
  .uxpilot-home .home-entry-icon { width: 38px; height: 38px; }
  .uxpilot-home .home-entry-copy strong { font-size: 14px; }
  .uxpilot-home .home-entry-copy small { font-size: 12px; }
  .uxpilot-home .home-recent { margin-top: 31px; }
  .uxpilot-home .home-section-heading { align-items: center; margin-bottom: 12px; }
  .uxpilot-home .home-section-heading h2 { font-size: 21px; }
  .uxpilot-home .home-section-heading .home-eyebrow { font-size: 12px; }
  .uxpilot-home .home-section-heading > a { flex: 0 0 auto; font-size: 12px; }
  .uxpilot-home .home-recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .uxpilot-home .home-item-image { min-height: 145px; }
  .uxpilot-home .home-item-image img { height: 145px; }
  .uxpilot-home .home-item-body { min-height: 128px; padding: 11px 11px 12px; }
  .uxpilot-home .home-item-category { font-size: 12px; }
  .uxpilot-home .home-item-body h3 { font-size: 14px; line-height: 1.4; }
  .uxpilot-home .home-item-body p { margin-top: 5px; font-size: 12px; line-height: 1.45; }
  .uxpilot-home .home-item-meta { padding-top: 9px; font-size: 12px; }
}

@media (max-width: 390px) {
  .uxpilot-home .home-intro h1 { font-size: 32px; }
  .uxpilot-home .home-button { padding: 0 10px; font-size: 12px; }
  .uxpilot-home .home-recent-grid { grid-template-columns: minmax(0, 1fr); }
  .uxpilot-home .home-item-image { min-height: 190px; }
  .uxpilot-home .home-item-image img { height: 190px; }
}

/* Preserve the photograph's alpha edge instead of painting an oval behind it. */
.uxpilot-home :is(.home-feature-image, .home-item-image) .item-image-pair {
  box-sizing: border-box;
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(12px, 1.6vw, 22px);
}
.uxpilot-home :is(.home-feature-image, .home-item-image) .item-image-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 3px 5px rgb(23 32 51 / 10%));
}
.uxpilot-home :is(.home-feature, .home-item-card) {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.uxpilot-home :is(.home-feature-image, .home-item-image) img {
  transition: transform .22s ease, filter .22s ease;
}
.uxpilot-home :is(.home-feature, .home-item-card):focus-within {
  border-color: #bcc7d6;
  box-shadow: 0 8px 24px rgb(23 32 51 / 9%);
}
@media (hover: hover) and (pointer: fine) {
  .uxpilot-home :is(.home-feature, .home-item-card):hover {
    transform: translateY(-3px);
    border-color: #ccd3dd;
    box-shadow: 0 10px 26px rgb(23 32 51 / 10%);
  }
  .uxpilot-home :is(.home-feature-link, .home-item-card > a):hover img {
    transform: translateY(-2px) scale(1.015);
    filter: drop-shadow(0 7px 9px rgb(23 32 51 / 16%));
  }
}
@media (prefers-reduced-motion: reduce) {
  .uxpilot-home :is(.home-feature, .home-item-card),
  .uxpilot-home :is(.home-feature-image, .home-item-image) img {
    transition: none;
    transform: none;
  }
  .uxpilot-home :is(.home-feature, .home-item-card):hover,
  .uxpilot-home :is(.home-feature-link, .home-item-card > a):hover img {
    transform: none;
  }
}
