
:root{
  --maroon:#7a2029;
  --maroon-dark:#4b171c;
  --gold:#bd9148;
  --cream:#fbf5eb;
  --beige:#f2e7d8;
  --ink:#241f1c;
  --muted:#665d55;
  --line:#dccbb5;
  --white:#fffdf9;
  --content:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(var(--content),92%);margin:auto}

/* final approved header */
.site-header{position:sticky;top:0;z-index:100;background:var(--cream);border-bottom:1px solid rgba(189,145,72,.34);box-shadow:0 3px 16px rgba(54,28,20,.05)}
.header-inner{min-height:104px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:11px;margin-right:auto}
.brand-logo{width:91px;height:86px;object-fit:contain}
.wordmark{width:275px;line-height:1}
.wordmark strong{display:block;color:var(--maroon);font:400 28px Georgia,"Times New Roman",serif;letter-spacing:.045em;white-space:nowrap}
.limited-row{display:flex;align-items:center;gap:10px;margin-top:10px}
.limited-row i{height:1px;flex:1;background:var(--gold)}
.limited-row b{padding-left:.54em;color:var(--gold);font:700 10px Arial;letter-spacing:.54em}
.nav{display:flex;align-items:center;gap:26px}
.nav a{position:relative;padding:43px 0 40px;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.045em}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:28px;height:2px;background:var(--maroon);transform:scaleX(0);transition:.2s}
.nav a:hover,.nav a.active{color:var(--maroon)}
.nav a:hover::after,.nav a.active::after{transform:scaleX(1)}
.phone-btn{min-width:184px;height:49px;display:flex;align-items:center;justify-content:center;gap:9px;background:var(--maroon);color:var(--white);font-size:14px;font-weight:700}
.phone-btn span{color:#e7c88f;font-size:18px}
.menu-btn{display:none;border:0;background:transparent;color:var(--maroon);font-size:28px}

/* hero: compact split composition using real property photography */
.hero{height:min(61vh,570px);min-height:500px;position:relative;overflow:hidden;background:var(--cream)}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 54%}.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,var(--cream) 0%,rgba(251,245,235,.97) 25%,rgba(251,245,235,.70) 39%,rgba(251,245,235,.08) 60%)}
.hero-inner{height:100%;display:flex;align-items:center;position:relative}
.hero-copy{width:47%;max-width:590px}
.eyebrow{color:var(--maroon);font-size:13px;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}
.hero h1{font-size:clamp(52px,5.6vw,76px);line-height:1.02;margin:14px 0 10px}
.hero h1 span{display:block;color:var(--maroon);font-size:.64em;margin-top:12px}
.gold-rule{width:48px;height:2px;background:var(--gold);margin:22px 0}
.hero p{max-width:445px;font-size:17px;margin:0 0 27px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:1px solid var(--maroon);background:var(--maroon);color:white;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.btn:hover{background:var(--maroon-dark);border-color:var(--maroon-dark)}
.btn.outline{background:transparent;color:var(--maroon)}
.btn.outline:hover{background:var(--maroon);color:white}

/* journey band */
.journey-band{background:var(--maroon);color:white}
.journey-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.journey-item{min-height:114px;display:flex;align-items:center;gap:19px;padding:22px 44px;border-right:1px solid rgba(231,200,143,.35)}
.journey-item:last-child{border-right:0}
.journey-icon{width:58px;height:58px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold);font:27px Georgia}
.journey-item h3{color:#f0d5a2;font-size:22px;margin:0 0 2px}
.journey-item p{margin:0;font-size:14px}

/* about/value strip */
.about-section{padding:64px 0 56px}
.about-grid{display:grid;grid-template-columns:1.08fr 1.92fr;gap:46px;align-items:start}
.about-copy h2{font-size:41px;line-height:1.08;margin:10px 0 17px}
.about-copy p{color:var(--muted);margin:0 0 20px}
.values{display:grid;grid-template-columns:repeat(3,1fr)}
.value{text-align:center;padding:18px 28px;border-left:1px solid var(--line)}
.value-icon{width:62px;height:62px;border:1px solid var(--gold);border-radius:50%;margin:0 auto 17px;display:grid;place-items:center;color:var(--gold);font-size:26px}
.value h3{color:var(--maroon);font-size:20px;margin:0 0 10px}
.value p{font-size:14px;margin:0;color:var(--muted)}

/* real properties */
.properties-section{padding:54px 0 68px;background:#f8f0e5}
.section-heading{text-align:center;margin-bottom:30px}
.section-heading h2{font-size:40px;color:var(--maroon);margin:8px 0 9px}
.section-heading p{margin:0;color:var(--muted)}
.property-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.property-card{background:var(--white);border:1px solid var(--line);transition:transform .2s,box-shadow .2s}
.property-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px rgba(64,35,23,.12)}
.property-card img{width:100%;height:145px;object-fit:cover}
.property-card .content{padding:17px}
.property-card .code{color:var(--maroon);font-size:11px;font-weight:700;letter-spacing:.07em}
.property-card h3{font-size:19px;color:var(--maroon-dark);line-height:1.18;margin:8px 0}
.property-card p{min-height:38px;margin:0;color:var(--muted);font-size:13px}
.property-card .view{display:inline-block;margin-top:14px;color:var(--maroon);font-size:10px;font-weight:700;letter-spacing:.05em}

/* builder */
.builder-section{padding:66px 0}
.builder-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:52px;align-items:center}
.builder-grid img{width:100%;height:365px;object-fit:cover}
.builder-copy h2{font-size:42px;color:var(--maroon-dark);margin:10px 0 17px}
.builder-copy p{color:var(--muted);font-size:16px;margin:0 0 24px}

