/* Village Views Realty — clean static rebuild */
:root{
  --ink:#1e1a1c; --body:#666; --muted:#a7a7a7; --line:#d1d1d1;
  --nav:rgba(33,33,33,.92); --bg:#fff; --soft:#f7f7f7;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--body);background:var(--bg);line-height:1.6;font-size:17px}
h1,h2,h3,h4{color:var(--ink);line-height:1.15;letter-spacing:-.02em;font-weight:700}
h1{font-size:clamp(1.7rem,3.4vw,2.4rem)} /* v4: headings shrunk to the size of the "Results" (h2) heading — Mike, Nov 17 */
h1.h1-small{font-size:clamp(1.35rem,2.6vw,1.7rem)} /* v4: "New York Team" smaller still */
.team-head h2{font-size:clamp(1.35rem,2.6vw,1.7rem)}
h2{font-size:clamp(1.7rem,3.4vw,2.4rem)}
h3{font-size:1.35rem}
a{color:inherit}
/* header */
.site-header{position:sticky;top:0;z-index:50;background:var(--nav);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}
.header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:1.4rem;padding:.9rem 1.2rem}
.brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none}
.brand .brand-img{height:56px;width:56px;object-fit:cover;display:block;border-radius:4px} /* v9: Mike's full yellow mosaic photo, square crop (Nov 17, items 46-47) */
.brand-img-end{height:56px;width:56px;object-fit:cover;display:block;border-radius:4px} /* v10: same size as the yellow picture (Nov 17, item 48) */
.brand-text{color:#fff;font-weight:700;font-size:1.55rem;white-space:nowrap} /* v9: a little bigger than v8's 1.35rem (Nov 17, item 47) */
.desktop-nav{display:flex;align-items:center;gap:1.15rem;margin-left:auto}
.desktop-nav a{color:#eee;text-decoration:none;font-size:.95rem;font-weight:500}
.desktop-nav a:hover{color:#fff}
.dd{position:relative}
.dd-btn{background:none;border:none;color:#eee;font-size:.95rem;font-weight:500;cursor:pointer;font-family:inherit}
.dd-menu{display:none;position:absolute;top:100%;left:0;background:#2b2b2b;border-radius:10px;padding:.5rem;min-width:210px;box-shadow:0 12px 30px rgba(0,0,0,.35)}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{display:block}
.dd-menu a{display:block;padding:.55rem .8rem;border-radius:6px;white-space:nowrap}
.dd-menu a:hover{background:#3a3a3a}
.btn-pay{background:#fff;color:#1e1a1c!important;font-weight:700;padding:.55rem 1.1rem;border-radius:999px;text-decoration:none;white-space:nowrap}
.header-right{margin-left:auto;display:flex;align-items:center;gap:.8rem}
.desktop-nav{margin-left:0}
.fb-link{display:inline-flex}
.fb-link img{width:28px;height:28px;border-radius:50%;display:block}
.menu-toggle{display:none;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer}
.mobile-nav{display:none;flex-direction:column;background:#262626;padding:.6rem 1.2rem 1.2rem;gap:.1rem}
.mobile-nav.open{display:flex}
.mobile-nav a{color:#eee;text-decoration:none;padding:.6rem 0;border-bottom:1px solid #3a3a3a}
.mobile-nav .btn-pay{margin-top:.8rem;text-align:center;border:none}
/* layout */
main{display:block}
section.hero{max-width:1100px;margin:0 auto;padding:4.5rem 1.2rem 2.5rem;text-align:center}
.hero-video{position:relative;max-width:none;margin:0;padding:0;min-height:48vh;display:flex;align-items:center;justify-content:center;overflow:hidden} /* v12: 20% skinnier — was 60vh (Mike, Nov 18) */
.hero-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-video .hero-shade{position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.30),rgba(0,0,0,.45))}
.hero-video .hero-copy{position:relative;z-index:2;text-align:center;max-width:1100px;padding:3rem 1.2rem 2rem}
.hero-video h1{color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.55);margin:0 0 .7rem}
.hero-video .hero-sub{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.6);margin:.3rem 0;font-size:1.15rem}
.hero-video .hero-sub:first-of-type{font-size:1.3rem;font-weight:700}
section.page-head{max-width:1100px;margin:0 auto;padding:3.5rem 1.2rem 1rem;text-align:center}
section.block{max-width:1100px;margin:0 auto;padding:1.4rem 1.2rem}
main>p{max-width:1100px;margin:0 auto;padding:.5rem 1.2rem}
main figure.single-img{max-width:560px;margin:1.5rem auto;padding:0 1.2rem}
main figure.single-img img{width:100%;height:420px;object-fit:cover;border:6px solid #fff;outline:1px solid #d1d1d1;box-shadow:0 6px 18px rgba(0,0,0,.12);border-radius:10px;display:block} /* v7: fixed 420px height — all pictures same size (Mike, Nov 17) */
.gallery{max-width:1100px;margin:1.5rem auto;padding:0 1.2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.gallery img{width:100%;height:150px;object-fit:cover;border-radius:12px;display:block}
/* v4: pictures much smaller site-wide + framed (Mike, Nov 17) */
/* v7: framed images use the same 420px fixed height as single images — all pictures same size (Mike, Nov 17) */
.framed-img{margin:0;flex:0 0 420px}
.framed-img img{width:100%;height:420px;object-fit:cover;border:6px solid #fff;outline:1px solid #d1d1d1;box-shadow:0 6px 18px rgba(0,0,0,.12);border-radius:10px;display:block}
.feature-row{max-width:1100px;margin:1.5rem auto;padding:0 1.2rem;display:flex;gap:1.6rem;align-items:flex-start}
.feature-row .feature-text{flex:1;min-width:0}
.feature-row .feature-text h3{margin-bottom:.4rem}
/* v7: cta row — photo left, mini-form right (items 40 + 44); portfolio rows (items 42-43) */
.cta-row{align-items:center}
.cta-row .feature-text h2{margin-bottom:1rem}
.portfolio-list{font-size:1rem;line-height:1.6;margin:.4rem 0}
.team-photo-row{max-width:1100px;margin:2rem auto;padding:0 1.2rem;display:flex;gap:1.6rem;align-items:center}
.team-photo-row .team-contact{flex:1;min-width:0}
.team-photo-row .team-contact h3{margin-bottom:.5rem}
.team-photo-row .team-contact p{margin:.2rem 0}
.team-photo-row .team-contact .btn{margin-top:.9rem}
.milestones-line{font-size:1.15rem;color:var(--ink);font-weight:600}
/* v5: count-up stat (Mike, Nov 17) */
.stat-block{max-width:1100px;margin:0 auto;padding:1.4rem 1.2rem}
.stat-num{font-size:clamp(2.6rem,6vw,4rem);font-weight:800;color:var(--ink);line-height:1}
/* marquee */
.marquee{overflow:hidden;background:var(--ink);color:#fff;padding:1.1rem 0;margin:2.5rem 0;white-space:nowrap}
.marquee-track{display:inline-block;animation:mq 22s linear infinite}
.marquee-track span{font-size:clamp(1rem,2vw,1.5rem);font-weight:800;letter-spacing:.02em;padding-right:2rem} /* v5: marquee smaller — Mike, Nov 17 */
@keyframes mq{to{transform:translateX(-50%)}}
/* cta band */
.cta-band{background:var(--ink);color:#fff;text-align:center;padding:4rem 1.2rem;margin:3rem 0 0}
.cta-band h2{color:#fff;margin-bottom:.6rem}
.cta-band p{color:#cfcfcf;margin-bottom:1.4rem}
.btn{display:inline-block;padding:.8rem 1.7rem;border-radius:999px;font-weight:700;text-decoration:none;cursor:pointer;border:none;font-size:1rem}
.btn-dark{background:var(--ink);color:#fff}
.btn-light{background:#fff;color:var(--ink)}
.portal-btn{margin:.4rem .4rem .4rem 0}
/* forms */
.mini-form,.contact-wrap{max-width:640px;margin:0 auto;padding:2.5rem 1.2rem}
.mini-form h2{text-align:center;margin-bottom:1.4rem}
.vv-form{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.vv-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:600;color:var(--ink)}
.vv-form label.full{grid-column:1/-1}
.vv-form input,.vv-form textarea{font:inherit;padding:.75rem .9rem;border:1px solid var(--line);border-radius:10px;color:var(--ink)}
.vv-form input:focus,.vv-form textarea:focus{outline:2px solid var(--ink);border-color:var(--ink)}
.vv-form .honeypot{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.vv-form button{grid-column:1/-1;justify-self:start}
.form-note{grid-column:1/-1;font-size:.95rem;min-height:1.4em}
.form-note.success{color:#1c7a3d}
.form-note.error{color:#b3261e}
/* members */
.member{max-width:1100px;margin:0 auto;padding:1.6rem 1.2rem;border-top:1px solid #eee}
.member h3{margin-bottom:.3rem}
.member p{margin:.15rem 0}
.member .btn{margin-top:.8rem}
/* cards */
.cards-section{max-width:1100px;margin:0 auto;padding:2.5rem 1.2rem}
.cards-section h2{margin-bottom:1.2rem}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.card{border:1px solid var(--line);border-radius:14px;padding:0;overflow:hidden;text-decoration:none;display:block;transition:transform .15s;background:#fff}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.card img{width:100%;height:130px;object-fit:cover;display:block}
.card-name{display:block;font-weight:700;color:var(--ink);font-size:1.1rem;margin:.9rem 1.1rem .3rem}
.card-meta{display:block;color:var(--muted);font-size:.92rem;margin:0 1.1rem 1.1rem}
/* embeds */
.embed{max-width:1200px;margin:1.5rem auto;padding:0 1.2rem}
.embed iframe{width:100%;height:640px;border:1px solid #e0e0e0;border-radius:8px;background:#fff}
.appfolio-embed iframe{height:600px} /* v4: AppFolio listings, same as live Framer site */
.embed-placeholder{border:1px solid var(--line);border-radius:14px;padding:2.5rem;text-align:center;background:var(--soft)}
.embed-placeholder p{margin:.5rem 0}
/* footer */
.site-footer{background:#212121;color:#cfcfcf;margin-top:3rem}
.footer-grid{max-width:1200px;margin:0 auto;padding:3rem 1.2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem}
.f-col h4{color:#fff;margin-bottom:.7rem;font-size:1rem}
.f-col p{margin:.3rem 0;font-size:.95rem}
.f-col a{color:#e8e8e8;text-decoration:none}
.f-col a:hover{text-decoration:underline}
.lic{color:var(--muted);font-size:.85rem}
.footer-bottom{border-top:1px solid #3a3a3a;max-width:1200px;margin:0 auto;padding:1.2rem;display:flex;justify-content:space-between;gap:1rem;font-size:.88rem;color:var(--muted);flex-wrap:wrap}
.footer-bottom a{color:var(--muted);text-decoration:none}
@media(max-width:900px){
  .desktop-nav{display:none}
  .menu-toggle{display:block}
  .header-inner{gap:.8rem}
  .vv-form{grid-template-columns:1fr}
  .feature-row,.team-photo-row{flex-direction:column}
  .framed-img{flex:0 0 auto;max-width:340px}
  .brand .brand-img{height:36px;width:36px}
  .brand-img-end{height:36px;width:36px} /* v10: same size as yellow on mobile too */
  .brand-text{font-size:1.2rem}
  .brand{gap:.5rem}
}
@media(max-width:560px){
  /* v9: far-right green/blue picture hides on very narrow screens so the menu button never crowds */
  .brand-img-end{display:none}
}
