/* Theme tokens; system fonts keep the strict CSP self-contained. */
:root {
  --primary: #101B2D; --secondary: #151A22; --accent: #C6A15B; --accent-hover: #E0BB72;
  --background: #FFFFFF; --background-light: #F5F6F8; --background-dark: #0B1018; --card-bg: #202C3C;
  --text-primary: #101B2D; --text-white: #FFFFFF; --text-secondary: #B9C0CA; --border-color: #344154;
  --sky: var(--accent); --sky-deep: var(--primary); --sky-dark: var(--background-dark);
  --pink: var(--accent); --pink-deep: #a88442; --pink-dark: #725a2d; --pink-soft: #fbf7ed; --pink-line: #e8dfcc;
  --sky-soft: var(--background-light); --sky-line: #dce1e8;
  --red: var(--accent); --red-deep: #a88442; --red-dark: var(--primary); --red-soft: #fbf7ed; --red-line: #e8dfcc;
  --white: var(--background); --paper: var(--background-light); --ink: var(--text-primary); --muted: #667085; --line: #dce1e8;
  --ok: #17764a; --warn: #b26a00; --bad: #b3121f; --radius: 10px;
  --hard: 0 14px 34px rgba(16, 27, 45, .1);
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: #0a0a0a; background: #ffffff; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: #000000; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.h3, h3 { font-size: 1.2rem; }
em.red, .red { color: #000000; font-style: italic; }
p { margin: 0 0 1em; }
ul.plain, ul.list { list-style: none; padding: 0; margin: 0 0 1em; }
ul.list li { padding: .7rem 0; border-bottom: 1px solid #d6d6d6; }

.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(740px, 100% - 2rem); }
.center { text-align: center; }
.section { padding: 3.5rem 0; }
.muted { color: #3d3d3d; }
.small { font-size: .875rem; }
.prewrap { white-space: pre-wrap; }
.inline { display: inline; }
.lead { font-size: 1.15rem; color: #3d3d3d; max-width: 38rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: #000000; font-weight: 700; margin-bottom: .6rem; }
.kicker { display: flex; align-items: center; gap: .8rem; font-weight: 700; color: #000000; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.kicker::before { content: attr(data-n); font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; }
.kicker::after { content: ''; flex: 0 0 56px; height: 2px; background: #111111; color: #ffffff; }

/* Top strip + header */
.topbar { background: #ffffff; color: #0a0a0a; font-size: .8rem; text-align: center; padding: .45rem 1rem; letter-spacing: .03em; }
.topbar b { font-weight: 700; }
.site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid #d6d6d6; position: sticky; top: 0; z-index: 30; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: #0a0a0a; text-decoration: none; letter-spacing: -.02em; }
.logo-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; background: #111111; color: #ffffff; border: 1px solid #1a1a1a; border-radius: 11px 11px 11px 3px; font: 700 1.15rem var(--serif); }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a:not(.btn) { color: #0a0a0a; text-decoration: none; font-size: .95rem; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-links a.active, .nav-links a:not(.btn):hover { color: #000000; border-bottom-color: #1a1a1a; }
.nav-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; padding: .72rem 1.35rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .94rem; cursor: pointer; text-decoration: none; text-align: center; line-height: 1.2; transition: transform .12s, background .12s, color .12s, box-shadow .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #111111; color: #ffffff; box-shadow: 0 4px 0 rgba(0,0,0,0.4); }
.btn-primary:hover { background: #111111; color: #ffffff; }
.btn-outline { background: #ffffff; color: #000000; border-color: #1a1a1a; }
.btn-outline:hover { background: #111111; color: #ffffff; }
.btn-ghost { background: transparent; color: #0a0a0a; }
.btn-ghost:hover { background: #fdfdfd; }
.btn-white { background: #ffffff; color: #000000; box-shadow: 0 4px 0 rgba(0,0,0,0.1); }
.btn-white:hover { background: #fdfdfd; }
.btn.danger { color: #0a0a0a; }
.btn-sm { padding: .42rem .9rem; font-size: .84rem; box-shadow: none; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; margin-top: .5rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #fdfdfd; border-bottom: 1px solid #d6d6d6; }
.hero::before { content: ''; position: absolute; right: -180px; top: -160px; width: 640px; height: 640px; border-radius: 50%; background: #111111; color: #ffffff; }
.hero::after { content: ''; position: absolute; left: -120px; bottom: -200px; width: 380px; height: 380px; border-radius: 50%; background: #fdfdfd; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; padding: 4.2rem 0 3.6rem; }
.hero h1 { margin-bottom: .35em; }
.hero h1 span { display: inline-block; background: #111111; color: #ffffff; padding: 0 .22em .06em; border-radius: 12px; transform: rotate(-1.5deg); font-style: italic; }
.search-bar { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr auto; gap: .5rem; background: #ffffff; padding: .6rem; border-radius: 20px; border: 2px solid #d6d6d6; box-shadow: 0 14px 34px rgba(0,0,0,0.04); margin: 1.6rem 0 1.2rem; }
.search-bar input, .search-bar select { border: 1px solid #d6d6d6; background: #fdfdfd; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: #3d3d3d; font-size: .9rem; }
.hero-points li::before { content: '\2713'; color: #000000; font-weight: 800; margin-right: .4rem; }

.hero-art { position: relative; height: 470px; }
.hero-art-caption { position: absolute; z-index: 4; right: 0; bottom: -.2rem; width: min(250px, 55%); margin: 0; padding: .65rem .85rem; border-radius: 12px; background: #ffffff; color: #3d3d3d; font-size: .78rem; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.arch { position: absolute; border-radius: 999px 999px 22px 22px; overflow: hidden; border: 5px solid #d6d6d6; box-shadow: 0 18px 40px rgba(0,0,0,0.1); background: #fdfdfd; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-1 { width: 190px; height: 300px; left: 4%; top: 8%; transform: rotate(-5deg); }
.arch-2 { width: 220px; height: 350px; left: 34%; top: 0; z-index: 2; }
.arch-3 { width: 180px; height: 280px; right: 0; top: 22%; transform: rotate(5deg); }
.seal { position: absolute; left: 6%; bottom: 0; z-index: 3; width: 118px; height: 118px; border-radius: 50%; background: #ffffff; border: 3px solid #1a1a1a; display: grid; place-items: center; text-align: center; line-height: 1.15; font-weight: 800; color: #000000; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.seal strong { display: block; font-family: var(--serif); font-size: 1.9rem; letter-spacing: 0; }

.stats { display: flex; gap: 2.2rem; list-style: none; padding: 0; margin: 1.6rem 0 0; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--serif); font-size: 2rem; color: #000000; }
.stats span { color: #3d3d3d; font-size: .82rem; }

/* Ticker */
.ticker { background: #111111; color: #ffffff; overflow: hidden; border-block: 3px solid #1a1a1a; }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker span { padding: .75rem 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; white-space: nowrap; }
.ticker span::after { content: '\2726'; margin-left: 1.6rem; opacity: .7; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* Forms */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; color: #0a0a0a; background: #ffffff;
  border: 1.5px solid #d6d6d6; border-radius: 12px;
}
input:focus, select:focus, textarea:focus { border-color: #1a1a1a; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(26,26,26,0.55); outline-offset: 2px; }
label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 1rem; }
[data-profile-area-wrap][hidden] { display: none; }
label input, label select, label textarea { margin-top: .3rem; font-weight: 400; }
label.check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .6rem; font-weight: 400; }
label.check input { width: auto; margin-top: .3rem; accent-color: var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.filter-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-row select { width: auto; }
.upload-form { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.upload-form input[type=file] { flex: 1 1 240px; }

/* Captcha + OTP */
.captcha-box { border: 1.5px dashed #1a1a1a; border-radius: 14px; padding: .9rem; background: #fdfdfd; margin-bottom: 1rem; }
.captcha-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .6rem; }
.captcha-row img { border-radius: 8px; border: 1px solid #d6d6d6; background: #ffffff; }
.captcha-box label { margin-bottom: 0; }
.otp-input { text-align: center; font-size: 2rem !important; letter-spacing: .55em; font-family: var(--serif); padding-left: .55em !important; }
.dev-note { background: #fdfdfd; border: 1px solid #d6d6d6; color: #3d3d3d; border-radius: 12px; padding: .7rem .9rem; font-size: .88rem; margin: 1rem 0; }

/* Panels, alerts, pills */
.panel { background: #ffffff; border: 2px solid #d6d6d6; border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.4rem; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.alert { padding: .85rem 1.1rem; border-radius: 12px; margin: 1rem 0; border: 1.5px solid; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert-success { background: #fdfdfd; border-color: #d6d6d6; color: #0a0a0a; }
.alert-error { background: #fdfdfd; border-color: #1a1a1a; color: #000000; }
.alert-info { background: #ffffff; border-color: #d6d6d6; color: #0a0a0a; }
.pill { display: inline-block; padding: .15rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: capitalize; background: #fdfdfd; }
.pill-approved { background: #fdfdfd; color: #3d3d3d; }
.pill-pending { background: #fdfdfd; color: #000000; }
.pill-rejected { background: #fdfdfd; color: #0a0a0a; }
.badge { position: absolute; top: .8rem; left: .8rem; z-index: 2; background: #111111; color: #ffffff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; }
.badge-new { left: auto; right: .8rem; background: #ffffff; color: #000000; border: 1.5px solid #1a1a1a; }

/* Cards & grids */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: block; background: #ffffff; border: 2px solid #d6d6d6; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 rgba(0,0,0,0.4); }
.card-body { padding: .9rem 1.05rem 1.1rem; }
.card-body h3 { margin-bottom: .15rem; font-size: 1.15rem; }
.card-body p { margin-bottom: .3rem; }
.card-body .headline { font-size: .86rem; color: #3d3d3d; line-height: 1.35; min-height: 2.3em; }
.thumb { position: relative; aspect-ratio: 3 / 4; background: #fdfdfd; margin: .6rem .6rem 0; border-radius: 999px 999px 12px 12px; overflow: hidden; border: 1.5px solid #d6d6d6; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .badge { top: 1.4rem; left: 50%; transform: translateX(-50%); }
.meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .78rem; color: #3d3d3d; margin: 0; }
.rate { display: inline-block; margin-top: .4rem; font-weight: 800; color: #000000; font-size: .9rem; }
.rate small { color: #3d3d3d; font-weight: 500; }
.list-cards { display: grid; gap: 1.1rem; }
.request-card .card-body { padding: 1.2rem 1.4rem; }
.request-card:hover { box-shadow: 6px 6px 0 rgba(0,0,0,0.4); }

/* Sections */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head h2 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .5rem 1.1rem; border: 2px solid #d6d6d6; background: #ffffff; border-radius: 999px; text-decoration: none; color: #0a0a0a; font-size: .92rem; font-weight: 600; }
.chip:hover { background: #111111; border-color: #1a1a1a; color: #ffffff; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat { display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; padding: 1.1rem 1.2rem; background: #fdfdfd; border: 2px solid #d6d6d6; border-radius: var(--radius); text-decoration: none; color: #0a0a0a; transition: .15s; }
.cat strong { font-family: var(--serif); font-size: 1.3rem; }
.cat span { font-size: .82rem; color: #3d3d3d; }
.cat:hover { background: #111111; border-color: #1a1a1a; color: #ffffff; transform: translateY(-3px); }
.cat:hover span { color: #0a0a0a; }
.band { background: #fdfdfd; border-block: 1px solid #d6d6d6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: #ffffff; border: 2px solid #d6d6d6; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50% 50% 8px 8px; background: #111111; color: #ffffff; font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin-bottom: .8rem; }
.empty { text-align: center; padding: 3rem 1rem; background: #fdfdfd; border: 2px dashed #d6d6d6; border-radius: var(--radius); }

/* Location directory */
.location-band { background: #fdfdfd; }
.location-heading { text-align: center; margin-bottom: 1.6rem; }
.location-heading .kicker { justify-content: center; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.location-card { overflow: hidden; background: #ffffff; border: 1px solid #d6d6d6; border-radius: 15px; box-shadow: 0 6px 20px rgba(0,0,0,0.024); }
.location-card-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-bottom: 1px solid #d6d6d6; color: #0a0a0a; text-decoration: none; }
.location-card-head strong { flex: 1; }
.location-pin { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: #ffffff; color: #0a0a0a; font-size: 1.35rem; }
.location-arrow { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #fdfdfd; color: #000000; font-size: 1.3rem; line-height: 1; }
.location-areas { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem 1rem 1rem; }
.location-chip { border-radius: 999px; padding: .3rem .7rem; background: #fdfdfd; color: #000000; font-size: .8rem; text-decoration: none; }
.location-chip:hover, .location-card-head:hover { color: #000000; }
.location-chip-nested { background: #ffffff; border: 1px solid #d6d6d6; }
.location-page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0 1.3rem; margin-bottom: 1.5rem; border-bottom: 1px solid #d6d6d6; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: .84rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumb-current { padding: .2rem .7rem; border-radius: 999px; background: #fdfdfd; color: #000000; font-weight: 700; }
.location-search { display: flex; align-items: center; gap: .5rem; width: min(390px, 100%); padding: .25rem; border: 1px solid #d6d6d6; border-radius: 999px; background: #ffffff; }
.location-search input[type=text] { min-width: 0; border: 0; background: transparent; }
.location-search .btn { flex: 0 0 auto; padding: .6rem 1rem; }
.location-results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.location-intro { max-width: 900px; margin: 0 auto 2.5rem; }
.featured-location { margin: 0 0 2.5rem; }
.featured-location-heading { display: flex; align-items: center; gap: .55rem; margin-bottom: .75rem; }
.featured-location-heading h2 { margin: 0; color: #000000; font: 700 .88rem var(--sans); }
.featured-location-dot { width: .55rem; height: .55rem; flex: 0 0 .55rem; border-radius: 50%; background: #111111; color: #ffffff; }
.featured-location-track { display: flex; gap: .65rem; overflow-x: auto; padding: .15rem .15rem .6rem; scroll-snap-type: x mandatory; scrollbar-color: var(--sky) var(--sky-soft); }
.featured-profile { display: block; flex: 0 0 96px; scroll-snap-align: start; color: #0a0a0a; text-decoration: none; }
.featured-profile-photo { position: relative; aspect-ratio: 3 / 5; overflow: hidden; border: 2px solid #d6d6d6; border-radius: 13px; background: #fdfdfd; box-shadow: 0 3px 8px rgba(0,0,0,0.06); }
.featured-profile-photo::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(transparent, rgba(247,247,247,0.82)); }
.featured-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.featured-profile-badge { position: absolute; z-index: 1; top: .35rem; left: .3rem; max-width: calc(100% - .6rem); padding: .13rem .35rem; overflow: hidden; border-radius: 5px; background: #fdfdfd; color: #0a0a0a; font-size: .56rem; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.featured-profile-badge.is-featured { background: #111111; color: #ffffff; }
.featured-profile-name { position: absolute; z-index: 1; right: .35rem; bottom: .4rem; left: .35rem; display: -webkit-box; overflow: hidden; color: #0a0a0a; font-size: .7rem; font-weight: 750; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,0.28); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-profile:hover .featured-profile-photo { border-color: #1a1a1a; transform: translateY(-2px); }
.location-copy { max-width: 900px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid #d6d6d6; }
.location-copy h2 { margin-bottom: 1.1rem; }
.location-copy p { color: #0a0a0a; }
.location-results-head { align-items: center; }
.location-results-head h1 { margin-bottom: 0; }
.location-sidebar .panel { padding: 1.1rem; border: 1px solid #d6d6d6; box-shadow: 0 6px 20px rgba(0,0,0,0.024); }
.area-link { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-top: 1px solid #d6d6d6; color: #0a0a0a; text-decoration: none; }
.area-link span { color: #000000; }
.area-link.active { color: #000000; font-weight: 700; }
.reviews-panel h2 { color: #000000; }
.area-review { padding: .75rem 0; border-top: 1px solid #d6d6d6; }
.area-review-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.area-review .stars { margin: .15rem 0; }
.area-review p { margin: 0; font-size: .86rem; color: #3d3d3d; }
.profile-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dashboard-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.dashboard-sidebar { display: grid; gap: .35rem; padding: .8rem; border-radius: var(--radius); background: linear-gradient(160deg, #ffffff, #111111); color: #ffffff; }
.dashboard-nav-link { padding: .7rem .85rem; border-radius: 10px; color: #0a0a0a; text-decoration: none; font-weight: 650; }
.dashboard-nav-link:hover, .dashboard-nav-link.active { background: #ffffff; color: #000000; }
.dashboard-content { min-width: 0; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.dashboard-heading h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.dashboard-heading p { margin: .25rem 0 0; }
.dashboard-empty { border-color: #d6d6d6; box-shadow: none; }
.dashboard-ad-list { display: grid; gap: 1rem; }
.dashboard-ad { margin: 0; border: 1px solid #d6d6d6; box-shadow: 0 6px 20px rgba(0,0,0,0.028); }
.dashboard-ad-summary { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 1rem; align-items: start; }
.dashboard-ad-image { width: 125px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #fdfdfd; }
.dashboard-ad-placeholder { display: grid; place-items: center; padding: .5rem; color: #3d3d3d; font-size: .8rem; }
.dashboard-ad-info { min-width: 0; }
.dashboard-ad-info .eyebrow { margin-bottom: .35rem; }
.dashboard-ad-info h2 { overflow-wrap: anywhere; }
.dashboard-ad-actions { margin-top: .75rem; }
.dashboard-photo-manager { margin-top: 1rem; padding: .8rem 0 0; border-top: 1px solid #d6d6d6; border-bottom: 0; }
.dashboard-photo-manager summary { color: #0a0a0a; font-weight: 700; }
.dashboard-photo-manager .photo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

/* Call-to-action band */
.cta { background: linear-gradient(135deg, #ffffff 0%, #111111 100%); color: #ffffff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3.2rem 0; }
.cta h2 { color: #0a0a0a; margin: 0 0 .4rem; }
.cta p { color: #0a0a0a; margin: 0; max-width: 34rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta .btn-outline { background: transparent; color: #0a0a0a; border-color: #d6d6d6; }
.cta .btn-outline:hover { background: #ffffff; color: #000000; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #ffffff; border: 2px solid #d6d6d6; border-radius: 22px; padding: 2rem 1.7rem; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.plan h3 { font-size: 1.4rem; }
.plan .price { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: #0a0a0a; margin: .6rem 0 .2rem; }
.plan .price sup { font-size: 1.2rem; vertical-align: top; position: relative; top: .5rem; margin-right: .1rem; }
.plan .period { color: #3d3d3d; font-size: .85rem; margin-bottom: 1rem; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex: 1; }
.plan li { padding: .45rem 0 .45rem 1.7rem; position: relative; border-bottom: 1px solid #d6d6d6; font-size: .93rem; }
.plan li::before { content: '\2713'; position: absolute; left: 0; color: #000000; font-weight: 800; }
.plan.hot { background: #111111; color: #ffffff; border-color: #1a1a1a; box-shadow: 8px 8px 0 rgba(0,0,0,0.4); transform: translateY(-10px); }
.plan.hot .price, .plan.hot h3 { color: #0a0a0a; }
.plan.hot .period, .plan.hot .muted { color: #0a0a0a; }
.plan.hot li { border-color: rgba(0,0,0,0.125); }
.plan.hot li::before { color: #0a0a0a; }
.plan .ribbon { position: absolute; top: -14px; right: 22px; background: #ffffff; color: #000000; border: 2px solid #1a1a1a; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.price-note { text-align: center; color: #3d3d3d; font-size: .9rem; margin-top: 1.6rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.quote { margin: 0; position: relative; background: #ffffff; border: 2px solid #d6d6d6; border-radius: var(--radius); padding: 1.6rem 1.3rem 1.3rem; display: flex; flex-direction: column; }
.quote::before { content: '\201C'; position: absolute; top: -.2rem; left: 1rem; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: #000000; }
.quote p { margin-top: 1.4rem; font-size: .95rem; flex: 1; }
.quote footer { display: flex; align-items: center; gap: .7rem; padding-top: .9rem; border-top: 1px solid #d6d6d6; }
.quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #1a1a1a; }
.quote footer strong { display: block; font-size: .92rem; }
.quote footer span { font-size: .78rem; color: #3d3d3d; }
.stars { color: #000000; letter-spacing: .15em; font-size: .9rem; }

/* Long-form guide */
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 92px; border-left: 3px solid #1a1a1a; padding-left: 1.1rem; }
.toc h4 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: #000000; margin-bottom: .8rem; }
.toc a { display: block; padding: .3rem 0; color: #0a0a0a; text-decoration: none; font-size: .88rem; line-height: 1.35; }
.toc a:hover { color: #000000; }
.guide-body h2 { font-size: 2rem; }
.guide-body h3 { font-size: 1.45rem; margin-top: 2.1rem; padding-top: .4rem; scroll-margin-top: 90px; }
.guide-body h3::before { content: ''; display: block; width: 44px; height: 4px; background: #111111; border-radius: 2px; margin-bottom: .7rem; color: #ffffff; }
.guide-body p { font-size: 1.02rem; color: #0a0a0a; }
.guide-body > p:first-of-type { font-size: 1.18rem; color: #0a0a0a; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: #ffffff; border: 2px solid #d6d6d6; border-radius: 14px; padding: 0; margin-bottom: .8rem; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; padding: 1rem 3.2rem 1rem 1.2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #111111; color: #ffffff; display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] { background: #fdfdfd; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: #3d3d3d; }
.site-faq { background: #fdfdfd; border-top: 1px solid #d6d6d6; }
.site-faq-inner { max-width: 900px; }
.site-faq h2 { margin-bottom: 1rem; }
.site-faq-list details { margin-bottom: .65rem; border: 1px solid #d6d6d6; border-radius: 12px; background: #ffffff; }
.site-faq-list details[open] { background: #ffffff; }
.site-faq-list summary::after { background: #111111; color: #ffffff; }
details { border-bottom: 1px solid #d6d6d6; padding: .8rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 0; color: #3d3d3d; }
.faq details { padding: 0; border-bottom: 2px solid #d6d6d6; }

/* Browse layout */
.layout-sidebar { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
.filters { background: #ffffff; border: 2px solid #d6d6d6; border-radius: var(--radius); padding: 1.2rem; position: sticky; top: 92px; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.filters label { margin-bottom: .8rem; }
.pagination { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; align-items: center; font-weight: 600; }
.page-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

/* Profile page */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; }
.gallery-main { border-radius: 999px 999px 22px 22px; overflow: hidden; background: #fdfdfd; border: 3px solid #d6d6d6; box-shadow: 0 14px 34px rgba(0,0,0,0.04); }
.gallery-main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .6rem; margin-top: 1rem; }
.gallery-thumbs a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; }
.gallery-thumbs a.on { border-color: #1a1a1a; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price-tag { display: inline-block; background: #111111; color: #ffffff; border-radius: 999px; padding: .35rem 1rem; font-weight: 800; margin-bottom: 1rem; }
.price-tag small { font-weight: 500; opacity: .85; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.5rem; margin: 1rem 0 1.5rem; }
.specs div { border-bottom: 1px solid #d6d6d6; padding-bottom: .4rem; }
.specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #3d3d3d; }
.specs dd { margin: 0; font-weight: 700; }
.actions { margin: 1rem 0; }
.report { margin-top: 1rem; }

/* Tabs */
.tabs { display: flex; gap: .5rem; margin: 1rem 0 1.5rem; flex-wrap: wrap; }
.tabs a { padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid #d6d6d6; background: #ffffff; text-decoration: none; color: #0a0a0a; font-weight: 600; }
.tabs-cap a { text-transform: capitalize; }
.tabs a.active { background: #111111; color: #ffffff; border-color: #1a1a1a; }

/* Auth pages */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.auth-art { position: relative; background: linear-gradient(145deg, #ffffff, #111111); color: #ffffff; display: flex; flex-direction: column; justify-content: center; padding: 3rem; overflow: hidden; }
.auth-art::before { content: ''; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.auth-art h2 { color: #0a0a0a; font-size: 2.4rem; }
.auth-art ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.auth-art li { padding: .4rem 0 .4rem 1.8rem; position: relative; color: #0a0a0a; }
.auth-art li::before { content: '\2713'; position: absolute; left: 0; color: #0a0a0a; font-weight: 800; }
.auth-art .arch { position: relative; width: 150px; height: 220px; margin-top: 1.5rem; transform: rotate(-4deg); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.2rem; }
.form-wrap { width: min(480px, 100%); }

/* Dashboard & admin */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin: 1rem 0; }
.photo-item img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: 80px 80px 10px 10px; border: 2px solid #d6d6d6; }
.photo-actions { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.5rem; }
.stat { display: flex; flex-direction: column; text-decoration: none; color: inherit; margin: 0; }
.stat strong { font-family: var(--serif); font-size: 2.4rem; color: #000000; }
.stat span { color: #3d3d3d; font-size: .9rem; }
.admin-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 1rem; align-items: start; }
.admin-thumb { width: 90px; aspect-ratio: 3 / 4; border-radius: 45px 45px 8px 8px; overflow: hidden; background: #fdfdfd; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-actions { display: flex; flex-direction: column; gap: .3rem; align-items: stretch; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #ffffff; border: 2px solid #d6d6d6; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid #d6d6d6; font-size: .92rem; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: #000000; background: #fdfdfd; }

.prose h2 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: #f7f7f7; color: #0a0a0a; margin-top: 0; padding: 3.2rem 0 1.5rem; }
.site-footer .logo { color: #0a0a0a; }
.site-footer a { color: #0a0a0a; display: block; text-decoration: none; margin-bottom: .45rem; font-size: .92rem; }
.site-footer a.logo { display: inline-flex; }
.site-footer a:hover { color: #0a0a0a; text-decoration: underline; }
.site-footer h4 { color: #0a0a0a; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.site-footer .muted { color: #3d3d3d; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-note { border-top: 1px solid rgba(0,0,0,0.12); margin-top: 1.8rem; padding-top: 1rem; font-size: .8rem; }

/* Floating contact actions */
.floating-contact {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.floating-contact-link {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid #d6d6d6;
  border-radius: 50%;
  color: #0a0a0a;
  box-shadow: 0 7px 22px rgba(0,0,0,0.112);
  transition: transform .15s, box-shadow .15s;
}
.floating-contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}
.floating-contact-link svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}
.floating-whatsapp { background: #111111; color: #ffffff; }
.floating-call { background: #ffffff; }
@media (max-width: 440px) {
  .floating-contact { right: .75rem; bottom: .75rem; }
  .floating-contact-link { width: 48px; height: 48px; }
  .floating-contact-link svg { width: 26px; height: 26px; }
}

/* Responsive */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 380px; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero::before { width: 420px; height: 420px; right: -150px; top: auto; bottom: -120px; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .filters { position: static; }
  .guide { grid-template-columns: 1fr; gap: 1.5rem; }
  .toc { position: static; }
}
@media (max-width: 780px) {
  .logo { font-size: 1.3rem; gap: .45rem; }
  .logo-mark { width: 32px; height: 32px; }
  .nav { gap: .6rem; }
  .nav-toggle { display: inline-block; background: #ffffff; border: 2px solid #d6d6d6; border-radius: 10px; padding: .4rem .8rem; font: inherit; font-weight: 600; cursor: pointer; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: #ffffff; padding: 1rem 1.2rem 1.4rem; border-bottom: 2px solid #1a1a1a; }
  .nav-links.open { display: flex; }
  .search-bar { grid-template-columns: 1fr; }
  .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .profile-layout, .dash-grid, .steps, .footer-grid, .row-2, .stat-grid, .pricing, .auth-wrap { grid-template-columns: 1fr; }
  .plan.hot { transform: none; }
  .quotes, .cat-grid { grid-template-columns: 1fr; }
  .location-grid, .location-results-layout { grid-template-columns: 1fr; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: flex; overflow-x: auto; }
  .dashboard-nav-link { flex: 0 0 auto; }
  .dashboard-ad-summary { grid-template-columns: 90px minmax(0, 1fr); }
  .dashboard-ad-image { width: 90px; }
  .location-page-head { align-items: stretch; flex-direction: column; }
  .location-search { width: 100%; }
  .auth-art { display: none; }
  .admin-row { grid-template-columns: 70px 1fr; }
  .admin-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .hero-art { height: 340px; }
  .hero-art-caption { bottom: 0; }
  .arch-1 { width: 140px; height: 220px; }
  .arch-2 { width: 170px; height: 270px; }
  .arch-3 { width: 130px; height: 210px; }
  .seal { width: 92px; height: 92px; font-size: .68rem; }
  .seal strong { font-size: 1.4rem; }
}
@media (max-width: 440px) {
  .logo { font-size: 1.05rem; gap: .35rem; }
  .logo-mark { width: 28px; height: 28px; }
  .nav { gap: .4rem; }
  .nav-toggle { padding: .3rem .55rem; }
}

/* ===== Sky blue and blush pink theme ===== */
body { background: #fdfdfd; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; }
a { color: #000000; }
.eyebrow, .kicker { color: #000000; letter-spacing: .22em; }
.kicker::after { height: 1px; background: linear-gradient(90deg, #111111, transparent); color: #ffffff; }
.topbar { background: #ffffff; color: #0a0a0a; border-bottom: 1px solid rgba(0,0,0,0.175); letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; }
.site-header { background: rgba(254,254,254,0.95); }
.logo-mark { border: 0; border-radius: 4px; background: linear-gradient(145deg, #fcfcfc, #fbfbfb); color: #0a0a0a; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.nav-links a:not(.btn) { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a.active, .nav-links a:not(.btn):hover { color: #000000; border-bottom-color: #1a1a1a; }
.btn { border-radius: 3px; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; padding: .85rem 1.5rem; }
.btn-primary { background: linear-gradient(110deg, #fcfcfc 0%, #fbfbfb 100%); color: #0a0a0a; border-color: #1a1a1a; box-shadow: 0 1px 0 rgba(0,0,0,0.26) inset, 0 8px 18px rgba(0,0,0,0.088); }
.btn-primary:hover { background: linear-gradient(110deg, #111111, #111111); color: #ffffff; border-color: #1a1a1a; }
.btn-outline { background: transparent; color: #0a0a0a; border-color: #d6d6d6; }
.btn-outline:hover { background: #ffffff; color: #0a0a0a; }
.btn-ghost:hover { background: #fdfdfd; }
.btn-white { color: #000000; box-shadow: 0 5px 16px rgba(0,0,0,0.072); }
.btn-sm { padding: .55rem 1.1rem; font-size: .7rem; }
.hero { background: radial-gradient(900px 500px at 85% -10%, rgba(255,255,255,0.2), transparent 60%), linear-gradient(135deg, #ffffff 0%, #ffffff 100%); color: #0a0a0a; border-bottom: 1px solid rgba(0,0,0,0.175); }
.hero::before { right: -140px; top: -140px; width: 520px; height: 520px; background: transparent; border: 1px solid rgba(0,0,0,0.14); box-shadow: 0 0 0 60px rgba(0,0,0,0.024), 0 0 0 120px rgba(0,0,0,0.02); }
.hero::after { background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); }
.hero h1 { color: #0a0a0a; }
.hero h1 span { background: linear-gradient(115deg, #fcfcfc, #fbfbfb); color: #0a0a0a; border-radius: 6px; transform: none; box-shadow: 0 10px 26px rgba(0,0,0,0.1); }
.hero .eyebrow { color: #3d3d3d; }
.hero .lead { color: #0a0a0a; }
.hero-points { color: #3d3d3d; }
.hero-points li::before { color: #3d3d3d; }
.stats strong { color: #3d3d3d; }
.stats span { color: #3d3d3d; }
.search-bar { background: rgba(255,255,255,0.98); border: 1px solid #1a1a1a; border-radius: 8px; box-shadow: 0 20px 44px rgba(0,0,0,0.12); }
.search-bar input, .search-bar select { border-radius: 4px; border-color: #d6d6d6; background: #ffffff; }
.arch { border: 1px solid #1a1a1a; box-shadow: 0 0 0 6px rgba(0,0,0,0.056), 0 26px 50px rgba(0,0,0,0.152); }
.seal { background: #ffffff; border: 1px solid #d6d6d6; color: #0a0a0a; box-shadow: 0 0 0 5px rgba(0,0,0,0.064); }
.hero-art-caption { background: rgba(255,255,255,0.9); color: #0a0a0a; border: 1px solid rgba(0,0,0,0.21); box-shadow: none; }
.ticker { background: linear-gradient(100deg, #ffffff, #111111); color: #ffffff; border-block: 1px solid rgba(0,0,0,0.175); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], select, textarea { border-radius: 4px; border-color: #d6d6d6; }
input:focus, select:focus, textarea:focus { border-color: #1a1a1a; box-shadow: 0 0 0 3px rgba(0,0,0,0.088); }
.card, .panel, .step, .quote, .filters, .plan, .location-sidebar .panel { border: 1px solid #d6d6d6; box-shadow: 0 10px 30px rgba(0,0,0,0.032); }
.card:hover, .request-card:hover { transform: translateY(-5px); border-color: #d6d6d6; box-shadow: 0 22px 44px rgba(0,0,0,0.064); }
.thumb { border: 0; border-radius: 6px; margin: .55rem .55rem 0; }
.badge { background: linear-gradient(120deg, #fbfbfb, #fcfcfc); color: #0a0a0a; border-radius: 3px; letter-spacing: .12em; }
.badge-new { background: #ffffff; color: #0a0a0a; border: 0; }
.rate { color: #000000; }
.chip { border: 1px solid #d6d6d6; border-radius: 3px; }
.chip:hover { background: #111111; border-color: #1a1a1a; color: #ffffff; }
.cat { background: #ffffff; border: 1px solid #d6d6d6; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.024); }
.cat:hover { background: linear-gradient(145deg, #ffffff, #ffffff); border-color: #d6d6d6; color: #0a0a0a; }
.cat:hover span { color: #0a0a0a; }
.band { background: #fdfdfd; }
.num { background: linear-gradient(145deg, #111111, #fbfbfb); color: #ffffff; border-radius: 50%; font-style: normal; }
.empty { border: 1px dashed #d6d6d6; }
.plan { border-radius: 14px; }
.plan.hot { background: linear-gradient(155deg, #ffffff, #ffffff); color: #0a0a0a; border-color: #1a1a1a; box-shadow: 0 24px 50px rgba(0,0,0,0.112); }
.plan.hot .price, .plan.hot h3 { color: #3d3d3d; }
.plan.hot li::before { color: #3d3d3d; }
.plan .ribbon { background: linear-gradient(120deg, #fbfbfb, #fcfcfc); color: #0a0a0a; border: 0; }
.quote::before { color: #000000; }
.faq details { border: 1px solid #d6d6d6; border-radius: 8px; }
.faq summary::after { background: #111111; color: #ffffff; }
.site-faq-list summary::after { background: #ffffff; }
.tabs a { border: 1px solid #d6d6d6; border-radius: 3px; }
.tabs a.active { background: #ffffff; color: #0a0a0a; border-color: #d6d6d6; }
.price-tag { background: linear-gradient(110deg, #111111, #fbfbfb); color: #ffffff; border-radius: 3px; }
.gallery-main { border: 1px solid #d6d6d6; box-shadow: 0 20px 44px rgba(0,0,0,0.064); }
.photo-item img { border: 1px solid #d6d6d6; }
table { border: 1px solid #d6d6d6; }
th { color: #000000; }
.cta { background: radial-gradient(700px 300px at 90% 0%, rgba(255,255,255,0.25), transparent 60%), linear-gradient(135deg, #ffffff, #ffffff); }
.cta::before { background: transparent; border: 1px solid rgba(0,0,0,0.17); }
.cta h2 { color: #0a0a0a; }
.cta p { color: #0a0a0a; }
.cta .btn-outline { color: #0a0a0a; border-color: #d6d6d6; }
.cta .btn-outline:hover { background: #fbfbfb; border-color: #d6d6d6; color: #0a0a0a; }
.site-footer { background: #ffffff; border-top: 1px solid rgba(0,0,0,0.175); }
.site-footer h4 { color: #3d3d3d; }
.site-footer .muted { color: #3d3d3d; }
.location-band { background: radial-gradient(900px 380px at 10% -10%, rgba(255,255,255,0.24), transparent 60%), radial-gradient(900px 420px at 96% 112%, rgba(255,255,255,0.12), transparent 60%), linear-gradient(180deg, #fdfdfd, #fdfdfd); }
.location-heading { margin-bottom: 2rem; }
.location-grid { gap: 1.3rem; }
.location-card { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,0.99), rgba(253,253,253,0.96) 58%, rgba(253,253,253,0.58)); border: 1px solid rgba(214,214,214,0.95); border-radius: 20px; box-shadow: 0 1px 0 rgba(0,0,0,0.4) inset, 0 -1px 0 rgba(0,0,0,0.288) inset, 0 16px 36px rgba(0,0,0,0.04), 0 3px 8px rgba(0,0,0,0.02); transition: transform .28s ease, box-shadow .28s ease; }
.location-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 48%; background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0)); border-radius: 20px 20px 0 0; pointer-events: none; }
.location-card > * { position: relative; z-index: 1; }
.location-card:hover { transform: translateY(-5px); box-shadow: 0 1px 0 rgba(0,0,0,0.4) inset, 0 24px 46px rgba(0,0,0,0.064), 0 4px 10px rgba(0,0,0,0.048); }
.location-card-head { gap: .8rem; padding: .95rem 1.15rem; border-bottom: 1px solid rgba(214,214,214,0.95); background: linear-gradient(180deg, rgba(253,253,253,0.96), rgba(255,255,255,0.55)); }
.location-card-head strong { font-size: 1.05rem; }
.location-pin { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: linear-gradient(145deg, #111111 0%, #ffffff 100%); color: #ffffff; box-shadow: 0 1px 0 rgba(0,0,0,0.16) inset, 0 8px 16px rgba(0,0,0,0.104); }
.location-arrow { width: 1.9rem; height: 1.9rem; background: linear-gradient(180deg, #ffffff, #fdfdfd); border: 1px solid #d6d6d6; color: #000000; box-shadow: 0 1px 0 rgba(0,0,0,0.4) inset, 0 3px 8px rgba(0,0,0,0.056); transition: transform .2s ease, background .2s ease, color .2s ease; }
.location-card-head:hover { color: #000000; }
.location-card-head:hover .location-arrow { transform: translateX(3px); background: linear-gradient(180deg, #fbfbfb, #111111); color: #ffffff; }
.location-areas { gap: .6rem; padding: 1rem 1.15rem 1.2rem; }
.location-chip { position: relative; display: inline-flex; align-items: center; padding: .4rem .9rem; background: linear-gradient(180deg, #ffffff, #fdfdfd); border: 1px solid #d6d6d6; color: #3d3d3d; font-size: .82rem; font-weight: 600; box-shadow: 0 1px 0 rgba(0,0,0,0.4) inset, 0 3px 8px rgba(0,0,0,0.044); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.location-chip::before { content: ""; position: absolute; left: 12%; right: 12%; top: 2px; height: 42%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0)); pointer-events: none; }
.location-chip:hover { transform: translateY(-2px); background: linear-gradient(180deg, #111111, #ffffff); border-color: #d6d6d6; color: #ffffff; box-shadow: 0 10px 18px rgba(0,0,0,0.1); }
.location-chip-nested { background: linear-gradient(180deg, #ffffff, #fdfdfd); border: 1px solid #d6d6d6; color: #3d3d3d; }
.location-chip-featured { background: linear-gradient(120deg, #fbfbfb, #111111); border-color: #1a1a1a; color: #ffffff; box-shadow: 0 1px 0 rgba(0,0,0,0.16) inset, 0 6px 14px rgba(0,0,0,0.104); }
.location-chip-featured:hover { background: linear-gradient(180deg, #ffffff, #ffffff); border-color: #d6d6d6; color: #0a0a0a; }
.location-heading h2 { color: #0a0a0a; }
.location-heading .kicker { color: #000000; }
.location-heading .kicker::after { background: linear-gradient(90deg, #111111, transparent); color: #ffffff; }
.location-heading h2 .red { color: #3d3d3d; }

/* City listings use compact horizontal ads; other profile cards keep the home-page layout. */
.location-ad-list { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.location-ad-list .investigator-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: stretch; min-height: 0; border-radius: 14px; }
.location-ad-list .investigator-card:hover { transform: translateY(-3px); }
.location-ad-list .thumb { width: auto; height: auto; min-height: 220px; aspect-ratio: auto; margin: 0; border-radius: 0; }
.location-ad-list .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-ad-list .thumb .badge { top: .75rem; left: .75rem; transform: none; }
.location-ad-list .card-body { min-width: 0; padding: 1.15rem 1.25rem; }
.location-ad-list .card-body h3 { margin-bottom: .35rem; color: #0a0a0a; font-size: 1.4rem; }
.location-ad-list .card-body .headline { min-height: 0; margin: .45rem 0 .35rem; font-size: .98rem; line-height: 1.45; }
.location-ad-list .card-body .meta { font-size: .88rem; }
.location-ad-list .card-body .rate { margin-top: .35rem; font-size: 1rem; }
@media (max-width: 600px) {
  .location-ad-list .investigator-card { grid-template-columns: 105px minmax(0, 1fr); }
  .location-ad-list .thumb { min-height: 180px; }
  .location-ad-list .card-body { padding: .8rem .9rem; }
  .location-ad-list .card-body h3 { font-size: 1.15rem; }
  .location-ad-list .card-body .headline { font-size: .88rem; }
  .location-ad-list .card-body .meta { font-size: .8rem; }
}
@media (max-width: 360px) {
  .location-ad-list .investigator-card { grid-template-columns: 82px minmax(0, 1fr); }
  .location-ad-list .card-body { padding: .7rem; }
}

/* Detective directory homepage */
.detective-page {
  --detective-ink: #17241f;
  --detective-green: #20362e;
  --detective-deep: #14231f;
  --detective-paper: #f5f2e9;
  --detective-paper-light: #fbf9f3;
  --detective-line: #d9d5c8;
  --detective-muted: #68746d;
  --detective-gold: #d9ad5b;
  --detective-red: #a64e3d;
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page a { color: #3d3d3d; }
.detective-page h1,
.detective-page h2,
.detective-page h3,
.detective-page h4 { color: #0a0a0a; }
.detective-page .topbar {
  background: #f7f7f7;
  border-bottom: 0;
  color: #3d3d3d;
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.detective-page .topbar b { color: #000000; }
.detective-page .site-header {
  background: rgba(253,253,253,0.97);
  border-bottom: 1px solid #d6d6d6;
}
.detective-page .logo {
  color: #0a0a0a;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.detective-page .logo-mark {
  width: 35px;
  height: 35px;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
  color: #000000;
}
.detective-page .nav-links a:not(.btn) {
  color: #0a0a0a;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.detective-page .nav-links a:not(.btn):hover,
.detective-page .nav-links a.active {
  color: #3d3d3d;
  border-bottom-color: #d6d6d6;
}
.detective-page .nav-links .btn-primary {
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  background: #111111;
  box-shadow: none;
  color: #ffffff;
}
.detective-page .nav-links .btn-primary:hover {
  border-color: #1a1a1a;
  background: #111111;
  color: #ffffff;
}
.detective-page .nav-toggle {
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page .nav-links { background: #ffffff; border-color: #d6d6d6; }
.detective-page .btn {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .11em;
  box-shadow: none;
}
.detective-page .btn-primary {
  border-color: #1a1a1a;
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}
.detective-page .btn-primary:hover { background: #111111; color: #ffffff; }
.detective-page .btn-outline {
  border-color: #d6d6d6;
  background: transparent;
  color: #0a0a0a;
}
.detective-page .btn-outline:hover { background: #ffffff; color: #0a0a0a; }
.detective-page .btn-ghost:hover { background: #fdfdfd; }
.detective-page input[type=text],
.detective-page input[type=email],
.detective-page input[type=password],
.detective-page input[type=number],
.detective-page input[type=date],
.detective-page select,
.detective-page textarea {
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page input:focus,
.detective-page select:focus,
.detective-page textarea:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.072);
}
.detective-page .panel,
.detective-page .card,
.detective-page .step,
.detective-page .quote,
.detective-page .filters,
.detective-page .plan,
.detective-page .location-card,
.detective-page .request-card,
.detective-page .dashboard-ad {
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.028);
}
.detective-page .card:hover,
.detective-page .request-card:hover,
.detective-page .location-card:hover {
  border-color: #d6d6d6;
  box-shadow: 0 18px 36px rgba(0,0,0,0.048);
  transform: translateY(-3px);
}
.detective-page .chip,
.detective-page .location-chip,
.detective-page .pill,
.detective-page .badge {
  border-radius: 2px;
  border-color: #d6d6d6;
  background: #fdfdfd;
  color: #0a0a0a;
}
.detective-page .chip:hover,
.detective-page .location-chip:hover {
  border-color: #d6d6d6;
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page .badge,
.detective-page .pill-approved { border: 0; background: #ffffff; color: #0a0a0a; }
.detective-page .badge-new { background: #111111; color: #ffffff; }
.detective-page .pill-pending { background: #fdfdfd; color: #3d3d3d; }
.detective-page .pill-rejected { background: #fcfcfc; color: #3d3d3d; }
.detective-page .rate,
.detective-page .eyebrow,
.detective-page .kicker { color: #3d3d3d; }
.detective-page .kicker::after { background: #111111; color: #ffffff; }
.detective-page .num,
.detective-page .price-tag {
  border-radius: 2px;
  background: #ffffff;
  color: #000000;
}
.detective-page .band,
.detective-page .location-band,
.detective-page .auth-art,
.detective-page .dashboard-shell {
  background: #fdfdfd;
  border-color: #d6d6d6;
}
.detective-page .auth-wrap { background: #ffffff; }
.detective-page .auth-art { color: #0a0a0a; background: #ffffff; }
.detective-page .auth-art h2 { color: #0a0a0a; }
.detective-page .auth-art p { color: #3d3d3d; }
.detective-page .auth-art li::marker { color: #000000; }
.detective-page .tabs a {
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  color: #0a0a0a;
}
.detective-page .tabs a.active {
  border-color: #d6d6d6;
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page .alert-success { border-color: #d6d6d6; color: #0a0a0a; background: #fdfdfd; }
.detective-page .alert-error { border-color: #d6d6d6; color: #3d3d3d; background: #fdfdfd; }
.detective-page .alert-info { border-color: #d6d6d6; background: #ffffff; }
.detective-page .faq details,
.detective-page table { border: 1px solid #d6d6d6; }
.detective-page .faq summary::after { background: #ffffff; }
.detective-page th { color: #3d3d3d; }
.detective-page .dashboard-nav-link { color: #0a0a0a; }
.detective-page .dashboard-nav-link.active,
.detective-page .dashboard-nav-link:hover { background: #ffffff; color: #0a0a0a; }
.detective-page .dashboard-stat strong { color: #3d3d3d; }
.detective-page .gallery-main,
.detective-page .photo-item img { border: 1px solid #d6d6d6; border-radius: 2px; }
.detective-page .site-footer {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.12);
  color: #0a0a0a;
}
.detective-page .site-footer .logo { color: #0a0a0a; }
.detective-page .site-footer h4 { color: #000000; }
.detective-page .site-footer a { color: #0a0a0a; }
.detective-page .site-footer a:hover { color: #000000; }
.detective-page .site-footer .muted { color: #3d3d3d; }
.detective-page .footer-note { border-top-color: rgba(0,0,0,0.12); }
.detective-page .floating-contact { display: none; }

.home-page {
  --detective-ink: #17241f;
  --detective-green: #20362e;
  --detective-deep: #14231f;
  --detective-paper: #f5f2e9;
  --detective-paper-light: #fbf9f3;
  --detective-line: #d9d5c8;
  --detective-muted: #68746d;
  --detective-gold: #d9ad5b;
  --detective-red: #a64e3d;
  background: #ffffff;
  color: #0a0a0a;
}
.home-page a { color: inherit; }
.home-page .topbar {
  background: #f7f7f7;
  border: 0;
  color: #3d3d3d;
  font-size: .68rem;
  letter-spacing: .17em;
}
.home-page .topbar b { color: #000000; }
.home-page .site-header {
  background: rgba(253,253,253,0.97);
  border-bottom-color: #d6d6d6;
}
.home-page .logo {
  color: #0a0a0a;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.home-page .logo-mark {
  width: 35px;
  height: 35px;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
  color: #000000;
}
.home-page .nav-links a:not(.btn) {
  color: #0a0a0a;
  font-size: .72rem;
  letter-spacing: .12em;
}
.home-page .nav-links a:not(.btn):hover { color: #3d3d3d; border-color: #d6d6d6; }
.home-page .nav-links .btn { border-radius: 2px; }
.home-page .nav-links .btn-primary {
  border-color: #1a1a1a;
  background: #111111;
  box-shadow: none;
  color: #ffffff;
}
.home-page .nav-links .btn-primary:hover { border-color: #1a1a1a; background: #111111; color: #ffffff; }
.home-page a:focus-visible,
.home-page button:focus-visible { outline: 3px solid rgba(26,26,26,0.8); outline-offset: 3px; }
.home-page .nav-toggle {
  border: 1px solid #d6d6d6;
  border-radius: 2px;
  color: #0a0a0a;
}
.home-page .nav-links {
  background: #ffffff;
  border-color: #d6d6d6;
}
.home-page .detective-hero {
  position: relative;
  overflow: hidden;
  color: #0a0a0a;
  background:
    radial-gradient(ellipse at 82% 45%, rgba(0,0,0,0.087), transparent 38%),
    linear-gradient(118deg, #ffffff 5%, #ffffff 62%, #ffffff);
}
.detective-hero::before {
  position: absolute;
  top: -25rem;
  right: -15rem;
  width: 54rem;
  height: 54rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(0,0,0,0.01), 0 0 0 7rem rgba(0,0,0,0.01);
  content: "";
}
.detective-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 635px;
  padding-block: 4.5rem;
}
.detective-hero-copy { max-width: 610px; }
.detective-eyebrow,
.detective-section-index {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #000000;
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.detective-eyebrow { margin-bottom: 1.5rem; }
.detective-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111111;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.052); color: #ffffff; }
.detective-hero :is(h1, .hero-title) {
  max-width: 680px;
  margin-bottom: 1.2rem;
  color: #0a0a0a;
  font-size: clamp(3rem, 5.3vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.detective-hero :is(h1, .hero-title) em,
.detective-intro h2 em,
.detective-section-heading h2 em {
  color: #000000;
  font-weight: 400;
}
.detective-lead {
  max-width: 475px;
  margin-bottom: 1.9rem;
  color: #3d3d3d;
  font-size: 1.04rem;
  line-height: 1.8;
}
.detective-hero-actions { display: flex; align-items: center; gap: 1.55rem; flex-wrap: wrap; }
.detective-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 50px;
  padding: .8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.detective-button:hover { transform: translateY(-2px); }
.detective-button-gold { background: #111111; color: #ffffff; }
.detective-button-gold:hover { background: #111111; color: #ffffff; }
.detective-text-link {
  color: #0a0a0a !important;
  font-size: .75rem;
  letter-spacing: .08em;
  text-decoration: none;
}
.detective-text-link span { padding-left: .4rem; color: #000000; }
.detective-availability {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 2.1rem 0 0;
  color: #3d3d3d;
  font-size: .76rem;
}
.detective-availability span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}
.caseboard {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  isolation: isolate;
}
.caseboard-grid {
  position: absolute;
  inset: 4% -13% 3% 2%;
  z-index: -1;
  opacity: .48;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 76%);
}
.caseboard-coordinate {
  position: absolute;
  top: 7%;
  right: 3%;
  color: #3d3d3d;
  font: .61rem var(--sans);
  letter-spacing: .12em;
}
.case-file {
  position: relative;
  width: min(390px, 85%);
  min-height: 425px;
  padding: 1.3rem 1.5rem 1rem;
  color: #0a0a0a;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.011) 1px, transparent 1px),
    #fdfdfd;
  background-size: 4px 100%, auto;
  box-shadow: 14px 22px 44px rgba(0,0,0,0.112), 0 1px 2px rgba(0,0,0,0.2) inset;
  transform: rotate(2deg);
}
.case-file::before,
.case-file::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0,0,0,0.13);
  border-radius: 50%;
  background: #fcfcfc;
  content: "";
}
.case-file::before { top: 8px; left: 8px; }
.case-file::after { top: 8px; right: 8px; }
.case-file-top,
.case-file-bottom {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  color: #3d3d3d;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.case-file-rule { height: 1px; margin: .7rem 0 1.7rem; background: rgba(0,0,0,0.055); }
.case-file-stamp {
  position: absolute;
  top: 4.2rem;
  right: 1.35rem;
  display: grid;
  width: 78px;
  height: 78px;
  place-content: center;
  border: 2px solid rgba(214,214,214,0.8);
  border-radius: 50%;
  color: #3d3d3d;
  font-size: .59rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: .1em;
  text-align: center;
  transform: rotate(12deg);
}
.case-file-label {
  margin: 0 0 .45rem;
  color: #3d3d3d;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.case-file h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .96;
}
.case-file-details { display: grid; border-top: 1px solid rgba(0,0,0,0.12); }
.case-file-details div {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .73rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-size: .78rem;
}
.case-file-details span { color: #3d3d3d; font-size: .63rem; font-weight: 800; letter-spacing: .12em; }
.case-file-details strong { font-weight: 650; }
.case-file-bottom { margin-top: 1.15rem; font-size: .49rem; }
.caseboard-note {
  position: absolute;
  right: -1%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(0,0,0,0.21);
  background: rgba(255,255,255,0.88);
  color: #0a0a0a;
  font-family: var(--serif);
  font-size: .8rem;
  font-style: italic;
  line-height: 1.4;
  transform: rotate(-3deg);
}
.caseboard-note-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  color: #000000;
  font: 1rem var(--sans);
}
.detective-hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem max(calc((100vw - 1180px) / 2), 1rem);
  border-top: 1px solid rgba(0,0,0,0.12);
  color: #3d3d3d;
  font-size: .58rem;
  letter-spacing: .18em;
}
.detective-intro { padding-block: 6rem 5.5rem; }
.detective-section-index { color: #3d3d3d; }
.detective-section-index span { color: #3d3d3d; font-family: var(--serif); font-size: 1rem; letter-spacing: .05em; }
.detective-section-index i { width: 36px; height: 1px; background: #111111; color: #ffffff; }
.detective-intro-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 4.5rem;
  align-items: start;
  margin-top: 1.7rem;
}
.detective-intro h2,
.detective-section-heading h2 {
  max-width: 610px;
  margin: 0;
  color: #0a0a0a;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.13;
}
.detective-intro h2 em,
.detective-section-heading h2 em { color: #3d3d3d; }
.detective-intro-grid > div { padding-top: .2rem; }
.detective-intro-grid p {
  color: #3d3d3d;
  font-size: .96rem;
  line-height: 1.85;
}
.detective-intro-grid p:last-child { margin-bottom: 0; }
.detective-specialties { background: #fdfdfd; border-block: 1px solid #d6d6d6; }
.detective-section { padding-block: 5.5rem; }
.detective-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.3rem;
}
.detective-section-heading h2 { margin-top: .8rem; }
.detective-section-heading > p {
  max-width: 340px;
  margin: 0 0 .2rem;
  color: #3d3d3d;
  font-size: .9rem;
  line-height: 1.7;
}
.specialty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.specialty-card {
  display: flex;
  min-height: 295px;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.specialty-card:hover {
  transform: translateY(-4px);
  border-color: #d6d6d6;
  box-shadow: 0 16px 30px rgba(0,0,0,0.032);
}
.specialty-number { color: #3d3d3d; font-size: .58rem; font-weight: 800; letter-spacing: .15em; }
.specialty-icon {
  position: relative;
  width: 39px;
  height: 39px;
  margin: 1.5rem 0 1.15rem;
  color: #3d3d3d;
}
.specialty-icon-search::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}
.specialty-icon-search::after {
  position: absolute;
  top: 23px;
  left: 23px;
  width: 13px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(48deg);
  transform-origin: left center;
}
.specialty-icon-record { border: 1.5px solid currentColor; }
.specialty-icon-record::before {
  position: absolute;
  top: 11px;
  right: 6px;
  left: 6px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 7px currentColor, 0 14px currentColor;
  content: "";
}
.specialty-icon-briefcase { top: 8px; height: 27px; border: 1.5px solid currentColor; }
.specialty-icon-briefcase::before {
  position: absolute;
  top: -8px;
  left: 10px;
  width: 14px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  content: "";
}
.specialty-icon-briefcase::after {
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
}
.specialty-icon-pin::before {
  position: absolute;
  top: 2px;
  left: 7px;
  width: 22px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}
.specialty-icon-pin::after {
  position: absolute;
  top: 10px;
  left: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.specialty-card h3 { margin-bottom: .6rem; font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.specialty-card p { margin-bottom: 1.2rem; color: #3d3d3d; font-size: .82rem; line-height: 1.7; }
.specialty-card-foot {
  display: flex;
  justify-content: space-between;
  gap: .4rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid #d6d6d6;
  color: #3d3d3d;
  font-size: .65rem;
  font-weight: 650;
}
.specialty-card-foot span { color: #3d3d3d; }
.detective-process { background: #ffffff; }
.process-list { border-top: 1px solid #d6d6d6; }
.process-item {
  display: grid;
  grid-template-columns: 70px 1fr 30px;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem .2rem;
  border-bottom: 1px solid #d6d6d6;
}
.process-count { padding-top: .08rem; color: #3d3d3d; font: 1.1rem var(--serif); }
.process-item h3 { margin: 0 0 .35rem; font-family: var(--sans); font-size: .96rem; font-weight: 750; }
.process-item p { max-width: 630px; margin: 0; color: #3d3d3d; font-size: .83rem; line-height: 1.7; }
.process-mark { color: #3d3d3d; font-size: 1.2rem; text-align: right; }
.detective-disclaimer { max-width: 750px; margin: 1.4rem 0 0 86px; color: #3d3d3d; font-size: .72rem; line-height: 1.7; }
.detective-cta { color: #0a0a0a; background: #ffffff; }
.detective-cta-inner {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding-block: 3.2rem;
}
.detective-cta-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #1a1a1a;
  color: #000000;
  font: 1rem var(--serif);
}
.detective-cta .detective-eyebrow { margin-bottom: .55rem; font-size: .6rem; }
.detective-cta h2 { margin: 0 0 .35rem; color: #0a0a0a; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; }
.detective-cta p:last-child { margin: 0; color: #3d3d3d; font-size: .82rem; }
.detective-button-light { border-color: rgba(26,26,26,0.65); color: #0a0a0a !important; }
.detective-button-light:hover { background: #111111; color: #ffffff; }
.home-page .site-footer { background: #ffffff; color: #0a0a0a; }
.home-page .site-footer .logo { color: #0a0a0a; }
.home-page .site-footer .logo-mark { font-size: 1.05rem; }
.home-page .site-footer h4 { color: #000000; }
.home-page .site-footer a { color: #3d3d3d; }
.home-page .site-footer a:hover { color: #0a0a0a; }
.home-page .site-footer .muted { color: #3d3d3d; }
.detective-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
.detective-footer-grid > div:first-child { max-width: 400px; }
.detective-footer-note { border-color: rgba(0,0,0,0.12); }

@media (max-width: 1040px) {
  .detective-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 2rem; }
  .caseboard { min-height: 440px; }
  .case-file { min-height: 400px; }
  .specialty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .home-page .nav-links { background: #ffffff; border-bottom: 1px solid #1a1a1a; }
  .detective-hero-inner { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 4rem 2.5rem; }
  .detective-hero-copy { max-width: 680px; }
  .detective-hero :is(h1, .hero-title) { max-width: 620px; font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .caseboard { width: min(510px, 100%); min-height: 440px; margin-inline: auto; }
  .detective-hero-bottom { padding-inline: 1rem; font-size: .52rem; }
  .detective-intro { padding-block: 4rem; }
  .detective-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .detective-section { padding-block: 4rem; }
  .detective-section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .detective-section-heading > p { max-width: 500px; }
  .detective-cta-inner { grid-template-columns: 48px 1fr; gap: 1rem; }
  .detective-cta-inner > .detective-button { grid-column: 2; justify-self: start; }
  .detective-footer-grid { grid-template-columns: 1fr 1fr; }
  .detective-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .home-page .topbar { font-size: .56rem; letter-spacing: .11em; }
  .detective-hero-inner { padding-top: 3.2rem; }
  .detective-hero :is(h1, .hero-title) { font-size: clamp(2.65rem, 12vw, 3.5rem); }
  .detective-lead { font-size: .95rem; }
  .detective-hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .detective-availability { align-items: flex-start; font-size: .7rem; }
  .caseboard { min-height: 390px; }
  .case-file { width: 86%; min-height: 365px; padding: 1rem 1.1rem .85rem; }
  .case-file-rule { margin: .6rem 0 1.4rem; }
  .case-file-stamp { top: 3.7rem; right: 1rem; width: 65px; height: 65px; font-size: .5rem; }
  .case-file h2 { font-size: 2.9rem; }
  .case-file-details div { padding: .6rem 0; font-size: .7rem; }
  .caseboard-note { right: 0; bottom: 4%; font-size: .68rem; }
  .caseboard-coordinate { top: 1%; right: 0; font-size: .5rem; }
  .detective-hero-bottom { flex-direction: column; gap: .25rem; font-size: .48rem; }
  .detective-intro h2, .detective-section-heading h2 { font-size: 2.3rem; }
  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 260px; }
  .process-item { grid-template-columns: 38px 1fr 18px; gap: .7rem; }
  .detective-disclaimer { margin-left: 46px; }
  .detective-cta-inner { grid-template-columns: 1fr; }
  .detective-cta-inner > .detective-button { grid-column: 1; }
  .detective-footer-grid { grid-template-columns: 1fr; }
  .detective-footer-grid > div:first-child { grid-column: auto; }
}
.detective-listings { background: #ffffff; }
.listing-reserved {
  position: relative;
  display: grid;
  min-height: 255px;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px dashed #d6d6d6;
  background:
    linear-gradient(rgba(0,0,0,0.006) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.006) 1px, transparent 1px),
    #fdfdfd;
  background-size: 24px 24px;
}
.listing-reserved-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
}
.listing-reserved-mark span {
  width: 23px;
  height: 23px;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
}
.listing-reserved-mark span::before,
.listing-reserved-mark span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fafafa;
  content: "";
  transform: translate(-50%, -50%);
}
.listing-reserved-mark span::before { width: 31px; height: 1px; }
.listing-reserved-mark span::after { width: 1px; height: 31px; }
.listing-reserved-mark i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}
.listing-reserved-copy strong { color: #0a0a0a; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.listing-reserved-copy p { margin: .35rem 0 0; color: #3d3d3d; font-size: .85rem; }
.listing-reserved-stamp {
  padding: .55rem .75rem;
  border: 1px solid rgba(214,214,214,0.55);
  color: #3d3d3d;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.55;
  text-align: center;
  transform: rotate(4deg);
}
.detective-profile-guide { color: #0a0a0a; background: #ffffff; }
.profile-guide-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}
.detective-profile-guide .detective-section-index { color: #3d3d3d; }
.detective-profile-guide .detective-section-index span { color: #000000; }
.profile-guide-grid h2 {
  max-width: 480px;
  margin: 1rem 0;
  color: #0a0a0a;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.profile-guide-grid h2 em { color: #000000; font-weight: 400; }
.profile-guide-grid > div:first-child > p { max-width: 440px; margin: 0; color: #3d3d3d; font-size: .9rem; line-height: 1.8; }
.profile-guide-list { border-top: 1px solid rgba(0,0,0,0.12); }
.profile-guide-list > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: .75rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.profile-guide-list > div > span { padding-top: .13rem; color: #000000; font: .9rem var(--serif); }
.profile-guide-list p { margin: 0; color: #3d3d3d; font-size: .82rem; line-height: 1.65; }
.profile-guide-list strong { color: #0a0a0a; font-weight: 700; }
.detective-faq { background: #fdfdfd; border-top: 1px solid #d6d6d6; }
.detective-faq .detective-section-heading { align-items: flex-end; }
.detective-faq-list { max-width: 900px; border-top: 1px solid #d6d6d6; }
.detective-faq-list details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid #d6d6d6; }
.detective-faq-list summary {
  position: relative;
  padding: 1.15rem 3rem 1.15rem 0;
  color: #0a0a0a;
  font-size: .92rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.detective-faq-list summary::-webkit-details-marker { display: none; }
.detective-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: .3rem;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  color: #3d3d3d;
  content: "+";
  font-size: 1rem;
  font-weight: 500;
  transform: translateY(-50%);
}
.detective-faq-list details[open] summary::after { content: "\2212"; }
.detective-faq-list details p { max-width: 760px; margin: 0; padding: 0 2.8rem 1.2rem 0; color: #3d3d3d; font-size: .84rem; line-height: 1.75; }
@media (max-width: 780px) {
  .profile-guide-grid { grid-template-columns: 1fr; gap: 2rem; }
  .listing-reserved { min-height: 220px; }
}
@media (max-width: 480px) {
  .listing-reserved {
    min-height: 215px;
    grid-template-columns: 42px 1fr;
    gap: .8rem;
    padding: 1.25rem;
  }
  .listing-reserved-mark { width: 38px; height: 38px; }
  .listing-reserved-mark span { width: 19px; height: 19px; }
  .listing-reserved-copy strong { font-size: 1.15rem; }
  .listing-reserved-stamp { grid-column: 2; justify-self: start; font-size: .52rem; }
  .detective-faq .detective-section-heading { align-items: flex-start; }
}

/* Refined charcoal, ivory, and gold directory theme */
.detective-page {
  --detective-ink: var(--primary);
  --detective-green: var(--secondary);
  --detective-deep: var(--background-dark);
  --detective-paper: var(--background-light);
  --detective-paper-light: var(--background);
  --detective-line: #dce1e8;
  --detective-muted: #667085;
  --detective-gold: var(--accent);
  --detective-red: #826a3d;
  --serif: Baskerville, 'Palatino Linotype', Georgia, serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  font-family: var(--sans);
}
.detective-page h1,
.detective-page h2,
.detective-page h3,
.detective-page h4 { font-family: var(--serif); }
.detective-page .site-header,
.home-page .site-header {
  background: rgba(247,247,247,0.97);
  border-bottom-color: rgba(0,0,0,0.15);
}
.detective-page .logo,
.home-page .logo { color: #0a0a0a; }
.detective-page .nav-links a:not(.btn),
.home-page .nav-links a:not(.btn) { color: #3d3d3d; }
.detective-page .nav-links a:not(.btn):hover,
.home-page .nav-links a:not(.btn):hover { color: #000000; border-bottom-color: #1a1a1a; }
.detective-page .nav-toggle,
.home-page .nav-toggle {
  border-color: rgba(0,0,0,0.225);
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page .nav-links,
.home-page .nav-links { background: #ffffff; border-color: #d6d6d6; }
.home-page .detective-hero {
  background:
    radial-gradient(ellipse at 82% 48%, rgba(255,255,255,0.2), transparent 34%),
    linear-gradient(112deg, #f7f7f7 2%, #ffffff 58%, #ffffff);
}
.detective-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); }
.detective-hero :is(h1, .hero-title) {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.detective-hero :is(h1, .hero-title) em { font-style: italic; }
.hero-visual {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  isolation: isolate;
}
.hero-visual::before {
  position: absolute;
  inset: 9% 1% 3%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(0,0,0,0.01), 0 0 0 5.5rem rgba(0,0,0,0.008);
  content: "";
}
.hero-cityscape {
  position: absolute;
  inset: 13% -5% 7%;
  z-index: -1;
  overflow: hidden;
  opacity: .8;
  background:
    linear-gradient(to top, #f7f7f7 0 19%, transparent 19%),
    linear-gradient(90deg, transparent 0 5%, rgba(247,247,247,0.8) 5% 11%, transparent 11% 14%, rgba(247,247,247,0.72) 14% 25%, transparent 25% 28%, rgba(247,247,247,0.85) 28% 36%, transparent 36% 41%, rgba(247,247,247,0.72) 41% 53%, transparent 53% 58%, rgba(247,247,247,0.82) 58% 69%, transparent 69% 73%, rgba(247,247,247,0.75) 73% 86%, transparent 86% 89%, rgba(247,247,247,0.8) 89% 100%);
  clip-path: polygon(0 40%, 8% 40%, 8% 28%, 14% 28%, 14% 45%, 21% 45%, 21% 19%, 32% 19%, 32% 39%, 39% 39%, 39% 9%, 46% 9%, 46% 37%, 54% 37%, 54% 26%, 62% 26%, 62% 43%, 70% 43%, 70% 16%, 80% 16%, 80% 37%, 88% 37%, 88% 24%, 96% 24%, 96% 44%, 100% 44%, 100% 100%, 0 100%);
}
.hero-cityscape::after {
  position: absolute;
  inset: 25% 0 20%;
  background: repeating-linear-gradient(90deg, transparent 0 5.8%, rgba(255,255,255,0.2) 5.8% 6.1%, transparent 6.1% 9.5%);
  content: "";
  opacity: .55;
}
.hero-visual-coordinate {
  position: absolute;
  top: 5%;
  right: 3%;
  color: #3d3d3d;
  font-size: .58rem;
  letter-spacing: .16em;
}
.hero-emblem {
  display: flex;
  width: min(320px, 72%);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.19);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.92), rgba(255,255,255,0.72) 70%, transparent 71%);
  color: #0a0a0a;
  text-align: center;
}
.hero-emblem-mark {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  color: #000000;
  font: 1.8rem var(--serif);
  letter-spacing: .08em;
}
.hero-emblem-rule { width: 42px; height: 1px; margin: 1.1rem 0 .85rem; background: #111111; color: #ffffff; }
.hero-emblem strong { font-size: .7rem; font-weight: 600; letter-spacing: .2em; line-height: 1.7; }
.hero-emblem small { margin-top: .9rem; color: #3d3d3d; font-size: .49rem; letter-spacing: .16em; }
.hero-visual-caption {
  position: absolute;
  right: 0;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(247,247,247,0.92);
  color: #3d3d3d;
  font-size: .72rem;
  letter-spacing: .04em;
}
.hero-visual-caption span { color: #000000; font: 1rem var(--serif); }
.home-ad-list { margin-top: .25rem; }
.home-listing-more { margin: 1.2rem 0 0; text-align: right; }
.detective-page .location-ad-list .investigator-card {
  border-color: #d6d6d6;
  border-radius: 3px;
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(0,0,0,0.024);
}
.detective-page .location-ad-list .investigator-card:hover {
  border-color: #1a1a1a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.044);
}
.detective-page .location-ad-list .card-body h3 { color: #0a0a0a; font-family: var(--serif); font-size: 1.35rem; }
.detective-page .location-ad-list .card-body .headline {
  display: -webkit-box;
  overflow: hidden;
  color: #3d3d3d;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.detective-page .location-ad-list .card-body .rate { color: #000000; }
.city-directory {
  border-block: 1px solid #d6d6d6;
  background: #fdfdfd;
}
.city-directory .detective-section { padding-block: 4.5rem; }
.city-directory .detective-section-heading { margin-bottom: 1.6rem; }
.city-directory-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem 1rem; }
.city-directory-link {
  display: grid;
  min-width: 0;
  grid-template-columns: 1.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  padding: .68rem .25rem;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  color: #0a0a0a;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
a.city-directory-link:hover { border-bottom-color: #1a1a1a; color: #3d3d3d; }
.city-directory-index { color: #3d3d3d; font: .7rem var(--serif); }
.city-directory-name { overflow: hidden; font-size: .77rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.city-directory-unavailable .city-directory-name { overflow: visible; text-overflow: clip; white-space: normal; }
.city-directory-count { display: flex; align-items: baseline; gap: .25rem; color: #3d3d3d; white-space: nowrap; }
.city-directory-count strong { color: #3d3d3d; font-size: .75rem; font-weight: 700; }
.city-directory-count small { font-size: .58rem; }
.city-directory-unavailable { color: #3d3d3d; }
.city-listings-page > .breadcrumbs { margin-bottom: 2rem; }
.city-listings-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.city-listings-heading > div { max-width: 650px; }
.city-listings-heading h1 { margin-bottom: .6rem; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.city-listings-heading p:last-child { margin-bottom: 0; }
.city-listings-heading .location-search { flex: 0 1 400px; }
.city-listings-page .section-head { margin-bottom: 1rem; }
.city-listings-page .section-head h2 { margin: 0; }
@media (max-width: 1040px) {
  .city-directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .detective-hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: min(510px, 100%); min-height: 410px; margin-inline: auto; }
  .city-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .city-listings-heading { align-items: stretch; flex-direction: column; gap: 1.5rem; }
  .city-listings-heading .location-search { flex-basis: auto; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 340px; }
  .hero-emblem { width: min(250px, 72%); }
  .hero-emblem-mark { width: 67px; height: 67px; }
  .hero-visual-caption { right: 0; bottom: 3%; padding: .65rem .75rem; font-size: .64rem; }
  .city-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem .65rem; }
  .city-directory-link { grid-template-columns: 1.45rem minmax(0, 1fr) auto; gap: .25rem; }
  .city-directory-name { overflow: visible; font-size: .7rem; line-height: 1.3; text-overflow: clip; white-space: normal; }
  .city-directory-count { gap: .15rem; }
  .city-directory-count small { font-size: .52rem; }
  .location-ad-list .investigator-card { grid-template-columns: 105px minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .city-directory-grid { grid-template-columns: 1fr; }
  .city-directory-link { grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: .45rem; }
  .city-directory-unavailable .city-directory-count { grid-column: 2; justify-self: start; }
  .detective-page .logo { gap: .35rem; font-size: .8rem; letter-spacing: .06em; }
  .detective-page .logo-mark { flex: 0 0 28px; width: 28px; height: 28px; }
  .detective-page .nav-toggle { padding: .28rem .45rem; font-size: .75rem; }
}

/* Navy-and-gold palette with tighter page rhythm */
.detective-page .container { width: min(1360px, 100% - 3rem); }
.detective-page .section { padding-block: 2.5rem; }
.detective-page .nav { min-height: 66px; }
.detective-page .site-footer,
.home-page .site-footer { background: #f7f7f7; border-top-color: #d6d6d6; }
.detective-page .site-footer .muted,
.home-page .site-footer .muted { color: #3d3d3d; }
.detective-page .site-footer a,
.home-page .site-footer a { color: #0a0a0a; }
.detective-page .site-footer a:hover,
.home-page .site-footer a:hover { color: #000000; }
.detective-page .site-footer h4,
.home-page .site-footer h4 { color: #000000; }
.detective-page .footer-note,
.home-page .footer-note { border-top-color: #d6d6d6; }
.detective-page .btn-primary,
.home-page .btn-primary { background: #111111; border-color: #1a1a1a; color: #ffffff; }
.detective-page .btn-primary:hover,
.home-page .btn-primary:hover { background: #111111; border-color: #1a1a1a; color: #ffffff; }
.detective-page .nav-links .btn-primary:hover,
.home-page .nav-links .btn-primary:hover { background: #111111; border-color: #1a1a1a; color: #ffffff; }
.home-page .detective-hero {
  background:
    radial-gradient(ellipse at 82% 48%, rgba(255,255,255,0.2), transparent 34%),
    linear-gradient(112deg, #f7f7f7 2%, #ffffff 58%, #ffffff);
}
.home-page .detective-hero-inner { min-height: 540px; padding-block: 3rem; }
.home-page .hero-visual { min-height: 420px; }
.home-page .detective-hero-bottom { padding-block: .65rem; }
.home-page .detective-lead,
.home-page .detective-availability { color: #3d3d3d; }
.home-page .detective-intro { padding-block: 3rem 2.8rem; }
.home-page .detective-section { padding-block: 3rem; }
.home-page .detective-section-heading { gap: 1.5rem; margin-bottom: 1.4rem; }
.home-page .detective-section-heading h2 { margin-top: .55rem; }
.home-page .detective-specialties,
.home-page .city-directory { background: #fdfdfd; }
.home-page .detective-listings,
.home-page .detective-process { background: #ffffff; }
.home-page .detective-faq { background: #fdfdfd; }
.home-page .specialty-card {
  min-height: 250px;
  padding: 1.1rem;
  border-color: #d6d6d6;
  background: #ffffff;
  color: #0a0a0a;
}
.home-page .specialty-card:hover { border-color: #1a1a1a; box-shadow: 0 12px 24px rgba(0,0,0,0.064); }
.home-page .specialty-number,
.home-page .specialty-card p,
.home-page .specialty-card-foot { color: #3d3d3d; }
.home-page .specialty-card h3 { color: #0a0a0a; }
.home-page .specialty-icon { margin: 1rem 0 .85rem; color: #000000; }
.home-page .specialty-card p { margin-bottom: .85rem; }
.home-page .specialty-card-foot { border-top-color: #d6d6d6; }
.home-page .specialty-card-foot span { color: #000000; }
.home-page .listing-reserved {
  min-height: 195px;
  padding: 1.5rem;
  border-color: rgba(0,0,0,0.225);
  background: #fdfdfd;
}
.home-page .listing-reserved-mark { border-color: #d6d6d6; }
.home-page .listing-reserved-copy strong { color: #0a0a0a; }
.home-page .listing-reserved-stamp { border-color: #1a1a1a; color: #3d3d3d; }
.home-page .process-item { padding-block: 1rem; }
.home-page .detective-disclaimer { margin-top: 1rem; }
.home-page .profile-guide-list > div { padding-block: .8rem; }
.home-page .detective-cta-inner { padding-block: 2.4rem; }
.home-page .detective-cta { background: #ffffff; }
.home-page .detective-cta-mark { border-color: #1a1a1a; color: #000000; }
.home-page .detective-cta .detective-button-light { border-color: #1a1a1a; }
.home-page .city-directory .detective-section { padding-block: 2.8rem; }
.home-page .city-directory .detective-section-heading { margin-bottom: 1.2rem; }
.detective-page .location-ad-list .investigator-card { border-color: #d6d6d6; background: #ffffff; }
.detective-page .location-ad-list .card-body h3 { color: #0a0a0a; }
.detective-page .location-ad-list .card-body .muted,
.detective-page .location-ad-list .card-body .meta { color: #3d3d3d; }
.detective-page .location-ad-list .card-body .rate { color: #000000; }
.detective-page .investigator-card {
  border-color: #d6d6d6;
  background: #ffffff;
  color: #0a0a0a;
}
.detective-page .investigator-card:hover { border-color: #1a1a1a; }
.detective-page .investigator-card .card-body h3 { color: #0a0a0a; }
.detective-page .investigator-card .card-body .muted,
.detective-page .investigator-card .card-body .headline,
.detective-page .investigator-card .card-body .meta { color: #3d3d3d; }
.detective-page .investigator-card .card-body .rate { color: #000000; }
.detective-page .detective-cta p:last-child,
.detective-page .profile-guide-grid > div:first-child > p,
.detective-page .profile-guide-list p { color: #3d3d3d; }
@media (max-width: 1040px) {
  .home-page .detective-hero-inner { min-height: 0; padding-block: 2.6rem; }
  .home-page .detective-section { padding-block: 2.7rem; }
}
@media (max-width: 780px) {
  .detective-page .container { width: min(100% - 2rem, 1360px); }
  .detective-page .section { padding-block: 2rem; }
  .home-page .detective-section { padding-block: 2.35rem; }
  .home-page .detective-intro { padding-block: 2.6rem; }
  .home-page .detective-hero-inner { padding-block: 2.5rem 1.8rem; }
  .home-page .hero-visual { min-height: 370px; }
  .home-page .detective-section-heading { margin-bottom: 1.35rem; }
  .home-page .detective-cta-inner { padding-block: 2rem; }
  .home-page .city-directory .detective-section { padding-block: 2.35rem; }
  .detective-page .site-footer { padding-block: 2rem 1rem; }
}
@media (max-width: 480px) {
  .detective-page .container { width: calc(100% - 1.5rem); }
  .detective-page .section { padding-block: 1.7rem; }
  .home-page .detective-section { padding-block: 1.9rem; }
  .home-page .detective-intro { padding-block: 2.1rem; }
  .home-page .detective-hero-inner { padding-block: 2rem 1.25rem; }
  .home-page .hero-visual { min-height: 310px; }
  .home-page .specialty-card { min-height: 225px; }
  .home-page .city-directory .detective-section { padding-block: 1.9rem; }
  .city-listings-heading { margin-bottom: 1.8rem; }
}

/* Home page article and full-width intro */
.home-article { width: calc(100% - 2rem); margin-inline: auto; padding-block: 3rem 1rem; }
.home-article h1, .home-article h2 { max-width: none; margin: 0 auto 1rem; color: #0a0a0a; font-weight: 500; line-height: 1.2; text-align: center; }
.home-article h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
.home-article h2 { margin-top: 2.25rem; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.home-article p { max-width: none; margin: 0 0 1rem; color: #3d3d3d; font-size: 1.05rem; line-height: 1.8; }
.detective-intro.container { width: calc(100% - 2rem); padding-block: 3rem; }
.detective-intro .detective-section-index { justify-content: center; }
.detective-intro .detective-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.detective-intro h2 { max-width: none; margin-inline: auto; text-align: center; }
.detective-intro .detective-intro-grid p { max-width: none; }

/* Colourful headings */
.home-article { margin-block: 1.5rem; padding: 1.25rem; border: 1px solid #d6d6d6; border-radius: 14px; background: #ffffff; box-shadow: 0 8px 24px rgba(0,0,0,0.028); }
.home-article h1 { padding: 1rem; border-radius: 10px; background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff); color: #0a0a0a; }
.home-article h2 { padding: .75rem 1rem; border-radius: 8px; border-left: 6px solid currentColor; border-right: 6px solid currentColor; }
.home-article h2:nth-of-type(1) { color: #3d3d3d; background: #fdfdfd; }
.home-article h2:nth-of-type(2) { color: #3d3d3d; background: #fdfdfd; }
.home-article h2:nth-of-type(3) { color: #3d3d3d; background: #fdfdfd; }
.home-article h2:nth-of-type(4) { color: #3d3d3d; background: #fdfdfd; }
.home-article h2:nth-of-type(5) { color: #0a0a0a; background: #fdfdfd; }
.home-article p:last-child { margin-bottom: 0; }
.detective-intro.container { margin-block: 1.5rem; padding: 1.25rem; border: 1px solid #d6d6d6; border-radius: 14px; background: #ffffff; box-shadow: 0 8px 24px rgba(0,0,0,0.028); }
.detective-intro h2 { color: #3d3d3d; }
.detective-intro h2 em { color: #0a0a0a; }

/* ===== White background, black text theme ===== */
html, body, .detective-page { background: #fff; color: #0a0a0a; }
.site-header, .site-header .nav-links { background: #fff; }
.btn-primary, .btn-primary:visited, .detective-page .detective-button-gold { background: #000; border-color: #000; color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible, .detective-page .detective-button-gold:hover { background: #333; border-color: #333; color: #fff; }
.btn-primary *, .detective-page .detective-button-gold * { color: #fff; }
.site-header .nav-links .btn-primary { background: #000; color: #fff; white-space: nowrap; }
.site-header .nav-links form.inline { margin: 0; display: inline-flex; align-items: center; }
.site-header .nav-links .nav-logout { background: #fff; border: 1px solid #000; color: #000; padding: .55rem .9rem; cursor: pointer; white-space: nowrap; }
.site-header .nav-links .nav-logout:hover, .site-header .nav-links .nav-logout:focus-visible { background: #000; color: #fff; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea { background-color: #fff; color: #000; border-color: #999; }
input::placeholder, textarea::placeholder { color: #666; }
input[type="checkbox"], input[type="radio"] { accent-color: #000; }
.home-article h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #000; color: #000; }
.alert { background: #f5f5f5; color: #000; border: 1px solid #000; }
.captcha-row img { filter: grayscale(1) contrast(1.15); }
body.detective-page .topbar, body.detective-page .site-header, body.detective-page .site-header .nav-links { background: #fff; }
body.detective-page main :is(p, li, h1, h2, h3, h4, h5, h6, label, em), body.detective-page .home-article :is(h1, h2, p), body.detective-page .topbar, body.detective-page .site-header .nav-links a:not(.btn) { color: #000; }
body.detective-page main :is(p, li, label), body.detective-page .detective-hero p { color: #000 !important; }

/* ===== Black sections and colourful headings ===== */
html body.detective-page.detective-page :is(.topbar, .site-header, .site-footer, .detective-hero, .detective-specialties, .detective-process, .detective-cta, .detective-intro, .city-listings-heading, .auth-art, .site-faq) { background: #000 !important; color: #fff !important; border-color: #2a2a2a !important; }
html body.detective-page.detective-page :is(.topbar, .site-header, .site-footer, .detective-hero, .detective-specialties, .detective-process, .detective-cta, .detective-intro, .city-listings-heading, .auth-art, .site-faq) *:where(:not(.btn-primary, .detective-button-gold, input, select, textarea)) { background-color: transparent !important; background-image: none !important; color: #fff !important; border-color: #333 !important; -webkit-text-fill-color: currentColor !important; }
html body.detective-page.detective-page .city-listings-heading { padding: 2rem 1.5rem; border-radius: 12px; }
html body.detective-page.detective-page :is(.topbar, .site-header, .site-footer, .detective-hero, .detective-specialties, .detective-process, .detective-cta, .detective-intro, .city-listings-heading, .auth-art, .site-faq) :is(.btn-primary, .detective-button-gold) { background: #fff !important; border-color: #fff !important; color: #000 !important; }
html body.detective-page.detective-page :is(.topbar, .site-header, .site-footer, .detective-hero, .detective-specialties, .detective-process, .detective-cta, .detective-intro, .city-listings-heading, .auth-art, .site-faq) :is(.btn-primary, .detective-button-gold) * { background: transparent !important; color: #000 !important; }
html body.detective-page.detective-page .site-header .nav-links .nav-logout { border: 1px solid #fff !important; }
html body.detective-page.detective-page .site-header .nav-links { background-color: #000 !important; }
html body.detective-page.detective-page :is(.topbar, .site-header, .site-footer, .detective-hero, .detective-specialties, .detective-process, .detective-cta, .detective-intro, .city-listings-heading, .auth-art, .site-faq) :is(h1, h2, .hero-title, h3, h4) { color: #ffc94d !important; }
html body.detective-page.detective-page :is(.topbar, .site-header, .site-footer, .detective-hero, .detective-specialties, .detective-process, .detective-cta, .detective-intro, .city-listings-heading, .auth-art, .site-faq) :is(h1, h2, .hero-title, h3, h4) em { color: #4dd8ff !important; }
html body.detective-page.detective-page :is(.home-article, .detective-listings, .detective-profile-guide, .detective-faq, .city-directory, .city-listings-page > .location-copy, .auth-form, .dashboard-shell) :is(h1, h2, .hero-title, h3, h4) { color: #6d28d9 !important; -webkit-text-fill-color: currentColor !important; }
html body.detective-page.detective-page :is(.home-article, .detective-listings, .detective-profile-guide, .detective-faq, .city-directory, .city-listings-page > .location-copy, .auth-form, .dashboard-shell) :is(h1, h2, .hero-title, h3, h4) em { color: #be185d !important; -webkit-text-fill-color: currentColor !important; }
html body.detective-page.detective-page .detective-specialties.detective-specialties :is(h1, h2, .hero-title, h3, h4) { color: #4dd8ff !important; }
html body.detective-page.detective-page .detective-process.detective-process :is(h1, h2, .hero-title, h3, h4) { color: #6ee787 !important; }
html body.detective-page.detective-page .detective-intro.detective-intro :is(h1, h2, .hero-title, h3, h4) { color: #ff7ab6 !important; }
html body.detective-page.detective-page .detective-cta.detective-cta :is(h1, h2, .hero-title, h3, h4) { color: #ff9f5a !important; }
html body.detective-page.detective-page .site-footer.site-footer :is(h1, h2, .hero-title, h3, h4) { color: #4dd8ff !important; }
html body.detective-page.detective-page .detective-specialties.detective-specialties h3 { color: #ffc94d !important; }
html body.detective-page.detective-page .site-header .logo, html body.detective-page.detective-page .site-footer .logo { color: #ffc94d !important; }
html body.detective-page.detective-page .detective-listings.detective-listings :is(h1, h2, .hero-title, h3, h4) { color: #0369a1 !important; }
html body.detective-page.detective-page .detective-profile-guide.detective-profile-guide :is(h1, h2, .hero-title, h3, h4) { color: #15803d !important; }
html body.detective-page.detective-page .detective-faq.detective-faq :is(h1, h2, .hero-title, h3, h4) { color: #be185d !important; }
html body.detective-page.detective-page .city-directory.city-directory :is(h1, h2, .hero-title, h3, h4) { color: #b45309 !important; }
html body.detective-page.detective-page .home-article.home-article h2:nth-of-type(5n+1) { color: #0369a1 !important; }
html body.detective-page.detective-page .home-article.home-article h2:nth-of-type(5n+2) { color: #be185d !important; }
html body.detective-page.detective-page .home-article.home-article h2:nth-of-type(5n+3) { color: #15803d !important; }
html body.detective-page.detective-page .home-article.home-article h2:nth-of-type(5n+4) { color: #6d28d9 !important; }
html body.detective-page.detective-page .home-article.home-article h2:nth-of-type(5n+5) { color: #b45309 !important; }
html body.detective-page.detective-page .home-article.home-article h1 { color: #be185d !important; -webkit-text-fill-color: #be185d !important; }
html body.detective-page.detective-page .site-header .nav-links a:not(.btn-primary) { border-color: transparent !important; }
html body.detective-page.detective-page .detective-hero .hero-cityscape { display: none !important; }
html body.detective-page.detective-page .detective-hero .detective-eyebrow span { background-color: #ffc94d !important; }
html body.detective-page.detective-page .detective-hero .detective-eyebrow { color: #4dd8ff !important; }
html body.detective-page.detective-page .detective-hero .hero-emblem-mark { color: #ffc94d !important; }
html body.detective-page.detective-page .detective-specialties.detective-specialties h2 em { color: #ff7ab6 !important; }
html body.detective-page.detective-page .detective-specialties.detective-specialties h3.detective-specialties h3, html body.detective-page.detective-page .detective-specialties.detective-specialties.detective-specialties h3 { color: #ffc94d !important; }
html body.detective-page.detective-page .detective-process.detective-process h2 em, html body.detective-page.detective-page .detective-intro.detective-intro h2 em, html body.detective-page.detective-page .detective-cta.detective-cta h2 em { color: #4dd8ff !important; }

/* ===== Bold headings ===== */
html body.detective-page.detective-page :is(h1, h2, h3, h4, h5, h6, .hero-title), html body.detective-page.detective-page :is(h1, h2, h3, h4, h5, h6, .hero-title) em { font-weight: 800 !important; }


/* Home page: top 20 listings in rows and columns */
.location-ad-list.home-ad-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.location-ad-list.home-ad-list > a.card.investigator-card { display: flex; flex-direction: column; justify-content: flex-start; margin: 0; padding: 0; overflow: hidden; min-width: 0; }
.location-ad-list.home-ad-list .investigator-card .thumb { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.location-ad-list.home-ad-list .investigator-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.location-ad-list.home-ad-list .investigator-card > div:not(.thumb) { padding: 14px; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .location-ad-list.home-ad-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .location-ad-list.home-ad-list { grid-template-columns: 1fr; } }


/* Area pages: running featured strip, left ads, popular tags */
.area-top-strip { padding-top: 14px; }
.area-top-strip .featured-location { margin: 0; }
.area-top-strip + .section { padding-top: 24px; }
.area-top-strip .featured-location-track.is-running { overflow: hidden; scroll-snap-type: none; scroll-behavior: auto; }
.location-results-layout { grid-template-columns: 200px minmax(0, 1fr) 290px; gap: 22px; }
.location-results-layout > div { min-width: 0; }
.location-ads { display: flex; flex-direction: column; gap: 12px; align-self: start; }
.location-ads-title { font-size: 1rem; margin: 0; }
.location-ad { display: block; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; }
.location-ad img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.location-ad span { display: block; padding: 8px 10px; font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.location-ads .btn { text-align: center; justify-content: center; }
.popular-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.popular-tag { border: 1px solid #bbb; border-radius: 999px; padding: 6px 12px; font-size: .85rem; text-decoration: none; color: #111; }
@media (max-width: 1100px) {
  .location-results-layout { grid-template-columns: minmax(0, 1fr); }
  .location-results-layout > .location-ads { order: 3; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .location-ads-title { grid-column: 1 / -1; }
  .location-results-layout > .location-sidebar { order: 2; }
}


/* Area review form */
.review-form { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; border-top: 1px solid #ddd; padding-top: 14px; }
.review-form-title { margin: 0; font-size: 1.05rem; }
.review-form input[type="text"], .review-form select, .review-form textarea { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #999; border-radius: 6px; font: inherit; background: #fff; color: #111; }
.review-form .review-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }


/* Home banner square image */
.detective-hero .hero-photo { width: 100%; max-width: 480px; justify-self: end; aspect-ratio: 1 / 1; }
.detective-hero .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .detective-hero .hero-photo { justify-self: center; } }

/* Home banner: shorter, wider text, smaller gap */
@media (min-width: 901px) {
  .home-page .detective-hero .detective-hero-inner { grid-template-columns: minmax(0, 1fr) clamp(340px, 32vw, 430px); gap: 2.5rem; min-height: 0; padding-block: 2rem; }
  .home-page .detective-hero .detective-hero-copy { max-width: none; }
  .home-page .detective-hero .detective-hero-copy .hero-title { max-width: none; font-size: clamp(3rem, 5.4vw, 4.8rem); }
  .home-page .detective-hero .detective-hero-copy .detective-lead { max-width: none; font-size: 1.2rem; }
  .home-page .detective-hero .hero-photo { max-width: none; }
}

/* Area pages desktop: reviews left, listings middle, top ads right */
@media (min-width: 1101px) {
  .location-results-layout { grid-template-columns: 290px minmax(0, 1fr) 200px; }
  .location-results-layout > .location-sidebar { order: 1; }
  .location-results-layout > div { order: 2; }
  .location-results-layout > .location-ads { order: 3; }
}
