/* TOPCITY v26 — searchable services catalogue. */

.service-finder-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(580px, 42vw, 680px);
  margin: 0 18px;
  color: #f8f5ef;
  background:
    radial-gradient(circle at 74% 28%, rgba(237, 124, 36, .17), transparent 31rem),
    linear-gradient(120deg, #080a09 0%, #111311 58%, #090a09 100%);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(540px, .96fr) minmax(520px, 1.04fr);
}

.service-finder-hero::before {
  content: "FIND";
  position: absolute;
  z-index: -1;
  top: 58px;
  left: 3.8vw;
  color: rgba(255, 255, 255, .025);
  letter-spacing: -.08em;
  font-size: clamp(140px, 17vw, 310px);
  font-weight: 900;
  line-height: .78;
}

.finder-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  padding: clamp(42px, 4vw, 70px) clamp(28px, 3.3vw, 64px);
}

.finder-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  letter-spacing: -.066em;
  text-transform: uppercase;
  text-wrap: balance;
  font-size: clamp(54px, 4.7vw, 86px);
  font-weight: 880;
  line-height: .88;
}

.finder-hero-copy h1 em,
.finder-heading h2 em { color: var(--service-accent); font-style: normal; }

.finder-hero-copy > p:not(.service-kicker) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 16px;
  line-height: 1.58;
}

.service-search {
  position: relative;
  align-items: center;
  width: min(720px, 100%);
  min-height: 66px;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .28);
  display: flex;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-search:focus-within {
  border-color: var(--service-accent);
  box-shadow: 0 24px 72px rgba(0, 0, 0, .34), 0 0 0 3px rgba(237, 124, 36, .16);
  transform: translateY(-2px);
}

.service-search > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.service-search-icon {
  flex: none;
  margin-left: 20px;
  color: #171917;
  display: grid;
  place-items: center;
}

.service-search input {
  min-width: 0;
  height: 64px;
  flex: 1;
  padding: 0 15px;
  border: 0;
  outline: 0;
  color: #111311;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.service-search input::placeholder { color: #777a76; opacity: 1; }
.service-search input::-webkit-search-cancel-button { display: none; }

.service-search kbd {
  flex: none;
  min-width: 30px;
  margin-right: 16px;
  padding: 5px 8px;
  border: 1px solid #d4d4cf;
  border-radius: 5px;
  color: #747670;
  background: #efefeb;
  text-align: center;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.service-search-clear {
  width: 38px;
  height: 38px;
  flex: none;
  margin-right: 13px;
  border: 0;
  border-radius: 50%;
  color: #171917;
  background: #e6e6e1;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.service-suggestions {
  gap: 8px;
  width: min(720px, 100%);
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
}

.service-suggestions button,
.finder-filters button {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .73);
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.service-suggestions button { padding: 9px 13px; }
.service-suggestions button:hover { border-color: var(--service-accent); color: #fff; transform: translateY(-1px); }

.finder-proof {
  grid-template-columns: 1.25fr .95fr .72fr;
  width: min(720px, 100%);
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  display: grid;
}

.finder-proof span {
  grid-template-columns: 25px 1fr;
  gap: 6px;
  min-width: 0;
  padding-right: 13px;
  color: rgba(255, 255, 255, .59);
  letter-spacing: .015em;
  font-size: 10px;
  font-weight: 790;
  line-height: 1.38;
  display: grid;
}

.finder-proof span + span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .13); }
.finder-proof b { color: var(--service-accent); }

.finder-hero-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.finder-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #101211 0%, rgba(16, 18, 17, .1) 34%, transparent 67%),
    linear-gradient(0deg, rgba(8, 10, 9, .84), transparent 42%);
  pointer-events: none;
}

.finder-hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(580px, 42vw, 680px);
  object-fit: cover;
  object-position: 53% center;
  filter: saturate(.82) contrast(1.04) brightness(.9);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.finder-hero-media:hover img { transform: scale(1.025); }

