:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --surface-2: #faf9f7;
  --line: #e6e3dd;
  --line-strong: #d6d2ca;
  --text: #161616;
  --text-2: #3d3d3d;
  --muted: #6e6b66;
  --accent: #ffc72c;
  --accent-hover: #f5b90f;
  --accent-soft: #fff4d1;
  --accent-ink: #1b1b1b;
  --link: #1f5fd1;
  --green: #1f9d55;
  --green-soft: #e3f6ea;
  --blue-soft: #e4efff;
  --blue-ink: #1d4fa8;
  --gray-soft: #eeede9;
  --red: #c93434;
  --red-soft: #fde9e9;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 18, 14, .05), 0 4px 16px rgba(20, 18, 14, .04);
  --shadow-lg: 0 10px 40px rgba(20, 18, 14, .16);
  --max: 1600px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Hebrew", Arial, sans-serif; /* same as the Rimon apps */
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; outline: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(255, 199, 44, .7); outline-offset: 2px; border-radius: 6px; }

/* ---------- top bar ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.topbar-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -.3px; white-space: nowrap; }
.brand-logo { width: 44px; height: 44px; border-radius: 10px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.brand-logo-link { display: flex; border-radius: 10px; }
.brand-logo-link:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-name { color: inherit; }
.rimon-link { color: var(--text-2); }
.mainnav .only-mobile { display: none; }
@media (max-width: 960px) { .mainnav .only-mobile { display: flex; } }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; flex: none; }
.brand-mark { display: inline-flex; align-items: center; gap: 3px; height: 28px; }
.brand-mark i { display: block; width: 3.5px; border-radius: 3px; background: var(--accent); }
.brand-mark i:nth-child(1) { height: 10px; } .brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 28px; } .brand-mark i:nth-child(4) { height: 16px; } .brand-mark i:nth-child(5) { height: 8px; }
.mainnav { display: flex; gap: 34px; height: 100%; }
.mainnav a { display: flex; align-items: center; height: 100%; color: var(--text-2); font-size: 15.5px; border-bottom: 3px solid transparent; padding-top: 3px; }
.mainnav a:hover { color: var(--text); }
.mainnav a.active { color: var(--text); font-weight: 700; border-bottom-color: var(--accent); }
.topbar-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.topbar .nav-toggle { display: none; }

.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 6px; border-radius: 999px; font-size: 15px; }
.user-btn:hover { background: var(--surface-2); }
.user-dropdown { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 6px; z-index: 50; }
.user-dropdown a, .user-dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; padding: 10px 12px; border-radius: 8px; background: none; border: 0; font-size: 15px; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--surface-2); }
.user-dropdown .only-xs { display: none; }
@media (max-width: 640px) { .user-dropdown .only-xs { display: flex; } }
.user-dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.badge-count { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; border: 1px solid transparent; padding: 10px 20px; font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: #b9b4aa; background: var(--surface-2); }
.btn-ghost { background: none; color: var(--text-2); }
.btn-ghost:hover { background: var(--gray-soft); }
.btn-danger { background: var(--surface); border-color: #efc3c3; color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: none; color: var(--text-2); }
.icon-btn:hover { background: var(--gray-soft); }
.link { color: var(--link); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }

/* ---------- layout ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 28px 28px 56px; }
.page-head { margin-bottom: 22px; }
.page-title { font-size: 44px; font-weight: 800; letter-spacing: -.8px; }
.page-sub { font-size: 20px; color: var(--muted); margin-top: 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }
.section-title { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.breadcrumb { color: var(--muted); font-size: 15px; margin-bottom: 18px; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }

/* ---------- search + chips ---------- */
.searchbar { position: relative; max-width: 745px; }
.searchbar input { width: 100%; height: 56px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 56px 0 24px; font-size: 17px; box-shadow: var(--shadow); }
.searchbar input:focus { outline: none; border-color: #c8b67a; box-shadow: 0 0 0 4px rgba(255, 199, 44, .25); }
.searchbar svg { position: absolute; inset-inline-start: 20px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 7px 20px; font-size: 15px; color: var(--text-2); }
.chip:hover { border-color: #b9b4aa; }
.chip.active, .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.tag { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--text-2); background: var(--surface); }
.tag-soft { background: var(--surface-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.st-available { background: var(--green-soft); color: var(--green); }
.st-limited { background: var(--accent-soft); color: #946b00; }
.st-unavailable { background: var(--gray-soft); color: var(--muted); }
.st-new { background: var(--accent-soft); color: #7a5800; }
.st-talking { background: var(--blue-soft); color: var(--blue-ink); }
.st-interview { background: var(--green-soft); color: #17703d; }
.st-waiting { background: var(--gray-soft); color: var(--text-2); }
.st-hired { background: #1f9d55; color: #fff; }
.st-closed { background: var(--gray-soft); color: var(--muted); }
.st-open { background: var(--green-soft); color: var(--green); }
.st-draft { background: var(--gray-soft); color: var(--muted); }

/* ---------- browse ---------- */
.browse-hero .searchbar { margin-top: 26px; }
.browse-hero .chips { margin-top: 16px; }
.browse-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.filters { padding: 22px 18px; position: sticky; top: 84px; }
.filters h2 { font-size: 21px; margin-bottom: 14px; }
.filter-group { margin-bottom: 18px; }
.filter-group > label, .filter-group > .label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #e0a800; margin: 0; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.results-count { font-size: 17px; color: var(--text-2); white-space: nowrap; }
.filters-toggle { display: none; }
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.m-card { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; position: relative; }
.m-card:hover { box-shadow: 0 8px 26px rgba(20, 18, 14, .10); transform: translateY(-2px); }
.m-cover { position: relative; aspect-ratio: 16 / 7.2; background: #222; overflow: hidden; }
.m-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fav-btn { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .28); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 2; }
.fav-btn:hover { background: rgba(0, 0, 0, .45); }
.fav-btn.on { color: #ffcf3f; }
.fav-btn.on svg { fill: currentColor; }
.m-avail { position: absolute; bottom: 10px; inset-inline-start: 12px; font-size: 12.5px; padding: 3px 10px; z-index: 2; }
.m-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.m-name { font-size: 21px; font-weight: 800; }
.m-headline { color: var(--text-2); font-size: 16px; margin-top: 2px; margin-bottom: 10px; }
.m-meta { display: grid; gap: 4px; font-size: 14.5px; color: var(--text-2); }
.m-meta div { display: flex; align-items: center; gap: 8px; }
.m-meta svg { flex: none; color: var(--text-2); }
.m-foot { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 8px; }
.m-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* avatar placeholder */
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; color: #fff; font-weight: 800; }
.ph span { font-size: 42px; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0, 0, 0, .15); position: relative; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .22), transparent 55%); }
.avatar { display: inline-block; vertical-align: middle; border-radius: 50%; overflow: hidden; flex: none; background: #333; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .ph span { font-size: inherit; }

.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty h3 { color: var(--text); font-size: 20px; margin-bottom: 6px; }
.skeleton { background: linear-gradient(90deg, #eceae5 25%, #f4f3ef 50%, #eceae5 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- profile ---------- */
.profile-layout { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; }
.profile-head { display: grid; grid-template-columns: 400px 1fr; overflow: hidden; }
.profile-photo { aspect-ratio: 16 / 10; width: 100%; min-height: 100%; overflow: hidden; background: #222; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.profile-photo .ph span { font-size: 72px; }
.profile-info { padding: 26px 28px; position: relative; }
.profile-info h1 { font-size: 46px; font-weight: 800; letter-spacing: -.6px; }
.profile-info .headline { font-size: 22px; color: var(--text-2); margin-top: 2px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 16px; color: var(--text-2); }
.profile-meta span { display: inline-flex; align-items: center; gap: 7px; }
.profile-info .status-pill { position: absolute; top: 24px; inset-inline-end: 24px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin: 20px 0 0; }
.tabs button { flex: 1; background: none; border: 0; padding: 14px 10px 12px; font-size: 17px; color: var(--text-2); border-bottom: 4px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--text); font-weight: 700; border-bottom-color: var(--accent); }
.tab-panel { margin-top: 16px; }
.tab-panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.bio { font-size: 17.5px; color: var(--text-2); white-space: pre-line; }
.samples-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sample { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); }
.sample h4 { font-size: 16px; margin-bottom: 10px; }
.sample audio, .sample video { width: 100%; }
.sample .embed { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.sample .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sub-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.sub-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.sub-card h4 { font-size: 17px; margin-bottom: 12px; }
.day-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.day-pill { min-width: 52px; text-align: center; padding: 8px 12px; border-radius: 999px; background: var(--gray-soft); color: var(--muted); font-size: 15px; }
.day-pill.on { background: var(--accent-soft); color: var(--text); font-weight: 700; border: 1px solid #f1d27a; }
.timeline { display: grid; gap: 16px; }
.timeline-item { border-inline-start: 3px solid var(--accent); padding-inline-start: 16px; }
.timeline-item h4 { font-size: 17px; }
.service-list { display: grid; gap: 10px; }
.service-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.service-row .price { font-weight: 800; white-space: nowrap; }

.contact-panel { position: sticky; top: 84px; }
.contact-panel h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.seg button { border: 0; background: none; border-radius: 9px; padding: 11px; font-size: 16px; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.price-big { font-size: 38px; font-weight: 800; line-height: 1.1; }
.price-big small { font-size: 24px; }
.contact-direct { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.contact-direct a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 15px; }
.contact-direct a:hover { background: var(--surface-2); }
.notice { background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.notice svg { flex: none; margin-top: 2px; }
.notice.gray { background: var(--surface-2); border: 1px solid var(--line); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px; padding: 11px 14px; font-size: 16px; min-height: 46px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: #c8b67a; box-shadow: 0 0 0 4px rgba(255, 199, 44, .22); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-left: 40px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input-affix { display: flex; align-items: stretch; }
.input-affix .input { border-radius: 0 10px 10px 0; }
.input-affix span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); border-inline-start: 0; border-radius: 10px 0 0 10px; background: var(--surface-2); color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.form-section:first-child { padding-top: 0; }
.form-section:last-of-type { border-bottom: 0; }
.form-section > h3 { font-size: 18px; font-weight: 800; }
.form-section > h3 small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.radio-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 18px; min-width: 170px; cursor: pointer; background: var(--surface); }
.radio-card input { accent-color: #1b1b1b; width: 18px; height: 18px; margin: 0; }
.radio-card:has(input:checked) { background: var(--accent-soft); border-color: #f1c94e; font-weight: 600; }
.toggle-days { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle-days button { min-width: 52px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 15px; }
.toggle-days button[aria-pressed="true"] { background: var(--accent-soft); border-color: #f1c94e; font-weight: 700; }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 7px 10px; min-height: 46px; background: var(--surface); }
.tag-input:focus-within { border-color: #c8b67a; box-shadow: 0 0 0 4px rgba(255, 199, 44, .22); }
.tag-input input { border: 0; outline: none; flex: 1; min-width: 120px; padding: 4px; font-size: 15px; background: none; }
.tag-input .tag { padding: 3px 6px 3px 10px; background: var(--gray-soft); border-color: transparent; }
.tag-input .tag button { border: 0; background: none; padding: 0 2px; line-height: 1; color: var(--muted); font-size: 16px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.suggestions button { border: 1px dashed var(--line-strong); background: none; border-radius: 999px; padding: 3px 10px; font-size: 13px; color: var(--muted); }
.suggestions button:hover { color: var(--text); border-color: #b9b4aa; }
.repeat-row { display: grid; gap: 10px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); position: relative; }
.repeat-row + .repeat-row { margin-top: 10px; }
.repeat-row .remove { position: absolute; top: 8px; inset-inline-end: 8px; }
.form-error { color: var(--red); font-size: 14.5px; min-height: 20px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .15s; margin: 0; cursor: pointer; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: right .15s; }
.switch input:checked { background: var(--green); }
.switch input:checked::after { right: 21px; }

/* ---------- post job ---------- */
.postjob-layout { display: grid; grid-template-columns: 1fr 410px; gap: 20px; align-items: start; }
.preview { position: sticky; top: 84px; }
.preview-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.preview-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.preview-top h3 { font-size: 24px; font-weight: 800; }
.org-icon { width: 68px; height: 68px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.preview-list { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; font-size: 16.5px; color: var(--text-2); }
.preview-list div { display: flex; gap: 10px; align-items: center; }

/* ---------- jobs ---------- */
.jobs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.job-list { display: grid; gap: 14px; }
.job-card { padding: 20px 22px; display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: start; position: relative; }
.job-card:hover { box-shadow: 0 8px 26px rgba(20, 18, 14, .08); }
.job-card h3 { font-size: 20px; font-weight: 800; }
.job-card .org { color: var(--text-2); margin-top: 2px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.job-side { display: grid; gap: 8px; justify-items: end; text-align: end; }
.job-pay { font-weight: 800; font-size: 17px; white-space: nowrap; }
.job-detail { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.kv-compact { grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 15px; }

/* ---------- dashboard ---------- */
.dash { display: grid; grid-template-columns: 200px 1fr 420px; gap: 24px; align-items: start; }
.dash.no-side { grid-template-columns: 200px 1fr; }
.side-nav { padding: 14px 10px; display: grid; gap: 4px; position: sticky; top: 84px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-size: 16px; color: var(--text-2); }
.side-nav a:hover { background: var(--surface-2); }
.side-nav a.active { background: var(--accent-soft); color: var(--text); font-weight: 700; }
.side-nav .badge-count { margin-inline-start: auto; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 20px 22px; display: flex; justify-content: space-between; align-items: flex-start; }
.stat b { display: block; font-size: 32px; font-weight: 800; line-height: 1.1; }
.stat span { color: var(--text-2); font-size: 15px; display: block; }
.stat svg { color: var(--text-2); }
.toolbar { display: flex; gap: 12px; padding: 12px; margin: 20px 0 16px; }
.toolbar .searchbar { flex: 1; max-width: none; }
.toolbar .searchbar input { height: 46px; border-radius: 10px; box-shadow: none; font-size: 15.5px; }
.toolbar .select { width: 220px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: start; font-weight: 700; font-size: 15px; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.selected td { background: #fffaea; }
.table tbody tr { cursor: pointer; }
.table tbody tr:hover td { background: #fcfbf8; }
.table tbody tr.selected:hover td { background: #fff7de; }
.person { display: flex; align-items: center; gap: 14px; font-weight: 700; white-space: nowrap; }
.table td:nth-child(2), .table td:nth-child(4) { white-space: nowrap; }
.table-wrap { overflow: hidden; }
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-inline-start: 6px; vertical-align: middle; }

.chat { position: sticky; top: 84px; display: flex; flex-direction: column; min-height: 640px; max-height: calc(100vh - 110px); }
.chat-head { display: flex; justify-content: space-between; gap: 14px; padding: 20px 20px 18px; border-bottom: 1px solid var(--line); }
.chat-head h3 { font-size: 26px; font-weight: 800; }
.chat-head .avatar-rect { width: 170px; height: 130px; border-radius: 10px; overflow: hidden; flex: none; background: #222; }
.chat-head .avatar-rect img { width: 100%; height: 100%; object-fit: cover; }
.chat-head .avatar-rect .ph span { font-size: 40px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-day { text-align: center; color: var(--muted); font-size: 14px; margin: 6px 0; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; }
.msg .bubble { background: #eeeeec; border-radius: 16px; padding: 10px 14px; font-size: 15.5px; white-space: pre-wrap; word-break: break-word; }
.msg time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg.mine .bubble { background: var(--accent-soft); }
.msg.theirs { align-self: flex-start; }
.chat-foot { padding: 14px 20px 20px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.composer { border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px; display: grid; gap: 10px; }
.composer textarea { border: 0; outline: none; resize: none; min-height: 60px; font-size: 15.5px; background: none; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-chips a { font-size: 13.5px; }

.conv-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.conv-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; cursor: pointer; }
.conv-item:last-child { border-bottom: 0; }
.conv-item:hover { background: var(--surface-2); }
.conv-item.selected { background: #fffaea; }
.conv-item .grow { flex: 1; min-width: 0; }
.conv-item .last { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.checklist { display: grid; gap: 8px; }
.checklist div { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.checklist .ok { color: var(--green); }
.checklist .no { color: var(--line-strong); }
.progress { height: 8px; border-radius: 99px; background: var(--gray-soft); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.editor-actions { position: sticky; bottom: 0; background: rgba(245, 244, 241, .92); backdrop-filter: blur(6px); padding: 14px 0; margin-top: 16px; display: flex; gap: 12px; align-items: center; z-index: 5; border-top: 1px solid var(--line); }
.photo-edit { display: flex; gap: 18px; align-items: center; }
.photo-edit .avatar { width: 96px; height: 96px; }

/* ---------- landing ---------- */
.hero-land { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 30px 0 10px; }
.hero-land h1 { font-size: 52px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.hero-land p { font-size: 20px; color: var(--text-2); margin: 16px 0 26px; }
.hero-art { background: #1b1b1b; border-radius: 22px; padding: 34px; color: #fff; display: grid; gap: 16px; }
.hero-art .row { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 14px; }
.hero-art .row .avatar { width: 50px; height: 50px; }
.hero-art .row b { display: block; }
.hero-art .row small { color: #bdbab3; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.step { padding: 24px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--text-2); }
.big-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 8px; }
.big-stats div b { display: block; font-size: 34px; font-weight: 800; }
.big-stats div span { color: var(--muted); }
.faq { display: grid; gap: 10px; margin-top: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq details p { margin-top: 10px; color: var(--text-2); }

/* ---------- auth ---------- */
.auth-wrap { max-width: 520px; margin: 30px auto; }
.auth-wrap h1 { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-card { border: 2px solid var(--line); border-radius: 14px; padding: 16px; background: var(--surface); text-align: start; display: grid; gap: 6px; }
.role-card b { font-size: 17px; }
.role-card span { font-size: 14px; color: var(--muted); }
.role-card[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.demo-box { margin-top: 18px; font-size: 14px; }
.demo-box code { background: var(--gray-soft); padding: 1px 6px; border-radius: 5px; direction: ltr; display: inline-block; }

/* ---------- footer, toast, modal ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 22px 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14.5px; color: var(--text-2); }
#toast-root { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; }
.toast { background: #1b1b1b; color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 15px; animation: tin .2s ease-out; }
.toast.error { background: var(--red); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.modal-backdrop { position: fixed; inset: 0; background: rgba(20, 18, 14, .45); display: flex; align-items: center; justify-content: center; z-index: 90; padding: 16px; }
.modal { background: var(--surface); border-radius: 18px; max-width: 460px; width: 100%; padding: 28px; box-shadow: var(--shadow-lg); }
.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal p { color: var(--text-2); margin-bottom: 20px; }
.modal .form-actions { justify-content: flex-start; }

/* ---------- responsive ---------- */
/* grid/flex children must be allowed to shrink below their content width */
.browse-layout > *, .jobs-layout > *, .profile-layout > *, .job-detail > *, .postjob-layout > *, .dash > *, .hero-land > *, .form-grid > *, .form-section > *, .profile-head > * { min-width: 0; }
.results-head { flex-wrap: wrap; }
img, video, audio, iframe, table { max-width: 100%; }
.bio, .m-name, .m-headline, .job-card h3, .page-title { overflow-wrap: anywhere; }
@media (max-width: 1200px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-head { grid-template-columns: 300px 1fr; }
  .profile-layout { grid-template-columns: 1fr 360px; }
  .dash { grid-template-columns: 190px 1fr; }
  .dash > .chat-col { grid-column: 2; }
  .chat { position: static; min-height: 480px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .topbar-inner { gap: 16px; padding: 0 16px; }
  .topbar .nav-toggle { display: inline-flex; }
  .mainnav { display: none; position: absolute; top: 64px; inset-inline: 0; background: var(--surface); flex-direction: column; gap: 0; height: auto; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 14px 20px; border-bottom: 1px solid var(--line); height: auto; }
  .mainnav a.active { border-bottom-color: var(--line); background: var(--accent-soft); }
  .topbar-actions .user-name, .topbar-actions .hide-sm { display: none; }
  .page { padding: 20px 16px 44px; }
  .page-title { font-size: 32px; }
  .page-sub { font-size: 17px; }
  .browse-layout, .jobs-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .profile-layout, .job-detail, .postjob-layout { grid-template-columns: 1fr; }
  .profile-head { grid-template-columns: 1fr; }
  .profile-photo { aspect-ratio: 16 / 9; }
  .profile-info h1 { font-size: 34px; }
  .profile-info .status-pill { position: static; margin-bottom: 10px; }
  .contact-panel, .preview { position: static; }
  .dash, .dash.no-side { grid-template-columns: 1fr; }
  .dash > .chat-col { grid-column: auto; }
  .side-nav { position: static; grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; padding: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .side-nav a { padding: 9px 12px; font-size: 15px; }
  .form-section { grid-template-columns: 1fr; gap: 12px; }
  .hero-land { grid-template-columns: 1fr; }
  .hero-land h1 { font-size: 36px; }
  .steps { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
  .table { min-width: 640px; }
}
@media (max-width: 640px) {
  .page-title { font-size: 28px; }
  .page-sub { font-size: 16px; }
  .card-pad { padding: 18px; }
  .searchbar input { height: 50px; font-size: 16px; }
  .chip { padding: 6px 14px; font-size: 14px; }
  .chips { gap: 8px; }
  .results-head .select { min-width: 0; }
  /* inquiries table: compact, no sideways scroll */
  .table.compact { min-width: 0; }
  .table.compact th:nth-child(4), .table.compact td:nth-child(4), .table.compact th:nth-child(5), .table.compact td:nth-child(5) { display: none; }
  .table.compact th, .table.compact td { padding: 12px 10px; }
  .table.compact .person { gap: 10px; white-space: normal; }
  .table.compact td:nth-child(2) { white-space: normal; font-size: 14px; }
  .table.jobs-t { min-width: 0; }
  .table.jobs-t th:nth-child(2), .table.jobs-t td:nth-child(2), .table.jobs-t th:nth-child(3), .table.jobs-t td:nth-child(3) { display: none; }
  .table.jobs-t th, .table.jobs-t td { padding: 12px 10px; }
  .chat { min-height: 420px; max-height: none; }
  .chat-head { padding: 16px; }
  .chat-head h3 { font-size: 21px; }
  .chat-body { max-height: 55vh; padding: 12px 14px; }
  .chat-foot { padding: 12px 14px 16px; }
  .composer .btn { width: 100%; min-width: 0 !important; }
  .msg { max-width: 94%; }
  .profile-info { padding: 18px; }
  .profile-info h1 { font-size: 30px; }
  .profile-info .headline { font-size: 18px; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: 0 0 auto; padding: 12px 14px 10px; font-size: 15px; white-space: nowrap; }
  .price-big { font-size: 32px; }
  .contact-panel h2 { font-size: 24px; }
  .hero-land h1 { font-size: 30px; }
  .hero-land p { font-size: 17px; }
  .hero-art { padding: 18px; border-radius: 16px; }
  .big-stats { gap: 22px; }
  .big-stats div b { font-size: 26px; }
  .form-actions .btn-lg { flex: 1 1 auto; }
  .radio-card { min-width: 0; flex: 1 1 140px; }
  .editor-actions { flex-wrap: wrap; }
  .editor-actions .btn { flex: 1 1 100%; }
  .photo-edit { flex-wrap: wrap; }
  .auth-wrap { margin: 10px auto; }
  .auth-wrap h1 { font-size: 26px; }
  .footer-inner { padding: 18px 16px; }
  .user-dropdown { position: fixed; top: 64px; inset-inline: 8px; min-width: 0; }
  #toast-root { width: calc(100% - 32px); }
  .toast { text-align: center; }
  .grid-cards, .samples-grid, .sub-cards, .form-grid, .role-cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat b { font-size: 26px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-logo { width: 36px; height: 36px; border-radius: 8px; }
  .job-card { grid-template-columns: 1fr; }
  .job-card .org-icon { display: none; }
  .job-side { justify-items: start; text-align: start; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .select { width: 100%; }
  .chat-head .avatar-rect { width: 96px; height: 96px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .topbar-actions .btn-primary { padding: 8px 12px; font-size: 14px; }
  .topbar-actions { gap: 6px; }
  .topbar-inner { gap: 10px; }
  .topbar-actions .hide-xs { display: none; }
  .conv-item { padding: 12px; gap: 10px; }
  .user-btn { padding: 2px; gap: 4px; }
  .user-btn > svg { display: none; }
}


/* ---------- dropdowns (Rimon / shadcn style) ---------- */
.dd { position: relative; width: 100%; min-width: 0; }
.dd-native { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.dd-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: start; background-image: none !important; padding-left: 12px !important; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.dd-trigger:hover { border-color: #b9b4aa; }
.dd.is-open .dd-trigger { border-color: #c8b67a; box-shadow: 0 0 0 4px rgba(255, 199, 44, .22); }
.dd-value { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-trigger.is-placeholder .dd-value { color: var(--muted); }
.dd-chev { display: flex; color: var(--muted); transition: transform .15s; flex: none; }
.dd.is-open .dd-chev { transform: rotate(180deg); }
.dd-list { position: absolute; top: calc(100% + 6px); inset-inline: 0; min-width: 144px; max-height: min(320px, 60vh); overflow-y: auto; z-index: 60;
  background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 10px 24px -4px rgba(15, 23, 42, .12), 0 0 0 1px rgba(15, 23, 42, .08);
  opacity: 0; transform: scale(.96) translateY(-4px); transform-origin: top center; pointer-events: none; visibility: hidden;
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s; }
.dd.drop-up .dd-list { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; transform: scale(.96) translateY(4px); }
.dd-list.open { opacity: 1; transform: none !important; pointer-events: auto; visibility: visible; transition: opacity .12s ease, transform .12s ease; }
.dd-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; font-size: 15px; color: #334155; cursor: pointer; user-select: none; }
.dd-item .dd-text { flex: 1; }
.dd-item .dd-check { width: 16px; display: flex; color: var(--text); }
.dd-item.active { background: #f1f5f9; color: var(--text); }
.dd-item.selected { font-weight: 600; color: var(--text); }
.dd-item[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.results-head .dd { width: auto; min-width: 190px; }

/* ---------- ratings & reviews ---------- */
.stars { display: inline-flex; gap: 1px; color: #f5b90f; vertical-align: -2px; }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: #d9d5cc; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); }
.rating-line b { color: var(--text); }
.m-rating { margin: -4px 0 8px; }

/* card: about / reviews switch */
.m-switch { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; position: relative; z-index: 2; }
.m-tabs { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; margin-bottom: 8px; }
.m-tabs button { border: 0; background: none; border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--muted); transition: background .15s, color .15s; }
.m-tabs button[aria-selected="true"] { background: #fff; color: var(--text); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.m-pane { min-height: 84px; font-size: 14px; color: var(--text-2); line-height: 1.55; }
.m-pane[hidden] { display: none; }
.m-bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.m-skills { display: flex; flex-wrap: wrap; gap: 6px; }
.m-skills span { font-size: 12.5px; background: var(--gray-soft); border-radius: 999px; padding: 2px 9px; color: var(--text-2); }
.m-review { position: relative; }
.m-review q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; quotes: "״" "״"; }
.m-review .by { margin-top: 6px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.m-review-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.m-review-nav .dots { display: flex; gap: 5px; }
.m-review-nav .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background .2s, transform .2s; }
.m-review-nav .dots i.on { background: var(--text); transform: scale(1.15); }
.m-review-nav button { border: 1px solid var(--line); background: #fff; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); }
.m-review-nav button:hover { background: var(--surface-2); }
.m-empty { color: var(--muted); font-size: 13.5px; }
.swap-in { animation: swapIn .28s ease both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(4px); } }

/* profile reviews */
.rv-summary { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; margin-bottom: 20px; }
.rv-big { text-align: center; }
.rv-big b { display: block; font-size: 48px; font-weight: 800; line-height: 1; }
.rv-big .stars svg { width: 20px; height: 20px; }
.rv-bars { display: grid; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 28px 1fr 28px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.rv-bar div { height: 8px; background: var(--gray-soft); border-radius: 99px; overflow: hidden; }
.rv-bar div i { display: block; height: 100%; background: #f5b90f; border-radius: 99px; transform-origin: right; animation: growX .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes growX { from { transform: scaleX(0); } }
.rv-list { display: grid; gap: 12px; }
.rv-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.rv-item .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.rv-item p { white-space: pre-line; color: var(--text-2); }
.star-input { display: inline-flex; gap: 4px; direction: ltr; }
.star-input button { border: 0; background: none; padding: 2px; color: #d9d5cc; transition: transform .12s, color .12s; }
.star-input button svg { width: 30px; height: 30px; }
.star-input button.on { color: #f5b90f; }
.star-input button:hover { transform: scale(1.12); }
.rv-form { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 16px; margin-bottom: 18px; background: var(--surface-2); display: grid; gap: 12px; }
@media (max-width: 640px) { .rv-summary { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- gentle motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes eq { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
main > .page { animation: fadeIn .35s ease both; }
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
.m-cover img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.m-card:hover .m-cover img { transform: scale(1.04); }
.brand-mark i { transform-origin: center; }
.brand:hover .brand-mark i, .brand-mark.playing i { animation: eq 1s ease-in-out infinite; }
.brand-mark i:nth-child(2) { animation-delay: .15s !important; } .brand-mark i:nth-child(3) { animation-delay: .3s !important; }
.brand-mark i:nth-child(4) { animation-delay: .45s !important; } .brand-mark i:nth-child(5) { animation-delay: .6s !important; }
.hero-wave { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 18px; opacity: .55; }
.hero-wave i { width: 4px; border-radius: 3px; background: var(--accent); height: var(--h); animation: eq var(--t) ease-in-out infinite; animation-delay: var(--d); transform-origin: bottom; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(120%); transition: transform .6s ease; }
.btn-primary:hover::after { transform: translateX(-120%); }
.fav-btn.pop svg { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
.status-pill.st-available .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .45); } 50% { box-shadow: 0 0 0 5px rgba(31, 157, 85, 0); } }
.stat b { font-variant-numeric: tabular-nums; }
/* ---------- legal pages ---------- */
.legal-head { margin-bottom: 18px; }
.legal-downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.legal-layout > * { min-width: 0; }
.legal-toc { padding: 18px; position: sticky; top: 84px; font-size: 14.5px; }
.legal-toc ol { margin: 10px 0 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }
.legal-body { max-width: 860px; }
.legal-sec { scroll-margin-top: 90px; margin-bottom: 18px; }
.legal-sec h2 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.legal-sec h2 .num { color: #b8860b; }
.legal-sec .clause { display: flex; gap: 10px; margin-bottom: 8px; color: var(--text-2); }
.legal-sec .clause .num { flex: none; min-width: 30px; color: var(--muted); font-variant-numeric: tabular-nums; }
.legal-sec ul { margin: 0 40px 10px 0; padding-inline-start: 18px; color: var(--text-2); }
.legal-sec li { margin-bottom: 4px; }
.footer-links { display: grid; gap: 6px; justify-items: end; text-align: end; }
.footer-links nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links nav a { color: var(--text); font-weight: 600; }
.footer-links nav a:hover { text-decoration: underline; }
.consents { display: grid; gap: 4px; }
.consents .check { align-items: flex-start; line-height: 1.5; }
.consents .check input { margin-top: 3px; flex: none; }
.consent-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 4px; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; } .footer-links { justify-items: start; text-align: start; } }

/* ---------- intro video ---------- */
.intro-btn { position: absolute; bottom: 10px; inset-inline-start: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 5px 12px 5px 6px; background: rgba(20, 18, 14, .62); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.intro-btn svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--accent); color: #1b1b1b; box-sizing: border-box; }
.intro-btn:hover { background: rgba(20, 18, 14, .8); transform: scale(1.04); }
.intro-btn svg { animation: introPulse 2.6s ease-in-out infinite; }
@keyframes introPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 199, 44, .55); } 50% { box-shadow: 0 0 0 7px rgba(255, 199, 44, 0); } }
.profile-photo { position: relative; }
.intro-btn.lg { bottom: 16px; inset-inline-start: 16px; font-size: 15px; padding: 7px 16px 7px 8px; }
.intro-btn.lg svg { width: 34px; height: 34px; padding: 9px; }
.modal.modal-video { max-width: 820px; padding: 12px; background: #111; }
.intro-player video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; display: block; }
.intro-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px 4px; color: #fff; }
.intro-meta .muted { color: #bdbab3; }
.intro-meta .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- motion, round 2 ---------- */
main > .page { animation: pageIn .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
/* header gains a soft shadow once scrolled */
.topbar { transition: box-shadow .25s ease, background-color .25s ease; }
.topbar.scrolled { box-shadow: 0 6px 24px -12px rgba(20, 18, 14, .25); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); }
/* nav underline grows from the center */
.mainnav a { position: relative; border-bottom-color: transparent !important; }
.mainnav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.mainnav a:hover::after { transform: scaleX(.5); }
.mainnav a.active::after { transform: scaleX(1); }
/* hero: words rise in, a thin sound wave drifts behind */
.browse-hero { position: relative; }
.hero-words .w { display: inline-block; animation: wordIn .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 70ms + 60ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } }
.page-sub.rise { animation: fadeUp .6s .35s cubic-bezier(.2, .7, .2, 1) both; }
.hero-line { position: absolute; inset-inline: 0; top: -6px; height: 120px; pointer-events: none; z-index: -1; opacity: .35; overflow: hidden; }
.hero-line svg { width: 200%; height: 100%; animation: drift 26s linear infinite; }
.hero-line path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s .2s cubic-bezier(.4, 0, .2, 1) forwards; }
.hero-line path + path { stroke-width: 1; opacity: .55; animation-delay: .5s; }
@keyframes drift { to { transform: translateX(50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* chips and buttons: tactile feedback */
.chip { transition: background .2s, border-color .2s, color .2s, transform .15s; }
.chip:active, .btn:active, .m-tabs button:active { transform: scale(.96); }
.btn-outline { transition: background .15s, border-color .15s, transform .15s, box-shadow .2s; }
.btn-outline:hover { box-shadow: 0 4px 14px -8px rgba(20, 18, 14, .35); }
.btn-primary:hover { box-shadow: 0 6px 18px -8px rgba(245, 185, 15, .8); }
/* card photo: soft gradient on hover, availability pill slides in */
.m-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent 55%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.m-card:hover .m-cover::after { opacity: 1; }
.m-card.in .m-avail { animation: pillIn .5s calc(var(--d, 0ms) + 250ms) cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pillIn { from { opacity: 0; transform: translateX(10px); } }
/* stars fill in one by one when their card appears */
.m-card.in .m-rating .stars > span, .rv-big .stars > span, .profile-info .stars > span { animation: starIn .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--d, 0ms) + 300ms + var(--s) * 70ms); }
@keyframes starIn { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }
.stars > span:nth-child(1) { --s: 0; } .stars > span:nth-child(2) { --s: 1; } .stars > span:nth-child(3) { --s: 2; } .stars > span:nth-child(4) { --s: 3; } .stars > span:nth-child(5) { --s: 4; }
/* results fade while re-filtering */
.grid-cards, .job-list { transition: opacity .18s ease; }
.grid-cards.loading, .job-list.loading { opacity: .35; }
/* profile tabs: sliding indicator */
.tabs { position: relative; }
.tabs.has-ink button { border-bottom-color: transparent !important; }
.tabs .ink { position: absolute; bottom: -1px; height: 4px; background: var(--accent); border-radius: 4px 4px 0 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1); right: 0; }
/* chat bubbles and dialogs */
.msg { animation: bubbleIn .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.modal-backdrop { animation: fadeIn .2s ease both; }
.modal { animation: modalIn .28s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.toast { animation: toastIn .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
/* side nav & stats hover */
.side-nav a { transition: background .2s, color .2s, transform .2s; }
.side-nav a:hover { transform: translateX(-3px); }
.stat { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(20, 18, 14, .35); }
.job-card { transition: box-shadow .25s, transform .25s cubic-bezier(.2, .7, .2, 1); }
.job-card:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
  .hero-line path { stroke-dashoffset: 0; }
}

/* ---------- browse by act type ---------- */
.act-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.act-tile { display: grid; gap: 2px; justify-items: start; text-align: start; padding: 16px 18px; border: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, background .15s; }
.act-tile:hover { border-color: var(--line-strong); }
.act-tile[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.act-tile b { font-size: 18px; }
.act-tile small { color: var(--muted); font-size: 14px; }
.act-count { font-size: 13px; color: var(--text-2); margin-top: 4px; min-height: 1.4em; }
.act-faces { display: flex; min-height: 34px; margin-bottom: 6px; }
.act-faces .avatar { border: 2px solid var(--surface); margin-inline-end: -10px; }
@media (max-width: 960px) { .act-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 640px) {
  .act-tile { padding: 12px 14px; }
  .act-tile small { font-size: 13px; }
}

/* ---------- employers: edge + two ways ---------- */
.edge, .ways { margin-top: 40px; }
.edge .section-title, .ways .section-title { font-size: 26px; }
.edge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.edge-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.way { padding: 24px; display: grid; gap: 10px; align-content: start; }
.way h3 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.way p { color: var(--text-2); margin: 0; }
.way-tag { justify-self: start; font-size: 13px; font-weight: 700; background: var(--accent-soft); border-radius: 999px; padding: 3px 12px; }
@media (max-width: 960px) { .edge-grid, .ways-grid { grid-template-columns: 1fr; } }

/* ---------- pay guide ---------- */
.guide { max-width: 980px; display: grid; gap: 18px; }
.guide .page-sub { margin-bottom: 4px; }
.guide .section-title { display: flex; align-items: center; gap: 8px; }
.guide-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide-list li { display: flex; gap: 10px; align-items: flex-start; }
.guide-list li svg { color: var(--green); flex: none; margin-top: 3px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-table td small { display: block; color: var(--muted); font-size: 13px; }
.price-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .guide-cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .price-table th, .price-table td { padding: 8px 6px; font-size: 14px; } }

/* ---------- home: make every clickable thing look clickable ---------- */
.m-tabs button { cursor: pointer; }
.m-tabs button[aria-selected="false"]:hover { background: var(--gray-soft); color: var(--text); }
.check input, .filter-group > label, .act-tile, .chip, .fav-btn, .intro-btn, .m-review-nav button { cursor: pointer; }
.m-card { cursor: pointer; }
.m-card .m-name a { transition: color .15s; }
.m-card:hover .m-name a { color: var(--link); }
.m-card:hover .m-foot .link { text-decoration: underline; }
.m-foot .link svg { transition: transform .2s; }
.m-card:hover .m-foot .link svg { transform: translateX(-4px); }
.brand-name:hover { opacity: .8; }
:is(a, button, [role="tab"], .act-tile, .chip, .dd-trigger, .check input):focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* ---------- hover micro-interactions (mouse only; motion respects reduced-motion) ---------- */
.btn, .chip, .act-tile, .dd-trigger, .fav-btn, .m-review-nav button, .check input, .link svg, .dd-chev, .act-faces .avatar, .footer-links a, .user-btn, .searchbar input {
  transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s, background .18s, border-color .18s, color .18s, margin .22s;
}
@media (hover: hover) {
  .chip:not([aria-pressed="true"]):hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
  .act-tile:hover { border-color: var(--accent); box-shadow: 0 10px 26px -14px rgba(20, 18, 14, .35); }
  .dd-trigger:hover { box-shadow: 0 4px 14px -10px rgba(20, 18, 14, .4); }
  .btn-ghost:hover, .link:hover { color: var(--text); }
  .link:hover { color: var(--link); }
  .footer-links a:hover { color: var(--text); text-decoration: underline; }
  .searchbar input:hover:not(:focus) { border-color: #b9b4aa; box-shadow: 0 6px 20px -12px rgba(20, 18, 14, .35); }
  .user-btn:hover { background: var(--gray-soft); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(.98); }
  .chip:hover { transform: translateY(-2px); }
  .act-tile:hover { transform: translateY(-3px); }
  .act-tile:hover .act-faces .avatar { margin-inline-end: -4px; }
  .dd-trigger:hover .dd-chev { transform: translateY(2px); }
  .fav-btn:hover { transform: scale(1.12); }
  .intro-btn:hover svg { animation-duration: 1.1s; }
  .m-review-nav button:hover { transform: scale(1.12); }
  .check:hover input { transform: scale(1.1); }
  .link:hover svg { transform: translateX(-4px); }
  .footer-links a:hover { transform: translateY(-1px); }
}

/* ---------- header on mid-size screens: keep everything on one line ---------- */
.mainnav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1280px) {
  .topbar-actions .rimon-link { display: none; } /* the Rimon logo already links there */
  .mainnav { gap: 18px; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .btn { padding-inline: 14px; }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .mainnav { gap: 12px; }
  .mainnav a { font-size: 14.5px; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .btn { padding-inline: 10px; font-size: 14px; }
}
