@font-face{font-family:"Cormorant SC";src:url("fonts/CormorantSC-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Playfair";src:url("fonts/Playfair-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Playfair";src:url("fonts/Playfair-MediumItalic.woff") format("woff");font-weight:500;font-style:italic;font-display:swap}
@font-face{font-family:"Playfair";src:url("fonts/Playfair-SemiBold.woff") format("woff");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/Jost-Light.woff") format("woff");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/Jost-Regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/Jost-Italic.woff") format("woff");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/Jost-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("fonts/Jost-SemiBold.woff") format("woff");font-weight:600;font-style:normal;font-display:swap}

:root{
  --ivory:#F6F2EB;
  --paper:#E8E1D5;
  --ink:#1E1A16;
  --ink2:#3F3A34;
  --muted:#6A645B;
  --rule:#C8B89A;
  --gold:#8E7348;
  --gold-dk:#6F5A38;
  --box:#EFE9DF;
  --hair:#D5CBBA;
  --white:#FFFEFB;
  --stage:#1E1A16;
  --max:72rem;
  --pad:1.25rem;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:"Jost",system-ui,sans-serif;
  font-weight:400;
  font-size:1.05rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold-dk);text-underline-offset:0.16em}
a:hover{color:var(--ink)}
.wrap{width:min(100% - 2*var(--pad), var(--max));margin-inline:auto}

.kicker{
  font-family:"Cormorant SC","Times New Roman",serif;
  font-weight:500;
  font-size:0.78rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold-dk);
  margin:0 0 0.55rem;
}
h1,h2,h3{font-family:"Playfair","Times New Roman",serif;font-weight:500;color:var(--ink);line-height:1.2;margin:0}
h2{font-size:clamp(1.4rem,3vw,1.85rem);margin-bottom:0.85rem}
h3{
  font-family:"Cormorant SC",serif;
  font-weight:500;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold-dk);
  margin:1.3rem 0 0.5rem;
  padding-bottom:0.3rem;
  border-bottom:1px solid var(--rule);
}
p{margin:0 0 1rem}
.caption,.note{color:var(--muted);font-size:0.88rem;font-style:italic;line-height:1.5}
.note{margin:0.4rem 0 0.9rem}
/* Justify long prose only; leave labels, facts, tables and buttons alone */
.prose p,
.plan-grid > p,
.split p,
.disclaimer,
.slide-caption,
.location-copy,
.caption{
  text-align:justify;
  hyphens:auto;
  -webkit-hyphens:auto;
  hyphenate-limit-chars:6 3 3;
  text-wrap:pretty;
}
.parking-line,
.money p,
.hero-intro p,
.hero-intro h1,
.kicker,
.slide-count,
.model-actions .caption{text-align:start;hyphens:manual;text-wrap:wrap}
.video-shell .caption{text-align:center;hyphens:manual}


/* Nav */
.site-nav{
  position:sticky;top:0;z-index:30;
  background:rgba(246,242,235,0.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--hair);
}
.site-nav .inner{
  width:min(100% - 2*var(--pad), var(--max));
  margin-inline:auto;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:0.35rem 1rem;padding:0.55rem 0;
}
.site-nav .brand{
  font-family:"Cormorant SC",serif;
  font-size:clamp(10px,2.7vw,13px);
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--gold-dk);
  text-decoration:none;
  white-space:nowrap;
}
.site-nav nav{
  display:flex;flex-wrap:nowrap;align-items:center;
  gap:0.9em;
  white-space:nowrap;
}
.site-nav nav a{
  font-size:clamp(10px,2.9vw,13px);letter-spacing:0.08em;text-transform:uppercase;
  text-decoration:none;color:var(--ink2);font-weight:500;
  white-space:nowrap;
}
.site-nav nav a:hover{color:var(--gold-dk)}
@media (max-width:639px){
  .site-nav .brand{flex:1 1 100%}
  .site-nav nav{flex:1 1 100%;justify-content:space-between;gap:0.7em}
}
@media (max-width:359.98px){
  .site-nav nav{overflow-x:auto;-webkit-overflow-scrolling:touch;justify-content:flex-start;gap:0.9em}
}

