/* ============================================================
   AGENT PAGE TEMPLATE — clone basis (Oct 18, 2026)
   Adapted from the kenny.results.net site clone
   (~/workspace/real-estate-leads/reba-demo-update/styles.css).
   Same skeleton, same styling — local assets only, no external
   hotlinks, and the clone's REBA voice-demo widgets replaced by
   the honest embed-slot placeholder (see index.html).
   Shared by every agent page; style.css (root + capture) is
   a separate system and is NOT used here.
   ============================================================ */
:root {
  --navy: #1e3555;
  --navy-deep: #152945;
  --red: #e21b2d;
  --ink: #1e3555;
  --muted: #5e6875;
  --line: #d9dde2;
  --cream: #f8f7f4;
  --shell: min(1280px, calc(100% - 48px));
  --font-display: "Trebuchet MS", Arial, sans-serif;
  --font-body: Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-display); padding-bottom: 92px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.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; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--navy); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }

/* Prototype banner — the clone's demo-bar position/style, program wording */
.prototype-bar { display: flex; justify-content: center; gap: 10px; padding: 8px 16px; background: var(--navy-deep); color: #fff; font: 11px/1.2 var(--font-body); letter-spacing: .13em; text-transform: uppercase; text-align: center; }

/* Header — clone layout; brand uses the local balloon asset */
.site-header { background: #fff; }
.header-inner { width: var(--shell); min-height: 145px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 96px; width: auto; }
.agent-meta { flex: 1; }
.agent-name { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -.04em; }
.agent-links { display: flex; gap: 28px; margin-top: 8px; font: 15px/1.4 var(--font-body); }
.agent-links a, .footer-contact a { text-decoration: none; }
.agent-links a:hover, .footer-contact a:hover, .site-nav a:hover, .footer-nav a:hover { opacity: .7; }
.agent-photo, .section-agent-photo { width: 105px; height: 105px; object-fit: cover; border-radius: 50%; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 27px; cursor: pointer; }
.site-nav { background: var(--navy); color: #fff; }
.nav-inner { width: min(1440px, calc(100% - 48px)); min-height: 58px; margin: auto; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.2vw, 32px); }
.site-nav a { padding: 19px 0; color: #fff; text-decoration: none; font: 700 14px/1 var(--font-body); text-transform: uppercase; letter-spacing: .015em; }

/* Hero — clone; background is the local hero asset */
.hero { min-height: 660px; display: grid; place-items: center; position: relative; isolation: isolate; background: url("hero-home.jpg") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 16, 29, .56), rgba(6, 16, 29, .14) 56%, rgba(6, 16, 29, .33)); }
.hero-content { width: min(1084px, calc(100% - 48px)); padding: 86px 0 70px; text-align: center; color: #fff; }
.eyebrow { margin: 0 0 14px; color: var(--red); font: 700 12px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.hero-eyebrow { color: #fff; opacity: .9; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.055em; }
h1 { font-size: clamp(47px, 6vw, 82px); line-height: .98; }
h2 { font-size: clamp(37px, 5vw, 62px); line-height: 1.03; }
.quick-search { max-width: 950px; margin: 38px auto 0; color: #101820; box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.search-tabs { display: grid; grid-template-columns: 1fr 1fr; min-height: 50px; background: rgba(255,255,255,.91); font: 700 16px/1 var(--font-body); letter-spacing: .12em; }
.search-tabs > * { display: grid; place-items: center; border-right: 1px solid #c7cbd0; text-decoration: none; }
.search-tabs > *:last-child { border-right: 0; }
.search-tabs .active { border-bottom: 3px solid var(--red); }
.search-tabs a:hover { background: #fff; }
.search-row { min-height: 70px; display: grid; grid-template-columns: 1fr auto; align-items: center; background: #fff; color: #101820; text-align: left; font: 14px/1.3 var(--font-body); text-decoration: none; }
.search-placeholder { padding: 0 28px; color: #737c86; }
.search-price { height: 100%; padding: 0 22px; display: flex; align-items: center; gap: 18px; border-left: 1px solid #c7cbd0; color: var(--navy); font-weight: 700; }
.search-row:hover .search-price, .search-row:focus-visible .search-price { background: var(--red); color: #fff; }
.search-row:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.search-note { margin: 0; padding: 8px 12px; background: rgba(255,255,255,.86); color: #4d5660; font: 11px/1.4 var(--font-body); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 25px; border-radius: 5px; font: 700 15px/1 var(--font-body); text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: #bb1324; }
.button-light { border: 1px solid #fff; color: #fff; background: rgba(0,0,0,.13); }
.button-light:hover { background: #fff; color: var(--navy); }
.button-navy { margin-top: 34px; background: var(--navy); color: #fff; }
.button-navy:hover { background: var(--red); }
.section-shell { width: var(--shell); margin: auto; text-align: center; }

/* About — clone layout + the template's verified-facts prose block */
.about-section { padding: 95px 0 105px; }
.section-agent-photo { width: 166px; height: 166px; margin: 0 auto 26px; border: 1px solid #aaa; }
.about-section h2, .listings-section h2, .services-section h2, .blog-section h2, .communities-section h2 { margin-bottom: 18px; }
.section-intro { max-width: 620px; margin: 0 auto; color: var(--muted); font: 18px/1.6 var(--font-body); }
.about-prose { max-width: 720px; margin: 26px auto 0; text-align: center; }
.about-prose p { margin: 0 0 16px; color: var(--muted); font: 17px/1.65 var(--font-body); }
.about-prose p:last-child { margin-bottom: 0; }
.text-link { display: inline-block; margin-top: 24px; color: var(--red); font: 700 15px/1.3 var(--font-body); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Featured Properties — clone cards; sample cards carry a SAMPLE tag
   and a sample line (honesty pattern from the previous template) */
.listings-section { padding: 75px 0 90px; background: #fff; text-align: center; }
.listings-section .section-intro { max-width: 700px; font-size: 15px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 35px; text-align: left; }
.listing-card { display: block; overflow: hidden; border: 1px solid #aeb5be; color: #111; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(30,53,85,.14); }
.listing-ph { position: relative; }
.listing-card img { width: 100%; aspect-ratio: 1.34 / 1; object-fit: cover; background: #d3d8de; }
.sample-tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: var(--red); color: #fff; font: 700 10px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.listing-body { min-height: 136px; display: flex; flex-direction: column; gap: 7px; padding: 14px; font: 13px/1.35 var(--font-body); }
.listing-body strong { font-size: 15px; }
.listing-body .listing-price { color: var(--navy); font-size: 17px; font-weight: 700; }
.listing-body span { color: #56616d; }
.listing-body .sample-line { margin: 4px 0 0; color: #68737f; font-size: 11px; line-height: 1.45; }
.listing-body em { margin-top: auto; color: var(--red); font-style: normal; font-weight: 700; font-size: 12px; }

/* Services — clone circular photo tiles */
.services-section { padding: 74px 0 92px; background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 4vw, 64px); margin: 40px auto 0; max-width: 1050px; }
.service-tile { aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; position: relative; isolation: isolate; border-radius: 50%; color: #fff; text-align: center; text-decoration: none; }
.service-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tile-image) center/cover; transition: transform .3s ease; }
.service-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.35); transition: background .3s ease; }
.service-tile:hover::before { transform: scale(1.08); }
.service-tile:hover::after { background: rgba(30,53,85,.58); }
.service-tile span { padding: 18px; font-size: clamp(18px, 2.5vw, 30px); font-weight: 700; line-height: 1.05; }

/* Blog — clone image cards; posts are content-engine drafts until
   the agent approves them, so cards are articles, not dead links */
.blog-section { padding: 76px 0 90px; background: var(--cream); }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; text-align: left; }
.blog-card { display: block; overflow: hidden; background: #fff; color: #111; border: 1px solid var(--line); }
.blog-image { min-height: 240px; display: grid; place-items: center; padding: 28px; position: relative; isolation: isolate; background: var(--blog-image) center/cover; color: #fff; text-align: center; }
.blog-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.3); }
.blog-image strong { font-size: clamp(22px, 3vw, 35px); line-height: 1.05; letter-spacing: -.035em; }
.blog-card .blog-meta { display: block; padding: 14px 20px 4px; color: var(--red); font: 700 12px/1.2 var(--font-body); }
.blog-card .blog-excerpt { margin: 0; padding: 6px 20px 16px; color: #56616d; font: 13px/1.55 var(--font-body); }
.blog-card .blog-status { display: block; padding: 0 20px 16px; color: #68737f; font: 700 11px/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }

/* Featured Communities — clone cards + the per-agent city story prose */
.communities-section { padding: 74px 0 42px; text-align: center; }
.city-prose { max-width: 720px; margin: 4px auto 0; text-align: center; }
.city-prose p { margin: 0 0 16px; color: var(--muted); font: 17px/1.65 var(--font-body); }
.city-prose p:last-child { margin-bottom: 0; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; }
.community-card { min-height: 350px; display: flex; align-items: end; padding: 24px 20px; position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: left; text-decoration: none; }
.community-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--community-image) center/cover; transition: transform .3s ease; }
.community-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgba(0,0,0,.65)); }
.community-card:hover::before { transform: scale(1.06); }
.community-card span { font-size: 20px; font-weight: 700; }

/* REBA — clone voice section. The card hosts the embed slot from the
   REBA embed package: until the production widget ships, the slot
   renders this honestly-labeled preview panel (never a fake chat). */
.voice-section { padding: 92px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.voice-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 7vw, 100px); align-items: center; text-align: left; }
.voice-copy h2 { margin-bottom: 22px; }
.voice-lead { max-width: 620px; margin: 0; color: var(--muted); font: 18px/1.6 var(--font-body); }
.voice-points { display: grid; gap: 13px; padding: 0; margin: 30px 0 24px; list-style: none; font: 700 15px/1.4 var(--font-body); }
.voice-points li { display: flex; align-items: center; gap: 15px; }
.voice-points span { color: var(--red); font: 700 13px/1 var(--font-body); letter-spacing: .1em; }
.voice-boundary { max-width: 540px; margin: 0; color: #5a636e; font: 12px/1.5 var(--font-body); }
.voice-launcher-note { max-width: 540px; margin: 18px 0 0; color: var(--navy); font: 13px/1.55 var(--font-body); }
.voice-card { overflow: hidden; border: 1px solid #cfd5dc; border-radius: 8px; background: #fff; box-shadow: 0 18px 42px rgba(30,53,85,.14); }
.voice-card-heading { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; color: var(--navy); font: 700 13px/1.2 var(--font-body); }
.voice-card-heading > div { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226,27,45,.14); }
.voice-card-label { color: #68737f; font-weight: 400; }
.reba-slot-body { padding: 26px 26px 22px; background: linear-gradient(145deg, #f7f8fa, #eef1f4); }
.reba-head { display: flex; align-items: center; gap: 13px; }
.reba-avatar { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 50%; background: #DC1C2E; color: #fff; font: 700 20px/1 var(--font-display); }
.reba-head strong { display: block; color: var(--navy); font-size: 16px; }
.reba-head div > span { display: block; color: #5d6874; font: 12px/1.4 var(--font-body); }
.reba-bubble { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #dbe1e8; border-radius: 12px; background: #fff; color: #303b47; font: 14px/1.55 var(--font-body); }
.reba-input { display: flex; gap: 10px; margin-top: 14px; }
.reba-input input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid #c3ccd5; border-radius: 5px; background: #fff; color: var(--ink); font: 14px/1.3 var(--font-body); }
.reba-input input::placeholder { color: #5C6F88; }
.reba-input button { flex: 0 0 auto; min-height: 46px; padding: 0 20px; border: 0; border-radius: 5px; background: #DC1C2E; color: #fff; font: 700 14px/1 var(--font-body); cursor: pointer; }
.reba-input button:hover { background: #bb1324; }
.reba-note { margin: 14px 0 0; color: #5d6874; font: 12px/1.55 var(--font-body); }
.reba-note a, .voice-boundary a { color: var(--navy); font-weight: 700; }
.reba-disclosure { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #d9dee4; color: #5d6874; font: 11px/1.5 var(--font-body); }

/* Lead System band — program addition in the clone's navy language.
   All text pairings computed for WCAG AA on --navy (see TEMPLATE-NOTES). */
.lead-band { background: var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.lead-band .eyebrow { color: #FF8F99; }
.lead-band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.lead-band p { max-width: 760px; margin: 0 auto; color: #C9D6E8; font: 16px/1.65 var(--font-body); }
.lead-band .button { margin-top: 26px; }

/* Footer — clone */
.site-footer { background: var(--navy); color: #fff; font-family: var(--font-body); }
.footer-inner { width: min(1480px, calc(100% - 48px)); margin: auto; padding: 40px 0 24px; text-align: center; }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 30px; font-size: 14px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; font-size: 13px; }
.footer-nav a { text-decoration: none; }
.footer-disclaimer { max-width: 1100px; margin: 28px auto 0; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.5; }
.footer-copyright { margin: 26px 0 0; color: rgba(255,255,255,.65); font-size: 11px; }
.footer-powered { margin: 10px 0 0; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Floating REBA launcher — the old long pill was retired Oct 18, 2026
   (Anton: too big, covered the page bottom). The launcher is now the
   compact orb component in /assets/reba-launcher.css (Option 1 live);
   both agent pages link that file. Do not re-add pill styles here. */

/* Footer theme cross-link (light ↔ dark versions) */
.footer-theme { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 12px; }
.footer-theme a { color: #fff; font-weight: 700; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .header-inner { min-height: 108px; gap: 18px; }
  .brand img { height: 76px; }
  .agent-name { font-size: 20px; }
  .agent-links { gap: 16px; font-size: 13px; }
  .agent-photo { width: 80px; height: 80px; }
  .nav-inner { gap: 17px; }
  .site-nav a { font-size: 11px; }
  .hero { min-height: 590px; }
  .voice-grid { grid-template-columns: 1fr; gap: 42px; }
  .voice-copy { text-align: center; }
  .voice-copy .voice-lead, .voice-boundary { margin-left: auto; margin-right: auto; }
  .voice-launcher-note { margin-left: auto; margin-right: auto; }
  .voice-points { text-align: left; width: fit-content; margin-left: auto; margin-right: auto; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { gap: 26px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); }
  .prototype-bar { font-size: 9px; letter-spacing: .09em; }
  .header-inner { min-height: 85px; }
  .brand img { height: 56px; }
  .agent-meta { display: none; }
  .agent-photo { width: 62px; height: 62px; margin-left: auto; }
  .menu-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-inner { width: 100%; display: grid; gap: 0; }
  .site-nav a { padding: 15px 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
  .hero { min-height: 630px; background-position: 62% center; }
  .hero-content { width: calc(100% - 32px); padding: 58px 0 42px; }
  .hero-eyebrow { font-size: 10px; }
  h1 { font-size: 51px; }
  .quick-search { margin-top: 28px; }
  .search-row { grid-template-columns: 1fr auto; min-height: 64px; }
  .search-placeholder { padding: 0 15px; font-size: 12px; }
  .search-price { padding: 0 14px; font-size: 11px; gap: 8px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-left: 20px; margin-right: 20px; }
  .hero-actions .button, .lead-band .button { width: 100%; }
  .voice-section, .about-section, .listings-section, .services-section, .blog-section { padding-top: 64px; padding-bottom: 66px; }
  .voice-card-heading { align-items: flex-start; gap: 10px; font-size: 11px; }
  .voice-card-label { white-space: nowrap; }
  .voice-lead, .section-intro { font-size: 16px; }
  .reba-slot-body { padding: 20px 16px 18px; }
  .listing-grid { gap: 12px; }
  .listing-body { min-height: 150px; padding: 10px; font-size: 11px; }
  .listing-body strong { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 32px; }
  .service-tile span { font-size: 20px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-image { min-height: 210px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-card { min-height: 230px; }
  .footer-inner { width: calc(100% - 32px); padding-top: 30px; }
  .footer-contact { flex-direction: column; gap: 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Brand 3A "The Elegant" lockup — canonical: LOT LOGIX/remax-results/assets/brand/brand-3a.css (Anton D-4, Oct 24 2026) */
.rs3a{--rs3a-chrome:linear-gradient(180deg,#ffffff 0%,#dfe3ea 38%,#9aa1ad 55%,#e9edf3 78%,#b7bdc8 100%);--rs3a-steel:linear-gradient(180deg,#5a626e 0%,#333a44 38%,#14181e 55%,#454d59 78%,#23272e 100%);display:inline-flex;flex-direction:column;align-items:center;font-family:"Noto Sans Display","Noto Sans","Segoe UI",Helvetica,Arial,sans-serif;font-size:20px;font-style:normal;line-height:1.1;text-decoration:none}
.rs3a-wm{font-weight:300;font-size:1em;line-height:1.1;white-space:nowrap;letter-spacing:.30em;margin-right:-.30em;text-transform:uppercase;background:var(--rs3a-chrome);-webkit-background-clip:text;background-clip:text;color:transparent}
.rs3a-rule{flex:none;height:2px;width:6.7em;margin-top:.34em;border-radius:1px;background:linear-gradient(90deg,rgba(220,28,46,0) 0%,#DC1C2E 22%,#ff5a68 50%,#DC1C2E 78%,rgba(220,28,46,0) 100%)}
.rs3a-sys{display:flex;align-items:center;gap:.24em;margin-top:.44em}
.rs3a-txt{font-weight:400;font-size:9px;line-height:1;white-space:nowrap;letter-spacing:.34em;margin-right:-.34em;text-transform:uppercase;color:#aeb6c2}
.rs3a--hdr{font-size:21px}
.rs3a--light .rs3a-wm{background:var(--rs3a-steel);-webkit-background-clip:text;background-clip:text}
.rs3a--light .rs3a-txt{color:#5c6572}
