/* Layout: full-bleed photography, a single reading column, specs set like a survey sheet in mono. */
:root {
  --bg: #f5f8f9;          /* whitewashed clapboard, cool */
  --surface: #ffffff;
  --ink: #0b1114;         /* Prime Properties black */
  --muted: #56656b;
  --line: #d8e3e6;
  --brand: #12a3c7;       /* Prime Properties teal, for fills */
  --accent: #0a7894;      /* deeper teal for text and links on light */
  --accent-ink: #050608;  /* text on teal fills */
  --brass: #0a7894;       /* small labels follow the brand teal */
  --black: #050608;
  --shade: rgba(9, 25, 32, .62);
  --f-display: "Gilda Display", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #07090b; --surface: #10161a; --ink: #eaf2f4; --muted: #9db0b6; --line: #1f2c33; --brand: #12a3c7; --accent: #3cc0e0; --accent-ink: #050608; --brass: #3cc0e0; --shade: rgba(4, 12, 16, .7); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
main > .wrap > section, .oh > section { padding-block: 40px; border-top: 1px solid var(--line); }
main > .wrap > section:first-of-type { border-top: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.eyebrow { font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: .8em; }
.muted { color: var(--muted); display: block; font-size: .85em; }
.fine { font-size: .82rem; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--f-mono); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--black); color: #fff; border-bottom: 3px solid var(--brand); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.mark-n { color: var(--brand); }
.brand img { height: 42px; width: auto; display: block; }
@media (max-width: 1100px) { .brand { display: none; } }
.mark-n { font: 400 2rem/1 var(--f-display); }
.mark-t { font: 600 .82rem/1.15 var(--f-body); letter-spacing: .04em; text-transform: uppercase; }
.mark-t small { display: block; font: 400 .72rem/1.3 var(--f-mono); color: #9db0b6; text-transform: none; letter-spacing: 0; }
.nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; font-size: .92rem; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--brand); }
@media (max-width: 900px) { .top-in { flex-wrap: wrap; row-gap: 6px; } .nav { order: 9; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; gap: 16px; padding-bottom: 6px; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } .nav a { white-space: nowrap; font-size: .88rem; } .top .btn-sm { margin-left: auto; } }
@media (max-width: 420px) { .top .btn-sm { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r); background: var(--brand); color: var(--accent-ink); font: 600 .95rem/1 var(--f-body); text-decoration: none; border: 1px solid var(--brand); cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .85rem; white-space: nowrap; }

