/* Fianchetto Realty public site — modelled on fianchetto.weebly.com */
:root { --gold: #b39964; --gold-dark: #9a8352; --ink: #2b2b2b; --muted: #6b6b6b; --line: #e6e2d8; --bg: #fff; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: Lato, "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.6; }
a { color: var(--gold-dark); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.site { text-align: center; padding: 14px 0 0; background: #fff; }
header.site .brand { font-family: Cookie, cursive; font-size: 34px; color: var(--ink); display: block; }
header.site .brand:hover { text-decoration: none; }
nav.site { display: flex; justify-content: center; gap: 28px; padding: 10px 0 12px; flex-wrap: wrap; }
nav.site a { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
nav.site a.active, nav.site a:hover { border-bottom-color: var(--gold); text-decoration: none; }
nav.site a.staff { color: var(--gold-dark); }
.hero { position: relative; min-height: 420px; background-size: cover; background-position: center; display: flex; align-items: center; color: #222; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.1) 60%); }
.hero .wrap { position: relative; padding: 60px 20px; }
.hero h1 { font-weight: 300; font-size: clamp(34px, 6vw, 64px); letter-spacing: 1px; margin: 0; }
.hero h1::after { content: ""; display: block; width: 260px; height: 1px; background: rgba(0,0,0,.35); margin: 14px 0 18px; }
.hero p { margin: 0 0 22px; font-size: 16px; }
.hero.dark { color: #fff; } .hero.dark::before { background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.15)); } .hero.dark h1::after { background: rgba(255,255,255,.5); }
.btn { display: inline-block; background: var(--gold); color: #fff; padding: 10px 26px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 2px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--gold-dark); text-decoration: none; }
section { padding: 44px 0; }
h2.kicker { font-weight: 300; letter-spacing: 1px; font-size: 20px; text-transform: uppercase; margin: 0 0 14px; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .grid2, .grid3 { grid-template-columns: 1fr; } .hero { min-height: 320px; } }
.project h3 { margin: 10px 0 2px; font-size: 18px; font-weight: 700; } .project .addr { color: var(--muted); margin: 0 0 10px; }
.project dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 14px; } .project dt { color: var(--muted); } .project dd { margin: 0; font-weight: 600; }
.project .specs { margin: 12px 0; font-size: 14px; } .project .specs b { display: block; margin-top: 6px; }
.project .lotplan { margin-top: 10px; display: inline-block; }
.progress h4 { margin: 18px 0 8px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.unit { display: grid; grid-template-columns: 64px 1fr 42px; align-items: center; gap: 10px; font-size: 13px; margin: 6px 0; }
.unit .bar { height: 10px; background: #eee9dc; border-radius: 5px; overflow: hidden; } .unit .bar > span { display: block; height: 100%; background: var(--gold); border-radius: 5px; }
.unit .pct { text-align: right; font-weight: 600; }
.logo { height: 34px; width: auto; margin-bottom: 18px; }
.point img { width: 100%; height: 190px; object-fit: cover; border-radius: 4px; } .point h3 { font-weight: 300; letter-spacing: 1px; text-transform: uppercase; font-size: 18px; margin: 12px 0 6px; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; background: #faf8f3; padding: 32px; border-radius: 6px; }
.founder img { border-radius: 4px; } .founder .name { font-weight: 700; } .founder .role { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; } .gallery img { width: 100%; height: 170px; object-fit: cover; border-radius: 4px; cursor: zoom-in; }
.links h3 { font-weight: 300; letter-spacing: 1px; text-transform: uppercase; font-size: 18px; margin: 14px 0 0; } .links .sub { color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.links ul { list-style: none; padding: 0; margin: 0; } .links li { padding: 6px 0; border-bottom: 1px solid var(--line); }
form.contact label { display: block; font-size: 12px; font-weight: 700; margin: 12px 0 4px; } form.contact label span { color: #c33; }
form.contact input, form.contact textarea { width: 100%; padding: 9px 10px; border: 1px solid #d8d2c4; border-radius: 3px; font: inherit; } form.contact textarea { min-height: 140px; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brokers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: center; } .brokers img { max-height: 70px; width: auto; }
.notice { padding: 10px 12px; border-radius: 4px; background: #eef7ee; color: #1f6d3a; margin-top: 12px; } .notice.err { background: #fdeeee; color: #a33; }
footer.site { border-top: 1px solid var(--line); padding: 26px 0 36px; color: var(--muted); font-size: 13px; text-align: center; }
footer.site a { margin: 0 8px; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; } .lightbox.open { display: flex; } .lightbox img { max-width: 92vw; max-height: 92vh; }

.unit.has-status { grid-template-columns: 56px 1fr 42px 92px; }
.unit .status { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: 2px 6px; border-radius: 10px; background: #efece4; color: var(--muted); white-space: nowrap; }
.unit.st-for-sale .status { background: #e3efe5; color: #1f6d3a; font-weight: 700; } .unit.st-for-sale .bar > span { background: #4f8a5b; }
.unit.st-sold .status { background: #ece7dc; color: #6b6b6b; } .unit.st-to-complete .status { background: #e3efe5; color: #1f6d3a; font-weight: 700; } .unit.st-to-complete .bar > span { background: #4f8a5b; }
.unit.st-on-hold .status, .unit.st-lot-on-hold .status { background: #f3f0ea; color: #8a8378; } .unit.st-lot-on-hold .bar { opacity: .35; }
.unit-note { font-size: 13px; color: var(--muted); background: #faf8f3; border-left: 3px solid var(--gold); padding: 8px 10px; margin: 12px 0 0; }
@media (max-width: 480px) { .unit.has-status { grid-template-columns: 50px 1fr 36px 80px; gap: 6px; } }

.unit.bar-green .bar > span { background: #4f8a5b; }
.unit-note a { color: #1f6d3a; font-weight: 600; }
