/* ============================================================
   AGENT PAGE TEMPLATE — DARK GLOSSY SKIN (Oct 18, 2026)
   Anton's direction: "black and red, and the white kind of
   shiny — like a car's glary glistening." Loaded AFTER
   agent.css on the dark variant only (/kenny-lewandowski-dark);
   the light page never sees this file. Glossy black base,
   metallic silver-white headings + wordmark, RE/MAX red
   accents, diagonal glare streaks, top-edge highlights —
   and ONE silver-white glossy band mid-page (the blog) for
   rhythm, per the standing alternating-sections direction.
   Contrast: every pairing computed (see TEMPLATE-NOTES.md).
   ============================================================ */

:root {
  --ink: #E9EEF5;
  --muted: #9FB0C3;
  --line: #26303F;
  --cream: #0B0F14;
  --black: #05070A;
  --panel: #0D1117;
  --edge: #2A3648;
  --silver-hi: #FFFFFF;
  --silver: #EEF1F6;
  --silver-mid: #C3CAD4;
  --silver-low: #8F9AAB;
  --red-bright: #FF6B78;
}

/* Metallic silver-white display text — gradient clipped to type.
   Darkest stop #8F9AAB still computes 7.09:1 on the black base
   (and 3.79:1 against the worst-case darkened hero composite —
   display sizes only, AA-large is 3:1). */
