/* opennodd.com/hire (Cloud only) */
.hire { padding: 48px 0 96px; }
.hire h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 8px 0 12px; }
.hire h1 .mono { font-size: 0.45em; color: var(--muted); font-weight: 400; vertical-align: middle; }
.hire h2 { font-family: var(--display); font-size: 1.3rem; margin: 32px 0 10px; }
.hire .crumbs { color: var(--muted); font-size: 0.9rem; }
.hire .crumbs a { color: var(--muted); }
.hire-search { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; max-width: 640px; }
.hire-search input { flex: 1 1 240px; min-width: 0; font: inherit; color: var(--ink); background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.hire-search input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.hire-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 28px 0; }
.hire-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags .tag { font-family: var(--mono); font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.tag:hover { border-color: var(--accent); }
.stars { color: var(--hold); white-space: nowrap; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; margin-top: 16px; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reviews li { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); }
.reviews p { margin: 6px 0 0; }
.pf-box { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--accent-line); border-radius: 18px; background: var(--surface); display: grid; gap: 14px; }
.pf-box .btn { justify-content: center; }
.pf-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 0.9rem; }
.pf-box dt { color: var(--muted); }
.pf-box dd { margin: 0; }
.small { font-size: 0.85rem; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
  .pf-box { position: static; }
}
.hire > section { padding: 0; }
.hire .section-head { margin-bottom: 0; }

/* cards, like a gig marketplace */
.hire-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.hire-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); text-decoration: none; color: var(--ink); }
.hc-img { aspect-ratio: 16 / 10; background: var(--raised); overflow: hidden; display: grid; place-items: center; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-ph { font-family: var(--display); font-size: 3rem; color: var(--accent); }
.hc-body { padding: 14px 16px 10px; display: grid; gap: 8px; }
.hc-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; }
.hc-who .mono { color: var(--muted); font-size: 0.78rem; }
.hc-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.8rem; flex: none; }
.hc-title { margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hire-card:hover .hc-title { text-decoration: underline; }
.hc-rate { font-size: 0.85rem; color: var(--muted); }
.hc-rate .new { color: var(--accent); font-weight: 600; }
.hc-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 16px; border-top: 1px solid var(--line-soft); font-size: 0.85rem; color: var(--muted); }
.hc-foot b { color: var(--ink); font-size: 1.05rem; }

/* profile */
.pf-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem) !important; }
.gallery { margin: 20px 0 8px; display: grid; gap: 10px; }
.g-main { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--raised); }
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.g-thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.pf-box .price { display: grid; gap: 2px; }
.pf-box .price span { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.pf-box .price small { color: var(--muted); }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.incl li::before { content: '✓'; color: var(--accent); margin-right: 8px; font-weight: 700; }
.facts { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 6px; font-size: 0.9rem; }
.facts li { display: flex; justify-content: space-between; gap: 8px; }
.facts span { color: var(--muted); }

/* picture viewer (opens over the page; :target, no script) */
.lb { display: none; position: fixed; inset: 0; z-index: 50; align-items: center; justify-content: center; padding: 24px; }
.lb:target { display: flex; }
.lb-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.88); }
.lb img { position: relative; max-width: min(1400px, 100%); max-height: calc(100dvh - 96px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lb-x, .lb-prev, .lb-next { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(20, 22, 25, 0.9); color: #fff; text-decoration: none; font-size: 1.6rem; border: 1px solid rgba(255, 255, 255, 0.15); }
.lb-x { top: 18px; right: 18px; font-size: 1.2rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--accent); color: var(--accent); }
.lb-n { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #ccc; font-family: var(--mono); font-size: 0.85rem; }
.gallery a { display: block; cursor: zoom-in; }

/* home page: featured agents and how hiring works */
.hire-grid.featured { margin: 8px 0 32px; grid-template-columns: repeat(auto-fit, minmax(250px, 320px)); justify-content: center; }
.hire-how { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 0; margin: 0 0 28px; }
.hire-how li { counter-increment: s; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: 6px; align-content: start; }
.hire-how li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.hire-how span { color: var(--muted); font-size: 0.92rem; }
