/* Home hero enhancement — lightweight, CSS-only motion */
.home-showcase--enhanced {
  margin-top: clamp(18px, 3vw, 36px);
}

.home-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 330px;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}

.home-hero-panel::before,
.home-hero-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.home-hero-panel::before {
  width: 360px;
  height: 360px;
  inset-inline-end: -190px;
  top: -170px;
  background: radial-gradient(circle, rgba(164, 105, 35, .10), rgba(164, 105, 35, 0) 68%);
}

.home-hero-panel::after {
  width: 420px;
  height: 420px;
  inset-inline-start: -220px;
  bottom: -250px;
  background: radial-gradient(circle, rgba(10, 63, 84, .10), rgba(10, 63, 84, 0) 68%);
}

.home-hero-content {
  min-width: 0;
  animation: homeHeroEnter .48s cubic-bezier(.2,.75,.25,1) both;
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: .86rem;
  font-weight: 700;
  color: #8a541d;
}

.home-hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(138, 84, 29, .10);
}

.home-hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.home-hero-lead {
  margin: 12px 0 6px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 750;
  color: #0a4055;
}

.home-hero-description {
  max-width: 720px;
  margin: 0 0 24px;
  line-height: 1.9;
  color: #56636c;
}

.home-hero-search {
  max-width: 760px;
}

.home-hero-search-label {
  display: block;
  margin-bottom: 8px;
  font-size: .86rem;
  font-weight: 750;
  color: #273943;
}

.home-search-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 6px 7px 6px 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(22, 58, 73, .15);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(21, 47, 58, .07);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-search-shell::after {
  content: "";
  position: absolute;
  inset-inline: 16px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #9d6425, #0a4055, transparent);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .28s ease, opacity .2s ease;
}

.home-search-shell:focus-within {
  border-color: rgba(10, 64, 85, .42);
  box-shadow: 0 12px 32px rgba(21, 47, 58, .12), 0 0 0 3px rgba(10, 64, 85, .06);
  transform: translateY(-1px);
}

.home-search-shell:focus-within::after {
  transform: scaleX(1);
  opacity: 1;
}

.home-search-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #8a541d;
  background: rgba(164, 105, 35, .09);
  transition: transform .18s ease, background .18s ease;
}

.home-search-shell:focus-within .home-search-icon {
  transform: scale(1.06) rotate(-3deg);
  background: rgba(164, 105, 35, .13);
}

.home-search-icon svg {
  width: 19px;
  height: 19px;
}

.home-search-shell input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #182a33;
  font: inherit;
  font-size: .96rem;
}

.home-search-shell input[type="search"]::placeholder {
  color: #8a949a;
  opacity: 1;
}

.home-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding-inline: 18px;
  white-space: nowrap;
  border-radius: 11px;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.home-search-button svg {
  width: 17px;
  height: 17px;
  transition: transform .18s ease;
}

.home-search-button:hover,
.home-search-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 64, 85, .18);
  filter: saturate(1.05);
}

.home-search-button:hover svg,
.home-search-button:focus-visible svg {
  transform: scale(1.10) rotate(-5deg);
}

.home-search-button:active {
  transform: translateY(0) scale(.985);
}

.home-search-scope {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  color: #6c777d;
  font-size: .8rem;
}

.home-search-scope-title {
  font-weight: 700;
  color: #45565f;
}

.home-search-scope > span:not(.home-search-scope-title) {
  padding: 4px 9px;
  border: 1px solid rgba(22, 58, 73, .10);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
}

#maatharah-live-results:not([hidden]) {
  margin-top: 12px;
  animation: homeResultsIn .22s ease-out both;
}

@keyframes homeHeroEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


@keyframes homeResultsIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .home-hero-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

}

@media (max-width: 620px) {
  .home-hero-panel {
    min-height: auto;
    padding: 26px 20px;
  }

  .home-search-shell {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 7px;
  }

  .home-search-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-search-scope {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-content,
  #maatharah-live-results:not([hidden]) {
    animation: none !important;
  }

  .home-search-shell,
  .home-search-icon,
  .home-search-button,
  .home-search-button svg {
    transition: none !important;
  }
}


/* New artwork icons for the platform advantages strip */
.home-trust-icon.home-trust-icon--artwork {
  width: 64px;
  height: 64px;
  min-width: 64px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.home-trust-icon--artwork img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .home-trust-icon.home-trust-icon--artwork,
  .home-trust-icon--artwork img {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }
}