.metal-text, h1, h2, .agent-name, .wordmark-metal {
  background-image: linear-gradient(180deg, #FFFFFF 0%, #EEF1F6 30%, #C3CAD4 52%, #8F9AAB 68%, #DFE5EE 84%, #F5F7FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

body { background: var(--black); }

/* Prototype bar — black, red rule */
.prototype-bar { background: #04060A; color: var(--silver-mid); border-bottom: 2px solid #DC1C2E; }
.prototype-bar span:first-child { color: #FF8F99; }

/* Header — glossy black */
.site-header { background: linear-gradient(180deg, #0D1117 0%, #070A0F 100%); border-bottom: 1px solid #1E2836; }
.wordmark { font-size: clamp(16px, 2vw, 24px); font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.wordmark-red {
  background-image: linear-gradient(180deg, #FF8F99 0%, #DC1C2E 58%, #8F0F1E 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.agent-links { color: var(--silver-mid); }
.agent-photo, .section-agent-photo {
  border: 1px solid rgba(195, 202, 212, .4);
  box-shadow: 0 0 0 2px #8F9AAB, 0 0 0 4px rgba(143, 154, 171, .28), 0 12px 26px rgba(0, 0, 0, .55);
}
.menu-toggle { color: var(--silver); }

/* Nav — near-black, silver links, red underline on hover */
.site-nav { background: #04060A; border-top: 1px solid #1E2836; border-bottom: 1px solid #1E2836; }
.site-nav a { color: #DBE3EE; }
.site-nav a:hover { color: #fff; opacity: 1; box-shadow: inset 0 -3px 0 var(--red); }

/* Hero — photo darkened hard so the silver headline pops,
   diagonal car-paint glare across the panel */
.hero-overlay {
  background:
    linear-gradient(0deg, rgba(5, 7, 10, .92) 0%, rgba(5, 7, 10, 0) 42%),
    linear-gradient(90deg, rgba(3, 5, 9, .84) 0%, rgba(3, 5, 9, .52) 56%, rgba(3, 5, 9, .68) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .09) 48%, rgba(255, 255, 255, .02) 52%, rgba(255, 255, 255, 0) 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { color: var(--silver); opacity: .95; }
h1 { filter: drop-shadow(0 3px 18px rgba(0, 0, 0, .6)); }

/* Quick search — dark glass panel, glossy top edge */
.quick-search {
  background: rgba(9, 12, 18, .94);
  color: var(--silver);
  border: 1px solid rgba(195, 202, 212, .22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.search-tabs { background: rgba(255, 255, 255, .05); color: #DBE3EE; }
.search-tabs > * { border-right-color: #26303F; }
.search-tabs a:hover { background: rgba(255, 255, 255, .10); }
.search-row { background: rgba(255, 255, 255, .03); color: var(--silver); }
.search-placeholder { color: var(--muted); }
.search-price { color: #F5F7FA; border-left-color: #26303F; }
.search-note { background: rgba(255, 255, 255, .05); color: #93A3B8; }

/* Buttons — glossy top-edge highlight everywhere */
.button { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px rgba(0, 0, 0, .40); }
.button-red { background: linear-gradient(180deg, #F0445A 0%, #DC1C2E 55%, #B3121F 100%); color: #fff; }
.button-red:hover { background: linear-gradient(180deg, #F0445A 0%, #C4161F 55%, #8F0F1E 100%); }
.button-light { border-color: rgba(238, 241, 246, .75); background: rgba(255, 255, 255, .06); color: #fff; }
.button-light:hover { background: linear-gradient(180deg, #FFFFFF, #C3CAD4); color: #0A0E14; }
.button-navy { background: linear-gradient(180deg, #2A3648 0%, #131B28 100%); color: var(--silver); border: 1px solid rgba(195, 202, 212, .35); }
.button-navy:hover { background: linear-gradient(180deg, #F0445A 0%, #B3121F 100%); color: #fff; }

/* Light-on-dark text fixes (the clone's reds/greys were tuned
   for white — brightened here to hold AA on black) */
.eyebrow { color: var(--red-bright); }
.text-link { color: var(--red-bright); }
.hero-eyebrow { color: var(--silver); }
.lead-band .eyebrow { color: #FF8F99; }

/* About */
.about-prose p, .city-prose p { color: var(--muted); }

/* Featured Properties — black cards, glare wash on the photo */
.listings-section { background: var(--black); }
.listing-card { background: var(--panel); border-color: var(--edge); color: var(--silver); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.listing-card:hover { box-shadow: 0 24px 48px rgba(0, 0, 0, .6); }
.listing-card img { background: #1A2230; }
.listing-ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 45%);
}
.sample-tag { z-index: 2; }
.listing-body strong { color: #F5F7FA; }
.listing-body .listing-price { color: #F5F7FA; }
.listing-body span { color: var(--muted); }
.listing-body .sample-line { color: #8494A9; }
.listing-body em { color: var(--red-bright); }

/* Services — photo tiles get a silver ring + deeper gloss */
.services-section { background: var(--black); }
.service-tile { box-shadow: 0 0 0 1px rgba(195, 202, 212, .35), 0 18px 36px rgba(0, 0, 0, .5); }
.service-tile::after { background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(0, 0, 0, .38) 58%); }
.service-tile:hover::after { background: linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(30, 53, 85, .62) 58%); }

/* Blog — THE silver-white glossy band (the one light section) */
.blog-section {
  position: relative;
  background: linear-gradient(155deg, #FBFCFE 0%, #DCE3EC 48%, #C3CAD4 78%, #EDF0F5 100%);
}
.blog-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .5) 45%, rgba(255, 255, 255, 0) 60%);
}
.blog-section .section-shell { position: relative; z-index: 1; }
.blog-section h2 {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: #152945; -webkit-text-fill-color: #152945;
}
.blog-section .eyebrow { color: #B3121F; }
.blog-section .section-intro { color: #43536A; }
.blog-card { border-color: #AEB8C6; box-shadow: 0 16px 34px rgba(10, 17, 28, .18); }

/* Featured Communities — black, silver-ringed photo cards */
.communities-section { background: var(--black); }
.community-card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.community-card::after { background: linear-gradient(rgba(255, 255, 255, .10) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .65) 100%); }

/* REBA — dark glass card in the clone's two-column layout */
.voice-section { border-bottom-color: #1E2836; }
.voice-points span { color: var(--red-bright); }
.voice-boundary { color: #93A3B8; }
.voice-launcher-note { color: #DBE3EE; }
.voice-card { background: var(--panel); border-color: var(--edge); box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
.voice-card-heading { color: var(--silver); }
.voice-card-label { color: #8494A9; }
.reba-slot-body { background: linear-gradient(145deg, #121823 0%, #0A0E14 100%); }
.reba-avatar { box-shadow: inset 0 2px 3px rgba(255, 255, 255, .5), inset 0 -5px 9px rgba(0, 0, 0, .35), 0 8px 18px rgba(0, 0, 0, .4); }
.reba-head strong { color: #F5F7FA; }
.reba-head div > span { color: var(--muted); }
.reba-bubble { background: #151D29; border-color: var(--edge); color: #DBE3EE; }
.reba-input input { background: #070A0F; border-color: #2C394C; color: #fff; }
.reba-input input::placeholder { color: #8494A9; }
.reba-note { color: #93A3B8; }
.reba-note a, .voice-boundary a { color: #F5F7FA; }
.reba-disclosure { border-top-color: #26303F; color: #93A3B8; }

/* Lead System band — deep black-blue, dark-adapted */
.lead-band {
  background: linear-gradient(180deg, #0A0F16 0%, #04060A 100%);
  border-top: 1px solid #26303F;
  border-bottom: 1px solid #26303F;
}

/* Footer — blackest panel, silver wordmark line */
.site-footer { background: #030507; border-top: 1px solid #1E2836; }
.footer-brand { margin: 0 0 22px; font-size: 20px; }
.footer-disclaimer { color: rgba(255, 255, 255, .78); }
.footer-theme a { color: #FF8F99; }

@media (max-width: 640px) {
  .wordmark { font-size: 15px; letter-spacing: .02em; }
  .footer-brand { font-size: 17px; }
}