/* 1. Full-width hero */
.hero{
  position:relative;
  width:100%;
  /* svh is stable on iOS when the URL bar shows/hides; vh is the fallback */
  height:70vh;
  height:70svh;
  max-height:46rem;
  min-height:20rem;
  overflow:hidden;
  background:var(--stage);
  overflow-anchor:none;
}
.hero img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 55%;
  aspect-ratio:1600/1066;
  filter:none;
}
.hero-intro{padding:1.35rem 0 1.15rem}
.hero-intro .hero-place{
  margin:0 0 0.35rem;
  font-family:"Playfair",serif;
  font-style:italic;
  font-size:clamp(1rem,2.2vw,1.25rem);
  color:var(--ink2);
}
.hero-intro h1{
  color:var(--ink);
  font-size:clamp(1.45rem,4.2vw,2.25rem);
  letter-spacing:-0.015em;
  max-width:22ch;
  margin:0;
  line-height:1.2;
}

/* 2. Key facts */
.facts-band{background:var(--paper);border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.facts{
  display:grid;
  grid-template-columns:repeat(2,1fr);
}
.fact{
  text-align:center;
  padding:0.95rem 0.5rem 0.9rem;
  border-right:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
}
.fact:nth-child(2n){border-right:none}
.fact:last-child{
  grid-column:1/-1;
  border-right:none;
  border-bottom:none;
}
.fact strong{
  display:block;
  font-family:"Playfair",serif;
  font-weight:500;
  font-size:1.18rem;
}
.fact span{display:block;color:var(--muted);font-size:0.7rem;margin-top:0.18rem}
.parking-line{
  text-align:center;
  color:var(--gold-dk);
  font-weight:500;
  font-size:0.92rem;
  margin:0;
  padding:0.7rem var(--pad) 0.85rem;
}

/* Sections */
.section{padding:2.4rem 0 0.6rem}
.section + .section{border-top:1px solid var(--hair);margin-top:1.6rem;padding-top:2.4rem}
.prose p{color:var(--ink2);max-width:46rem}

/* 4. Slideshow */
.slideshow{margin-top:0.4rem;overflow-anchor:none}
.stage{
  position:relative;
  width:100%;
  aspect-ratio:3/2;
  background:var(--stage);
  overflow:hidden;
  border:1px solid var(--hair);
}
.stage picture{position:absolute;inset:0;display:block;width:100%;height:100%}
.stage img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:contain;
  cursor:zoom-in;
  user-select:none;
  -webkit-user-drag:none;
}
.slide-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  z-index:2;
  appearance:none;border:0;
  width:2.6rem;height:2.6rem;
  border-radius:50%;
  background:rgba(246,242,235,0.88);
  color:var(--ink);
  font-size:1.55rem;line-height:1;
  cursor:pointer;
  display:grid;place-items:center;
  padding:0 0 0.1rem;
}
.slide-btn:hover{background:var(--ivory)}
.slide-btn.prev{left:0.55rem}
.slide-btn.next{right:0.55rem}
.slide-meta{
  display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;
  gap:0.35rem 1rem;
  margin:0.7rem 0 0.55rem;
  min-height:calc(1.45em * 3 + 0.1rem);
}
.slide-count{
  font-family:"Cormorant SC",serif;
  letter-spacing:0.12em;
  font-size:0.78rem;
  color:var(--gold-dk);
  text-transform:uppercase;
  margin:0;
  white-space:nowrap;
}
.slide-caption{
  margin:0;flex:1 1 12rem;color:var(--ink2);font-style:italic;font-size:0.92rem;
  line-height:1.45;
  min-height:calc(1.45em * 3);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;
  overflow:hidden;
}
.thumbs{
  display:flex;gap:0.4rem;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0.15rem 0 0.5rem;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  /* Reserve strip height before JS fills thumbnails */
  min-height:calc(4.4rem * 2 / 3 + 0.65rem);
}
.thumbs button{
  flex:0 0 auto;
  width:4.4rem;
  aspect-ratio:3/2;
  padding:0;margin:0;
  border:1px solid var(--hair);
  background:var(--stage);
  cursor:pointer;
  opacity:0.62;
}
.thumbs button[aria-current="true"]{
  opacity:1;
  border-color:var(--gold-dk);
  box-shadow:0 0 0 1px var(--gold-dk);
}
.thumbs img{width:100%;height:100%;object-fit:cover;pointer-events:none;aspect-ratio:3/2}