/* hero */
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-img, .oh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .oh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 26, .05) 20%, rgba(6, 20, 26, .55) 55%, rgba(6, 20, 26, .88)); }
.hero-card { position: relative; z-index: 1; padding-block: 120px 44px; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero h1 span { display: block; font: 400 1.1rem/1.4 var(--f-body); margin-top: .6em; opacity: .92; }
.hero .eyebrow, .oh-hero .eyebrow { color: #5fd3f0; }
.price { font: 500 clamp(1.6rem, 3vw, 2.2rem)/1 var(--f-mono); margin: .2em 0 .8em; font-variant-numeric: tabular-nums; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-ghost, .oh-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }

/* spec sheet strip */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; border-bottom: 1px solid var(--line); }
.stats div { padding: 22px 12px 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 4px; }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font: 500 .7rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stats dd { margin: 0; font: 400 1.9rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stats small { font-size: .6em; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } .stats div:nth-child(4) { border-left: 0; padding-left: 0; } .stats div:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.prose { max-width: 66ch; }
.highlights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.highlights li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.highlights strong { font: 400 1.5rem/1.1 var(--f-display); color: var(--accent); }
.highlights span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 24px; } }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.grid8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.grid8 a:first-child { grid-column: span 2; grid-row: span 2; }
.grid8 img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--line); }
@media (max-width: 640px) { .grid8 { grid-template-columns: repeat(2, 1fr); } }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feat h3 { font-size: 1.15rem; padding-bottom: 8px; border-bottom: 2px solid var(--brand); }
.feat ul { margin: 0; padding-left: 1.1em; }
.feat li { margin-bottom: .35em; }
.feat li::marker { color: var(--brand); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.table-scroll { overflow-x: auto; margin-bottom: 1em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; font: 500 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--ink); }
td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
tr.this td { font-weight: 600; color: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.plan img { width: 100%; }
.plan figcaption { font: .78rem/1.4 var(--f-mono); color: #55676e; padding-top: 8px; }

.bars { display: grid; gap: 10px; margin: 18px 0; }
.bar { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 76px; gap: 12px; align-items: center; font-size: .9rem; }
.bar-t { height: 14px; background: color-mix(in srgb, var(--line) 60%, transparent); border-radius: 2px; overflow: hidden; }
.bar-t span { display: block; height: 100%; background: var(--muted); }
.bar-this .bar-t span { background: var(--brand); }
.bar-this { font-weight: 600; }
.bar-v { font-family: var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .bar { grid-template-columns: minmax(0, 1fr) 70px; } .bar-l { grid-column: 1 / -1; } }

.map { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-links { font-size: .9rem; margin-top: 8px; }
.places { list-style: none; margin: 16px 0 6px; padding: 0; }
.places a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pl-d { font-family: var(--f-mono); color: var(--accent); }
.pl-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 72ch; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; }

.page-head { padding-block: 48px 16px; max-width: 820px; margin-left: max(0px, calc((100% - 1180px) / 2)); }
.masonry { columns: 3 320px; column-gap: 10px; padding-bottom: 40px; }
.masonry figure { margin: 0 0 10px; break-inside: avoid; }
.masonry img { width: 100%; border-radius: 3px; background: var(--line); }
.links-row { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 24px; }

/* open house */
.oh-hero { position: relative; color: #fff; overflow: hidden; }
.oh-in { position: relative; z-index: 1; padding-block: 140px 26px; }
.oh-hero h1 { color: #fff; font-size: clamp(2rem, 8vw, 3.4rem); margin: 0; }
.mini { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 4px 26px; margin: 0; }
.mini dt { font: 500 .66rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.mini dd { margin: 0; font: 400 1.4rem/1.2 var(--f-display); }
.jump { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
.jump a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; background: var(--surface); }
.oh { max-width: 860px; }
.oh-when { font-size: 1.05rem; }
.oh-list { padding-left: 1.1em; }
.oh details summary { cursor: pointer; font-weight: 600; padding-block: 14px; }
.oh-agent { text-align: left; }
.oh-agent .btn { margin: 0 6px 8px 0; }

form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; width: 100%; min-width: 0; }
.signin { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signin .wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .signin { grid-template-columns: 1fr; } }
.calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-k { font: 500 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0; }
.calc-v { font: 500 2.2rem/1.2 var(--f-mono); color: var(--accent); margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.calc-dl { margin: 0 0 12px; }
.calc-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.calc-dl dd { margin: 0; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 680px) { .calc { grid-template-columns: 1fr; } }

/* footer and mobile call bar */
.foot { background: var(--black); color: #eaf2f4; padding-block: 40px 90px; margin-top: 40px; border-top: 3px solid var(--brand); }
.foot-logo { padding-bottom: 24px; }
.foot-logo img { width: 280px; max-width: 100%; height: auto; }
.oh-logo { width: 260px; max-width: 100%; height: auto; border-radius: 3px; margin-bottom: 14px; }
.foot a { color: inherit; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; font-size: .92rem; }
.foot .fine { color: inherit; opacity: .7; }
.foot-addr { font: 400 1.3rem/1.3 var(--f-display); }
.coords { font: .8rem var(--f-mono); opacity: .7; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; text-align: center; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--brand); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .callbar { display: block; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(4, 12, 16, .94); display: grid; place-items: center; padding: 16px; }
.lb img { max-height: 92vh; width: auto; max-width: 100%; object-fit: contain; touch-action: pinch-zoom; }
.lb button { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; background: #fff; color: #12232b; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }
.lb .lb-prev, .lb .lb-next { top: 50%; transform: translateY(-50%); }
.lb .lb-prev { left: 12px; right: auto; }

/* 3D floor plan */
.plan3d { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); margin-bottom: 18px; }
.plan3d-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-bottom: 1px solid var(--line); }
.plan3d-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.plan3d-btns button { font: 500 .9rem var(--f-body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; min-height: 38px; }
.plan3d-btns button[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.plan3d-hint { font: .78rem var(--f-mono); color: var(--muted); }
.plan3d-stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface)); touch-action: none; }
.plan3d-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.plan3d-load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); }
.plan3d-ready .plan3d-load { display: none; }
.plan3d-off .plan3d-load { display: grid; }
.plan3d-off .plan3d-stage { aspect-ratio: auto; min-height: 80px; }
@media (min-width: 900px) { .plan3d-stage { aspect-ratio: 16 / 9; } }
@media (max-width: 599px) { .plan3d-stage { aspect-ratio: 1 / 1.05; } .plan3d-hint { width: 100%; } }

/* photo gallery sections */
.ph-nav { font-size: .9rem; line-height: 1.9; }
.ph-sec { padding-block: 18px 6px; border-top: 1px solid var(--line); }
.ph-sec h2 { font-size: 1.5rem; }
.ph-sec .masonry { padding-bottom: 12px; }
.masonry figure { scroll-margin-top: 90px; }
.gate { padding-bottom: 40px; }
.signin .consent { margin: 0; font-size: .78rem; }
.featured { padding-block: 40px 8px; }
.featured .split { align-items: center; }
.featured img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.featured h2 a { color: inherit; text-decoration: none; }
.featured .links-row { padding-block: 8px 0; }
@media (max-width: 760px) { .hero { min-height: 0; } .hero-card { padding-block: 34vw 22px; } .hero h1 span { font-size: 1rem; } .hero-cta .btn { min-height: 42px; } }

.hero-video { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
