.smart-case-search {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 100px);
  margin: 0;
  padding: 84px 7vw;
  background: #1c1c19;
  color: #fff;
}

.smart-case-search-copy {
  align-self: center;
}

.smart-case-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #b8b2a8;
  font: 800 11px/1.2 Arial, sans-serif;
  letter-spacing: .16em;
}

.smart-case-eyebrow span {
  width: 34px;
  height: 2px;
  background: #b98573;
}

.smart-case-search h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.05em;
}

.smart-case-search-copy > p:last-child {
  max-width: 500px;
  margin: 25px 0 0;
  color: #aaa69d;
  font-size: 14px;
  line-height: 1.9;
}

.smart-case-search-panel {
  border-top: 4px solid #b98573;
  padding: 30px;
  background: #272621;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

.smart-case-search-panel label {
  display: block;
  margin-bottom: 10px;
  color: #d8d1ca;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.smart-case-search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #56534c;
  background: #fff;
}

.smart-case-search-field input {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  color: #1c1715;
  background: #fff;
  font-size: 16px;
  outline: none;
}

.smart-case-search-field:focus-within {
  border-color: #b98573;
  box-shadow: 0 0 0 3px rgba(185, 133, 115, .3);
}

.smart-case-search-field button {
  border: 0;
  padding: 0 18px;
  color: #874c40;
  background: #f5f0ea;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.smart-case-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.smart-case-prompts button {
  border: 1px solid #4c4943;
  border-radius: 0;
  padding: 9px 11px;
  color: #cfc8c0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.smart-case-prompts button:hover,
.smart-case-prompts button:focus-visible {
  border-color: #b98573;
  color: #fff;
}

.smart-case-status {
  min-height: 1.5em;
  margin: 20px 0 0;
  color: #aaa69d;
  font-size: 12px;
  line-height: 1.6;
}

.smart-case-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-top: 1px solid #45433e;
  margin-top: 15px;
  padding-top: 15px;
}

.smart-case-route[hidden] {
  display: none;
}

.smart-case-route a {
  border-bottom: 1px solid #b98573;
  padding-bottom: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hub-grid > article[hidden],
.case-grid > article[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .smart-case-search {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 6vw;
  }

  .smart-case-search-copy > p:last-child {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .smart-case-search {
    padding: 52px 20px;
  }

  .smart-case-search-panel {
    padding: 20px;
  }

  .smart-case-search-field {
    grid-template-columns: 1fr;
  }

  .smart-case-search-field button {
    min-height: 42px;
    border-top: 1px solid #ded4cb;
  }

  .smart-case-prompts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-case-prompts button {
    min-height: 44px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smart-case-prompts button {
    transition: none;
  }
}