/* Plans */
.plan-block{margin:0 0 2.4rem}
.plan-block:last-child{margin-bottom:0}
.frame{background:var(--white);border:1px solid var(--hair);overflow:hidden;margin:0 0 0.45rem}
.frame picture{display:block;width:100%}
.frame img{width:100%;height:auto;cursor:zoom-in;background:var(--white)}
.frame img.plan-5th,.frame img.plan-4th{aspect-ratio:1656/1291}
.frame img.plan-roof{aspect-ratio:1048/1316}
.frame img.plan-basement{aspect-ratio:2966/1272}
.plan-grid,.split{
  display:grid;
  grid-template-columns:1fr;
  gap:0.4rem 2rem;
  margin-top:0.7rem;
}
.table{width:100%;border-collapse:collapse;font-size:0.95rem}
.table td{padding:0.42rem 0.2rem;border-bottom:1px solid var(--hair);text-align:left}
.table td:last-child{text-align:right;white-space:nowrap}
.table tr.bar td{background:var(--paper);font-weight:600;padding-left:0.4rem;padding-right:0.4rem}

.money{
  background:var(--box);
  padding:0.85rem 1rem 0.3rem;
  margin:0.15rem 0 0.75rem;
}
.money p{display:flex;justify-content:space-between;gap:1rem;margin:0 0 0.55rem;align-items:baseline}
.money .sum{font-family:"Playfair",serif;font-size:1.12rem}
.dpe{margin:0}
.dpe dt{color:var(--muted);font-size:0.8rem;margin-top:0.6rem}
.dpe dd{margin:0.08rem 0 0;font-weight:500}

/* Video */
.video-shell{display:flex;flex-direction:column;align-items:center}
.video-wrap{
  position:relative;
  width:min(100%,22.5rem);
  aspect-ratio:9/16;
  background:#111;
  border:1px solid var(--hair);
  overflow:hidden;
}
.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* 3D */
.model-frame{
  position:relative;
  width:100%;
  height:70vh;
  height:70svh;
  min-height:20rem;
  background:#1a1714;
  border:1px solid var(--hair);
  overflow:hidden;
}
.model-frame iframe{
  position:absolute;inset:0;
  width:100%;height:100%;border:0;display:block;
}
.model-poster{
  position:absolute;inset:0;
  display:block;width:100%;height:100%;
  padding:0;margin:0;border:0;
  cursor:pointer;background:#1a1714;color:var(--ivory);
  text-decoration:none;
}
.model-poster picture{position:absolute;inset:0;display:block;width:100%;height:100%}
.model-poster img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center top;
  aspect-ratio:800/1067;
}
.model-poster span{
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  z-index:1;
  font-family:"Cormorant SC",serif;
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-size:0.9rem;
  padding:0.7rem 1.15rem;
  background:rgba(30,26,22,0.78);
  color:var(--ivory);
  border:1px solid rgba(200,184,154,0.7);
}
.model-actions{
  display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;
  gap:0.4rem 1rem;margin-top:0.7rem;
}
.model-actions a{font-weight:500;font-size:0.92rem}

.disclaimer{
  margin:2.2rem 0 0;
  padding:1.1rem 0 2.4rem;
  border-top:1px solid var(--hair);
  font-weight:300;
  font-size:0.9rem;
  color:var(--muted);
}

