:root{
--bg: #f6f8fb;
--bg-soft: #ffffff;
--text: #0b1220;
--muted: rgba(15,23,42,0.66);
--border: rgba(15,23,42,0.12);
--brand-1: #0a62ff;
--brand-2: #27d3ff;
--brand-3: #0b1c3a;
--sand: #f3efe7;
--shadow: 0 18px 48px rgba(15,23,42,0.12);
--shadow-sm: 0 10px 26px rgba(15,23,42,0.10);
--radius: 18px;
--radius-lg: 26px;
--container: 1180px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
margin:0;
overflow-x:hidden;
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
color: var(--text);
background:
radial-gradient(1100px 520px at 18% -20%, rgba(39,211,255,0.16), transparent 60%),
radial-gradient(900px 520px at 92% 8%, rgba(10,98,255,0.12), transparent 55%),
radial-gradient(900px 520px at 16% 118%, rgba(221,193,150,0.35), transparent 60%),
linear-gradient(180deg, #ffffff 0%, #f6f8fb 55%, #ffffff 100%);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.site-header{
position:sticky;top:0;z-index:50;
backdrop-filter: blur(12px);
background: rgba(255,255,255,0.84);
border-bottom: 1px solid var(--border);
}
.site-header .container{max-width:none;padding-left:28px;padding-right:28px}
.header-inner{
display:flex;align-items:center;justify-content:space-between;
gap:16px;padding:14px 0;
}
.brand{display:flex;align-items:center;gap:12px;min-width:0;flex:0 0 auto}
.brand img{height:126px; width:auto; display:block}
.brand .brand-mark{display:none}
.nav{
display:flex;align-items:center;gap:4px;
flex:1 1 auto;
justify-content:center;
}
.nav-item{position:relative}
.nav-item.has-dropdown::after{
content:"";position:absolute;left:0;right:0;top:100%;height:14px;
}
.nav-link{
display:flex;align-items:center;gap:8px;
padding:10px 12px;border-radius:12px;
font-weight:700;font-size:14px;
color: rgba(15,23,42,0.88);
transition: background .18s ease, color .18s ease, transform .18s ease;
white-space:nowrap;
}
.nav-link:hover,.nav-link:focus{
background: rgba(15,23,42,0.05);
color: rgba(15,23,42,0.96);
outline:none;
}
.chev{opacity:.55;transform:translateY(1px)}
.dropdown{
position:absolute;left:0;top:100%;
min-width: 280px;
padding:10px;
border-radius:16px;
background: rgba(255,255,255,0.94);
border: 1px solid var(--border);
box-shadow: var(--shadow);
display:none;
pointer-events:auto;
}
.nav-item:hover .dropdown,.nav-item:focus-within .dropdown{display:block}
.dropdown a{
display:flex;align-items:center;justify-content:space-between;
padding:10px 10px;border-radius:12px;
color: rgba(15,23,42,0.86);
font-family:inherit;
font-size:14px;font-weight:600;
}
.dropdown a:hover,.dropdown a:focus{background: rgba(15,23,42,0.05);outline:none}
.dropdown .muted{color: rgba(15,23,42,0.56);font-weight:600;font-size:12px}
.dropdown-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;position:relative}
.dropdown-row:hover,.dropdown-row:focus-within{background: rgba(15,23,42,0.05)}
.dropdown-row > .dropdown-link{
padding:0;margin:0;flex:1;
display:flex;align-items:center;gap:10px;
font-family: inherit;
font-size: 14px;
font-weight: 600;
line-height: 1.2;
color: inherit;
text-decoration: none;
}
.dropdown-row > .dropdown-link:hover,.dropdown-row > .dropdown-link:focus{background:transparent;outline:none}
.dropdown-row .submenu-caret{font-size:12px;line-height:1;opacity:0.65;flex:0 0 auto}
.dropdown-row .submenu{
position:absolute;
top:-8px;
left:calc(100% - 8px);
min-width:260px;
background:#fff;
border:1px solid rgba(15,23,42,0.1);
border-radius:16px;
padding:10px;
box-shadow:0 10px 30px rgba(2,6,23,0.12);
opacity:0;
transform:translateY(8px);
pointer-events:none;
visibility:hidden;
transition:200ms ease;
z-index:60;
}
.dropdown-row:hover .submenu,.dropdown-row:focus-within .submenu{opacity:1;transform:translateY(0);pointer-events:auto;visibility:visible}
.header-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end;flex:0 0 auto}
.phone-link{
display:inline-flex;align-items:center;gap:8px;
padding:0;
border:none;
background:transparent;
color: rgba(15,23,42,0.82);
font-weight:750;font-size:14px;
text-decoration:none;
}
.phone-link:hover{color: rgba(15,23,42,0.96);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.phone-link:hover{background: rgba(15,23,42,0.05);transform:translateY(-1px)}
.phone-link svg path{stroke: rgba(15,23,42,0.72) !important}
.mobile-toggle{
display:none;
border:1px solid rgba(15,23,42,0.12);
background: rgba(255,255,255,0.7);
border-radius:12px;padding:10px;
}
.mobile-toggle svg path{stroke: rgba(15,23,42,0.72) !important}
.btn{
display:inline-flex;align-items:center;justify-content:center;gap:10px;
padding:11px 14px;border-radius:999px;
border:1px solid rgba(15,23,42,0.14);
background: rgba(255,255,255,0.85);
color: rgba(15,23,42,0.92);
font-weight:800;font-size:13px;
box-shadow: 0 8px 20px rgba(15,23,42,0.06);
transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover{background: rgba(255,255,255,0.95);transform:translateY(-1px);box-shadow: 0 10px 26px rgba(15,23,42,0.08)}
.btn-primary{
border-color: rgba(10,98,255,0.25);
background: linear-gradient(90deg, rgba(10,98,255,0.96), rgba(39,211,255,0.90));
color: #ffffff;
box-shadow: 0 12px 30px rgba(10,98,255,0.18);
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-secondary{
background: rgba(255,255,255,0.70);
border-color: rgba(15,23,42,0.16);
color: rgba(15,23,42,0.92);
}
.btn-small{padding:10px 12px;font-size:12.5px}
.hero{padding:26px 0 18px;overflow:hidden}
.hero-card.hero-bleed{
position:relative;
height:520px;
width:100vw;
margin-left:calc(50% - 50vw);
margin-right:calc(50% - 50vw);
border-radius:0;
overflow:hidden;
border:1px solid rgba(15,23,42,0.10);
background:#ffffff;
box-shadow: 0 28px 80px rgba(15,23,42,0.14);
color: rgba(15,23,42,0.92);
}
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-main-img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.02);opacity:0;transition:opacity 1.2s ease}
.hero-slide.is-active{opacity:1}
.hero-overlay{
position:absolute;inset:0;
background:
linear-gradient(90deg, rgba(255,255,255,0.90) 0%, rgba(255,255,255,0.66) 44%, rgba(255,255,255,0.28) 72%, rgba(255,255,255,0.10) 100%),
radial-gradient(900px 420px at 18% 18%, rgba(39,211,255,0.20), transparent 60%),
radial-gradient(900px 420px at 22% 76%, rgba(243,239,231,0.55), transparent 60%);
}
.hero-frame{
position:relative;
z-index:2;
height:100%;
display:flex;
align-items:flex-end;
padding:42px 0 36px;
}
.hero-content{position:relative;z-index:2;flex:1}
.hero-inner{max-width:860px}
.hero-inner .eyebrow{
display:inline-flex;align-items:center;gap:10px;
padding:8px 12px;
border-radius:999px;
background: rgba(255,255,255,0.78);
border:1px solid rgba(15,23,42,0.10);
font-size:18px;
font-weight:800;
letter-spacing:0.10em;
text-transform:uppercase;
color: rgba(15,23,42,0.66);
margin-bottom:12px;
}
.hero-inner h1{
margin:0 0 12px;
font-family:"Space Grotesk", Inter, system-ui, sans-serif;
letter-spacing:-0.8px;
font-size:44px;
line-height:1.04;
color: rgba(15,23,42,0.94);
}
.hero-inner p{margin:0 0 18px;color: rgba(15,23,42,0.78);line-height:1.65;max-width:78ch}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;align-items:center}
.hero-card .btn{background: rgba(15,23,42,0.04);border-color: rgba(15,23,42,0.12);color: rgba(15,23,42,0.90);box-shadow:none}
.hero-card .btn:hover{background: rgba(255,255,255,0.14)}
.hero-card .btn-primary{background: linear-gradient(90deg, rgba(10,98,255,0.98), rgba(39,211,255,0.90));border-color: rgba(39,211,255,0.35);color:#fff}
.hero-mini{
position:absolute;
right:0;
bottom:40px;
display:flex;
gap:12px;
z-index:3;
}
@media (max-width: 980px){
.hero-card.hero-bleed{height:520px}
.hero-inner h1{font-size:38px}
.hero-frame{padding:38px 0 32px}
}
@media (max-width: 800px){
.hero-mini{display:none}
.hero-inner h1{font-size:34px}
.hero-inner .eyebrow{font-size:16px}
}
.page-hero{
padding:26px 0 10px;
}
.page-hero .wrap{
border-radius: var(--radius-lg);
border:1px solid var(--border);
background: rgba(255,255,255,0.88);
box-shadow: var(--shadow-sm);
overflow:hidden;
position:relative;
}
.page-hero .copy{padding:26px}
.page-hero h1{
margin:0 0 8px;
font-family:"Space Grotesk", Inter, system-ui, sans-serif;
letter-spacing:-0.6px;font-size:32px;
}
.page-hero p{margin:0;color:var(--muted);line-height:1.7;max-width:75ch}
.page-hero .art{
position:absolute;right:-120px;top:-110px;width:420px;height:420px;opacity:0.35;
background: radial-gradient(circle at 30% 30%, rgba(39,211,255,0.55), transparent 55%),
radial-gradient(circle at 70% 60%, rgba(10,98,255,0.40), transparent 55%),
radial-gradient(circle at 35% 75%, rgba(221,193,150,0.55), transparent 60%);
filter: blur(0px);
}
.section{padding:34px 0}
.section h2{
margin:0 0 8px;
font-family:"Space Grotesk", Inter, system-ui, sans-serif;
letter-spacing:-0.5px;font-size:28px;
}
.section .sub{margin:0 0 18px;color:var(--muted);max-width:72ch;line-height:1.7}
.grid{display:grid;gap:16px;grid-template-columns:repeat(12,1fr)}
.card{
grid-column:span 6;border-radius:var(--radius);
border:1px solid var(--border);
background: rgba(255,255,255,0.88);
overflow:hidden;
box-shadow: var(--shadow-sm);
transition:transform .18s ease, box-shadow .2s ease;
}
.card:hover{transform:translateY(-2px);box-shadow: var(--shadow)}
.card .media{height:190px;position:relative;overflow:hidden}
.card .media img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.rookies-card .media{background: rgba(11,21,36,0.86)}
.rookies-card .media img{object-fit:cover;background:#0b1220;transform:scale(1.03);padding:0;object-position:center}
.card .body{padding:var(--content-inset)}
.form{display:grid;gap:12px;margin-top:12px}
.form .row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.form label{display:block;font-size:12px;color:var(--muted);margin:0 0 6px}
.form input,.form select,.form textarea{
width:100%;padding:12px 12px;border-radius:12px;
border:1px solid var(--border);
background:rgba(255,255,255,0.92);
font:inherit;outline:none;
}
.form textarea{min-height:120px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{box-shadow:0 0 0 4px rgba(10,98,255,0.10)}
.form .hint{font-size:12px;color:var(--muted);line-height:1.55;margin-top:-4px}
.form-success{padding:10px 12px;border-radius:12px;background:rgba(36,184,120,0.10);border:1px solid rgba(36,184,120,0.25);color:#0b5b3a;font-size:13px}
.form fieldset{margin:0;padding:14px 14px 12px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,0.78)}
.form legend{padding:0 6px;font-size:13px;font-weight:700;color:rgba(15,23,42,0.86)}
.choice-group{display:grid;gap:10px;margin-top:4px}
.choice-option{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid rgba(15,23,42,0.10);border-radius:12px;background:rgba(255,255,255,0.92)}
.choice-option input{width:auto;margin-top:3px;flex:0 0 auto}
.choice-option span{display:block;line-height:1.55;color:rgba(15,23,42,0.84)}
.choice-option strong{display:block;color:rgba(15,23,42,0.92)}
.form .actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.form .consent{font-size:12px;color:var(--muted);line-height:1.65}
.form .section-intro{margin:0 0 10px;color:var(--muted);font-size:14px;line-height:1.65}
.form .inline-note{font-size:12px;color:var(--muted)}
@media(max-width:720px){
.form .row{grid-template-columns:1fr}
}
.card h3{margin:0 0 6px;font-family:"Space Grotesk", Inter, system-ui, sans-serif;letter-spacing:-.3px;font-size:18px}
.card p{margin:0 0 10px;color:var(--muted);line-height:1.6}
.meta{display:flex;gap:10px;flex-wrap:wrap}
.badge{
font-size:12px;padding:6px 10px;border-radius:999px;
background: rgba(15,23,42,0.04);
border:1px solid rgba(15,23,42,0.12);
color: rgba(15,23,42,0.72);
font-weight:700;
}
.split{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:stretch}
.panel{
border-radius:var(--radius-lg);
border:1px solid var(--border);
background: rgba(255,255,255,0.88);
overflow:hidden;
box-shadow: var(--shadow-sm);
}
.panel .pad{padding:22px}
.panel h3{margin:0 0 10px;font-family:"Space Grotesk",Inter,system-ui,sans-serif;font-size:20px;letter-spacing:-.3px}
.panel ul{margin:0;padding-left:18px;color: rgba(15,23,42,0.80);line-height:1.85}
.panel .photo{min-height:280px;position:relative;overflow:hidden}
.panel .photo img{width:100%;height:100%;object-fit:cover;transform:scale(1.02)}
.panel strong{color: rgba(15,23,42,0.92)}
.footer{padding:34px 0 44px;border-top:1px solid var(--border);margin-top:24px}
.small{font-size:12px;color: rgba(15,23,42,0.58)}
.arizona-focus{
background:
radial-gradient(900px 460px at 12% 20%, rgba(221,193,150,0.30), transparent 60%),
radial-gradient(820px 460px at 92% 25%, rgba(39,211,255,0.14), transparent 60%),
linear-gradient(180deg, rgba(243,239,231,0.62) 0%, rgba(246,248,251,0.9) 70%, rgba(255,255,255,0.9) 100%);
border-top:1px solid rgba(15,23,42,0.06);
border-bottom:1px solid rgba(15,23,42,0.06);
}
.muted{color:var(--muted)}
.wrap{border-radius:var(--radius-lg);border:1px solid var(--border);background:rgba(255,255,255,0.88);box-shadow:var(--shadow-sm)}
.pad{padding:22px}
.pill{
display:inline-flex;align-items:center;gap:8px;
padding:10px 12px;border-radius:999px;
background: rgba(15,23,42,0.03);
border:1px solid rgba(15,23,42,0.10);
font-weight:750;font-size:13px;
}
.pill svg path{stroke: rgba(15,23,42,0.72) !important}
@media (max-width:1500px){
.header-inner{padding:12px 0}
.brand img{height:72px}
.nav{display:none;position:absolute;left:20px;right:20px;top:100%;
flex-direction:column;align-items:stretch;gap:8px;
padding:12px;border-radius:18px;
background: rgba(255,255,255,0.96);
border:1px solid var(--border);
box-shadow: var(--shadow);
}
.nav.open{display:flex}
.dropdown{position:static;display:none;
pointer-events:auto;padding:6px;margin-top:6px;box-shadow:none;background:rgba(15,23,42,0.02)}
.nav-item.open .dropdown{display:block}
.mobile-toggle{display:inline-flex}
.header-actions{gap:8px}
.phone-link{
display:inline-flex;align-items:center;gap:8px;
padding:0;
border:none;
background:transparent;
color: rgba(15,23,42,0.82);
font-weight:750;font-size:14px;
text-decoration:none;
}
.phone-link:hover{color: rgba(15,23,42,0.96);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.hero-media{height:440px}
.hero-inner{padding:30px 26px 24px}
.hero-inner h1{
margin:0 0 12px;
font-family:"Space Grotesk", Inter, system-ui, sans-serif;
letter-spacing:-0.8px;
font-size:44px;
line-height:1.04;
color: rgba(15,23,42,0.94);
}
.split{grid-template-columns:1fr}
.card{grid-column:span 12}
.hero-collage .shot1{left:-10%;top:-14%;width:78%;height:66%}
.hero-collage .shot2{right:-10%;top:10%;width:56%;height:50%}
.hero-collage .shot3{left:8%;bottom:-18%;width:74%;height:56%}
}
@media (prefers-reduced-motion: reduce){
*{scroll-behavior:auto !important}
.btn,.card{transition:none !important}
}
@media (max-width: 900px){
.brand img{height:62px}
}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:14px}
.hero-inline-call{font-weight:750;color: rgba(15,23,42,0.72)}
.hero-inline-call a{color: rgba(15,23,42,0.92);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.hero-inline-call a:hover{color: rgba(10,98,255,0.92)}
.eho-wrap{display:flex;align-items:center;gap:10px;margin-top:16px;opacity:0.85}
.eho-wrap img{height:22px;width:auto}
.eho-wrap span{font-size:12px;font-weight:750;letter-spacing:0.08em;text-transform:uppercase;color: rgba(15,23,42,0.60)}
.photo-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
padding:14px;
background: rgba(255,255,255,0.92);
}
.panel .photo.photo-grid{min-height:340px}
.panel .photo.photo-grid img{
width:100%;
height:100%;
object-fit:cover;
transform:none;
border-radius:16px;
box-shadow: var(--shadow-sm);
}
.panel .photo.photo-grid img:nth-child(1){min-height:160px}
.panel .photo.photo-grid img:nth-child(2){min-height:160px}
.panel .photo.photo-grid img:nth-child(3){min-height:160px}
.panel .photo.photo-grid img:nth-child(4){min-height:160px}
.focus-columns{
display:grid;
grid-template-columns:1fr 1fr;
gap:18px;
}
.focus-columns h4{
margin:0 0 10px;
font-family:"Space Grotesk", Inter, system-ui, sans-serif;
letter-spacing:-.2px;
font-size:16px;
}
@media (max-width: 900px){
.focus-columns{grid-template-columns:1fr}
}
.form-shell{
border-radius: var(--radius-lg);
border:1px solid var(--border);
background: rgba(255,255,255,0.92);
box-shadow: var(--shadow-sm);
padding:22px;
max-width: 820px;
margin: 0 auto;
}
.form-shell h2{margin-top:0}
.form .field{display:grid;gap:6px}
.form .field label{margin:0;font-size:12px;color:var(--muted);font-weight:600}
.form button{margin-top:6px}
.footer{padding:34px 0 44px;border-top:1px solid var(--border);margin-top:24px}
.footer-top{display:grid;grid-template-columns:1.1fr 1.9fr;gap:26px;align-items:start}
.footer{font-size:0.85rem}
.footer .container{max-width:none;width:100%;padding-left:clamp(16px,4vw,56px);padding-right:clamp(16px,4vw,56px)}
.footer-top{display:block}
.footer-disclosures{width:100%}
.footer-sitemap{margin-top:18px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.footer-bottom{font-size:0.85rem}
.footer-disclosures small{display:block;color:var(--muted);line-height:1.7}
.footer-sitemap{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px}
.footer-col h4{
margin:0 0 10px;
font-size:12px;
letter-spacing:0.12em;
text-transform:uppercase;
color: rgba(15,23,42,0.62);
font-weight:850;
}
.footer-col a{display:block;padding:6px 0;color: rgba(15,23,42,0.84);text-decoration:none}
.footer-col a:hover{color: rgba(15,23,42,0.96);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.footer-bottom{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin-top:18px}
.footer-bottom small{opacity:0.6}
@media (max-width: 980px){
.footer-top{grid-template-columns:1fr}
}
:root{
--content-inset: 22px;
--content-inset-sm: 18px;
--content-inset-lg: 26px;
}
.wrap{
padding: var(--content-inset);
}
.page-hero .wrap{
padding: 0;
}
.card .body{
padding: var(--content-inset);
}
.panel .pad{
padding: var(--content-inset);
}
.form-shell{
padding: var(--content-inset);
}
@media (max-width: 640px){
:root{ --content-inset: var(--content-inset-sm); }
}
@media (min-width: 1024px){
:root{ --content-inset: var(--content-inset-lg); }
}


/* --- City Guide media placeholders --- */
.city-hero-inner{display:grid;grid-template-columns: 1.05fr 0.95fr;gap:22px;align-items:stretch}
.city-hero-media{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(15,23,42,0.10);min-height:320px}
.city-hero-img{width:100%;height:100%;object-fit:contain;object-position:center;transform:none;background:#fff}
.city-hero-media-overlay{position:absolute;inset:0;background:linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.0) 55%), radial-gradient(640px 360px at 20% 20%, rgba(39,211,255,0.16), transparent 65%)}

.area-card-media{border-radius:14px;overflow:hidden;border:1px solid rgba(15,23,42,0.10);background:#fff;margin-bottom:12px;box-shadow:0 12px 26px rgba(15,23,42,0.08)}
.area-card-media img{width:100%;height:160px;object-fit:cover}

@media (max-width: 980px){
  .city-hero-inner{grid-template-columns:1fr}
  .city-hero-media{min-height:240px}
}


/* Card grid with media */
.card-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;}
.card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface);box-shadow:0 10px 26px rgba(10,10,12,0.05);}
.card--media{grid-column:span 12;display:flex;flex-direction:column;}
@media (min-width:700px){.card--media{grid-column:span 6;}}
@media (min-width:980px){.card--media{grid-column:span 3;}}
.card-media{aspect-ratio:16/9;background:#eef0f3;position:relative;}
.card-media img{width:100%;height:100%;object-fit:cover;display:block;}
.card-body{padding:14px 14px 16px;}
.card-title{font-size:1.05rem;margin:0 0 6px;}


/* --- Media placeholders (used across city/community/neighborhood pages) --- */
.media-placeholder{
  width:100%;
  height:100%;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(62,178,255,0.25), rgba(62,178,255,0.08));
}
.media-placeholder__label{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  letter-spacing:.06em;
  font-weight:800;
  text-transform:uppercase;
  font-size:40px;
  line-height:1.05;
  color:rgba(0,0,0,0.75);
  text-align:center;
  padding:22px;
}
.media-placeholder--subtle .media-placeholder__label{
  font-size:30px;
  opacity:.55;
}

/* Simple 2-column grid inside panels */
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:20px;
}
@media (max-width: 900px){
  .grid-2{grid-template-columns:1fr;}
  .media-placeholder__label{font-size:32px;}
}



/* --- Refined Rail TOC Styling --- */

.rail-toc {
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
}

.rail-toc__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.rail-toc__item {
  margin-bottom: 0.4rem;
}

.rail-toc a {
  text-decoration: none;
  color: #2b3a4a;
  display: block;
}

.rail-toc a:hover {
  color: #000;
}

.rail-toc a.is-active {
  font-weight: 600;
  color: #000;
  border-left: 2px solid #000;
  padding-left: 0.5rem;
}

.rail {
  max-width: 320px;
}



/* --- Rail TOC Refinements v2 (override global link styles) --- */
.rail-toc a,
.rail-toc a:link,
.rail-toc a:visited,
.rail-toc a:hover,
.rail-toc a:active {
  text-decoration: none !important;
  color: #2b3a4a !important;
}

.rail-toc a:hover {
  color: #000 !important;
}

.rail-toc a.is-active {
  color: #000 !important;
  font-weight: 600;
}

/* Prevent ugly wrapping; keep TOC calm */
.rail-toc a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Slightly more breathing room for the TOC column */
.rail {
  max-width: 360px;
}



/* --- Rail TOC Hover Polish v4 --- */
.rail-toc__item a {
  border-radius: 10px;
  padding: 0.18rem 0.35rem;
}
.rail-toc__item a:hover {
  background: rgba(0,0,0,0.04);
}


/* Team directory thumbnails (scoped) */
.team-grid .card-media{
  aspect-ratio: 1 / 1;
}
.team-grid .media-placeholder{
  min-height: 0;
  height: 100%;
}
.team-grid .media-placeholder__label{
  font-size: 18px;
  letter-spacing: 0.06em;
}


/* Team directory thumbnails (forced, scoped) */
.team-grid .card-media{ aspect-ratio: 1 / 1 !important; }
.team-grid .media-placeholder{ min-height: 0 !important; height: 100% !important; }
.team-grid .media-placeholder__label{ font-size: 18px !important; letter-spacing: 0.06em !important; }



/* Team directory grid + thumbnails (scoped) */
.team-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width:700px){
  .team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width:980px){
  .team-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Make cards behave as normal grid items inside team-grid */
.team-grid .card--media{
  grid-column: auto !important;
  width: 100%;
}
.team-grid .card-media{ aspect-ratio: 1 / 1 !important; }
.team-grid .media-placeholder{ min-height: 0 !important; height: 100% !important; }
.team-grid .media-placeholder__label{ font-size: 18px !important; letter-spacing: 0.06em !important; }



/* Homeowner Education submenu viewport overflow fix */
.dropdown-row.education-menu .submenu{
top:auto;
bottom:0;
left:calc(100% - 8px);
max-height:min(70vh, 520px);
overflow-y:auto;
overflow-x:hidden;
overscroll-behavior:contain;
}

.dropdown-row.education-menu .submenu a{
white-space:normal;
line-height:1.35;
}

.dropdown-row.education-menu .submenu::-webkit-scrollbar{
width:10px;
}

.dropdown-row.education-menu .submenu::-webkit-scrollbar-thumb{
background:rgba(15,23,42,0.18);
border-radius:999px;
}


/* Rookies in Real Estate submenu support */
.dropdown-row.has-submenu{
  position: relative;
}
.dropdown-row.has-submenu .submenu{
  position: absolute;
  left: calc(100% - 8px);
  top: 0;
  min-width: 260px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  border-radius: 12px;
  padding: 10px;
  display: none;
  z-index: 1000;
}
.dropdown-row.has-submenu:hover .submenu{
  display: block;
}
.dropdown-row.has-submenu .submenu a{
  display: block;
  white-space: normal;
  line-height: 1.35;
}
.submenu-caret{
  margin-left: auto;
}


/* Rookies consumer submenu */
.dropdown-row.has-submenu{
  position: relative;
}
.dropdown-row.has-submenu .submenu{
  position: absolute;
  left: calc(100% - 8px);
  top: 0;
  min-width: 280px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
  border-radius: 12px;
  padding: 10px;
  display: none;
  z-index: 1000;
}
.dropdown-row.has-submenu:hover .submenu{
  display: block;
}
.dropdown-row.has-submenu .submenu a{
  display: block;
  white-space: normal;
  line-height: 1.35;
}
.rookies-consumer-menu .submenu{
  top: 0;
}
.submenu-caret{
  margin-left: auto;
}


/* Rookies nav submenu fix */
.dropdown{
  overflow: visible;
}
.dropdown-row.has-submenu .submenu{
  z-index: 200;
}


/* Rookies submenu final fix */
.nav-item.has-dropdown .dropdown{
  overflow: visible;
}
.dropdown-row.has-submenu{
  position: relative;
}
.dropdown-row.has-submenu .submenu{
  position: absolute;
  top: -8px;
  left: calc(100% - 8px);
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.12);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  visibility: hidden;
  transition: 200ms ease;
  z-index: 120;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
}
.dropdown-row.has-submenu:hover .submenu,
.dropdown-row.has-submenu:focus-within .submenu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}


