/* Listing page (templates/profile-listing/ListingPage.dc.html). Mobile is the base;
   the 340px rail and multi-column grids arrive at 1024px. Values are the design's. */

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
.eyebrow--sky { color: var(--brand-sky); letter-spacing: 0.1em; }
.eyebrow--deep { color: var(--accent-pressed); letter-spacing: 0.1em; }
.eyebrow--muted { margin-bottom: 8px; }
.more { font-size: 14px; font-weight: 700; color: var(--brand-cyan); text-decoration: none; }
.btn--xl { min-height: 52px; font-size: 16px; max-width: 360px; width: 100%; }
.btn--ghost { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-weight: 500; }
.btn--ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* tags: source labels (handoff token table) */
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.tag--verified { background: var(--bg-tint); color: var(--accent-pressed); border-color: #BEE6F6; }
.tag--typical { background: var(--gray-100); color: var(--fg-2); border-color: var(--gray-200); }
.tag--public { background: #fff; color: var(--fg-2); border-color: var(--gray-300); }
.tag--owner { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }
.tag--hoursUnv { background: #fff; color: var(--brand-navy); border-color: var(--brand-navy); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips--sm { gap: 4px; margin-top: 8px; }
.chips--expertise { gap: 6px; margin-top: 4px; }
.chip { display: inline-block; font-size: 14px; background: var(--gray-100); border-radius: 999px; padding: 6px 12px; color: var(--brand-navy); text-decoration: none; }
.chip--cat { font-size: 13px; background: #fff; border: 1px solid var(--gray-200); padding: 5px 12px; color: var(--fg-2); }
.chip--eco { font-size: 13px; font-weight: 700; color: var(--accent-pressed); background: var(--bg-tint); }
.chip--tint { font-size: 12px; font-weight: 500; background: var(--bg-tint); color: var(--accent-pressed); padding: 3px 9px; }
.chip--link { font-size: 13px; }
.chip--link:hover { color: var(--brand-cyan); }
.chips--expertise .chip { font-size: 13px; }

/* badge */
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 11px 5px 9px; border-radius: 999px; border: 1px solid; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; }
.badge--unv { background: #fff; color: var(--fg-2); border-color: var(--gray-300); } .badge--unv .badge__dot { background: var(--gray-400); }
.badge--ver { background: var(--bg-tint); color: var(--accent-pressed); border-color: #BEE6F6; } .badge--ver .badge__dot { background: var(--brand-cyan); }
.badge--claim { background: #fff; color: var(--brand-navy); border-color: var(--brand-navy); } .badge--claim .badge__dot { background: var(--brand-navy); }
.badge--mem { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); } .badge--mem .badge__dot { background: var(--brand-sky); }

/* hero */
.ls-hero { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 16px 0 20px; }
.ls-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--gray-500); margin-bottom: 18px; }
.ls-crumb a { color: var(--gray-500); text-decoration: none; }
.ls-head { display: flex; gap: 16px; align-items: flex-start; }
.ls-head__body { flex: 1; min-width: 0; }
.ls-tile { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ls-tile--img { object-fit: cover; background: #fff; border: 1px solid var(--gray-200); }
.ls-tile--initials { background: var(--bg-tint); color: var(--accent-pressed); font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.ls-tile--slot { border: 1px solid var(--gray-200); background: repeating-linear-gradient(135deg, #fff 0 8px, var(--gray-100) 8px 16px); font-family: var(--font-mono); font-size: 10px; color: var(--gray-500); text-align: center; padding: 4px; }
.ls-name { font-size: 30px; font-weight: 900; letter-spacing: -0.025em; line-height: 1.06; margin: 10px 0 6px; text-wrap: balance; }
.ls-place { font-size: 15px; color: var(--fg-2); }
.ls-tagline { font-size: 17px; line-height: 1.5; margin: 16px 0 0; max-width: 680px; }
.ls-cats { margin-top: 14px; }
.ls-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 8px; margin-top: 20px; max-width: 720px; }
.act { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 6px 8px; border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none; background: #fff; color: var(--brand-navy); border: 1px solid var(--gray-300); text-align: center; }
.act:hover { border-color: var(--brand-cyan); color: var(--brand-navy); }
.act--primary { background: var(--brand-cyan); color: #fff; border-color: var(--brand-cyan); }
.act--primary:hover { background: var(--accent-hover); color: #fff; }

/* claim bar */
.claimbar { background: var(--bg-tint); border-bottom: 1px solid #BEE6F6; }
.claimbar__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.claimbar__text { font-size: 15px; line-height: 1.45; flex: 1 1 240px; }
.claimbar .btn { min-height: 44px; font-size: 14px; }

/* body layout */
.ls-body { display: flex; gap: 40px; align-items: flex-start; padding-top: 24px; padding-bottom: 40px; }
.ls-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.ls-rail { display: none; }
/* Below the desktop breakpoint the rail stays hidden as the design draws it, except a member's
   message block: the hero's Message action points at it (#message), and with the whole rail hidden
   that button did nothing on a phone or tablet (2026-10-18 mobile audit). It follows the profile. */
@media (max-width: 1023.98px) {
  .ls-body:has(.rail-msg) { flex-direction: column; align-items: stretch; }
  .ls-body:has(.rail-msg) .ls-rail { display: block; }
  .ls-rail > :not(.rail-msg) { display: none; }
  /* 16px fields: iOS Safari zooms the page into any field smaller than that (the extra .ls-rail
     outranks the 15px rule further down) */
  .ls-rail .mf__field input, .ls-rail .mf__field textarea { font-size: 16px; }
}
.sec__h { font-size: 24px; font-weight: 900; letter-spacing: -0.015em; margin: 0 0 12px; }
.sec__h--tight { margin-bottom: 4px; }
.sec__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.sec__head .sec__h { margin: 0; }
.sec__note { font-size: 14px; color: var(--gray-500); margin: 0 0 14px; }

/* claim hero (imported) */
.claimhero { background: var(--brand-navy); color: #fff; border-radius: 16px; padding: 26px 22px; position: relative; overflow: hidden; }
.claimhero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 92% 0%, rgba(0,157,215,0.5), transparent 60%); }
.claimhero__in { position: relative; }
.claimhero__h { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.12; margin: 10px 0; color: #fff; text-wrap: balance; }
.claimhero__p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.86); margin: 0 0 18px; max-width: 520px; }
.claimhero__list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.claimhero__list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.claimhero__check { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-cyan); color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.claimhero__how { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 10px; }

/* about, services */
.about__blk { margin-bottom: 16px; }
.about__h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.about__p { font-size: 16px; line-height: 1.7; color: var(--fg-2); margin: 0; text-wrap: pretty; }
.about__ul { font-size: 16px; line-height: 1.6; color: var(--fg-2); margin: 0; padding-left: 22px; }
.about__ul li + li { margin-top: 4px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.svc { border: 1px solid var(--gray-200); border-radius: 12px; padding: 16px; }
.svc__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.svc__desc { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 6px 0 0; }

/* details table */
.details { border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; }
.row { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 16px; border-bottom: 1px solid var(--gray-200); }
.row:last-child { border-bottom: 0; }
.row__label { flex: 0 0 140px; font-size: 13px; font-weight: 500; color: var(--gray-500); padding-top: 2px; }
.row__val { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.row__text { font-size: 15px; line-height: 1.5; }
.row__list { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 3px 18px; font-size: 15px; }
.hours__day { color: var(--fg-2); }
.hours__day.is-today, .hours__time.is-today { color: var(--brand-navy); font-weight: 700; }

/* map */
.map { display: block; position: relative; width: 100%; height: 180px; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); background: repeating-linear-gradient(135deg, var(--gray-100) 0 10px, #E9EDF3 10px 20px); text-decoration: none; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--brand-cyan); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(24,46,69,0.35); }
.addr { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 12px; }
.addr__text { font-size: 15px; line-height: 1.5; }
.addr__dir { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 700; color: var(--brand-cyan); text-decoration: none; }
.areas { margin-top: 12px; }
.areas .chips { gap: 6px; }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.person { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--gray-200); border-radius: 12px; padding: 16px; }
.person__photo { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--gray-200); background: var(--bg-tint); color: var(--accent-pressed); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { min-width: 0; flex: 1; }
.person__name { font-size: 16px; font-weight: 700; }
.person__title { font-size: 14px; color: var(--fg-2); margin-top: 2px; }
.person__meet { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--brand-cyan); text-decoration: none; }

/* from this member */
.from { display: flex; flex-direction: column; gap: 24px; }
.from__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.from__head .eyebrow { margin: 0; }
.ev { display: flex; gap: 14px; align-items: center; border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px 14px; }
.ev__date { width: 52px; flex-shrink: 0; text-align: center; background: var(--bg-tint); border-radius: 10px; padding: 7px 0; }
.ev__mon { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-pressed); }
.ev__day { font-size: 21px; font-weight: 900; line-height: 1.1; }
.ev__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ev__meta { font-size: 13px; color: var(--gray-500); margin-top: 3px; }
.jobs { border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; flex-wrap: wrap; padding: 12px 14px; min-height: 44px; border-bottom: 1px solid var(--gray-200); text-decoration: none; color: var(--brand-navy); }
.job:last-child { border-bottom: 0; }
.job:hover { background: var(--gray-50); color: var(--brand-navy); }
.job__main { min-width: 0; flex: 1 1 180px; }
.job__title { font-size: 15px; font-weight: 700; }
.job__where { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.job__pay { font-size: 14px; font-weight: 700; color: var(--accent-pressed); }
.arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.art { display: block; text-decoration: none; color: var(--brand-navy); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 16px; }
.art:hover { background: #fff; border-color: var(--brand-cyan); color: var(--brand-navy); }
.art__date { font-size: 13px; color: var(--gray-500); }
.art__title { font-size: 15px; font-weight: 700; line-height: 1.35; margin-top: 6px; }

/* faq, checklist, spanish, provenance */
.faq { border-top: 1px solid var(--gray-200); }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__q { cursor: pointer; min-height: 44px; padding: 14px 2px; font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__sign::before { content: "+"; color: var(--brand-cyan); font-weight: 400; font-size: 22px; line-height: 1; }
.faq__item[open] .faq__sign::before { content: "\2212"; }
.faq__a { margin: 0; padding: 0 2px 16px; font-size: 15px; line-height: 1.65; color: var(--fg-2); }
.check { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; }
.check__h { font-size: 19px; font-weight: 900; margin: 0 0 12px; }
.check__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check__list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.check__box { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; border: 2px solid var(--brand-cyan); }
.es { background: var(--bg-tint); border-radius: 12px; padding: 20px; }
.es__h { font-size: 20px; font-weight: 900; margin: 6px 0 8px; }
.es__p { font-size: 15px; line-height: 1.7; color: var(--brand-navy); margin: 0; }
.prov { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--gray-200); background: #fff; }
.prov__dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--gray-400); }
.prov--verified .prov__dot { background: var(--brand-cyan); }
.prov--owner .prov__dot { background: var(--brand-navy); }
.prov__title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.prov__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.prov__link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 700; color: var(--brand-cyan); text-decoration: none; }

/* rail (desktop) */
.rail-card { border: 1px solid var(--gray-200); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-xs); }
.rail-card .eyebrow { margin-bottom: 12px; letter-spacing: 0.1em; }
.rail-card__phone { display: block; font-size: 22px; font-weight: 900; color: var(--brand-navy); text-decoration: none; }
.rail-card__addr { font-size: 15px; line-height: 1.5; color: var(--fg-2); margin-top: 8px; }
.rail-card__web { display: block; font-size: 15px; font-weight: 500; color: var(--brand-cyan); text-decoration: none; margin-top: 8px; }
.rail-card__today { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); color: var(--gray-500); }
.rail-card__today-val { font-weight: 500; color: var(--brand-navy); }
.rail-card__social { gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.rail-msg { border: 1px solid var(--gray-200); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rail-msg__h { font-size: 18px; font-weight: 900; }
.rail-msg__note { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.rail-msg__btn { align-self: flex-start; }
/* the message form on a member listing (PROFILE-SPEC P8) */
.mf { display: flex; flex-direction: column; gap: 12px; }
.mf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mf__field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--brand-navy); }
.mf__field input, .mf__field textarea { font: inherit; font-weight: 400; font-size: 15px; color: var(--brand-navy); padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: 10px; background: #fff; width: 100%; }
.mf__field textarea { min-height: 110px; resize: vertical; }
.mf__field input:focus, .mf__field textarea:focus { outline: 2px solid var(--brand-cyan); outline-offset: 1px; border-color: var(--brand-cyan); }
.mf__field.is-invalid input, .mf__field.is-invalid textarea { border-color: #B42318; }
.mf__err { font-size: 12px; font-weight: 500; color: #B42318; min-height: 0; }
.mf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mf .cf-turnstile:empty { display: none; }
.mf__status { font-size: 14px; line-height: 1.5; color: var(--gray-500); }
.mf__status.is-ok { color: #067647; font-weight: 700; }
.mf__status.is-error { color: #B42318; }
.mf__fine { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.rail-msg__embed { border: 1px dashed var(--gray-400); border-radius: 0 8px 8px 0; padding: 18px 14px; background: repeating-linear-gradient(135deg, #fff 0 8px, var(--gray-50) 8px 16px); font-family: var(--font-mono); font-size: 12px; color: var(--gray-500); text-align: center; line-height: 1.6; }
.rail-claim { background: var(--brand-navy); color: #fff; border-radius: 16px; padding: 22px; }
.rail-claim__h { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.rail-claim__p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.82); }
.rail-claim .btn { width: 100%; min-height: 44px; }

/* nearby, band */
.nearby { border-top: 1px solid var(--gray-200); background: var(--gray-50); padding: 28px 0; }
.nearby__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.nearby__h { font-size: 22px; font-weight: 900; margin: 0; }
.nearby__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.nb { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--brand-navy); background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 14px; }
.nb:hover { border-color: var(--brand-cyan); color: var(--brand-navy); }
.nb__tile { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-tint); color: var(--accent-pressed); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; flex-shrink: 0; }
.nb__name { font-size: 15px; font-weight: 700; }
.nb__city { font-size: 13px; color: var(--gray-500); }
.band { background: var(--brand-navy); color: #fff; padding: 28px 0; }
.band__row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.band__text { flex: 1 1 300px; }
.band__h { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin: 8px 0 6px; }
.band__next { font-size: 15px; color: rgba(255,255,255,0.8); }
.band__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.band .btn { min-height: 48px; }

/* desktop expansion */
@media (min-width: 1024px) {
  .ls-hero { padding: 28px 0 32px; }
  .ls-tile { width: 96px; height: 96px; }
  .ls-tile--initials { font-size: 32px; }
  .ls-name { font-size: 44px; }
  .ls-actions { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .act { font-size: 14px; }
  .ls-body { padding-top: 40px; padding-bottom: 64px; }
  .ls-rail { display: flex; flex: 0 0 340px; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
  .claimhero { padding: 32px 28px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { height: 260px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nearby, .band { padding: 40px 0; }
  .nearby__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