/* Lightbox */
.lb[hidden]{display:none}
.lb{
  position:fixed;inset:0;z-index:80;
  background:rgba(20,16,12,0.92);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:1rem 1rem 1.4rem;
}
.lb img{
  max-width:100%;max-height:calc(100vh - 5.2rem);max-height:calc(100svh - 5.2rem);
  width:auto;height:auto;cursor:default;background:transparent;
  object-fit:contain;
}
.lb-cap{color:#E8E0D4;font-size:0.88rem;margin-top:0.7rem;text-align:center;max-width:40rem}
.lb-close,.lb-prev,.lb-next{
  position:absolute;appearance:none;border:0;background:transparent;
  color:#F6F2EB;font-size:1.8rem;line-height:1;cursor:pointer;padding:0.5rem;
}
.lb-close{top:0.4rem;right:0.6rem;font-size:2rem}
.lb-prev{left:0.2rem;top:50%;transform:translateY(-50%)}
.lb-next{right:0.2rem;top:50%;transform:translateY(-50%)}
.lb-close:hover,.lb-prev:hover,.lb-next:hover{color:var(--gold)}

@media (min-width:640px){
  :root{--pad:1.75rem}
  .facts{grid-template-columns:repeat(5,1fr)}
  .fact{border-bottom:none;padding:1.05rem 0.4rem}
  .fact:nth-child(2n){border-right:1px solid var(--hair)}
  .fact:last-child{grid-column:auto;border-right:none}
  .plan-grid,.split{grid-template-columns:1.1fr 0.9fr}
  .thumbs{min-height:calc(5.4rem * 2 / 3 + 0.65rem)}
  .thumbs button{width:5.4rem}
  .slide-btn{width:2.85rem;height:2.85rem}
}
@media (min-width:900px){
  .section{padding-top:3rem}
  .hero-intro{padding:1.7rem 0 1.4rem}
  .prose p{max-width:70ch}
  /* Shorter hero on laptop/desktop; do not keep the old 32rem floor */
  .hero{
    height:58vh;
    height:58svh;
    min-height:18rem;
    max-height:28rem;
  }
  /* Slideshow: the whole block (photo + caption + thumbs) shares one width and fits the viewport */
  .slideshow{
    --meta:10.5rem;
    --avail:calc(70svh - var(--meta));
    width:min(100%,1000px,calc(var(--avail) * 3 / 2));
    max-width:1000px;
    margin-inline:auto;
  }
  .stage{width:100%;max-width:none;aspect-ratio:3/2;height:auto}
  .frame{display:flex;justify-content:center;background:var(--white)}
  .frame picture{display:block;width:100%}
.frame img{
    width:auto;max-width:100%;height:auto;
    max-height:80svh;
    object-fit:contain;
  }
  .video-wrap{width:min(100%,22.5rem,calc(60svh * 9 / 16))}
  .model-frame{height:48vh;height:48svh;min-height:16rem;max-height:28rem}
}
@media (min-width:900px) and (max-height:800px){
  .hero{height:52vh;height:52svh;min-height:14rem;max-height:22rem}
  .slideshow{--avail:calc(68svh - var(--meta));width:min(100%,960px,calc(var(--avail) * 3 / 2))}
  .stage{width:100%}
  .model-frame{height:42vh;height:42svh;min-height:14rem;max-height:22rem}
}
@media (min-width:1400px){
  .hero{height:60vh;height:60svh;max-height:32rem}
}


/* Location */
.location-actions{display:flex;flex-wrap:wrap;gap:0.6rem 0.75rem;margin:0.4rem 0 0}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:2.75rem;padding:0.45rem 1.15rem;
  font-family:"Cormorant SC",serif;
  letter-spacing:0.14em;text-transform:uppercase;font-size:0.82rem;
  text-decoration:none;color:var(--ivory);background:var(--ink);
  border:1px solid var(--ink);
}
.btn:hover{color:var(--ivory);background:var(--gold-dk);border-color:var(--gold-dk)}
.btn-ghost{background:transparent;color:var(--gold-dk);border-color:var(--rule)}
.btn-ghost:hover{background:var(--box);color:var(--ink)}
.location h2{font-size:clamp(1.25rem,2.5vw,1.6rem)}
#surfaces.section,#terms.section{border-top:none;padding-top:0.6rem}

.model-frame{background:#f3efe7}
@media (min-width:900px){.model-frame{height:72vh;height:72svh;min-height:24rem;max-height:44rem}}
@media (max-width:899px){.model-frame{height:78vh;height:78svh;min-height:24rem;max-height:46rem}}
.site-nav .brand{font-size:clamp(13px,4.5vw,24px);letter-spacing:0.04em}
