/*
Theme Name: Vantage Residential Equity
Description: Theme for vantageresidentialequity.com. Menu: Appearance > Menus ("Main Menu" + "Header Button"). Top bar and footer: Appearance > Widgets. Logo: Appearance > Customize > Site Identity (optional; the VRE wordmark shows until a logo is set).
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vre
*/

:root{--navy:#0f2233; --navy-2:#16314a; --ink:#1d2530; --muted:#5f6b78; --line:#e4e2dc;
  --cream:#f7f4ee; --sand:#efe9dd; --gold:#b48a4a; --gold-d:#94703a; --white:#fff;
  --shadow:0 20px 50px -24px rgba(15,34,51,.35);}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--white);line-height:1.65;font-size:16px}
img{max-width:100%;height:auto}
.vre-home img,.site-header img,.site-footer img{display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
h1,h2,h3{font-family:"Cormorant Garamond",Georgia,serif;color:var(--navy);margin:0;line-height:1.08;font-weight:600}
h2{font-size:clamp(32px,3.8vw,48px)}
.eyebrow{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.eyebrow:before{content:"";width:28px;height:1px;background:var(--gold)}
.vre-home .lead{color:var(--muted);font-size:18px}
.vre-home section{padding:104px 0}
.btn{display:inline-flex;align-items:center;gap:10px;padding:15px 28px;font-weight:600;font-size:14.5px;letter-spacing:.04em;border-radius:2px;transition:.2s;white-space:nowrap}
.btn-gold{background:var(--gold);color:#fff}
.btn-gold:hover{background:var(--gold-d)}
.btn-line{border:1px solid rgba(255,255,255,.55);color:#fff}
.btn-line:hover{background:rgba(255,255,255,.1)}
.btn-dark{border:1px solid var(--navy);color:var(--navy)}
.btn-dark:hover{background:var(--navy);color:#fff}
.top{background:var(--navy);color:#b9c4cf;font-size:13px}
.top .wrap{display:flex;justify-content:space-between;align-items:center;height:40px;gap:16px}
.top a{color:#fff;font-weight:600}
.top span+span{margin-left:22px}
header.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
header.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:88px;gap:24px}
.logo{display:flex;align-items:center;gap:14px;color:var(--navy)}
.logo .mark{font-family:"Cormorant Garamond",serif;font-weight:700;font-size:30px;letter-spacing:.06em;line-height:1;border:1px solid var(--navy);padding:8px 12px 6px}
.logo .mark i{font-style:normal;color:var(--gold)}
.logo .name{font-family:"Cormorant Garamond",serif;font-size:15px;letter-spacing:.32em;text-transform:uppercase;line-height:1.25;font-weight:600}
nav.main{display:flex;gap:30px;font-size:14px;font-weight:500;color:var(--ink)}
nav.main a:hover,nav.main a.on{color:var(--gold)}
.burger{display:none;width:44px;height:44px;border:1px solid var(--line);align-items:center;justify-content:center}
.vre-home .hero{position:relative;color:#fff;min-height:640px;display:flex;align-items:center;overflow:hidden;padding:0}
.vre-home .hero .bg{position:absolute;inset:0;background:var(--hero-img) center 62%/cover}
.vre-home .hero .veil{position:absolute;inset:0;background:linear-gradient(100deg,rgba(15,34,51,.94) 0%,rgba(15,34,51,.82) 42%,rgba(15,34,51,.35) 75%,rgba(15,34,51,.2) 100%)}
.vre-home .hero .wrap{position:relative;width:100%;padding-top:90px;padding-bottom:90px}
.vre-home .hero .eyebrow{color:#e2c48f}
.vre-home .hero .eyebrow:before{background:#e2c48f}
.vre-home .hero h1{color:#fff;font-size:clamp(42px,5.6vw,74px);max-width:13ch;margin:22px 0 22px;font-weight:600}
.vre-home .hero h1 em{font-style:italic;color:#e2c48f;font-weight:500}
.vre-home .hero p{color:#d5dde6;font-size:18.5px;max-width:540px;margin:0 0 36px}
.vre-home .hero .ctas{display:flex;flex-wrap:wrap;gap:14px}
.vre-home .hero .facts{display:flex;gap:0;margin-top:58px;border-top:1px solid rgba(255,255,255,.2);max-width:640px}
.vre-home .hero .facts div{padding:22px 34px 0 0;margin-right:34px;border-right:1px solid rgba(255,255,255,.2)}
.vre-home .hero .facts div:last-child{border-right:0;margin-right:0}
.vre-home .hero .facts b{display:block;font-family:"Cormorant Garamond",serif;font-size:34px;font-weight:600;color:#fff;line-height:1}
.vre-home .hero .facts span{font-size:13px;color:#b9c4cf;letter-spacing:.04em}
.vre-home .meaning{background:var(--cream);padding:0}
.vre-home .meaning .grid{display:grid;grid-template-columns:repeat(3,1fr)}
.vre-home .meaning .m{padding:56px 40px;border-right:1px solid var(--line)}
.vre-home .meaning .m:last-child{border-right:0}
.vre-home .meaning .n{font-family:"Cormorant Garamond",serif;font-size:15px;color:var(--gold);letter-spacing:.2em}
.vre-home .meaning h3{font-size:34px;margin:8px 0 10px}
.vre-home .meaning p{margin:0;color:var(--muted);font-size:15.5px}
.vre-home .svc{display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:start}
.vre-home .svc .intro p{margin:18px 0 28px}
.vre-home .svc .intro strong{color:var(--navy)}
.vre-home .cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.vre-home .card{background:#fff;border:1px solid var(--line);padding:32px 28px;transition:.25s}
.vre-home .card:hover{box-shadow:var(--shadow);border-color:transparent;transform:translateY(-3px)}
.vre-home .card .ic{width:46px;height:46px;border:1px solid var(--gold);display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.vre-home .card .ic svg{width:22px;height:22px;stroke:var(--gold)}
.vre-home .card h3{font-size:26px;margin-bottom:8px}
.vre-home .card p{margin:0;color:var(--muted);font-size:15px}
.vre-home .card.wide{grid-column:1/-1;background:var(--navy);border-color:var(--navy)}
.vre-home .card.wide h3{color:#fff}
.vre-home .card.wide p{color:#b9c4cf}
.vre-home .card.wide .ic{border-color:#e2c48f}
.vre-home .card.wide .ic svg{stroke:#e2c48f}
.vre-home .part{background:var(--navy);color:#cfd8e1}
.vre-home .part h2{color:#fff}
.vre-home .part .head{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:56px}
.vre-home .part .head p{margin:0;font-size:17px}
.vre-home .pgrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.vre-home .pc{border:1px solid rgba(255,255,255,.14);padding:40px 38px;background:rgba(255,255,255,.03)}
.vre-home .pc .role{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#e2c48f;font-weight:700}
.vre-home .pc h3{color:#fff;font-size:32px;margin:10px 0 18px}
.vre-home .pc ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.vre-home .pc li{display:flex;gap:14px;font-size:15.5px}
.vre-home .pc li:before{content:"";flex:none;width:7px;height:7px;margin-top:9px;background:#e2c48f;transform:rotate(45deg)}
.vre-home .pc.you{background:#fff;color:var(--ink);border-color:#fff}
.vre-home .pc.you h3{color:var(--navy)}
.vre-home .pc.you .role{color:var(--gold)}
.vre-home .pc.you li:before{background:var(--gold)}
.vre-home .terms{display:grid;grid-template-columns:repeat(3,1fr);margin-top:24px;border:1px solid rgba(255,255,255,.14)}
.vre-home .terms div{padding:28px 30px;border-right:1px solid rgba(255,255,255,.14)}
.vre-home .terms div:last-child{border-right:0}
.vre-home .terms b{display:block;font-family:"Cormorant Garamond",serif;font-size:36px;color:#fff;font-weight:600;line-height:1.05}
.vre-home .terms span{font-size:13.5px;color:#9fb0c0}
.vre-home .part .cta{margin-top:44px;display:flex;gap:14px;flex-wrap:wrap}
.vre-home .team-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:48px}
.vre-home .team-head p{max-width:460px;margin:0}
.vre-home .tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.vre-home .t{border:1px solid var(--line);padding:34px 24px;text-align:center;background:#fff}
.vre-home .t img{width:104px;height:104px;border-radius:50%;object-fit:cover;margin:0 auto 18px;border:3px solid var(--sand)}
.vre-home .t h3{font-size:24px}
.vre-home .t span{display:block;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:700;margin:6px 0 12px}
.vre-home .t a{font-size:14px;color:var(--muted)}
.vre-home .split{background:var(--cream)}
.vre-home .sgrid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.vre-home .s{background:#fff;padding:48px 44px;border:1px solid var(--line);display:flex;flex-direction:column}
.vre-home .s h3{font-size:34px;margin:12px 0 12px}
.vre-home .s p{color:var(--muted);margin:0 0 28px;flex:1}
.vre-home .s .btn{align-self:flex-start}
.vre-home .posts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.vre-home .post{border-top:2px solid var(--navy);padding-top:22px}
.vre-home .post time{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:700}
.vre-home .post h3{font-size:25px;margin:10px 0 12px}
.vre-home .post a.more{font-size:14px;font-weight:600;color:var(--navy);border-bottom:1px solid var(--gold);padding-bottom:2px}
.vre-home .contact{background:var(--navy);color:#cfd8e1;padding:0}
.vre-home .cgrid{display:grid;grid-template-columns:1.1fr .9fr}
.vre-home .cgrid .l{padding:96px 64px 96px 0}
.vre-home .cgrid h2{color:#fff;margin:16px 0 18px}
.vre-home .cgrid .l p{font-size:17px;margin:0 0 34px;max-width:480px}
.vre-home .info{display:grid;gap:18px;font-size:15.5px}
.vre-home .info b{display:block;color:#fff;font-weight:600}
.vre-home .info span{color:#9fb0c0;font-size:13px;letter-spacing:.1em;text-transform:uppercase}
.vre-home .cgrid .r{background:#fff;color:var(--ink);padding:56px 48px;margin:64px 0}
.vre-home .cgrid .r h3{font-size:30px;margin-bottom:6px}
.vre-home .cgrid .r p{color:var(--muted);margin:0 0 24px;font-size:15px}
.vre-home .f{height:50px;border:1px solid var(--line);background:var(--cream);margin-bottom:14px;padding:0 16px;display:flex;align-items:center;color:#8b939c;font-size:15px}
.vre-home .f.t{height:110px;align-items:flex-start;padding-top:14px}
.vre-home .cgrid .r .btn{width:100%;justify-content:center}
footer.site-footer{background:#0a1824;color:#8fa0b1;font-size:14px;padding:56px 0 28px}
footer.site-footer .cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px}
footer.site-footer h4{color:#fff;font-family:Inter;font-size:12px;letter-spacing:.2em;text-transform:uppercase;margin:0 0 16px}
footer.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
footer.site-footer .logo{color:#fff}
footer.site-footer .logo .mark{border-color:#fff}
footer.site-footer .bot{border-top:1px solid rgba(255,255,255,.08);margin-top:44px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:13px}
@media (max-width:1000px){
nav.main,header.site-header .btn,.top .tl{display:none}
.burger{display:flex}
.top .wrap{justify-content:center}
.vre-home .svc,.vre-home .part .head,.vre-home .cgrid{grid-template-columns:1fr}
.vre-home .svc{gap:40px}
.vre-home .tgrid{grid-template-columns:1fr 1fr}
.vre-home .posts,.vre-home .sgrid,.vre-home .pgrid{grid-template-columns:1fr}
.vre-home .cgrid .l{padding:80px 0 20px}
.vre-home .cgrid .r{margin:0 0 72px}
footer.site-footer .cols{grid-template-columns:1fr 1fr}
.vre-home section{padding:80px 0}
}
@media (max-width:640px){
.wrap{padding:0 18px}
header.site-header .wrap{height:74px}
.logo .mark{font-size:24px}
.logo .name{font-size:12px}
.vre-home .hero{min-height:0}
.vre-home .hero .facts{flex-wrap:wrap}
.vre-home .hero .facts div{border-right:0;padding-right:0;margin-right:26px}
.vre-home .hero .ctas .btn{flex:1;justify-content:center}
.vre-home .meaning .grid,.vre-home .cards,.vre-home .terms{grid-template-columns:1fr}
.vre-home .meaning .m{border-right:0;border-bottom:1px solid var(--line);padding:38px 4px}
.vre-home .terms div{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}
.vre-home .team-head{flex-direction:column;align-items:flex-start}
.vre-home .pc,.vre-home .s{padding:34px 26px}
.vre-home .cgrid .r{padding:36px 24px}
footer.site-footer .cols{grid-template-columns:1fr}
footer.site-footer .bot{flex-direction:column}
}
/* ---------- Theme additions ---------- */
:root{--hero-img:none}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:1000;background:#fff;color:var(--navy);padding:10px 14px;width:auto;height:auto;clip:auto}
.top .widget{display:inline}
.top .widget p{display:inline;margin:0}
.top .tr{display:flex;gap:22px;align-items:center}
.logo img{max-height:64px;width:auto}
nav.main a{white-space:nowrap}
nav.main a.current{color:var(--gold)}
.header-actions{display:flex;gap:10px;align-items:center}
.burger{background:#fff;cursor:pointer;padding:0;border-radius:2px}
.mobile-panel{display:none}
@media (max-width:1180px){nav.main{gap:20px}}
@media (max-width:1000px){
  .header-actions{display:none}
  .mobile-panel{display:none;border-top:1px solid var(--line);background:#fff}
  .site-header.open .mobile-panel{display:block}
  .mobile-panel nav{display:flex;flex-direction:column;padding:8px 0 18px}
  .mobile-panel nav a{padding:13px 4px;border-bottom:1px solid var(--line);font-size:16px;font-weight:500}
  .mobile-panel nav a.current{color:var(--gold)}
  .mobile-panel .btn{margin-top:14px;width:100%;justify-content:center}
}

/* Footer widgets */
footer.site-footer .widget + .widget{margin-top:18px}
footer.site-footer a:hover{color:#fff}
footer.site-footer .menu a{display:inline}
footer.site-footer .widget_custom_html p{margin:0}

/* Inner pages */
.page-band{background:var(--navy);color:#cfd8e1;padding:64px 0 56px}
.page-band .eyebrow{color:#e2c48f}.page-band .eyebrow:before{background:#e2c48f}
.page-band h1{color:#fff;font-size:clamp(38px,4.6vw,58px);margin-top:14px}
.vre-content{padding:64px 0 88px}
.vre-content .entry{max-width:820px;margin:0 auto}
.vre-content .entry a,.entry-builder a:not(.fl-button):not(.btn){color:var(--gold-d);text-decoration:underline}
.vre-content .entry p{margin:0 0 18px}
.vre-content .entry h2{margin:34px 0 12px}
.vre-content .entry h3{font-size:28px;margin:28px 0 10px}
.vre-content .entry img{margin:10px 0}
.entry-builder{min-height:40vh}

/* Blog */
.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.post-card{border-top:2px solid var(--navy);padding-top:22px}
.post-card time{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:700}
.post-card h2{font-size:27px;margin:10px 0 12px}
.post-card p{color:var(--muted);font-size:15px;margin:0 0 14px}
.post-card a.more,.vre-home a.more{font-size:14px;font-weight:600;color:var(--navy);border-bottom:1px solid var(--gold);padding-bottom:2px;text-decoration:none}
.post-card .thumb img{width:100%;height:200px;object-fit:cover;margin-bottom:18px;display:block}
.pagination{margin-top:48px;display:flex;gap:8px;flex-wrap:wrap}
.pagination .page-numbers{padding:8px 14px;border:1px solid var(--line);color:var(--navy)}
.pagination .current{background:var(--navy);color:#fff}
.single-meta{color:#b9c4cf;margin-top:14px;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
@media (max-width:1000px){.post-list{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.post-list{grid-template-columns:1fr}.vre-content{padding:44px 0 64px}}

/* Gravity Forms inside the homepage contact card */
.vre-home .cgrid .r .gform_wrapper{margin:0}
.vre-home .cgrid .r .gform_wrapper .gfield_label,.vre-home .cgrid .r .gfield_required{display:none!important}
.vre-home .cgrid .r .gform_wrapper .gfield{margin:0 0 14px!important;padding:0!important}
.vre-home .cgrid .r input[type=text],.vre-home .cgrid .r input[type=email],.vre-home .cgrid .r textarea{width:100%!important;height:50px;border:1px solid var(--line)!important;background:var(--cream)!important;padding:0 16px!important;font:15px Inter,sans-serif!important;color:var(--ink);border-radius:0!important;box-shadow:none!important}
.vre-home .cgrid .r textarea{height:110px!important;padding-top:14px!important}
.vre-home .cgrid .r .gform_footer{margin:6px 0 0!important;padding:0!important}
.vre-home .cgrid .r .gform_button{width:100%!important;background:var(--gold)!important;color:#fff!important;border:0!important;padding:15px 28px!important;font:600 14.5px Inter,sans-serif!important;letter-spacing:.04em;border-radius:2px!important;cursor:pointer}
.vre-home .cgrid .r .gform_button:hover{background:var(--gold-d)!important}
.vre-home .cgrid .r .gform_confirmation_message{color:var(--navy);font-size:16px}
.vre-home .cgrid .r .validation_message,.vre-home .cgrid .r .gfield_validation_message{font-size:13px}
.vre-home .cgrid .r .gform_fields{row-gap:14px!important;grid-row-gap:14px!important}
.vre-home .cgrid .r textarea{min-height:0!important;max-height:none}
.vre-home .cgrid .r .gform_wrapper .gfield textarea.large,.vre-home .cgrid .r .gform_wrapper .gfield textarea.medium{height:110px!important}
.admin-bar header.site-header{top:32px}
@media (max-width:782px){.admin-bar header.site-header{top:46px}}
@media (max-width:600px){.admin-bar header.site-header{top:0}}