/* Launch blocker patch 2B: residential dropdown organization + reliable submenus */
.dropdown-divider{
  height:1px;
  margin:8px 6px;
  background:rgba(15,23,42,0.10);
}

.submenu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin:0;
  padding:0;
  border:none;
  background:transparent;
  color:rgba(15,23,42,0.72);
  border-radius:10px;
  cursor:pointer;
  flex:0 0 auto;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible{
  background:rgba(15,23,42,0.06);
  outline:none;
}

.dropdown-row.has-submenu > .dropdown-link{
  min-width:0;
}

.dropdown-row.has-submenu .submenu-caret{
  margin-left:0;
}

.dropdown-row.has-submenu .submenu{
  top:-8px;
  bottom:auto;
  left:calc(100% - 8px);
  transform:translateY(8px);
}

.dropdown-row.has-submenu:hover .submenu,
.dropdown-row.has-submenu:focus-within .submenu,
.dropdown-row.has-submenu.open .submenu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
  visibility:visible;
}

.dropdown-row.submenu-up .submenu{
  top:auto;
  bottom:-8px;
  transform:translateY(-8px);
}

.residential-dropdown .education-menu .submenu{
  min-width:320px;
}

@media (max-width:1500px){
  .dropdown-divider{
    margin:10px 4px;
  }

  .dropdown-row.has-submenu{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .dropdown-row.has-submenu .submenu{
    position:static;
    left:auto;
    top:auto;
    bottom:auto;
    width:100%;
    min-width:0;
    margin-top:8px;
    transform:none;
    box-shadow:none;
    border:1px solid rgba(15,23,42,0.08);
    background:rgba(15,23,42,0.03);
    display:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    max-height:none;
  }

  .dropdown-row.has-submenu:hover .submenu,
  .dropdown-row.has-submenu:focus-within .submenu{
    display:none;
  }

  .dropdown-row.has-submenu.open .submenu{
    display:block;
  }

  .dropdown-row.submenu-up .submenu{
    transform:none;
  }

  .submenu-toggle{
    margin-left:auto;
  }
}

/* --- City Guide section image headers --- */
.city-section-header{
  position:relative;
  width:100%;
  aspect-ratio:1086 / 200;
  min-height:150px;
  max-height:240px;
  margin:0 0 22px;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(15,23,42,0.10);
  box-shadow:0 16px 34px rgba(15,23,42,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  isolation:isolate;
  background-image:
    linear-gradient(180deg, rgba(245,239,230,0.50), rgba(245,239,230,0.22)),
    var(--city-section-image),
    linear-gradient(90deg, rgba(207,218,219,0.85), rgba(229,221,205,0.70));
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.city-section-header__overlay{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.34), rgba(255,255,255,0.12) 28%, rgba(255,255,255,0.10) 72%, rgba(255,255,255,0.34)),
    radial-gradient(900px 180px at 50% 50%, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 70%);
}
.city-section-header__title{
  position:relative;
  z-index:1;
  max-width:min(920px, 92%);
  margin:0;
  padding:0 22px;
  font-family:"Space Grotesk", Inter, system-ui, sans-serif;
  font-size:clamp(22px, 3vw, 42px);
  line-height:1.05;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-align:center;
  color:rgba(32,42,52,0.78);
  font-weight:850;
  text-shadow:0 1px 0 rgba(255,255,255,0.45), 0 10px 24px rgba(255,255,255,0.20);
}
@media (max-width:720px){
  .city-section-header{
    aspect-ratio:1086 / 260;
    min-height:128px;
    margin-bottom:18px;
    border-radius:15px;
  }
  .city-section-header__title{
    font-size:clamp(18px, 5vw, 28px);
    letter-spacing:0.055em;
    max-width:96%;
  }
}


/* --- City guide At-A-Glance header + map layout --- */
.snapshot-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px, 420px);
  gap:1.25rem;
  align-items:start;
}
.snapshot-grid--below-header{
  margin-top:0;
}
.snapshot-left{
  min-width:0;
}
.snapshot-right{
  margin-top:0;
}
.map-embed--at-a-glance iframe{
  height:clamp(260px, 30vw, 390px);
}
@media (max-width:900px){
  .snapshot-grid{
    grid-template-columns:1fr;
  }
  .map-embed--at-a-glance iframe{
    height:clamp(220px, 55vw, 330px);
  }
}


