:root {
  --ink: #171713;
  --muted: #68685f;
  --paper: #eeeade;
  --card: #f8f5ec;
  --rule: #c9c4b5;
  --acid: #d8ff42;
  --blue: #3159e6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; }
button, input { font: inherit; }
main { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }

.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 86px; border-bottom: 1px solid var(--ink); }
.wordmark { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.wordmark > span:last-child { display: grid; gap: 2px; }
.wordmark strong { font-size: 22px; letter-spacing: -.04em; }
.wordmark small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.mark { position: relative; width: 41px; height: 41px; border: 2px solid var(--ink); border-radius: 50%; background: var(--acid); }
.mark::before, .mark::after, .mark i { content: ""; position: absolute; inset: 8px; border: 1px solid var(--ink); border-radius: 50%; }
.mark::after { inset: 15px; background: var(--ink); }
.mark i { inset: auto -7px -5px auto; width: 15px; height: 2px; border: 0; border-radius: 0; background: var(--ink); transform: rotate(45deg); transform-origin: left center; }
.about-link { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }

.hero { padding: 76px 0 48px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 70px; align-items: end; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { grid-column: 1; margin: 0; font: 76px/.88 var(--serif); letter-spacing: -.065em; }
.intro { grid-column: 2; margin: 0 0 5px; color: #4d4d46; font: 18px/1.52 var(--serif); }

#search-form { margin-top: 46px; }
.search-box { display: grid; grid-template-columns: 1fr auto; border: 2px solid var(--ink); background: var(--card); box-shadow: 8px 8px 0 var(--ink); }
.search-box:focus-within { outline: 4px solid rgba(49, 89, 230, .24); }
.search-box input { min-width: 0; padding: 21px 22px; border: 0; outline: 0; color: var(--ink); background: transparent; font: 23px/1.2 var(--serif); }
.search-box input::placeholder { color: #aaa69a; }
.search-box button { display: flex; align-items: center; gap: 34px; margin: 6px; padding: 0 19px 0 25px; border: 0; color: white; background: var(--ink); cursor: pointer; font-size: 13px; font-weight: 800; }
.search-box button b { font-size: 22px; font-weight: 400; }
.search-box button:hover { background: var(--blue); }
.search-box button:disabled { opacity: .65; cursor: wait; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 11px; }
.examples span { margin-right: 3px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.examples button { padding: 7px 11px; border: 1px solid var(--rule); border-radius: 99px; color: var(--muted); background: transparent; cursor: pointer; }
.examples button:hover { border-color: var(--ink); color: var(--ink); background: var(--acid); }

.proof { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 1px; border: 1px solid var(--ink); background: var(--ink); }
.proof-item { min-width: 0; padding: 16px 17px; background: var(--card); }
.proof-item.signal { background: var(--acid); }
.proof-item > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.proof-item strong { display: block; overflow: hidden; font: 15px/1.15 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #2b873e; box-shadow: 0 0 0 4px rgba(43, 135, 62, .16); }

.results-section { padding: 74px 0 34px; }
.results-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; padding-bottom: 17px; border-bottom: 1px solid var(--ink); }
.results-heading .eyebrow { margin-bottom: 9px; }
.results-heading h2 { margin: 0; font: 35px/1.05 var(--serif); letter-spacing: -.035em; }
.results-heading > span { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
#results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; margin: 0; padding: 0; list-style: none; }
.result { min-width: 0; }
.image-link { position: relative; display: block; overflow: hidden; min-height: 170px; border: 1px solid #b7b2a5; background: #d9d4c8; }
.image-link::after { content: attr(data-rank); position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; background: var(--acid); font: italic 13px/1 var(--serif); }
.image-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.image-link:hover img { transform: scale(1.025); }
.result h3 { margin: 12px 0 6px; font: 18px/1.2 var(--serif); }
.result h3 a { text-decoration: none; }
.result h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.description { display: -webkit-box; overflow: hidden; margin: 0 0 8px; color: #585850; font: 13px/1.45 var(--serif); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.meta { display: flex; flex-wrap: wrap; gap: 5px; overflow-wrap: anywhere; color: var(--muted); font-size: 9px; line-height: 1.4; }
.meta a { text-underline-offset: 2px; }

.empty { padding: 90px 0; text-align: center; }
.empty > span { font-size: 58px; }
.empty h2 { margin: 18px 0 8px; font: 31px/1 var(--serif); }
.empty p { color: var(--muted); }
footer { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 35px; margin-top: 42px; padding: 28px 0 45px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 10px; line-height: 1.55; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1040px) {
  .proof { grid-template-columns: repeat(4, 1fr); }
  #results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  main { width: min(100% - 24px, 1280px); }
  .masthead { min-height: 68px; }
  .about-link { display: none; }
  .hero { padding: 49px 0 35px; }
  .hero-copy { display: block; }
  .hero h1 { font-size: 49px; }
  .intro { margin-top: 25px; font-size: 16px; }
  #search-form { margin-top: 32px; }
  .search-box { grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--ink); }
  .search-box input { padding: 17px; font-size: 19px; }
  .search-box button { justify-content: space-between; min-height: 48px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-item:last-child { grid-column: 1 / -1; }
  .results-section { padding-top: 50px; }
  .results-heading { align-items: start; gap: 20px; }
  .results-heading h2 { font-size: 27px; }
  #results { grid-template-columns: 1fr 1fr; gap: 25px 10px; }
  .image-link { min-height: 130px; }
  .result h3 { font-size: 16px; }
  footer { display: block; }
  footer p { margin-bottom: 13px; }
  footer p:last-child { text-align: left; }
}

@media (max-width: 430px) {
  #results { grid-template-columns: 1fr; }
  .image-link { min-height: 220px; }
}