/* CTA */
.cta{background:var(--maroon);color:white}
.cta-inner{min-height:116px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta h2{font-size:28px;margin:0 0 2px}
.cta p{margin:0;color:#f0dfd6}
.cta .btn{border-color:#e7c88f}
.cta .btn.outline{color:white}

/* approved footer without logo */
.footer{background:var(--maroon-dark);color:var(--cream);padding:38px 0 18px}
.footer-main{border-top:1px solid var(--gold);display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:28px 24px 25px}
.footer h3{font-size:21px;margin:0 0 16px}
.footer-links{display:grid;gap:7px}
.footer a:hover{color:#e7c88f}
.footer p{margin:0 0 6px}
.footer-bottom{border-top:1px solid var(--gold);padding:15px 24px 0;display:flex;justify-content:space-between;font-size:13px}

@media(max-width:1060px){
  .wordmark{width:220px}.wordmark strong{font-size:23px}.nav{gap:17px}.phone-btn{min-width:160px;font-size:12px}
  .property-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:850px){
  .header-inner{min-height:88px}.brand-logo{width:72px;height:68px}.wordmark{width:205px}.wordmark strong{font-size:21px}
  .menu-btn{display:block}.phone-btn{display:none}.nav{position:absolute;left:0;right:0;top:100%;display:none;flex-direction:column;align-items:stretch;background:var(--cream);padding:10px 5% 16px;border-top:1px solid var(--line)}
  .nav.open{display:flex}.nav a{padding:12px 0}.nav a::after{bottom:6px}
  .hero-copy{width:64%}.about-grid,.builder-grid{grid-template-columns:1fr}.values{margin-top:10px}.journey-item{padding:20px}
}
@media(max-width:620px){
  .brand-logo{width:62px;height:58px}.wordmark{width:168px}.wordmark strong{font-size:18px}.limited-row b{font-size:8px;letter-spacing:.4em}
  .hero{height:545px}.hero-wash{background:linear-gradient(90deg,rgba(251,245,235,.96),rgba(251,245,235,.70))}
  .hero-copy{width:100%}.hero h1{font-size:48px}.journey-grid,.values,.property-grid{grid-template-columns:1fr}.journey-item{border-right:0;border-bottom:1px solid rgba(231,200,143,.35)}
  .property-card img{height:190px}.footer-main{grid-template-columns:1fr;gap:25px;padding-inline:8px}.footer-bottom{display:block;padding-inline:8px}.footer-bottom span{display:block;margin-top:6px}
}


/* ==========================================================
   MSP 51R — PREMIUM PROPERTY DETAIL PAGE
   ========================================================== */

.property-hero{
  position:relative;
  min-height:540px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#261a16;
}
.property-hero > img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 52%;
}
.property-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(48,23,20,.84),rgba(48,23,20,.46) 48%,rgba(48,23,20,.10)),
    linear-gradient(0deg,rgba(31,16,13,.42),transparent 58%);
}
.property-hero-inner{
  position:relative;
  z-index:2;
  padding:70px 0 58px;
  color:white;
}
.property-hero-copy{
  max-width:760px;
}
.property-hero .eyebrow{color:#edcf9c}
.property-hero h1{
  margin:11px 0 9px;
  font-size:clamp(58px,6vw,84px);
  line-height:.98;
}
.property-hero .subtitle{
  margin:0 0 13px;
  font:400 28px Georgia,"Times New Roman",serif;
}
.property-hero .location{
  margin:0;
  color:#fff8ef;
  font-size:17px;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.hero-actions .btn.outline{
  border-color:#e8ca91;
  color:white;
}
.hero-actions .btn.outline:hover{
  border-color:white;
  background:white;
  color:var(--maroon);
}
.hero-summary{
  margin-top:36px;
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  max-width:780px;
  border-top:1px solid rgba(231,200,143,.55);
  border-bottom:1px solid rgba(231,200,143,.55);
}
.hero-summary div{
  padding:15px 18px 15px 0;
}
.hero-summary strong{
  display:block;
  color:#f0d5a2;
  font:400 21px Georgia,"Times New Roman",serif;
}
.hero-summary span{
  display:block;
  margin-top:3px;
  color:#f8eee8;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* sticky section navigation */
.property-nav{
  position:sticky;
  top:104px;
  z-index:40;
  background:#f4eadf;
  border-bottom:1px solid var(--line);
}
.property-nav-inner{
  min-height:62px;
  display:flex;
  align-items:center;
  gap:24px;
  overflow-x:auto;
  scrollbar-width:none;
}
.property-nav-inner::-webkit-scrollbar{display:none}
.property-nav a{
  color:var(--ink);
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}
.property-nav a:hover{color:var(--maroon)}

/* overview */
.overview-section{
  padding:66px 0 58px;
}
.overview-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:60px;
  align-items:start;
}
.overview-copy h2,
.section-title{
  margin:9px 0 17px;
  color:var(--maroon-dark);
  font-size:43px;
  line-height:1.08;
}
.overview-copy p{
  color:var(--muted);
  font-size:17px;
  margin:0 0 20px;
}
.fact-card{
  background:white;
  border:1px solid var(--line);
  padding:30px;
  box-shadow:0 12px 30px rgba(59,32,22,.07);
}
.fact-card h3{
  margin:0 0 19px;
  color:var(--maroon-dark);
  font-size:28px;
}
.fact-list{
  display:grid;
  gap:0;
}
.fact-row{
  display:flex;
  justify-content:space-between;
  gap:25px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
}
.fact-row:last-child{border-bottom:0}
.fact-row span{
  color:var(--muted);
  font-size:13px;
}
.fact-row strong{
  text-align:right;
  color:var(--maroon-dark);
  font-size:13px;
}

/* highlights */
.highlights{
  padding:54px 0;
  background:var(--beige);
}
.highlights-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.highlight{
  background:#fffaf2;
  border:1px solid var(--line);
  padding:24px;
  min-height:155px;
}
.highlight .icon{
  color:var(--gold);
  font-size:24px;
}
.highlight h3{
  margin:12px 0 7px;
  color:var(--maroon-dark);
  font-size:22px;
}
.highlight p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* compact gallery */
.gallery-section{
  padding:66px 0;
}
.gallery-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:28px;
}
.gallery-heading p{
  margin:0;
  max-width:540px;
  color:var(--muted);
  text-align:right;
}
.gallery-layout{
  display:grid;
  grid-template-columns:1.35fr .65fr .65fr;
  grid-template-rows:220px 220px;
  gap:11px;
}
.gallery-item{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  border:0;
  padding:0;
  background:#e5d8c9;
}
.gallery-item:first-child{grid-row:1 / 3}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.gallery-item:hover img{transform:scale(1.035)}
.gallery-item span{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:35px 13px 12px;
  color:white;
  background:linear-gradient(transparent,rgba(30,16,13,.74));
  font-size:12px;
  text-align:left;
}
.gallery-more{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(83,31,36,.73);
  color:white;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* lightbox */
.lightbox{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:rgba(20,11,9,.94);
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1200px,92vw);
  max-height:82vh;
  object-fit:contain;
  box-shadow:0 20px 60px rgba(0,0,0,.4);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position:absolute;
  border:0;
  background:transparent;
  color:white;
  cursor:pointer;
  font-size:40px;
}
.lightbox-close{right:26px;top:18px}
.lightbox-prev{left:25px;top:50%}
.lightbox-next{right:25px;top:50%}
.lightbox-caption{
  position:absolute;
  bottom:20px;
  color:white;
  font-size:14px;
}

/* maps and supporting materials */
.land-section{
  padding:58px 0;
  background:#f8f0e5;
}
.land-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.land-card{
  background:white;
  border:1px solid var(--line);
}
.land-card img{
  width:100%;
  height:340px;
  object-fit:contain;
  background:#f7f2ea;
}
.land-card .content{
  padding:24px;
}
.land-card h3{
  margin:0 0 8px;
  color:var(--maroon-dark);
  font-size:26px;
}
.land-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* custom home bridge */
.custom-home-band{
  padding:66px 0;
}
.custom-home-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:54px;
  align-items:center;
}
.custom-home-copy h2{
  margin:10px 0 17px;
  color:var(--maroon-dark);
  font-size:42px;
  line-height:1.08;
}
.custom-home-copy p{
  margin:0 0 24px;
  color:var(--muted);
  font-size:16px;
}
.custom-home-images{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  grid-template-rows:180px 180px;
  gap:10px;
}
.custom-home-images img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.custom-home-images img:first-child{grid-row:1 / 3}

/* schools */
.schools-section{
  padding:52px 0;
  background:var(--beige);
}
.schools-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.school-card{
  background:#fffaf2;
  border:1px solid var(--line);
  padding:23px;
}
.school-card h3{
  margin:0 0 8px;
  color:var(--maroon-dark);
  font-size:22px;
}
.school-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* inquiry */
.inquiry-section{
  padding:66px 0;
  background:#fffaf2;
}
.inquiry-grid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:52px;
}
.inquiry-copy h2{
  margin:10px 0 17px;
  color:var(--maroon-dark);
  font-size:42px;
}
.inquiry-copy p{
  color:var(--muted);
}
.inquiry-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:29px;
  background:white;
  border:1px solid var(--line);
}
.inquiry-form label{
  color:var(--ink);
  font-size:12px;
  font-weight:700;
}
.inquiry-form input,
.inquiry-form textarea{
  width:100%;
  margin-top:6px;
  border:1px solid var(--line);
  background:white;
  padding:12px;
  font:inherit;
}
.inquiry-form textarea{
  height:130px;
  resize:vertical;
}
.inquiry-form .full{grid-column:1 / -1}
.form-note{
  grid-column:1 / -1;
  margin:0;
  color:var(--muted);
  font-size:12px;
}