.finder-hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 3vw, 56px);
  bottom: 34px;
  left: clamp(24px, 3vw, 56px);
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  display: grid;
  gap: 7px;
}

.finder-hero-media figcaption span { color: var(--service-accent); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-weight: 850; }
.finder-hero-media figcaption strong { max-width: 430px; color: #fff; font-size: 17px; line-height: 1.35; }

.service-finder {
  margin: 0 18px;
  padding: clamp(70px, 7vw, 126px) clamp(28px, 4vw, 78px);
  background:
    linear-gradient(120deg, rgba(237, 124, 36, .025), transparent 34%),
    var(--service-paper);
}

.finder-heading {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: clamp(32px, 7vw, 130px);
  align-items: end;
  display: grid;
}

.finder-heading .service-kicker { margin-bottom: 23px; color: #6d706b; }

.finder-heading h2 {
  max-width: 980px;
  margin: 0;
  color: var(--service-ink);
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
  font-size: clamp(52px, 5.35vw, 96px);
  font-weight: 880;
  line-height: .9;
}

.finder-heading > p {
  max-width: 580px;
  margin: 0 0 6px;
  color: #5e615c;
  font-size: 16px;
  line-height: 1.62;
}

.finder-toolbar {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 72px);
  padding: 18px 0;
  border-top: 1px solid var(--service-line);
  border-bottom: 1px solid var(--service-line);
  display: flex;
}

.finder-filters { gap: 8px; display: flex; flex-wrap: wrap; }

.finder-filters button {
  padding: 10px 15px;
  border-color: rgba(14, 16, 14, .18);
  color: #454843;
  background: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.finder-filters button:hover,
.finder-filters button.is-active {
  border-color: var(--service-accent);
  color: #fff;
  background: var(--service-accent);
}

.finder-count { flex: none; margin: 0; color: #70736e; font-size: 13px; font-weight: 700; }

.finder-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  display: grid;
}

.finder-card {
  position: relative;
  min-width: 0;
  min-height: 350px;
  padding: clamp(24px, 2.2vw, 38px);
  border: 1px solid rgba(14, 16, 14, .15);
  border-radius: 12px;
  color: var(--service-ink);
  background: rgba(255, 255, 255, .52);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.finder-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: var(--service-accent);
  transition: width .3s ease;
}

.finder-card:hover { z-index: 2; border-color: rgba(237, 124, 36, .58); box-shadow: 0 24px 60px rgba(13, 16, 14, .09); transform: translateY(-4px); }
.finder-card:hover::after { width: 100%; }
.finder-card[hidden] { display: none !important; }

.finder-card-accent {
  border-color: rgba(237, 124, 36, .42);
  background: linear-gradient(145deg, rgba(237, 124, 36, .13), rgba(255, 255, 255, .56));
}

.finder-card-dark { color: #f7f4ee; border-color: #1a1c1a; background: #101210; }
.finder-card-dark p { color: rgba(255, 255, 255, .61) !important; }
.finder-card-dark .finder-card-tags span { border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .67); }
.finder-card-dark .finder-card-actions { border-color: rgba(255, 255, 255, .14); }
.finder-card-dark .finder-card-actions a { color: #fff; }

.finder-card-top { align-items: center; justify-content: space-between; gap: 16px; display: flex; }
.finder-card-top span { color: var(--service-accent); font-size: 13px; font-weight: 900; }
.finder-card-top small { color: #777a75; letter-spacing: .12em; text-transform: uppercase; font-size: 10px; font-weight: 850; }
.finder-card-dark .finder-card-top small { color: rgba(255, 255, 255, .47); }

.finder-card h3 {
  max-width: 460px;
  margin: 40px 0 14px;
  letter-spacing: -.04em;
  text-wrap: balance;
  font-size: clamp(25px, 2vw, 36px);
  font-weight: 760;
  line-height: 1.02;
}

.finder-card > p { max-width: 490px; margin: 0; color: #5f625d; font-size: 15px; line-height: 1.52; }

.finder-card-tags { gap: 6px; margin-top: 22px; display: flex; flex-wrap: wrap; }
.finder-card-tags span { padding: 7px 9px; border: 1px solid rgba(15, 17, 15, .15); border-radius: 999px; color: #666964; font-size: 11px; font-weight: 700; }

.finder-card-actions {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 23px;
  border-top: 1px solid rgba(14, 16, 14, .13);
}

.finder-card-actions a,
.finder-card-actions button {
  border: 0;
  color: #151715;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.finder-card-actions a:hover { color: var(--service-accent); }
.finder-card-actions button { color: var(--service-accent); text-align: right; }
.finder-card-actions button:hover { text-decoration: underline; text-underline-offset: 4px; }

.finder-empty {
  margin-top: 22px;
  padding: clamp(34px, 4vw, 64px);
  border: 1px solid rgba(237, 124, 36, .42);
  border-radius: 12px;
  background: #121412;
  color: #fff;
  display: grid;
  justify-items: start;
  gap: 14px;
}

.finder-empty[hidden] { display: none !important; }
.finder-empty > span { color: var(--service-accent); letter-spacing: .13em; text-transform: uppercase; font-size: 11px; font-weight: 850; }
.finder-empty > strong { max-width: 850px; letter-spacing: -.035em; font-size: clamp(27px, 3vw, 48px); line-height: 1.05; }
.finder-empty .button { margin-top: 10px; }

.finder-more { justify-content: center; margin-top: 28px; display: flex; }
.finder-more[hidden] { display: none !important; }
.finder-more button {
  min-width: 270px;
  padding: 15px 20px;
  border: 1px solid rgba(14, 16, 14, .2);
  border-radius: 999px;
  color: #141614;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}
.finder-more button span { margin-left: 15px; color: var(--service-accent); }
.finder-more button:hover { border-color: var(--service-accent); }

.service-showcase {
  margin: 0 18px;
  padding: clamp(72px, 7vw, 128px) clamp(28px, 4vw, 78px);
  color: #f8f5ef;
  background:
    radial-gradient(circle at 82% 14%, rgba(237, 124, 36, .15), transparent 27rem),
    #0c0e0d;
}

.service-showcase .finder-heading h2 { color: #f8f5ef; }
.service-showcase .finder-heading > p { color: rgba(255, 255, 255, .6); }
.service-showcase .finder-heading .service-kicker { color: rgba(255, 255, 255, .5); }

.showcase-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr);
  gap: 14px;
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
}

.showcase-card {
  position: relative;
  min-height: 400px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: #141614;
  overflow: hidden;
}

.showcase-card-wide { grid-row: span 2; min-height: 814px; }
.showcase-card figure { position: absolute; inset: 0; margin: 0; }
.showcase-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 10, 9, .96) 0%, rgba(8, 10, 9, .58) 34%, transparent 72%); }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.showcase-card-wide img { object-position: 52% center; }
.showcase-card:hover img { transform: scale(1.035); }

.showcase-card > div {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 3vw, 46px);
  bottom: clamp(22px, 3vw, 46px);
  left: clamp(22px, 3vw, 46px);
}

.showcase-card > div > span { color: var(--service-accent); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; font-weight: 850; }
.showcase-card h3 { max-width: 680px; margin: 11px 0 10px; letter-spacing: -.045em; text-wrap: balance; font-size: clamp(28px, 2.7vw, 52px); line-height: 1; }
.showcase-card:not(.showcase-card-wide) h3 { font-size: clamp(25px, 1.9vw, 36px); }
.showcase-card p { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .65); font-size: 14px; line-height: 1.5; }
.showcase-card button { margin-top: 19px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; font: inherit; font-size: 12px; font-weight: 850; }
.showcase-card button:hover { color: var(--service-accent); }

@media (max-width: 1280px) {
  .service-finder-hero { grid-template-columns: minmax(470px, 1fr) minmax(430px, .9fr); }
  .finder-hero-copy h1 { font-size: clamp(52px, 5.2vw, 72px); }
  .finder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .showcase-card-wide { grid-column: 1 / -1; grid-row: auto; min-height: 620px; }
}

@media (max-width: 1020px) {
  .service-finder-hero { min-height: 0; grid-template-columns: 1fr; }
  .finder-hero-copy { padding: 64px clamp(24px, 6vw, 58px) 48px; }
  .finder-hero-copy h1 { max-width: 840px; font-size: clamp(52px, 8vw, 78px); }
  .finder-hero-media { min-height: 480px; }
  .finder-hero-media img { min-height: 480px; }
  .finder-hero-media::after { background: linear-gradient(0deg, rgba(8, 10, 9, .86), transparent 56%); }
  .finder-heading { grid-template-columns: 1fr; gap: 24px; }
  .finder-heading > p { max-width: 720px; }
  .finder-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .service-finder-hero,
  .service-finder,
  .service-showcase { margin-right: 0; margin-left: 0; }

  .finder-hero-copy { padding: 48px 18px 36px; }
  .finder-hero-copy .service-kicker { margin-bottom: 20px; }
  .finder-hero-copy h1 { font-size: clamp(43px, 13.2vw, 64px); line-height: .9; }
  .finder-hero-copy > p:not(.service-kicker) { margin-top: 20px; font-size: 16px; }
  .service-search { min-height: 60px; margin-top: 25px; }
  .service-search input { height: 58px; padding-right: 8px; font-size: 15px; }
  .service-search-icon { margin-left: 15px; }
  .service-search kbd { display: none; }
  .service-suggestions { flex-wrap: nowrap; padding-bottom: 5px; overflow-x: auto; scrollbar-width: none; }
  .service-suggestions::-webkit-scrollbar { display: none; }
  .service-suggestions button { flex: none; }
  .finder-proof { grid-template-columns: 1fr; }
  .finder-proof span { min-height: 50px; align-items: start; padding: 12px 0; font-size: 11px; }
  .finder-proof span + span { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); border-left: 0; }
  .finder-hero-media,
  .finder-hero-media img { min-height: 350px; }
  .finder-hero-media figcaption { right: 18px; bottom: 20px; left: 18px; }

  .service-finder,
  .service-showcase { padding: 56px 18px; }
  .finder-heading h2 { font-size: clamp(42px, 12vw, 58px); line-height: .91; }
  .finder-heading > p { font-size: 16px; }
  .finder-toolbar { margin-top: 34px; }
  .finder-filters { width: 100%; flex-wrap: nowrap; padding-bottom: 5px; overflow-x: auto; scrollbar-width: none; }
  .finder-filters::-webkit-scrollbar { display: none; }
  .finder-filters button { flex: none; }
  .finder-count { white-space: normal; }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-card { min-height: 330px; padding: 25px 22px; }
  .finder-card h3 { margin-top: 34px; font-size: clamp(28px, 8vw, 36px); }
  .finder-card > p { font-size: 15px; }

  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card,
  .showcase-card-wide { grid-column: auto; min-height: 470px; }
  .showcase-card h3,
  .showcase-card:not(.showcase-card-wide) h3 { font-size: clamp(28px, 8vw, 38px); }
  .showcase-card-wide img { object-position: 54% center; }
}

@media (max-width: 390px) {
  .finder-hero-copy h1 { font-size: 42px; }
  .finder-card-actions { align-items: flex-start; flex-direction: column; }
  .showcase-card,
  .showcase-card-wide { min-height: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  .finder-hero-media img,
  .showcase-card img,
  .finder-card,
  .service-search,
  .service-suggestions button { transition: none; }
}
