:root {
  --bg: #FBFAF8;
  --ink: #000;
  --ink-soft: rgba(0, 0, 0, .72);
  --crimson: #B72D54;
  --crimson-dark: #9E2046;
  --maroon: #8B1538;
  --deep: #5E0B24;
  --darkest: #2A0410;
  --plum: #420014;
  --salmon: #FF7873;
  --peach: #FFE6D9;
  --apricot: #FFAA82;
  --cream: #FFFAF2;
  --tile: #F3EDE1;
  --line: rgba(0, 0, 0, .1);
  --radius: 16px;
  --font: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--maroon); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- shared ---------- */
.section-wrap { max-width: 1232px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.eyebrow i { width: 10px; height: 10px; background: var(--salmon); border-radius: 2px; flex: none; }
.section-heading-block { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-heading-block .eyebrow { margin-bottom: 28px; }
.section-title, .faq-section-title, .section-header h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; color: var(--maroon); }
.section-subtitle { margin-top: 18px; font-size: 17px; color: var(--ink-soft); }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--crimson); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; padding: 10px 14px 10px 16px; border-radius: 8px; transition: background .15s; }
.btn:hover { background: var(--crimson-dark); }
.btn .arr { font-size: 17px; line-height: 1; }
.btn.lg { padding: 6px 6px 6px 18px; font-size: 15px; }
.btn.lg .arr { background: #fff; color: var(--crimson); width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; }

/* ---------- nav ---------- */
nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .07); }
.nav-inner { max-width: 1232px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--maroon); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 19px; height: 19px; fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text .brand { font-size: 17px; font-weight: 600; color: var(--maroon); letter-spacing: -.01em; }
.logo-text .sub { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: #FF672E; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 24px 0; text-align: center; background: radial-gradient(70% 55% at 50% 0%, rgba(255, 230, 217, .75), transparent 70%); }
.hero-content { max-width: 1232px; margin: 0 auto; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; max-width: 980px; margin: 0 auto 26px; }
.hero-desc { max-width: 660px; margin: 0 auto 30px; font-size: 17px; color: var(--ink-soft); }
.hero-panel { position: relative; overflow: hidden; margin: 64px auto 0; max-width: 1000px; border-radius: 10px; padding: 56px 48px 48px; color: #fff; text-align: left;
  background: radial-gradient(90% 120% at 12% 100%, #C40C36 0%, transparent 55%), radial-gradient(80% 110% at 88% 0%, #B00E3C 0%, transparent 60%), linear-gradient(120deg, #A50B38, #7A0A3A 50%, #9A0F3A); }
.hero-panel::before { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; right: -150px; top: -230px; }
.hero-panel::after { content: ''; position: absolute; width: 54px; height: 54px; border-radius: 50%; right: 196px; top: 62px; background: radial-gradient(circle at 35% 30%, #FFC89B, #FF7A2E 70%); box-shadow: 150px 96px 0 -6px #E08BFF; }
.hero-panel > * { position: relative; z-index: 1; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.hero-pills span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.hero-checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; max-width: 720px; }
.hero-check-item { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check-icon { width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--maroon); font-size: 12px; display: grid; place-items: center; flex: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.hero-stat { background: #fff; color: var(--ink); border-radius: 10px; padding: 20px 22px; }
.hero-stat strong { display: block; font-size: 38px; font-weight: 400; letter-spacing: -.02em; color: var(--maroon); line-height: 1.1; }
.hero-stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.lede-section { max-width: 760px; margin: 0 auto; padding: 56px 24px 0; text-align: center; font-size: 18px; color: var(--ink-soft); }

/* ---------- how we chose ---------- */
.how-rankings-section { padding: 120px 0 110px; }
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.criteria-item { background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 40px rgba(139, 21, 56, .05); }
.criteria-item .icon { width: 48px; height: 48px; border-radius: 8px; background: var(--tile); display: grid; place-items: center; margin-bottom: 26px; }
.criteria-item .icon svg { width: 22px; height: 22px; fill: none; stroke: var(--maroon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.criteria-item h3 { font-size: 24px; font-weight: 500; line-height: 1.15; margin-bottom: 12px; }
.criteria-item p { font-size: 15.5px; color: var(--ink-soft); }
.how-rankings-closing { text-align: center; margin-top: 36px; font-size: 15px; color: var(--ink-soft); }

/* ---------- agents ---------- */
.agents-section { padding: 110px 0 120px; background: radial-gradient(55% 28% at 78% 12%, rgba(255, 170, 130, .38), transparent 70%), radial-gradient(60% 30% at 15% 55%, rgba(255, 120, 115, .22), transparent 70%), radial-gradient(50% 25% at 80% 90%, rgba(255, 170, 130, .3), transparent 70%), var(--bg); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header .eyebrow { margin-bottom: 28px; }
.result-count { display: inline-block; margin-top: 20px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--plum); }
.listings { display: flex; flex-direction: column; gap: 18px; max-width: 1020px; margin: 0 auto; }
.agent-card { background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-radius: var(--radius); padding: 28px; display: flex; justify-content: space-between; gap: 28px; box-shadow: 0 10px 40px rgba(139, 21, 56, .06); }
.agent-left { display: flex; gap: 22px; min-width: 0; flex: 1; }
.rank-badge { display: none; }
.agent-avatar, .avatar-placeholder { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; background: var(--peach); }
.avatar-placeholder { position: relative; overflow: hidden; }
.avatar-placeholder::after { content: ''; position: absolute; inset: 14px 14px 0; background: no-repeat center bottom / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%238B1538' opacity='.45'%3E%3Ccircle cx='50' cy='34' r='20'/%3E%3Cpath d='M12 100c0-22 17-38 38-38s38 16 38 38z'/%3E%3C/svg%3E"); }
.agent-info { min-width: 0; }
.agent-name { font-size: 24px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.agent-title { margin-top: 4px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); }
.agent-brokerage { font-size: 15px; color: var(--ink-soft); margin: 2px 0 10px; }
.stars-wrap { display: inline-flex; text-decoration: none; margin-bottom: 8px; }
.stars { display: flex; align-items: center; gap: 6px; }
.star-icons { color: #FF672E; font-size: 14px; letter-spacing: 1px; }
.star-score { font-size: 14px; font-weight: 600; color: var(--ink); }
.review-count { font-size: 13px; color: var(--ink-soft); }
.agent-meta { margin-bottom: 12px; }
.meta-item { display: inline-flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--ink-soft); background: var(--cream); border: 1px solid rgba(139, 21, 56, .12); border-radius: 8px; padding: 6px 12px; }
.meta-item strong { color: var(--plum); font-weight: 600; }
.agent-bio { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 16px; max-width: 680px; }
.agent-tags, .agent-specialties { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.specialties-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); width: 82px; flex: none; }
.tag { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; }
.tag.bonus { background: var(--peach); color: var(--maroon); }
.tag.primary { background: #fff; border: 1px solid rgba(139, 21, 56, .22); color: var(--plum); }
.card-right { display: flex; flex-direction: column; align-items: stretch; gap: 10px; flex: none; width: 190px; }
.agent-website { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--crimson); color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 10px 14px; border-radius: 8px; overflow: hidden; }
.agent-website span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-website::after { content: '→'; font-size: 16px; flex: none; }
.agent-website:hover { background: var(--crimson-dark); }
.zillow-link { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(139, 21, 56, .25); color: var(--maroon); text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 9px 14px; border-radius: 8px; }
.zillow-link:hover { background: var(--cream); }
.zillow-badge { width: 18px; height: 18px; border-radius: 4px; background: var(--maroon); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* ---------- neighborhoods (deep maroon) ---------- */
.neighborhoods-section { background: var(--deep); color: #fff; padding: 110px 0; }
.neighborhoods-section .eyebrow, .neighborhoods-section .section-title { color: #fff; }
.neighborhoods-section .section-subtitle { color: rgba(255, 255, 255, .8); }
.neighborhood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.neighborhood-card { background: linear-gradient(160deg, rgba(183, 45, 84, .75), rgba(139, 21, 56, .55)); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 26px; }
.neighborhood-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.neighborhood-card p { font-size: 15px; color: rgba(255, 255, 255, .8); }
.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.chip { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 6px 16px; font-size: 13.5px; color: rgba(255, 255, 255, .9); }

/* ---------- market (peach) ---------- */
.market-section { background: var(--peach); padding: 110px 0; }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.market-stat-card { background: #fff; border-radius: 12px; padding: 26px; }
.market-stat-card .value { display: block; font-size: 36px; font-weight: 400; letter-spacing: -.02em; color: var(--maroon); line-height: 1.1; }
.market-stat-card .label { display: block; margin: 10px 0 6px; font-size: 16px; font-weight: 500; }
.market-stat-card .context { font-size: 13.5px; color: var(--ink-soft); }
.market-disclaimer { text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- map ---------- */
.map-section { padding: 110px 0 60px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); }
.map-embed iframe { display: block; }

/* ---------- faq ---------- */
.faq-section { padding: 70px 24px 110px; }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-inner > .eyebrow { display: flex; justify-content: center; margin-bottom: 28px; }
.faq-section-title { text-align: center; margin-bottom: 44px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 20px; font-weight: 500; line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--tile); color: var(--maroon); display: grid; place-items: center; font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: '–'; background: var(--crimson); color: #fff; }
.faq-answer { padding: 0 54px 24px 0; font-size: 16px; color: var(--ink-soft); }

/* ---------- about ---------- */
.about-section { padding: 0 24px 110px; }
.about-section .section-wrap { max-width: 1344px; padding: 80px 24px; border-radius: 20px; background: linear-gradient(180deg, #FFE9D6, #FFF6EE 70%, var(--cream)); }
.about-card { max-width: 720px; margin: 0 auto; text-align: center; font-size: 17px; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer { background: var(--darkest); color: rgba(255, 255, 255, .8); padding: 80px 24px 36px; overflow: hidden; }
.footer-inner { max-width: 1232px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer .logo-mark { background: var(--crimson); }
footer .logo-text .brand { color: #fff; }
footer .logo-text .sub { color: rgba(255, 255, 255, .6); }
.footer-brand p { margin-top: 18px; max-width: 360px; font-size: 20px; line-height: 1.3; color: #fff; }
.footer-links h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--salmon); }
.footer-wordmark { margin: 70px 0 34px; font-size: clamp(28px, 9.2vw, 120px); font-weight: 600; letter-spacing: -.035em; line-height: .95; white-space: nowrap; background: linear-gradient(180deg, #8B1538 10%, rgba(139, 21, 56, .12) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { font-size: 13px; }
.disclaimer { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .55); max-width: 900px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .criteria-grid, .neighborhood-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-checklist { grid-template-columns: repeat(2, 1fr); }
  .agent-card { flex-direction: column; }
  .card-right { flex-direction: row; width: auto; flex-wrap: wrap; }
  .card-right a { flex: 1; min-width: 150px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .how-rankings-section, .agents-section, .neighborhoods-section, .market-section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .hero { padding: 56px 16px 0; }
  .hero-panel { padding: 32px 20px 20px; margin-top: 44px; }
  .hero-panel::after { display: none; }
  .hero-checklist, .hero-stats { grid-template-columns: 1fr; }
  .section-wrap { padding: 0 16px; }
  .agent-card { padding: 20px; }
  .agent-left { flex-direction: column; gap: 14px; }
  .specialties-label { width: 100%; }
  .market-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 17px; }
  .faq-answer { padding-right: 0; }
  .nav-cta { display: none; }
  .about-section { padding: 0 16px 80px; }
  .about-section .section-wrap { padding: 56px 20px; }
  .faq-section { padding: 50px 16px 80px; }
}