/* related properties */
.related-section{
  padding:58px 0 68px;
  background:#f8f0e5;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.related-card{
  background:white;
  border:1px solid var(--line);
  transition:transform .2s,box-shadow .2s;
}
.related-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(58,31,20,.10);
}
.related-card img{
  width:100%;
  height:170px;
  object-fit:cover;
}
.related-card .content{
  padding:19px;
}
.related-card .code{
  color:var(--maroon);
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
}
.related-card h3{
  margin:7px 0 8px;
  color:var(--maroon-dark);
  font-size:22px;
}
.related-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

@media(max-width:950px){
  .hero-summary{grid-template-columns:repeat(2,1fr)}
  .overview-grid,
  .custom-home-grid,
  .inquiry-grid{grid-template-columns:1fr}
  .highlights-grid{grid-template-columns:1fr 1fr}
  .gallery-layout{grid-template-columns:1fr 1fr;grid-template-rows:250px 180px 180px}
  .gallery-item:first-child{grid-column:1 / 3;grid-row:auto}
  .related-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .property-hero{min-height:590px}
  .property-nav{top:88px}
  .property-hero h1{font-size:58px}
  .hero-summary{grid-template-columns:1fr 1fr}
  .highlights-grid,
  .land-grid,
  .schools-grid,
  .related-grid{grid-template-columns:1fr}
  .gallery-heading{display:block}
  .gallery-heading p{text-align:left;margin-top:10px}
  .gallery-layout{grid-template-columns:1fr;grid-template-rows:260px repeat(4,175px)}
  .gallery-item:first-child{grid-column:auto}
  .custom-home-images{grid-template-columns:1fr 1fr;grid-template-rows:220px 145px}
  .custom-home-images img:first-child{grid-column:1 / 3;grid-row:auto}
  .inquiry-form{grid-template-columns:1fr;padding:22px}
  .inquiry-form .full{grid-column:auto}
}


/* ==========================================================
   MSP 51R FINAL PAGE REFINEMENTS
   Single custom-home image and homepage-style minimal footer.
   ========================================================== */
.custom-home-grid{
  grid-template-columns:.82fr 1.18fr;
  gap:52px;
}
.custom-home-single-image{
  width:100%;
  height:360px;
  object-fit:cover;
  object-position:center;
  border-radius:20px;
  box-shadow:0 14px 34px rgba(62,34,23,.12);
}
.minimal-footer{
  background:var(--maroon-dark);
  color:var(--cream);
  padding:22px 0;
  border-top:1px solid var(--gold);
  text-align:center;
}
.minimal-footer p{
  margin:3px 0;
  font-size:13px;
}
@media(max-width:900px){
  .custom-home-grid{
    grid-template-columns:1fr;
  }
  .custom-home-single-image{
    order:-1;
    height:320px;
  }
}
@media(max-width:650px){
  .custom-home-single-image{
    height:250px;
    border-radius:16px;
  }
}
