/* biz.css — BUDU professional redesign for the public website (2026-11-11)
   Loaded after nicekin.css on every page. Same direction as /app/theme.css:
   one typeface, calmer headings, 8px buttons instead of pills, flat white cards with hairline
   borders on a cool grey canvas, one blue accent. The tokens (colours, radii, fonts) are set in
   nicekin.css :root; this file holds the structural changes. Removing it restores the old shapes. */

/* ── Type ──────────────────────────────────────────────────────────── */
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .bu-display { font-family: var(--f-text); font-variation-settings: normal; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
.bu-lede { font-size: 1.06rem; color: var(--ink-2); max-width: 62ch; }

/* ── Buttons, inputs, chips ────────────────────────────────────────── */
.bu-btn { border-radius: 8px; font-weight: 600; box-shadow: none; }
.bu-btn--lg { min-height: 48px; padding: 11px 22px; font-size: 1rem; }
.bu-btn--sun { background: #fff; color: var(--violet); }
.bu-btn--sun:hover { background: var(--violet-50); color: var(--violet-700); }
.bu-btn--ink { background: var(--violet); }
.bu-btn--ink:hover { background: var(--violet-700); }
.bu-chips a, .bu-chips--quiet a { border-radius: 8px; }
.form-control, .form-select, .bu-input, input.bu-field, .pw-filter input[type=search] { border-radius: 8px; }

/* ── Header ────────────────────────────────────────────────────────── */
.bu-top { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* the name is the logo: BUDU, set in the accent blue (white on the dark footer) */
.bu-logo__word, .bu-top .bu-logo__word { font-family: var(--f-text); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; line-height: 1; color: var(--violet); }
.bu-footer .bu-logo__word { color: #fff; }
.bu-nav a { font-weight: 500; color: var(--ink-2); }
.bu-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.bu-subnav a { border-radius: 6px; }
.bu-subnav a[aria-current="page"] { background: var(--violet-50); color: var(--violet); }
.bu-subnav a[aria-current="page"] i { color: var(--violet); }

/* ── Page furniture ────────────────────────────────────────────────── */
body { background: var(--paper); }
.bu-pagehead { background: var(--surface); padding: clamp(22px, 3.2vw, 36px) 0 clamp(20px, 2.6vw, 28px); }
.bu-pagehead h1 { max-width: 26ch; margin-bottom: 10px; }
.bu-stats strong { font-family: var(--f-text); font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); }
.bu-section { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.bu-section--tight { padding-top: clamp(22px, 3vw, 32px); }
.bu-type { border-radius: 10px; }
.bu-type__icon { border-radius: 8px; }
.bu-card__media { border-radius: 10px; }
.bu-empty { border-radius: 10px; }
.bu-band { background: #10233f; }
.bu-band::before { display: none; }
.bu-band p { color: #c9d6ea; }
.bu-faq details, .bu-faq summary { border-radius: 8px; }
.pw-card, .pw-box, .pw-three li, .pw-rec { border-radius: 10px; }
.pw-card:hover { transform: none; box-shadow: none; }
.pw-card__title, .pw-sec h2, .pw-box h2, .pw-three h3 { font-family: var(--f-text); }
.pw-logo { border-radius: 8px; } .pw-logo--lg { border-radius: 12px; }
.pw-tag, .pw-chips li { border-radius: 6px; }
.pw-three i { border-radius: 8px; }

/* ── Home hero: copy on the left, a live panel on the right ────────── */
.bu-hero.bz-hero { background: var(--surface); }
.bz-hero .bu-hero__in { align-items: start; }
.bz-hero h1 { font: 700 clamp(2rem, 4.4vw, 3.1rem)/1.08 var(--f-text); letter-spacing: -0.03em; max-width: 15ch; margin: 0 0 16px; font-variation-settings: normal; }
.bu-finder form { border-radius: 10px; border-width: 1px; box-shadow: none; padding: 5px 5px 5px 16px; }
.bu-finder form .bu-btn { border-radius: 7px; }
.bz-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 10px; align-self: center; }
.bz-panel h2 { font-size: 1rem; margin: 0; }
.bz-panel h2:not(:first-child) { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.bz-panel__people { display: grid; gap: 2px; }
.bz-panel .pw-person { border: 0; padding: 8px; margin: 0 -8px; }
.bz-panel .pw-person:hover { background: var(--surface); }
.bz-panel__jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bz-panel__jobs a { display: grid; gap: 1px; padding: 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.bz-panel__jobs a:hover { background: var(--surface); }
.bz-panel__jobs span { font-size: .88rem; color: var(--muted); }
.bz-panel__more { font-weight: 600; font-size: .92rem; }
@media (max-width: 899px) { .bz-panel { margin-top: 26px; } }

/* ── Public profile header: cover band, round photo, dark text ─────── */
header.pv-hero { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px 22px; }
header.pv-hero .pv-hero__bg { inset: 0 0 auto 0; height: 110px; filter: none; transform: none; background: #dfe7f3 !important; z-index: 0; }
header.pv-hero::after { display: none; }
header.pv-hero .pv-top { position: relative; z-index: 1; padding-top: 38px; }
header.pv-hero .pv-photo { border-radius: 50%; border: 4px solid var(--paper); box-shadow: none; background: var(--surface); width: 136px; height: 136px; }
header.pv-hero .pv-photo img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }
header.pv-hero .pv-status { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
header.pv-hero .pv-status::before { display: none; }
header.pv-hero .pv-name { font: 700 clamp(26px, 3.4vw, 32px)/1.15 var(--f-text); letter-spacing: -.02em; color: var(--ink); margin-top: 14px; }
header.pv-hero .pv-name small { color: var(--muted); opacity: 1; }
header.pv-hero .pv-headline { color: var(--ink); font-weight: 500; font-size: 1.08rem; }
header.pv-hero .pv-pron, header.pv-hero .pv-job, header.pv-hero .pv-where { color: var(--muted); opacity: 1; }
header.pv-hero .pv-where a { color: var(--ink-2); text-decoration-color: var(--line-2); }
header.pv-hero .pv-badge { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; backdrop-filter: none; }
header.pv-hero .pv-badge.on { background: #e6f8f1; border-color: #c4eedd; color: #0a7d5a; }
header.pv-hero .pv-badge--sun { background: var(--violet-50); border-color: var(--violet-100); color: var(--violet); }
.pv-sec h2 { font-size: 1.2rem; font-family: var(--f-text); }
.pv-open li, .pv-fact, .pv-chips li { border-radius: 8px; }

/* ── Auth pages (login, sign up) ───────────────────────────────────── */
.bu-auth__card, .auth-card, .bu-formcard { border-radius: 12px; box-shadow: none; border: 1px solid var(--line); }
header.pv-hero .pv-photo img { border: 0; box-shadow: none; }
header.pv-hero .pv-online { border-color: var(--paper); width: 22px; height: 22px; right: 8px; bottom: 8px; }
header.pv-hero .pv-job { font-size: 15px; font-weight: 500; margin-top: 6px; }
header.pv-hero .pv-photo__count { left: 50%; transform: translateX(-50%); bottom: 6px; }

/* ══ 2026-11-12: the website takes the app's look ═════════════════════
   Grey canvas, white cards, and member cards that lead with what people do. */
body { background: var(--surface); }
.bu-section--tint { background: transparent; }
.bu-section { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.bu-section + .bu-section { padding-top: 0; }
.bu-pagehead + .bu-section, .bu-hero + .bu-section { padding-top: clamp(24px, 3vw, 36px); }
.bu-pagehead, .bu-hero.bz-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.bz-panel { background: var(--surface); }
.bz-panel .pw-person:hover, .bz-panel__jobs a:hover { background: var(--paper); }

/* member cards */
.bu-grid { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 14px; }
.bu-grid--dense { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.bu-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-align: center; align-items: stretch; padding-bottom: 12px; }
.bu-card:hover { border-color: var(--line-2); }
.bu-card__media { aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; display: grid; justify-items: center; padding-top: 22px; }
.bu-card__media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 62px; background: #dfe7f3; }
.bu-card__media img { position: relative; width: 88px; height: 88px; border-radius: 50%; border: 3px solid var(--paper); background: var(--surface); transition: none; }
.bu-card:hover .bu-card__media img { transform: none; }
.bu-card__dist { left: 8px; top: 8px; height: 22px; background: rgba(255,255,255,.94); border: 0; font-size: .72rem; }
.bu-card__premium { top: 8px; right: 8px; width: 24px; height: 24px; background: var(--paper); color: #b7791f; font-size: .68rem; }
.bu-card__body { padding: 10px 12px 0; gap: 3px; align-items: center; flex: 1; }
.bu-card__name { font-size: 1rem; justify-content: center; max-width: 100%; }
.bu-card__role { font-size: .86rem; line-height: 1.35; color: var(--ink-2); min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.bu-card__place { font-size: .8rem; color: var(--muted); max-width: 100%; }
.bu-card__cta { margin: 12px 12px 0; min-height: 34px; display: grid; place-items: center; border: 1px solid var(--violet); border-radius: 8px; color: var(--violet); font-weight: 600; font-size: .88rem; }
.bu-card:hover .bu-card__cta { background: var(--violet-50); }
.bu-card:hover .bu-card__name { color: var(--ink); }
@media (max-width: 575px) {
  .bu-grid, .bu-grid--dense { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bu-grid--dense .bu-card__type { display: none; }
  .bu-card__media img { width: 72px; height: 72px; }
  .bu-card__media::before { height: 52px; }
}

/* blocks that sat on white now sit on the canvas: give them a card */
.bu-types { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.bu-faq { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; }
.bu-faq details { border-radius: 0; }
.bu-places a, .bu-chips a, .bu-chips--quiet a { background: var(--paper); }
.bu-empty { background: var(--paper); }
.bu-prose, .bu-split > div > p { max-width: 62ch; }
/* public profile and job pages: each section is a card, like in the app */
.pv .pv-main .pv-sec, .pv .pv-main .pv-sec + .pv-sec { margin-top: 16px; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.pv .pv-main .pv-facts { margin-top: 16px; }
.pv .pv-fact { background: var(--paper); }
.pw-detail > article > .pw-head, .pw-detail > article > .pw-sec { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-top: 16px; }
.pw-detail > article > .pw-head { margin-top: 0; }
.pw-detail > article > .pw-sec + .pw-sec { border-top: 1px solid var(--line); }
@media (max-width: 575px) { .pv .pv-main .pv-sec, .pv .pv-main .pv-sec + .pv-sec, .pw-detail > article > .pw-head, .pw-detail > article > .pw-sec { padding: 16px; } }

/* ── Signed-in members: the website carries the app's top bar ──────── */
body.is-member .bu-top__in { height: 56px; max-width: calc(1128px + 2 * var(--gutter)); }
.bu-msearch { position: relative; flex: 0 1 300px; margin-left: 4px; }
.bu-msearch i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.bu-msearch input { width: 100%; height: 36px; border: 1px solid transparent; border-radius: 8px; background: var(--surface); padding: 0 12px 0 34px; font: inherit; font-size: .92rem; color: var(--ink); }
.bu-msearch input:focus { outline: 0; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-50); }
.bu-mnav { display: flex; align-items: stretch; margin-left: auto; height: 100%; }
.bu-mnav a { position: relative; display: grid; align-content: center; justify-items: center; gap: 3px; min-width: 76px; padding: 0 8px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.bu-mnav a i { font-size: 1.15rem; }
.bu-mnav a span { font-size: .75rem; font-weight: 500; }
.bu-mnav a:hover { color: var(--ink); }
.bu-mnav a:focus-visible { outline: 3px solid var(--violet-100); outline-offset: -3px; }
.bu-mnav .bu-badge-count { position: absolute; top: 6px; left: calc(50% + 4px); }
body.is-member .bu-top__right { margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
@media (max-width: 899px) {
  .bu-msearch { display: none; }
  .bu-mnav a { min-width: 0; padding: 0 9px; }
  .bu-mnav a span { display: none; }
}
@media (max-width: 479px) { .bu-mnav a:nth-child(4), .bu-mnav a:nth-child(5) { display: none; } }