/* Homepage-only Choose Your Path image handling.
   Strictly scoped to the four cards in the homepage Choose Your Path section.
   Photos crop to the same banner ratio as the Rookies logo; the logo itself is contained and not stretched. */
.homepage-choose-path-local .card .media{
  height:auto;
  aspect-ratio:1672 / 941;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#fff;
}
.homepage-choose-path-local .card .media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transform:none;
  padding:0;
  background:transparent;
}
.homepage-choose-path-local .rookies-card .media{
  background:#fff;
  background-image:none !important;
}
.homepage-choose-path-local .rookies-card .media img{
  object-fit:contain;
  object-position:center;
  transform:none;
  padding:0;
  background:#fff;
}

/* Strict city-guide hero image auto-height fix: full image, no fixed empty box */
.city-hero .city-hero-inner{
  align-items:center !important;
}
.city-hero .city-hero-media{
  min-height:0 !important;
  height:auto !important;
  align-self:center !important;
  display:block !important;
  background:#fff;
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.city-hero .city-hero-img{
  width:100% !important;
  height:auto !important;
  display:block !important;
  object-fit:unset !important;
  object-position:center !important;
  transform:none !important;
  background:#fff;
}
.city-hero .city-hero-media-overlay{
  display:none !important;
}
@media (max-width:980px){
  .city-hero .city-hero-media{
    min-height:0 !important;
    height:auto !important;
  }
}

/* Scoped white hero-card treatment for Residential, Commercial, Investors, Rookies, Financial Wellness, and Wealth Management pages only. */
.section--hero-card .hero-grid{
  background:#fff;
  border:1px solid rgba(15,23,42,0.08);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  padding:28px;
}
.section--hero-card .hero__media img,
.section--hero-card .img-placeholder--hero{
  border-radius:var(--radius);
  overflow:hidden;
}
@media (max-width: 700px){
  .section--hero-card .hero-grid{
    padding:18px;
  }
}

/* Scoped hero-card alignment and universal broker CTA for nav-menu informational pages. */
.section--hero-card .hero-grid{
  align-items:center;
}
.section--hero-card .hero__copy{
  align-self:start;
  text-align:left;
}
.section--hero-card .hero__copy h1,
.section--hero-card .hero__copy .lead{
  text-align:left;
}
.section--hero-card .hero__media{
  align-self:center;
}
.section--hero-card .hero-cta-row{
  margin-top:20px;
}


/* Rookies consumer education path: make linked topic headings obvious and compact. */
.consumer-education-path h3,
.topic-list-compact h3 {
  margin-bottom: 0.2rem;
}

.consumer-education-path h3 + p,
.topic-list-compact h3 + p {
  margin-top: 0;
}

.consumer-education-path h3 a,
.topic-list-compact h3 a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1.5px;
}
