/* 317 Fairfield Road — Offering Memorandum · HYBRID
   Base: v3 Brochure (warm near-black ground, smoked bands over photography, Bodoni titles,
   tracked Jost captions, one accent: Starker red). Added: site plate with drawn lot lines,
   the Plat survey viewer restyled, Manifest stacking sheets, a light theme (B) and print.
   The light theme re-declares the ground/ink tokens; smoked bands re-declare the dark ones. */
:root {
  --ground: #121212;
  --ground-2: #1A1A1A;
  --ground-3: #242424;
  --ink: #EDEDED;
  --ink-2: #D4D4D4;
  --muted: #A3A3A3;
  --hair: rgba(237, 237, 237, .18);
  --smoke: rgba(18, 18, 18, .72);
  --smoke-2: rgba(18, 18, 18, .86);
  --red: #ED1C24;
  --red-d: #C4161C;
  --paper: #F4F4F4;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 4.4vw, 68px);
  --py: clamp(56px, 8vw, 116px);
  --h2: clamp(2.3rem, 4.6vw, 4.3rem);
  --h3: clamp(1.6rem, 2.4vw, 2.3rem);
  --num: clamp(6.6rem, 13.5vw, 13rem);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; background: var(--ground); }
body { background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
html { scrollbar-color: #595959 var(--ground); }
:focus-visible { outline: 2px solid #F5F5F5; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: .8rem 1.2rem; text-decoration: none; }
.skip:focus { top: 12px; }
em { font-style: italic; }
b { font-weight: 500; }
.num, .n, td, dd, .price, .count { font-variant-numeric: tabular-nums lining-nums; }

.cap { font: 300 .75rem/1.55 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.sub { margin-top: 1.1rem; }

h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h2::after, .g-head h3::after { content: ""; display: block; width: 64px; height: 2px; background: var(--red); margin-top: .5em; }
.tour h3::after, .who h3::after { content: none; }

.band { background: var(--smoke); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .75em; min-height: 48px; padding: 0 1.6rem; font: 500 .8125rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; color: #fff; background: none; transition: background-color .2s, border-color .2s, color .2s; }
.btn.primary { background: #E8191F; font-weight: 600; } /* a11y: white label reaches 4.5:1 */
.btn.primary:hover { background: var(--red-d); }
.btn.ghost { border-color: rgba(237, 237, 237, .55); color: var(--ink); }
.btn.ghost:hover { background: rgba(237, 237, 237, .12); border-color: var(--ink); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); }
.link:hover { border-color: var(--ink); }
.tel { display: inline-flex; align-items: center; min-height: 44px; font: 500 1.15rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.tel:hover, .mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.mail { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; color: var(--ink-2); }

/* ---------- top bar ---------- */
.top { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--pad); background: var(--smoke); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; min-height: 44px; font: 400 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.links { display: none; gap: 1.1rem; }
.links a, .menu a { display: flex; align-items: center; min-height: 44px; padding: 0 .1rem; color: var(--ink); text-decoration: none; font-size: .6875rem; letter-spacing: .2em; font-weight: 400; }
.links a:hover, .menu a:hover { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; padding: 0 .2rem; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 7px; height: 7px; margin-left: .8em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu ul { position: absolute; right: calc(var(--pad) * -1); top: 56px; width: min(280px, 100vw); background: var(--smoke-2); padding: .6rem var(--pad) 1rem; }
.menu a { padding: 0; }
@media (min-width: 1280px) { .links { display: flex; } .menu { display: none; } }

/* ---------- cover ---------- */
.hero { position: relative; min-height: max(100svh, 640px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #0B0B0B; }
.hero-media { position: absolute; inset: 0; }
.hero-zoom { position: absolute; inset: 0; transform-origin: 54% 46%; animation: slow 28s cubic-bezier(.2, .6, .3, 1) both; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; }
@keyframes slow { from { transform: scale(1); } to { transform: scale(1.055); } }


.hero-band { position: relative; z-index: 2; background: var(--smoke); border-top: 1px solid rgba(255, 255, 255, .12); padding: 2.2rem var(--pad) 2.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; }
.hero-band .cap { color: var(--ink-2); }
.hero-band .title { display: flex; align-items: flex-end; gap: clamp(1.2rem, 2.4vw, 2.4rem); font-weight: 400; }
.hero-band .num { font: 500 var(--num)/.74 var(--serif); letter-spacing: -.025em; color: #fff; padding-bottom: .04em; }
.addr { display: block; padding-bottom: .1rem; }
.street { display: block; font: 300 clamp(1.15rem, 2.1vw, 2rem)/1.1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.town { display: block; margin-top: 1.1rem; }
.town::before { content: ""; display: block; width: 64px; height: 2px; background: var(--red); margin-bottom: 1rem; }
.offer { display: grid; gap: .55rem; justify-items: end; text-align: right; }
.price { display: flex; align-items: baseline; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.amt { font: 500 clamp(2rem, 3.4vw, 3.3rem)/1 var(--serif); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; margin-top: .6rem; }

/* ---------- sheets / spreads ---------- */
.sheet { position: relative; }
.spread { display: grid; grid-template-columns: 1fr; }
.page { position: relative; }
.page.text { padding: var(--py) var(--pad); display: flex; flex-direction: column; justify-content: center; background: var(--ground-2); }
.page.photo { position: relative; overflow: hidden; min-height: 78vw; background: #0B0B0B; }
.page.photo > :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; background: var(--smoke); padding: .95rem var(--pad); color: var(--ink-2); }
.prose { max-width: 60ch; margin-top: 2.2rem; color: var(--ink-2); }
.prose p + p { margin-top: 1.05em; }
.prose.small { font-size: .9375rem; line-height: 1.6; margin-top: 1.8rem; }
.prose.lead { font-size: 1.0625rem; margin-top: 1.8rem; }
@media (min-width: 900px) {
  .spread { grid-template-columns: 1fr 1fr; min-height: min(100svh, 860px); }
  .page.photo { min-height: 0; }
  .page.text { padding-left: var(--pad); padding-right: clamp(36px, 5.5vw, 90px); }
  .page.text:last-child { padding-left: clamp(36px, 5.5vw, 90px); padding-right: var(--pad); }
  .page.text:first-child { background: linear-gradient(90deg, var(--ground-2) 90%, #0E0E0E); }
  .page.text:last-child { background: linear-gradient(270deg, var(--ground-2) 90%, #0E0E0E); }
  .page.photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .page.photo:last-child::after { background: linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 14%); }
  .page.photo:first-child::after { background: linear-gradient(270deg, rgba(0, 0, 0, .42), transparent 14%); }
  .spread::before { content: ""; position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(237, 237, 237, .14); pointer-events: none; }
}

.ideal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--hair); }
.ideal span { flex-basis: 100%; color: var(--muted); }
.ideal b { font-weight: 400; color: var(--ink); }

.hl { margin-top: 2.2rem; max-width: 56ch; }
.hl li { padding: .85rem 0; border-top: 1px solid var(--hair); color: var(--ink-2); }
.hl li:last-child { border-bottom: 1px solid var(--hair); }

.mosaic3 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; background: var(--ground); min-height: 0; }
.mosaic3 .m { position: relative; overflow: hidden; min-height: 40vw; }
.mosaic3 .a { grid-row: 1 / 3; min-height: 80vw; }
.mosaic3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic3 .a img { object-position: 38% 50%; }

/* ---------- key figures ---------- */
.figures { min-height: min(100svh, 820px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: #0B0B0B; }
.figures > img.bg { position: absolute; inset: 0; width: 100%; height: 60%; object-fit: cover; object-position: 21% 50%; } /* phones: building lands between the heading and the figures */
.figures::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18, 18, 18, .35), rgba(18, 18, 18, .05) 40%, rgba(18, 18, 18, .25)); }
.figures > .head { position: relative; z-index: 2; padding: calc(var(--py) * .5 + 64px) var(--pad) 2rem; max-width: 780px; }
.figures .head .cap { margin-top: 1.1rem; color: var(--ink-2); }
.figs { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.figs li { padding: 1.8rem var(--pad) 1.9rem 1.4rem; border-left: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; align-content: flex-start; }
.figs .n { font: 700 clamp(2.4rem, 3.2vw, 3.3rem)/1 var(--serif); color: #fff; white-space: nowrap; }
.figs .u { font: 300 .8125rem var(--sans); letter-spacing: .24em; color: var(--ink-2); }
.figs .l { flex-basis: 100%; margin-top: .6rem; font: 300 .75rem/1.5 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); }
@media (min-width: 900px) { .figures > img.bg { height: 100%; object-position: 50% 62%; } .figs { grid-template-columns: repeat(6, 1fr); } .figs li { padding: 2.2rem 1rem 2.4rem 1.5rem; border-bottom: 0; } .figs li:first-child { border-left: 0; } }

/* ---------- specs ---------- */
.specs { padding: var(--py) var(--pad); background: var(--ground); }
.specs .wrap { max-width: 1680px; margin: 0 auto; }
/* larger type for older readers: labels in sentence weight, values big */
.specs .row { padding: 1.05rem 0; }
.specs .row dt { font-size: .95rem; letter-spacing: .12em; color: var(--ink-2); }
.specs .row dd { font-size: 1.35rem; }
.specs .areas th { font-size: .95rem; letter-spacing: .12em; color: var(--ink-2); }
.specs .areas td { font-size: 1.3rem; }
.specs .areas td.note { font-size: 1.05rem; width: 8.5em; }
.specs .srcline { font-size: .8125rem; letter-spacing: .12em; }
/* phones: the big spec values have no room beside their labels, so stack them (JJA-839) */
@media screen and (max-width: 599px) { .specs .row { flex-direction: column; align-items: flex-start; gap: .3rem; } .specs .row dd { text-align: left; } .specs .areas, .specs .areas tbody { display: block; } .specs .areas tr { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--hair); } .specs .areas th, .specs .areas td, .specs .areas tr.total th, .specs .areas tr.total td { padding: 0; border: 0; text-align: left; } .specs .areas th { grid-column: 1 / -1; margin-bottom: .3rem; } .specs .areas td.note { width: auto; text-align: right; } .specs .areas tr.total { border-top: 1px solid var(--ink); border-bottom: 0; padding-top: 1rem; } }
.ledger { margin-top: 2.6rem; column-gap: clamp(2rem, 6vw, 6rem); }
@media (min-width: 900px) { .ledger { column-count: 2; } }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--hair); break-inside: avoid; }
.row:first-child { border-top: 1px solid var(--hair); }
.row dt { font: 300 .75rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.row dd { text-align: right; font-weight: 400; color: var(--ink); }
.row.tot dd { font: 700 1.5rem/1 var(--serif); }
.areas-wrap { margin-top: 3.2rem; padding: 2rem clamp(1.2rem, 3vw, 2.6rem) 2.2rem; background: var(--ground-2); border: 1px solid var(--hair); display: grid; gap: 1.6rem 3rem; }
@media (min-width: 900px) { .areas-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); align-items: center; } }
.areas { width: 100%; border-collapse: collapse; }
.areas th, .areas td { padding: .7rem 0; border-bottom: 1px solid var(--hair); text-align: right; font-weight: 400; }
.areas th { text-align: left; font: 300 .75rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.areas td { font-size: 1.05rem; }
.areas td.note { text-align: right; color: var(--muted); font-size: .9rem; width: 7.5em; }
.areas tr.total th { color: var(--ink); }
.areas tr.total td { font: 700 1.7rem/1 var(--serif); border-bottom: 0; padding-top: 1rem; }
.areas tr.total th, .areas tr.total td { border-top: 1px solid var(--ink); }
.srcline { margin-top: 2rem; font-size: .6875rem; letter-spacing: .2em; font-weight: 400; }

/* ---------- tours ---------- */
.tours { background: var(--ground); }
.tours > header { padding: calc(var(--py) * .5 + 64px) var(--pad) 1.8rem; background: var(--ground); }
.tours > header .cap { margin-top: 1.1rem; }
.tour-grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 900px) { .tour-grid { grid-template-columns: 1fr 1fr; } }
.tour { background: #000; }
.tour-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
@media (min-width: 900px) { .tour-frame { aspect-ratio: 16 / 12; } }
.tour-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tour-frame:hover > img { transform: scale(1.03); }
.tour-band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: var(--smoke); padding: 1.3rem 1.6rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.tour-band h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.tour-band .cap { margin-top: .4rem; color: var(--ink-2); }
.tour-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }
.tour-frame.live > img, .tour-frame.live .tour-band { display: none; }
.print-url { display: none; text-decoration: none; }

/* ---------- gallery ---------- */
.gal { background: var(--ground); }
.g-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; padding: calc(var(--py) * .3 + 64px) var(--pad) 1.6rem; background: var(--ground); }
.g-head h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.g-head .cap { margin-top: 1.1rem; }
.gal-main { font-size: var(--h2); margin-bottom: 2.6rem; }
.gal-main::after { content: none; }
.g-jump { display: flex; gap: .2rem 1.4rem; flex-wrap: wrap; }
.g-jump a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .6875rem; letter-spacing: .24em; font-weight: 400; }
.g-jump a:hover, .g-jump a[aria-current] { color: var(--ink); }
.g-jump a[aria-current] { box-shadow: inset 0 -2px 0 var(--red); }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ground); }
.tile { aspect-ratio: 3 / 2; position: relative; min-height: 0; }
.tile:first-child { grid-column: span 2; }
.tile .lb-open { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #0B0B0B; cursor: zoom-in; overflow: hidden; color: inherit; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .3, 1); }
.tile .lb-open:hover img { transform: scale(1.035); }
.tile img[src*="08-building"] { object-position: 20% 50%; } /* keep the building, not the rock bed, in a tall tile */
@media (max-width: 899px) { .tile:not(:first-child) .tcap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } /* one line, so small tiles keep the building visible */
.tcap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: .55rem .8rem; background: var(--smoke); font: 400 .71875rem/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: left; color: var(--ink); }
@media (min-width: 900px) {
  .collage { grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(var(--rows), 1fr); aspect-ratio: 12 / var(--rows); }
  .tile { aspect-ratio: auto; grid-column: var(--c) / span var(--w); grid-row: var(--r) / span var(--h); }
  .tile:first-child { grid-column: var(--c) / span var(--w); }
}

/* ---------- plans ---------- */
.plans { padding: calc(var(--py) * .5 + 64px) var(--pad) var(--py); background: var(--ground-3); }
.plans .head { margin-bottom: 2.4rem; background: none; }
.plans .head .cap { margin-top: 1.1rem; }
.plan-grid { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 30px); padding: clamp(12px, 2.2vw, 28px); border: 1px solid var(--hair); background: #161616; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-grid .lb-open { text-decoration: none; display: flex; flex-direction: column; gap: .8rem; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; color: inherit; text-align: left; }
.paper { display: block; background: var(--paper); aspect-ratio: 1; padding: 3.5%; }
.paper img { width: 100%; height: 100%; object-fit: contain; }
/* Safari reads these SVG plans as ~150,000px wide; pin the image inside the square so it cannot size the card */
@media screen { .paper { position: relative; } .paper img { position: absolute; inset: 3.5%; width: 93%; height: 93%; } }
.plan-grid .lb-open:hover .paper { box-shadow: 0 0 0 2px var(--ink); }
.plan-grid .cap { color: var(--ink-2); }

/* ---------- survey ---------- */
.survey { display: grid; gap: 2.4rem clamp(2rem, 4vw, 4.5rem); padding: calc(var(--py) * .5 + 64px) var(--pad) var(--py); background: var(--ground); align-items: center; }
@media (min-width: 900px) { .survey { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.survey .data h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.lots { width: 100%; margin-top: 2rem; border-collapse: collapse; }
.lots th, .lots td { padding: .65rem 0; border-bottom: 1px solid var(--hair); text-align: left; font-weight: 400; }
.lots thead th { font: 300 .6875rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.lots td { text-align: right; }
.lots thead th:not(:first-child) { text-align: right; }
.kv > div { display: flex; justify-content: space-between; gap: 1.2rem; padding: .6rem 0; border-bottom: 1px solid var(--hair); font-size: .9375rem; }
.kv dt { font: 300 .6875rem/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); flex: none; padding-top: .2em; }
.kv dd { text-align: right; color: var(--ink-2); }
.notes { margin: 1.2rem 0 0; font-size: .9375rem; color: var(--ink-2); }
.notes li { padding-left: 1.1rem; position: relative; margin-top: .3rem; }
.notes li::before { content: ""; position: absolute; left: 0; top: .8em; width: .5rem; height: 1px; background: var(--ink-2); }
.caveat { margin: 1.2rem 0 1.6rem; font-style: italic; font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: var(--ink); border-left: 2px solid var(--hair); padding-left: 1rem; }

/* ---------- location ---------- */
.mini { margin: 2.2rem 0 .7rem; color: var(--ink); font-weight: 400; }
.access { display: grid; grid-template-columns: 1fr; column-gap: 2.4rem; }
@media (min-width: 900px) { .access { grid-template-columns: 1fr 1fr; } }
.access li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--hair); font-size: .9375rem; }
.access .road { color: var(--ink); }
.access .note { color: var(--muted); text-align: right; }
.drive { width: 100%; border-collapse: collapse; }
.drive th, .drive td { padding: .55rem 0; border-bottom: 1px solid var(--hair); font-weight: 400; text-align: right; }
.drive th:first-child { text-align: left; color: var(--ink); }
.drive thead th { font: 300 .6875rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink-2); }
.diagram { background: #1B1B1B; display: flex; align-items: center; justify-content: center; padding: 3.4rem 1.5rem 4.4rem; min-height: 100vw; }
@media (min-width: 900px) { .diagram { min-height: 0; padding: 2rem 2.4rem 4.6rem; } }
.road-svg { width: 100%; height: auto; max-height: 100%; }
.road-svg .r { stroke-linecap: round; }
.road-svg .maj { stroke: #595959; stroke-width: 5; }
.road-svg .mid { stroke: #9D9D9D; stroke-width: 3.5; }
.road-svg .min { stroke: #858585; stroke-width: 2.4; stroke-dasharray: 1 5; }
.road-svg text { font-family: var(--sans); }
.rl text { font-size: 11px; font-weight: 500; letter-spacing: .2em; fill: #EDEDED; }
.dest text { font-size: 10px; font-weight: 300; letter-spacing: .12em; fill: #A3A3A3; text-transform: uppercase; }
.rl .sm { font-size: 9.5px; fill: #A3A3A3; }
.subj text.sp1 { font-size: 12px; font-weight: 500; letter-spacing: .22em; fill: #fff; }
.subj text.sp2 { font-size: 10px; font-weight: 300; letter-spacing: .12em; fill: #D4D4D4; text-transform: uppercase; }
.nts { font-size: 10px; font-weight: 300; letter-spacing: .3em; fill: #A3A3A3; }

/* ---------- labor ---------- */
.labor { margin-top: 2.4rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.4rem; }
.labor li { padding: 1.4rem 0 1.5rem; border-top: 1px solid var(--hair); }
.labor .n { display: block; font: 700 clamp(2.2rem, 3.6vw, 3.6rem)/1 var(--serif); color: #fff; }
.labor .l { display: block; margin-top: .6rem; letter-spacing: .2em; }
.mkt .srcline { margin-top: 1.2rem; }

/* ---------- team ---------- */
.team { background: var(--ground-2); }
.team .head { padding: calc(var(--py) * .5 + 64px) var(--pad) 2rem; background: none; }
.team .head .cap { margin-top: 1.1rem; }
.members { display: grid; grid-template-columns: 1fr; gap: 2px; }
@media (min-width: 900px) { .members { grid-template-columns: repeat(3, 1fr); } }
.member { position: relative; overflow: hidden; background: #0B0B0B; }
.ph { aspect-ratio: 4 / 5; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.who { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.5rem 1rem; display: flex; flex-direction: column; align-items: flex-start; }
.who h3 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.who .cap { margin: .45rem 0 .5rem; color: var(--ink-2); }
.firm { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem; padding: 1.4rem var(--pad); background: var(--ground); border-top: 1px solid var(--hair); }
.firm p { display: flex; flex-direction: column; margin: 0; }
.firm b { font-weight: 500; letter-spacing: .04em; }
.firm span { color: var(--muted); font-size: .9375rem; }

/* ---------- close ---------- */
.close { min-height: min(100svh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #0B0B0B; }
.close > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.close-band { position: relative; z-index: 2; width: 100%; background: var(--smoke); padding: 2.6rem var(--pad) 3rem; display: grid; gap: 1.2rem; justify-items: start; }
.close-band h2 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .95; }
.close-band h2::after { margin-top: .3em; }
.close-band .cap { color: var(--ink-2); }
.close-band .actions { justify-content: flex-start; margin-top: .4rem; }
/* the quiet "built by" credit under the closing actions */
.made-by { justify-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--hair); font: 400 .8125rem/1.4 'Inter Tight', var(--sans); letter-spacing: .02em; color: #C9C9C9; }
/* cream tile so the dark wolf reads on the dark photo */
.made-by img { width: 36px; height: auto; padding: 4px 6px; border-radius: 8px; background: #B8B8B8; }
.made-by > span:first-of-type { font-size: 1rem; color: var(--ink); }
.made-by b { font-weight: 600; color: #50C0B0; }
.made-by a { color: inherit; text-decoration: none; }
.made-by a:hover, .made-by a:focus-visible { color: #50C0B0; }
@media (min-width: 900px) { .made-by > * + *:not(:nth-child(2))::before { content: "·"; margin-right: .9rem; opacity: .6; } }

.site-foot { padding: 1.5rem var(--pad) 2rem; background: #0C0C0C; border-top: 1px solid var(--hair); }
.site-foot p { max-width: 118ch; font: 300 .8125rem/1.65 var(--sans); color: var(--muted); }

/* ---------- lightbox ---------- */
#lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; overflow: hidden; background: rgba(9, 9, 9, .97); color: var(--ink); }
#lb[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
#lb::backdrop { background: #090909; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: .4rem 1rem .4rem 1.4rem; }
.lb-bar > div { display: flex; gap: .4rem; }
.lb-bar button { min-height: 44px; padding: 0 1rem; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: .6875rem; letter-spacing: .24em; font-weight: 400; }
.lb-bar button:hover { box-shadow: inset 0 -2px 0 var(--red); }
.lb-stage { overflow: auto; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(8px, 5vw, 76px); }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
#lb.plan .lb-stage img { background: var(--paper); padding: 1.4rem; }
#lb.zoomed .lb-stage { display: block; cursor: grab; height: 100%; max-height: 100%; }
#lb.zoomed .lb-stage img { max-width: none; max-height: none; width: 230%; background: #fff; }
#lb.zoomed .lb-stage.drag { cursor: grabbing; }
#lb.survey .lb-stage img { background: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 64px; border: 0; background: var(--smoke); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.lb-nav:hover { background: var(--red); }
.lb-nav.prev { left: 0; } .lb-nav.next { right: 0; }
#lb.single .lb-nav { display: none; }
.lb-cap { padding: .9rem 1.4rem 1.2rem; text-align: center; color: var(--ink-2); }

/* ---------- mobile ---------- */
@media (max-width: 899px) {
  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; inset: auto; height: 58svh; min-height: 360px; }
  .hero-band { display: block; padding: 1.8rem var(--pad) 2.2rem; }
  .hero-band .title { gap: 1.1rem; }
  .street { white-space: normal; letter-spacing: .24em; }
  .offer { justify-items: start; text-align: left; margin-top: 2rem; }
  .price { justify-content: flex-start; }
  .actions { justify-content: flex-start; }
  .actions .btn { flex: 1 1 100%; }
  .tour-band { position: static; }
  .tour-frame { aspect-ratio: auto; display: flex; flex-direction: column; }
  .tour-frame > img { position: static; aspect-ratio: 16 / 10; height: auto; }
  .tour-frame.live { aspect-ratio: 4 / 5; }
  .who { padding: 1rem; }
  .labor { grid-template-columns: 1fr 1fr; }
  .close-band .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-zoom { animation: none; }
  .knock, .dv-title, .dv-cue, .dv-cue span, .dv-made { animation: none; }
  .tile img, .tour-frame > img { transition: none; }
  .tile .lb-open:hover img, .tour-frame:hover > img { transform: none; }
}

/* =====================================================================
   HYBRID additions (screen)
   ===================================================================== */

/* ---------- header: NJ logo once, top-left ---------- */
.top { height: 64px; }
.brand { padding: 0; }
.brand img { display: block; height: 42px; width: auto; }
.logo-plate .brand { background: #fff; padding: 5px 10px; height: 52px; } /* light logo needs a white surface */
.logo-plate .brand img { height: 42px; }
.top nav { margin-left: auto; }
.menu ul { top: 64px; }
.top-act { display: flex; align-items: center; gap: 1.1rem; }
.pdf { display: none; align-items: center; text-decoration: none; gap: .55em; min-height: 44px; padding: 0 .2rem; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: .6875rem; letter-spacing: .2em; font-weight: 400; }
.pdf:hover { box-shadow: inset 0 -2px 0 var(--red); }
.top-tel { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; background: #E8191F; color: #fff; text-decoration: none; font: 600 .8125rem/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.top-tel:hover { background: var(--red-d); }
@media (min-width: 900px) { .pdf { display: inline-flex; } }
@media (max-width: 420px) { .brand img, .logo-plate .brand img { height: 34px; } .logo-plate .brand { height: 44px; padding: 4px 8px; } .top { gap: .6rem; } .top-tel { padding: 0 .6rem; font-size: .75rem; } .menu summary::after { margin-left: .5em; } }

/* ---------- site plate: aerial + drawn lot lines ---------- */
.site { position: absolute; inset: 0; overflow: hidden; background: #0B0B0B; }
.site picture, .site-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-img { object-fit: cover; }
.site-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.site-north { display: none; }
.site-svg path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.site-svg .s-fill { fill: rgba(255, 255, 255, .12); stroke: none; }
.site-svg .s-shade { stroke: rgba(11, 11, 11, .55); stroke-width: 16; }
.site-svg .s-line { stroke: #FAFAFA; stroke-width: 6; }
.site-svg .s-div { stroke: #FAFAFA; stroke-width: 4; stroke-dasharray: 14 12; }
.site-svg text { font-family: var(--sans); fill: #FAFAFA; letter-spacing: .26em; paint-order: stroke; stroke: rgba(11, 11, 11, .65); stroke-width: 6px; stroke-linejoin: round; }
.s-lot text { text-anchor: middle; font-weight: 600; }
.s-lot .ac { font-weight: 400; letter-spacing: .16em; }
.s-lot .zn { font-weight: 500; letter-spacing: .12em; }
.s-road { text-anchor: middle; font-weight: 400; opacity: .9; }
.s-head path { stroke: #FAFAFA; stroke-width: 3; }
.s-head circle { fill: #FAFAFA; }
.s-head rect { fill: rgba(18, 18, 18, .8); }
.s-head text { stroke: none; font-weight: 400; }
.s-north circle { fill: rgba(18, 18, 18, .6); stroke: #FAFAFA; stroke-width: 2.5; }
.s-north path { fill: #FAFAFA; stroke: none; }
.s-north text { text-anchor: middle; stroke: none; font-weight: 500; letter-spacing: 0; }
.site-north .s-shade { stroke-width: 22; } .site-north .s-line { stroke-width: 9; } .site-north .s-div { stroke-width: 6; stroke-dasharray: 20 16; }
.site-north text { stroke-width: 8px; }
@media (max-width: 899px) and (orientation: portrait) { .site-plan { display: none; } .site-north { display: block; } } /* same query as the <picture> source */
.credit { font: 400 .6875rem/1.45 var(--sans); letter-spacing: .06em; color: #D4D4D4; }

/* ---------- opening: "317" cut out of a sheet over the drone photo, then the site plan ----------
   Static by default (no JS, phones, reduced motion): photo screen, then plan, then band.
   html.dive-on (desktop + motion, set by app.js): one sticky screen, scrubbed by scroll. */
.hero-dive { display: block; min-height: 0; background: #0B0B0B; overflow: hidden; }
.dv-photo { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #0B0B0B; }
.dv-cam { position: absolute; inset: 0; transform-origin: var(--fx) var(--fy); }
.print-still { display: none; } /* the video's poster frame, printed instead of the video */
.dv-cam .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.22) contrast(1.08); }
.dv-photo { isolation: isolate; }
/* the sheet multiplies the photo dark; the white numerals leave it untouched, so the photo shows through "317" */
.knock { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 14vh; background: rgba(11, 11, 11, .86); color: #fff; mix-blend-mode: multiply; animation: knock-in 1.6s cubic-bezier(.2, .7, .2, 1) backwards; }
.theme-light .knock { background: rgba(246, 243, 236, .9); color: #000; mix-blend-mode: screen; } /* cream sheet: screen instead of multiply */
.k-num { font: 500 min(58vh, 40vw)/.8 var(--serif); letter-spacing: -.02em; white-space: nowrap; }
@keyframes knock-in { from { opacity: 0; } } /* "backwards" fill: once done, GSAP's inline styles win */
.dv-title { position: absolute; left: var(--pad); right: var(--pad); bottom: 15%; text-align: center; animation: rise 1.2s .6s cubic-bezier(.2, .7, .2, 1) backwards; }
.dv-title h1 { font: 300 clamp(1.15rem, 2.4vw, 2.3rem)/1.1 var(--sans); letter-spacing: .55em; text-indent: .55em; text-transform: uppercase; color: var(--ink); }
.dv-title h1::after { content: ""; display: block; width: 64px; height: 2px; margin: 1.1rem auto 0; background: var(--red); }
.dv-title .cap { margin-top: 1.1rem; color: var(--ink-2); letter-spacing: .28em; }
.dv-title .cap span { display: inline-block; } /* wrap between the place and the figures, never mid-phrase */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.dv-cue { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .625rem; color: var(--ink-2); animation: rise 1s 1.4s backwards; }
.dv-cue span { width: 1px; height: 32px; background: linear-gradient(var(--ink-2), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
/* the cover's small "built by" mark, under the scroll cue; fades with the title (app.js) */
.dv-made { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: .55rem; white-space: nowrap; font: 400 .75rem/1 'Inter Tight', var(--sans); letter-spacing: .04em; color: #C9C9C9; animation: rise 1s 1.6s backwards; }
.dv-made img { width: 26px; height: auto; padding: 3px 4px; border-radius: 6px; background: #B8B8B8; }
.dv-made b { font-weight: 600; color: #50C0B0; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.dv-plan { position: relative; }
.dv-plan .site { position: relative; aspect-ratio: 4000 / 2600; }
@media (max-width: 899px) and (orientation: portrait) { .dv-plan .site { aspect-ratio: 1800 / 2300; } }
.dv-plan .credit { position: absolute; z-index: 3; right: var(--pad); top: 12px; max-width: 46ch; padding: .35rem .6rem; background: rgba(18, 18, 18, .62); text-align: right; }
@media (max-width: 899px) {
  .dv-photo { min-height: 0; height: 88svh; }
  .dv-title { bottom: 19%; } /* room for the scroll cue + "built by" mark below */
  .k-num { font-size: min(52vh, 56vw); }
  .dv-plan .credit { position: static; max-width: none; background: #0B0B0B; text-align: left; padding: .7rem var(--pad); }
}
.dive-on .dive { height: 440vh; position: relative; }
.dive-on .hero-dive { position: sticky; top: 0; height: 100vh; }
.dive-on .dv-photo { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 2; }
.dive-on .dv-plan { position: absolute; inset: 0; z-index: 1; }
.dive-on .dv-plan .site { position: absolute; inset: 0; aspect-ratio: auto; }
.dive-on .dv-plan .credit { top: 76px; }
.dive-on .hero-band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }

/* drawing: the lines start hidden only when JS will draw them */
.js .js-draw .s-line, .js .js-draw .s-shade { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .js-draw .s-fill, .js .js-draw .s-labels, .js .js-draw .s-div { opacity: 0; }
.js .js-draw.drawn .s-line, .js .js-draw.drawn .s-shade { stroke-dashoffset: 0; }
.js .js-draw.drawn .s-fill, .js .js-draw.drawn .s-labels, .js .js-draw.drawn .s-div { opacity: 1; }


/* ---------- Manifest stacking: each sheet slides over the last ---------- */
.stack main > .sheet { position: sticky; }
.veil { position: absolute; inset: 0; z-index: 30; background: #090909; opacity: 0; pointer-events: none; }

/* ---------- survey viewer (Plat, restyled) ---------- */
.survey { align-items: start; grid-template-areas: "head" "plan" "data"; }
.sv-head { grid-area: head; } .sv-col { grid-area: plan; } .survey .data { grid-area: data; }
.sv-head h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.survey .layers { margin-top: 0; }
@media (min-width: 900px) { .survey { grid-template-areas: "plan head" "plan data"; grid-template-rows: auto 1fr; row-gap: 0; } .survey .data { padding-top: 1.8rem; } }
.sv-col { min-width: 0; }
.vwr { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--hair); box-shadow: 0 0 0 6px var(--ground-2), 0 0 0 7px var(--hair); }
.vwr-stage { position: relative; }
.sv-img { width: 100%; height: auto; }
.sv-ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .vwr { height: clamp(380px, 72vh, 780px); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.js .vwr.drag { cursor: grabbing; }
.js .vwr-stage { position: absolute; left: 0; top: 0; width: 2400px; height: 1626px; transform-origin: 0 0; will-change: transform; }
.js .sv-img { width: 2400px; height: 1626px; max-width: none; }
.vwr:focus-visible { outline-offset: 6px; }
@media (max-width: 899px) { .js .vwr { height: 62vh; touch-action: pan-y; } } /* one finger still scrolls the page on phones */
.co .ring { fill: none; stroke: #ED1C24; stroke-width: 5; stroke-linejoin: round; }
.co line { stroke: #121212; stroke-width: 4; }
.co rect { fill: rgba(18, 18, 18, .9); }
.co text { font-family: var(--sans); font-weight: 500; fill: #fff; text-anchor: middle; letter-spacing: .06em; }
.layer.off { display: none; }
.vwr-ctl { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: none; align-items: center; gap: 2px; background: rgba(18, 18, 18, .9); }
.js .vwr-ctl { display: flex; }
.vwr-ctl button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #EDEDED; cursor: pointer; }
.vwr-ctl button:hover { background: var(--red); color: #fff; }
.vwr-ctl output { min-width: 4.2em; padding: 0 .7rem 0 .4rem; font: 400 .75rem var(--sans); letter-spacing: .1em; color: #EDEDED; text-align: right; font-variant-numeric: tabular-nums; }
.vwr-hint { margin-top: 1.1rem; font-size: .6875rem; letter-spacing: .16em; }
.layers { margin: 1.8rem 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.layers legend { flex-basis: 100%; margin-bottom: .6rem; padding: 0; }
.lyr { position: relative; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem 0 .8rem; border: 1px solid var(--hair); cursor: pointer; font-size: .875rem; letter-spacing: .04em; color: var(--ink-2); }
.lyr input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lyr .chip { width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 50%; }
.lyr input:checked + .chip { border-color: #ED1C24; background: radial-gradient(circle, #ED1C24 0 3.5px, transparent 4.5px); }
.lyr:has(input:checked) { border-color: var(--ink-2); color: var(--ink); }
.lyr:has(input:focus-visible) { outline: 2px solid #F5F5F5; outline-offset: 2px; }
.lots tr.total th, .lots tr.total td { color: var(--ink); font-weight: 500; border-top: 1px solid var(--ink-2); }
.sv-dl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; }

/* ---------- key figure counters, plan captions ---------- */
.figs .n[data-count] { font-variant-numeric: tabular-nums lining-nums; }
.plan-grid .cap { letter-spacing: .2em; }

/* ---------- light theme (B): paper text pages, white header ---------- */
.theme-light {
  --ground: #F6F3EC; --ground-2: #F1ECE2; --ground-3: #E9E2D4;
  --ink: #1C1915; --ink-2: #3A342C; --muted: #685F51; --hair: rgba(28, 25, 21, .17);
  color-scheme: light;
}
.theme-light :is(.hero-band, .band, .pcap, .tour-band, .who, .tcap, .close-band, #lb, .figures, .diagram, .site-foot, .vwr-ctl, .tours .tour) {
  --ink: #EDEDED; --ink-2: #D4D4D4; --muted: #A3A3A3; --hair: rgba(237, 237, 237, .18);
}
.theme-light .top { background: #fff; border-bottom: 1px solid rgba(28, 25, 21, .12); }
.theme-light .menu ul { background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.theme-light .links a:hover, .theme-light .menu a:hover { color: #000; }
.theme-light .page.text:first-child, .theme-light .page.text:last-child { background: var(--ground-2); }
.theme-light .labor .n { color: var(--ink); }
.theme-light .plan-grid { background: #fff; }
.theme-light .vwr { box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--hair); }
.theme-light .survey .btn.ghost { border-color: rgba(28, 25, 21, .5); }
.theme-light .survey .btn.ghost:hover { background: rgba(28, 25, 21, .06); }
.theme-light .spread::before { background: rgba(28, 25, 21, .12); }
.theme-light :focus-visible, .theme-light .lyr:has(input:focus-visible) { outline-color: #C4161C; }
.theme-light .areas tr.total th, .theme-light .areas tr.total td { border-top-color: var(--ink); }

/* controls that need JS stay hidden without it */
html:not(.js) :is(.layers, .tour-go) { display: none !important; }
html.lenis.lenis-stopped { overflow: hidden; }

/* ---------- print: letter landscape brochure sheets ---------- */
@page { size: letter landscape; margin: 0.4in; }
@media print {
  :root { --pad: .4in; --py: .34in; --h2: 2.6rem; --h3: 1.7rem; --num: 6.6rem; }
  html { font-size: 12px; background: var(--ground); scroll-behavior: auto; }
  body { font-size: 12px; line-height: 1.5; overflow: visible; }
  .top, #lb, .skip, [data-print], .tour-go, .tour-actions .link, .g-jump, .survey .btn { display: none !important; }
  .sheet { height: 7.62in; min-height: 0 !important; overflow: hidden; break-before: page; break-inside: avoid; page-break-before: always; }
  .sheet:first-of-type { break-before: auto; page-break-before: auto; }
  .hero-zoom { animation: none; }
  .hero { display: flex; }
  .hero-media { position: absolute; inset: 0; height: auto; min-height: 0; }
  .hero-band { display: flex; padding: .34in var(--pad) .56in; }
  .offer { justify-items: end; text-align: right; margin: 0; }
  .price, .actions { justify-content: flex-end; }
  .btn { min-height: 0; padding: .65rem 1.1rem; font-size: 11px; }
  .btn.primary { background: #E8191F !important; }
  .cap { font-size: 10px; }
  .street { font-size: 1.55rem; white-space: nowrap; }
  .town { margin-top: .8rem; }
  .town::before { margin-bottom: .7rem; }
  .amt { font-size: 2.5rem; }

  .spread { display: grid; grid-template-columns: 1fr 1fr; }
  .spread::before { content: ""; position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(237, 237, 237, .14); }
  .page.photo { min-height: 0; }
  .page.photo::after { content: ""; position: absolute; inset: 0; z-index: 2; }
  .page.photo:last-child::after { background: linear-gradient(90deg, rgba(0, 0, 0, .42), transparent 14%); }
  .page.photo:first-child::after { background: linear-gradient(270deg, rgba(0, 0, 0, .42), transparent 14%); }
  .page.text { padding: .4in .38in .55in var(--pad); }
  .page.text:last-child { padding: .4in var(--pad) .55in .38in; }
  .page.text:first-child { background: linear-gradient(90deg, var(--ground-2) 90%, #0E0E0E); }
  .page.text:last-child { background: linear-gradient(270deg, var(--ground-2) 90%, #0E0E0E); }
  .prose { margin-top: 1.3rem; font-size: 12.5px; }
  .prose.small { font-size: 12px; line-height: 1.5; margin-top: 1.2rem; }
  .prose p + p { margin-top: .75em; }
  .sub { margin-top: .8rem; }
  .ideal { margin-top: 1.4rem; padding-top: 1rem; }
  .hl { margin-top: 1.4rem; font-size: 12.5px; }
  .hl li { padding: .72rem 0; }
  .pcap { padding: .55rem var(--pad); letter-spacing: .2em; bottom: .3in; }
  .mosaic3 .m, .mosaic3 .a { min-height: 0; }

  .figures { display: flex; }
  .figures > .head { padding: .45in var(--pad) .2in; }
  .figs { grid-template-columns: repeat(6, 1fr); }
  .figs li { padding: 1.2rem .5rem 1.4rem .9rem; border-bottom: 0; }
  .figs .n { font-size: 2.6rem; }
  .figs .l { font-size: 10px; letter-spacing: .08em; }
  .figs .u { font-size: 10px; }

  .specs { padding: .4in var(--pad) .55in; }
  .specs .row { padding: .36rem 0; }
  .specs .ledger { margin-top: 1.1rem; }
  .specs .areas-wrap { margin-top: 1.1rem; padding: .7rem 1.4rem; }
  .specs .areas th, .specs .areas td { padding: .34rem 0; }
  .specs .areas tr.total td { padding-top: .6rem; }
  .specs .srcline { margin-top: .8rem; }
  .specs .row dt { font-size: 12px; letter-spacing: .1em; } .specs .row dd { font-size: 15px; }
  .specs .areas th { font-size: 12px; letter-spacing: .1em; } .specs .areas td { font-size: 15px; } .specs .areas td.note { font-size: 13px; }
  .specs .srcline { font-size: 11px; }
  .ledger { margin-top: 1.6rem; column-count: 2; }
  .row { padding: .62rem 0; }
  .row dt { font-size: 10px; letter-spacing: .16em; } .row dd { font-size: 12px; }
  .areas-wrap { margin-top: 1.7rem; padding: 1.1rem 1.4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1.4rem; }
  .areas th, .areas td { padding: .5rem 0; } .areas th { font-size: 10px; letter-spacing: .16em; }
  .areas td { font-size: 12px; } .areas td.note { font-size: 11px; } .areas tr.total td { font-size: 1.5rem; }
  .srcline { margin-top: 1.2rem; font-size: 10px; }

  .tours { display: flex; flex-direction: column; }
  .tours > header { padding: .4in var(--pad) .26in; }
  .tour-grid { grid-template-columns: 1fr 1fr; flex: none; }
  .tour-frame { aspect-ratio: auto; display: block; height: 5.05in; }
  .tour-frame > img { position: absolute; aspect-ratio: auto; height: 100%; }
  .tour-band { position: absolute; padding: .8rem 1.1rem; }
  .tour-band h3 { font-size: 1.8rem; }
  .print-url { display: block; padding: .5rem 1.1rem .6rem; font: 400 11px var(--sans); letter-spacing: .12em; color: var(--ink-2); background: var(--ground); }

  .gal { display: flex; flex-direction: column; }
  .g-head { padding: .32in var(--pad) .16in; align-items: center; flex-wrap: nowrap; flex: none; }
  .gal-main { font-size: 1.7rem; margin-bottom: .5rem; }
  .g-head h3 { font-size: 2.2rem; }
  .g-head .cap { margin-top: .5rem; }
  .collage { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(var(--rows), 1fr); aspect-ratio: auto; flex: none; height: 6.02in; }
  .tile { aspect-ratio: auto; grid-column: var(--c) / span var(--w); grid-row: var(--r) / span var(--h); }
  .tile:first-child { grid-column: var(--c) / span var(--w); }
  .tcap { font-size: 8.5px; padding: .3rem .5rem; letter-spacing: .1em; line-height: 1.25; }

  .plans { padding: .4in var(--pad) .5in; display: flex; flex-direction: column; }
  .plans .head { margin-bottom: .8rem; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); width: 100%; gap: .14in; padding: .14in; margin: 0; }
  .plan-grid .lb-open { gap: .4rem; }
  .paper { aspect-ratio: auto; height: 2.35in; padding: 2%; }
  .plan-grid .cap { font-size: 10px; }

  .survey { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding: .42in var(--pad) .55in; gap: .3in; align-items: center; }
  .survey .data h2 { font-size: 2.1rem; }
  .lots { margin-top: 1rem; } .lots th, .lots td { padding: .3rem 0; font-size: 11px; }
  .kv > div { padding: .28rem 0; font-size: 11px; } .kv dt { font-size: 9px; letter-spacing: .14em; }
  .notes { font-size: 11px; margin-top: .7rem; }
  .caveat { margin: .7rem 0 0; font-size: 11px; }

  .mini { margin: 1.3rem 0 .4rem; }
  .access { grid-template-columns: 1fr 1fr; } .access li { padding: .34rem 0; font-size: 11px; }
  .drive th, .drive td { padding: .34rem 0; font-size: 11px; }
  .prose.lead { font-size: 12px; }
  .diagram { padding: .3in .3in .55in; min-height: 0; }
  .labor { margin-top: 1.4rem; }
  .labor li { padding: 1rem 0; } .labor .n { font-size: 2.6rem; }
  .labor .l { font-size: 10px; }

  .team { display: flex; flex-direction: column; }
  .team .head { padding: .38in var(--pad) .18in; }
  .members { grid-template-columns: repeat(3, 1fr); flex: none; }
  .ph { aspect-ratio: auto; height: 4.75in; }
  .who { padding: .7rem 1rem .6rem; } .who h3 { font-size: 1.7rem; }
  .tel { min-height: 0; font-size: 1.1rem; } .mail { min-height: 0; font-size: 11px; }
  .firm { padding: .7rem var(--pad) .62in; margin-top: auto; }
  .firm span, .firm b { font-size: 11px; } .firm .link { font-size: 10px; }
  .link { min-height: 0; }

  .close { display: flex; }
  .close-band { padding: .45in var(--pad) .65in; }
  .close-band h2 { font-size: 5.4rem; }
  .close-band .mark { width: 40px; height: 40px; }

  .site-foot { position: fixed; z-index: 99; left: 0; right: 0; bottom: 0; padding: .06in .36in .05in; background: rgba(12, 12, 12, .94); border-top: 1px solid rgba(237, 237, 237, .14); }
  .site-foot p { font-size: 8.5px; line-height: 1.35; max-width: none; }
  .tile img, .tour-frame > img { transition: none; }
}

/* ---------- print: hybrid additions ---------- */
@media print {
  .top, .theme-light .top { position: absolute; background: none; border: 0; height: .9in; padding: .3in var(--pad) 0; display: flex !important; align-items: flex-start; }
  .top nav, .top-act { display: none !important; }
  .logo-plate .brand, .logo-light .brand { background: #fff; padding: 6px 10px; height: auto; }
  .brand img, .logo-plate .brand img { height: .5in; }
  .stack main > .sheet, .hero-dive { position: relative !important; top: auto !important; }
  .dive { height: auto !important; }
  .veil { display: none; }
  /* page 1 (cover): the still drone photo under the dark sheet with "317" cut out.
     The site plan (a turned aerial), the video and the price band stay on screen only. */
  .dv-plan, .dv-cue, .hero-dive .hero-band, .dv-cam video, .page.photo > video { display: none !important; }
  .print-still { display: block !important; }
  .dv-photo { position: absolute !important; inset: 0; height: auto; min-height: 0; opacity: 1 !important; }
  .dv-cam { transform: none !important; }
  .knock { padding-bottom: .5in; opacity: 1 !important; transform: none !important; animation: none; }
  .k-num { font-size: 4.6in; }
  .dv-title { bottom: 1.15in; opacity: 1 !important; transform: none !important; animation: none; }
  .dv-made { bottom: .5in; opacity: 1 !important; transform: translateX(-50%) !important; animation: none; } /* above the repeating disclaimer footer */
  .theme-light .tours .print-url { color: #3A342C; }
  .plans .head .cap { display: none; } /* "select a plan to open it" is a screen instruction */
  .survey { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "plan head" "plan data"; grid-template-rows: auto 1fr; row-gap: 0; }
  .js .vwr { height: auto; cursor: auto; }
  .js .vwr-stage { position: relative; width: 100%; height: auto; transform: none !important; }
  .js .sv-img { width: 100%; height: auto; }
  .vwr { box-shadow: none; }
  .vwr-ctl, .vwr-hint, .layers, .sv-dl { display: none !important; }
  .sv-head h2 { font-size: 2.1rem; }
  .survey .data { padding-top: .6rem; }
  .theme-light .page.text, .theme-light .specs, .theme-light .survey, .theme-light .plans { background: var(--ground-2) !important; }
}
