/* ==========================================================================
   Hanu Homes v4 — the combined site.
   Builds on hanu.css (Option 1 tokens, type, nav, buttons, day/night) and adds
   the project pages, tools and Ask Hanu. Colours come from the theme tokens so
   every component works in day and night view.
   ========================================================================== */
.v4-sub { background: var(--bg); }
.v4-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.btn--sm { min-height: 44px; padding: 0 1.25em; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { color: inherit; }
.textlink { background: none; border: 0; padding: 0 0 2px; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.round { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; background: transparent; border: 1px solid var(--rule); color: inherit; }
.round svg { width: 20px; height: 20px; }
.round--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); color: #fff; }
.round--glass:hover { background: #fff; color: var(--granite); }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink);
  font-size: var(--t-small); font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.v4-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v4-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.v4-label { font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.v4-lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 36em; margin-top: var(--s-lead); }
.v4-fine { font-size: var(--t-label); line-height: 1.55; color: var(--ink-2); max-width: 52em; margin-top: 14px; }
.v4-h1 { font-size: clamp(2.4rem, 4.8vw, 4.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.v4-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-small); color: var(--ink-2); margin-bottom: 18px; }
.v4-crumbs a { text-decoration: none; }
.v4-crumbs a:hover { text-decoration: underline; }
.v4-rv { opacity: 0; transform: translateY(22px); }
.v4-rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }

/* Page head + project grid ------------------------------------------------- */
.v4-pagehead { padding: calc(var(--nav-h) + clamp(40px, 7vh, 80px)) 0 clamp(24px, 4vh, 40px); }
.v4-filters { display: grid; gap: 10px; margin-top: 28px; }
.v4-sec { padding: clamp(64px, 10vh, 120px) 0; }
.v4-sec--tight { padding-top: 0; }
.v4-sec--paper { background: var(--surface); }
.v4-sec--night { background: var(--night); color: var(--paper); }
.v4-sec--night .v4-lead, .v4-sec--night .v4-fine { color: var(--mist); }
.v4-sec--night .v4-label { color: var(--ochre-soft); }
.v4-count { font-size: var(--t-small); color: var(--ink-2); margin-bottom: 18px; }
.v4-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.v4-card { display: flex; flex-direction: column; background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--rule-2); transition: transform .4s var(--ease-out), box-shadow .4s; }
.v4-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(20, 18, 17, .45); }
.v4-card[hidden] { display: none; }
.v4-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.v4-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.v4-card:hover .v4-card-media img { transform: scale(1.04); }
.v4-status { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--granite); font-size: var(--t-label); font-weight: 600; }
.v4-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
.v4-status.is-done::before { background: #3C8A5B; }
.v4-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.v4-where { display: flex; align-items: center; gap: 6px; font-size: var(--t-small); color: var(--ink-2); }
.v4-where svg, .v4-phero-meta svg { width: 16px; height: 16px; flex: none; }
.v4-card-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 1.8vw, 1.75rem); letter-spacing: -.03em; line-height: 1.1; }
.v4-card-title a { text-decoration: none; }
.v4-card-title a::after { content: ""; position: absolute; inset: 0; }
.v4-card { position: relative; }
.v4-card-foot, .v4-cmp, .v4-card-media { position: relative; z-index: 1; }
.v4-mini { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 6px 16px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.v4-mini dt { font-size: var(--t-label); color: var(--ink-2); }
.v4-mini dd { font-size: var(--t-small); font-weight: 500; margin-top: 2px; }
.v4-mini b { font-family: var(--f-display); font-weight: 600; }
.v4-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v4-cmp { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); cursor: pointer; min-height: 44px; }
.v4-cmp input { width: 18px; height: 18px; accent-color: var(--ochre-ink); }
.v4-empty { padding: 32px 0; color: var(--ink-2); }
.v4-cmpbar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 130; display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 20px; border-radius: 999px; background: var(--granite); color: var(--paper); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.v4-cmpbar[hidden] { display: none; }
.v4-cmpbar .textlink { color: var(--paper); }

/* Project hero --------------------------------------------------------------- */
.v4-phero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--night); overflow: hidden; }
.v4-phero-media { position: absolute; inset: 0; }
.v4-phero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v4-phero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 16, 16, .55) 0%, rgba(17, 16, 16, 0) 24%), linear-gradient(0deg, rgba(17, 16, 16, .9) 0%, rgba(17, 16, 16, .62) 38%, rgba(17, 16, 16, 0) 70%); }
.v4-phero-copy { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(32px, 7vh, 72px); }
.v4-phero .v4-crumbs, .v4-phero .v4-lead { color: #E8E8E7; }
.v4-phero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; font-size: var(--t-small); color: #E8E8E7; }
.v4-phero-meta .v4-status { position: static; }
.v4-phero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.v4-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border-top: 1px solid rgba(245, 244, 240, .25); max-width: 860px; }
.v4-facts div { padding: 14px 28px 0 0; margin-right: 28px; }
.v4-facts dt { font-size: var(--t-label); color: #D1D0D0; }
.v4-facts dd { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.3rem); margin-top: 2px; }
.v4-phero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.v4-phero .btn--ghost:hover { --bg: var(--paper); --fg: var(--granite); }
.v4-impression { position: absolute; right: var(--gutter); bottom: 14px; font-size: .75rem; color: #E3E2E2; }
.v4-subnav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.v4-subnav-in { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.v4-subnav-in::-webkit-scrollbar { display: none; }
.v4-subnav a { flex: none; padding: 17px 0 15px; font-size: var(--t-small); color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.v4-subnav a:hover, .v4-subnav a.is-here { color: var(--ink); border-color: var(--accent); }
main[data-project] .v4-sec { scroll-margin-top: calc(var(--nav-h) + 56px); }
/* section menu sits below the main bar while it shows; takes the top when the bar hides on scroll */
.v4-subnav { top: var(--nav-h); transition: top .6s var(--ease-out); }
body:has(.nav.is-hidden) .v4-subnav { top: 0; }
.v4-gmap iframe { display: block; width: 100%; height: 100%; border: 0; }
.v4-map.v4-gmap--wide { aspect-ratio: 16 / 7; max-height: 480px; margin-top: clamp(24px, 4vh, 40px); }
@media (max-width: 900px) { .v4-map.v4-gmap--wide { aspect-ratio: 4 / 3; } }

/* Project sections ------------------------------------------------------------- */
.v4-two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.v4-ticks { display: grid; gap: 0; }
.v4-ticks li { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -.02em; }
.v4-ticks li:first-child { border-top: 1px solid var(--rule); }
.v4-ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ochre); transform: translateY(-2px); }
.v4-loc { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 32px; }
.v4-map { aspect-ratio: 1 / 1; max-height: 620px; border-radius: 16px; overflow: hidden; background: var(--bg); }
.v4-map svg { display: block; width: 100%; height: 100%; }
.v4-map .m-bg { fill: var(--bg); }
.v4-map .m-road { stroke: var(--bg-2); }
.v4-map .m-ring { fill: none; stroke: var(--line); stroke-dasharray: 3 6; opacity: .7; }
.v4-map .m-tick { font: 12px var(--f-text); fill: var(--ink-2); }
.v4-map .m-walk { fill: rgba(200, 134, 29, .08); stroke: var(--ochre); stroke-dasharray: 4 7; }
.v4-map .m-pin { fill: var(--ink); }
.v4-map .m-name { font: 600 15px var(--f-display); fill: var(--ink); }
.v4-map .lm text { font: 13px var(--f-text); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.v4-map .lm .dot { transition: r .3s; }
.v4-map .lm.is-on .dot { r: 9; }
.c-school { color: #7E7871; background: #7E7871; }
.c-health { color: #B5483B; background: #B5483B; }
.c-work { color: #5E6B2D; background: #5E6B2D; }
.c-landmark { color: #7A5A9B; background: #7A5A9B; }
html[data-mode="night"] .c-school { color: #B4AEA9; background: #B4AEA9; }
html[data-mode="night"] .c-health { color: #E38A7E; background: #E38A7E; }
html[data-mode="night"] .c-work { color: #B4C46C; background: #B4C46C; }
html[data-mode="night"] .c-landmark { color: #B79BD6; background: #B79BD6; }
.v4-places li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.v4-places li:first-child { border-top: 1px solid var(--rule); }
.v4-places li.is-on { background: linear-gradient(90deg, rgba(200, 134, 29, .14), transparent 70%); }
.v4-places i { width: 10px; height: 10px; border-radius: 50%; }
.v4-places li.note { color: var(--ink-2); font-size: var(--t-small); }
.v4-places li.note i { width: 6px; height: 6px; justify-self: center; background: var(--line); }
.v4-places b { font-weight: 500; }
.v4-places small { display: block; font-size: var(--t-label); color: var(--ink-2); }
.v4-places .t { font-family: var(--f-display); font-weight: 600; white-space: nowrap; }
.v4-sec .textlink { margin-top: 18px; display: inline-block; }

.v4-ex { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: 32px; }
.v4-ex-stage { position: relative; min-height: clamp(380px, 62vh, 620px); border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 60%, #383634 0%, #242321 70%); }
.v4-ex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.v4-ex-stage.no-webgl .v4-ex-canvas, .v4-ex-stage.no-webgl .v4-ex-tools { display: none; }
.v4-ex-stage.no-webgl { background: #242321 url(../img/apt-day-1200.webp) center / cover; }
.v4-ex-tools { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: #fff; font-size: var(--t-label); }
.v4-ex-note { position: absolute; left: 16px; top: 14px; font-size: .75rem; color: #CFCECC; }
.v4-ex-panel { display: flex; flex-direction: column; gap: 22px; }
.v4-floors { display: grid; gap: 6px; }
.v4-floor { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(245, 244, 240, .18); background: transparent; color: var(--paper); cursor: pointer; text-align: left; transition: background-color .3s, border-color .3s; }
.v4-floor:hover { border-color: rgba(245, 244, 240, .5); }
.v4-floor[aria-pressed="true"] { background: var(--paper); color: var(--granite); }
.v4-floor b { font-family: var(--f-display); font-weight: 600; }
.v4-floor .dots { display: flex; gap: 5px; }
.v4-floor .dots i { width: 10px; height: 10px; border-radius: 3px; background: currentColor; opacity: .55; }
.v4-floor small { font-size: var(--t-label); }
.v4-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.v4-unit { padding: 14px; border-radius: 10px; background: var(--night-2); border: 1px solid rgba(245, 244, 240, .16); display: grid; gap: 4px; }
.v4-unit b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.v4-unit span { font-size: var(--t-label); color: var(--mist); }
.v4-unit .face { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); }
.v4-unit .face svg { width: 14px; height: 14px; color: var(--ochre-soft); }
.v4-dl { display: grid; gap: 0; }
.v4-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(245, 244, 240, .16); }
.v4-dl dt { color: var(--mist); }

.v4-plan { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 22px; }
.v4-plan-fig { background: var(--surface); border-radius: 16px; padding: clamp(14px, 2.2vw, 32px); }
.v4-plan-fig svg { display: block; width: 100%; height: auto; }
.v4-plan-fig .pl-wall { fill: none; stroke: var(--ink); stroke-width: 6; }
.v4-plan-fig .room { cursor: pointer; }
.v4-plan-fig .room path { fill: var(--bg); stroke: var(--ink); stroke-width: 3; transition: fill .3s; }
.v4-plan-fig .room text { font: 15px var(--f-text); fill: var(--ink); pointer-events: none; }
.v4-plan-fig .room:hover path { fill: color-mix(in srgb, var(--ochre) 18%, var(--bg)); }
.v4-plan-fig .room.is-on path { fill: color-mix(in srgb, var(--ochre) 36%, var(--bg)); }
.v4-rooms button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--ink); text-align: left; cursor: pointer; }
.v4-rooms li:first-child button { border-top: 1px solid var(--rule); }
.v4-rooms span { font-size: var(--t-small); color: var(--ink-2); }
.v4-rooms em { grid-column: 1 / -1; font-style: normal; font-size: var(--t-small); color: var(--ink-2); display: none; }
.v4-rooms button[aria-pressed="true"] em { display: block; }
.v4-rooms button[aria-pressed="true"] b { color: var(--accent); }
.v4-plan .v4-row { margin-top: 18px; }
.v4-plan .textlink { margin-top: 0; }
.v4-spec { display: grid; }
.v4-spec div { display: grid; grid-template-columns: minmax(120px, .4fr) 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-small); }
.v4-spec div:first-child { border-top: 1px solid var(--rule); }
.v4-spec dt { color: var(--ink-2); }
.v4-amgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 28px; }
.v4-amg { padding: 22px; border-radius: 16px; background: var(--surface); }
.v4-amg h3 { font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teak-ink); margin-bottom: 12px; }
.v4-amg li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: var(--t-small); }

.v4-tablewrap { overflow-x: auto; margin-top: 28px; border-radius: 14px; border: 1px solid var(--rule); background: var(--bg); }
.v4-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); min-width: 560px; }
.v4-table th, .v4-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.v4-table thead th { font-size: var(--t-label); font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.v4-table tbody th { font-family: var(--f-display); font-weight: 600; }
.v4-table tr:last-child th, .v4-table tr:last-child td { border-bottom: 0; }
.v4-table small { display: block; color: var(--ink-2); font-size: var(--t-label); }
.v4-tools { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; margin-top: 14px; }
.v4-tool { padding: clamp(20px, 2.4vw, 32px); border-radius: 16px; background: var(--bg); display: grid; gap: 16px; align-content: start; }
.v4-tool--dark { background: var(--granite); color: var(--paper); }
html[data-mode="night"] .v4-tool--dark { background: #0D0C0C; }
.v4-tool--dark .v4-fine { color: #C0C0BF; }
.v4-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.v4-fields .v4-fld:first-child { grid-column: 1 / -1; }
.v4-fld { display: grid; gap: 6px; font-size: var(--t-small); }
.v4-fld > span { display: flex; justify-content: space-between; font-weight: 500; }
.v4-fld input:not([type=range]), .v4-fld select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; }
.v4-tool--dark .v4-fld input:not([type=range]) { background: rgba(255, 255, 255, .06); border-color: #737270; color: var(--paper); }
.v4-fld input:focus, .v4-fld select:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.v4-tool--dark .v4-fld input:focus { outline-color: var(--ochre-soft); }
.v4-fld input[type=range] { width: 100%; accent-color: var(--ochre-soft); min-height: 32px; }
.v4-break { display: grid; border-top: 1px solid var(--rule); }
.v4-break div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.v4-break dt { color: var(--ink-2); }
.v4-break .tot { border-bottom: 0; padding-top: 14px; }
.v4-break .tot dt, .v4-break .tot dd { color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.v4-emi-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(245, 244, 240, .18); }
.v4-emi-out b { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.03em; }
.v4-emi-out span { color: #C0C0BF; font-size: var(--t-small); }

.v4-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.v4-info { padding: 24px; border-radius: 16px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.v4-info .k { font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.v4-info .v { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; }
.v4-info .textlink { margin-top: 4px; justify-self: start; font-size: var(--t-small); }
.v4-update { display: grid; gap: 12px; justify-items: start; padding: 26px; border-radius: 16px; background: var(--bg); }
.v4-faq details { border-bottom: 1px solid var(--rule); }
.v4-faq details:first-child { border-top: 1px solid var(--rule); }
.v4-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 500; }
.v4-faq summary::-webkit-details-marker { display: none; }
.v4-faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease-out); }
.v4-faq details[open] summary::after { transform: rotate(45deg); }
.v4-faq p { padding: 0 0 18px; color: var(--ink-2); font-size: var(--t-small); max-width: 42em; }

/* Contact band ----------------------------------------------------------------- */
.v4-contact { background: var(--night); color: var(--paper); padding: clamp(72px, 11vh, 128px) 0 clamp(48px, 7vh, 72px); }
.v4-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.v4-act { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 22px; min-height: 92px; border-radius: 16px; border: 1px solid rgba(245, 244, 240, .16); background: var(--night-2); color: var(--paper); text-decoration: none; text-align: left; cursor: pointer; font: inherit; transition: border-color .3s, transform .3s var(--ease-out); }
.v4-act svg { grid-row: 1 / span 2; width: 26px; height: 26px; color: var(--ochre-soft); }
.v4-act b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.v4-act span { font-size: var(--t-label); color: var(--mist); }
.v4-act:hover { border-color: rgba(245, 244, 240, .5); transform: translateY(-2px); }
.v4-act--key { background: var(--ochre-ink); border-color: var(--ochre-ink); }
.v4-act--key svg, .v4-act--key span { color: #FBEAD0; }
.v4-office { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(245, 244, 240, .14); font-size: var(--t-small); }
.v4-office span { display: block; font-size: var(--t-label); color: var(--mist); }
.v4-office a { text-decoration: none; }
.v4-office a:hover { text-decoration: underline; }
.v4-contact :focus-visible, .v4-sec--night :focus-visible, .v4-phero :focus-visible { outline-color: var(--ochre-soft); }
.v4-toast { position: fixed; left: 50%; top: calc(var(--nav-h) + 12px); z-index: 300; transform: translate(-50%, -16px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--granite); color: var(--paper); font-size: var(--t-small); font-weight: 500; transition: opacity .3s, transform .4s var(--ease-out); max-width: calc(100vw - 32px); text-align: center; }
.v4-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Home additions ---------------------------------------------------------------- */
.v4-find { background: var(--bg); padding: clamp(80px, 12vh, 140px) 0 clamp(56px, 9vh, 104px); }
.v4-find-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 32px; }
.v4-find .v4-filters { grid-template-columns: repeat(auto-fit, minmax(240px, max-content)); gap: 10px 24px; margin: 28px 0 28px; }
.v4-why { background: var(--surface); padding: clamp(80px, 12vh, 140px) 0; }
.v4-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--rule); }
.v4-why-item { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.v4-why-item:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.v4-why-item b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.v4-why-item h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; }
.v4-why-item p { color: var(--ink-2); font-size: var(--t-small); }
.v4-budget { background: var(--bg); padding: 0 0 clamp(80px, 12vh, 140px); }
.v4-budget .v4-tools { margin-top: 0; }

/* Ask Hanu ---------------------------------------------------------------------- */
.ah-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 160;
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px; border-radius: 999px; border: 0;
  background: var(--ochre-ink); color: #fff; font: 600 .95rem var(--f-text); cursor: pointer; box-shadow: 0 14px 34px -12px rgba(20, 18, 17, .55);
  transition: transform .4s var(--ease-out), background-color .3s;
}
.ah-fab svg { width: 22px; height: 22px; }
.ah-fab:hover { transform: translateY(-2px); background: var(--ochre-ink-hover); }
.ah-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.v4-cmpbar:not([hidden]) ~ * .ah-fab { bottom: 84px; }
.ah {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 170;
  width: min(420px, calc(100vw - 32px)); height: min(680px, calc(100svh - 32px)); display: flex; flex-direction: column;
  background: var(--surface); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px -24px rgba(20, 18, 17, .6); border: 1px solid var(--rule);
}
.ah[hidden] { display: none; }
.motion .ah:not([hidden]) { animation: ahIn .45s var(--ease-out); }
@keyframes ahIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ah-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--granite); color: var(--paper); }
html[data-mode="night"] .ah-head { background: #0D0C0C; }
.ah-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ochre); color: #fff; font: 700 1rem var(--f-display); flex: none; }
.ah-head div { flex: 1; }
.ah-head h2 { font: 600 1.05rem var(--f-display); }
.ah-head p { font-size: var(--t-label); color: #C0C0BF; }
.ah-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; }
.ah-x:hover { background: rgba(255, 255, 255, .1); }
.ah-x svg { width: 20px; height: 20px; }
.ah-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.ah-msg { max-width: 92%; padding: 12px 14px; border-radius: 16px; font-size: var(--t-small); line-height: 1.5; }
.ah-msg p + p, .ah-msg p + .ah-table, .ah-msg .ah-table + p, .ah-msg ul + p { margin-top: 8px; }
.ah-msg ul { margin-top: 6px; display: grid; gap: 4px; }
.ah-msg li { position: relative; padding-left: 14px; }
.ah-msg li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--ochre); }
.ah-msg--bot { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; border: 1px solid var(--rule-2); }
.ah-msg--me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.ah-msg--form { width: 92%; }
.ah-msg--ok { background: color-mix(in srgb, #3C8A5B 14%, var(--surface)); border-color: color-mix(in srgb, #3C8A5B 30%, transparent); }
.ah-sent { display: flex; gap: 8px; align-items: flex-start; }
.ah-sent svg { width: 18px; height: 18px; flex: none; color: #3C8A5B; margin-top: 1px; }
html[data-mode="night"] .ah-sent svg { color: #7FD19E; }
.ah-form { display: grid; gap: 10px; margin-top: 2px; }
.ah-form label { display: grid; gap: 5px; font-size: var(--t-label); font-weight: 500; }
.ah-form input:not([type=checkbox]) { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; font-size: 1rem; }
.ah-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.ah-tel { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.ah-tel b { padding: 0 4px 0 12px; font-weight: 500; color: var(--ink-2); }
.ah-tel input:not([type=checkbox]) { border: 0; background: transparent; }
.ah-tel:focus-within { outline: 2px solid var(--accent); }
.ah-tel input:focus { outline: 0; }
.ah-consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; color: var(--ink-2); line-height: 1.45; }
.ah-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ochre-ink); }
.ah-consent a { color: inherit; }
.ah-err { font-size: var(--t-label); color: var(--danger); min-height: 1px; }
.ah-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ochre-ink); color: #fff; font: 600 .9rem var(--f-text); text-decoration: none; cursor: pointer; }
.ah-btn:hover { background: var(--ochre-ink-hover); }
.ah-btn:disabled { opacity: .5; cursor: default; }
.ah-link { background: none; border: 0; padding: 4px 0; color: var(--ink); font: inherit; font-size: var(--t-small); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ah-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; }
.ah-demo { padding: 8px 10px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--line); font-size: var(--t-label); }
.ah-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ah-chip { min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); font: 500 .8125rem var(--f-text); cursor: pointer; white-space: nowrap; }
.ah-chip:hover { border-color: var(--ink); }
.ah-chip:disabled { opacity: .45; cursor: default; }
.ah-quick { display: flex; gap: 6px; padding: 10px 14px; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid var(--rule); background: var(--surface); }
.ah-quick[hidden] { display: none; }
.ah-quick .ah-chip { flex: none; }
.ah-input { display: flex; gap: 8px; padding: 10px 14px 12px; background: var(--surface); }
.ah-input[hidden] { display: none; }
.ah-input input { flex: 1; min-height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; }
.ah-input input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.ah-input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; }
.ah-input button svg { width: 20px; height: 20px; }
.ah-proto { padding: 6px 14px 10px; font-size: .72rem; color: var(--ink-2); background: var(--surface); text-align: center; }
.ah-cards { display: grid; gap: 8px; margin-top: 8px; }
.ah-card { padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--rule-2); }
.ah-card h3 { font: 600 1rem var(--f-display); margin: 2px 0; }
.ah-card p { font-size: var(--t-label); color: var(--ink-2); }
.ah-card .ah-st { color: var(--accent); font-weight: 600; }
.ah-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ah-table th, .ah-table td { padding: 7px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.ah-table td { text-align: right; font-weight: 500; }
.ah-table tr.tot th, .ah-table tr.tot td { font-weight: 700; border-bottom: 0; padding-top: 10px; }
.ah-fine { font-size: .75rem; color: var(--ink-2); }
.ah-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ah-emi-out { font-size: var(--t-small); }
.ah-plan { width: 100%; height: auto; margin-top: 8px; background: var(--bg); border-radius: 8px; }
.ah-plan rect { fill: none; stroke: var(--ink); stroke-width: 6; }
.ah-plan path { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.ah-plan text { font: 22px var(--f-text); fill: var(--ink); }

/* Responsive ------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .v4-acts { grid-template-columns: repeat(2, 1fr); }
  .v4-why-grid { grid-template-columns: repeat(2, 1fr); }
  .v4-why-item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .v4-why-item:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  .v4-two, .v4-loc, .v4-ex, .v4-plan, .v4-tools, .v4-cards3 { grid-template-columns: 1fr; }
  .v4-ex-stage { min-height: 52vh; }
  .v4-find-head { grid-template-columns: 1fr; }
  .v4-facts div { padding-right: 18px; margin-right: 0; }
  .v4-phero { min-height: 92svh; }
}
@media (max-width: 600px) {
  .v4-acts, .v4-why-grid { grid-template-columns: 1fr; }
  .v4-why-item:nth-child(2n) { padding-left: 0; border-left: 0; }
  .v4-fields { grid-template-columns: 1fr; }
  .v4-mini { grid-template-columns: repeat(2, auto); }
  .v4-phero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .v4-map .lm text { font-size: 22px; stroke-width: 6px; }
  .ah { right: 0; bottom: 0; width: 100vw; height: 88svh; border-radius: 20px 20px 0 0; }
  .ah-fab span { display: none; }
  .ah-fab { padding: 0 16px; }
  body.ah-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .v4-rv { opacity: 1; transform: none; }
}
.v4-home .v4-cmp { font-size: var(--t-label); }
.v4-home .v4-find .v4-filters { display: flex; flex-wrap: wrap; }
@media (min-width: 901px) { .v4-home .hero-foot { padding-right: 170px; } }

/* Project cards: one row --------------------------------------------------- */
.v4-grid { display: flex; gap: clamp(12px, 1.2vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0 40px; margin: -10px 0 -40px; }
.v4-grid::-webkit-scrollbar { display: none; }
.v4-grid > .v4-card { flex: 1 1 0; min-width: 228px; max-width: 420px; scroll-snap-align: start; }
.v4-grid .v4-card-media { aspect-ratio: 4 / 5; }
.v4-grid .v4-card-body { padding: 18px 18px 20px; gap: 10px; }
.v4-grid .v4-where { font-size: var(--t-label); }
.v4-grid .v4-card-title { font-size: clamp(1.2rem, 1.35vw, 1.45rem); }
.v4-grid .v4-mini { grid-template-columns: 1fr; gap: 0; padding: 4px 0; }
.v4-grid .v4-mini > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; }
.v4-grid .v4-mini > div + div { border-top: 1px solid var(--rule); }
.v4-grid .v4-mini dd { margin: 0; text-align: right; }
.v4-grid .v4-card-foot { flex-wrap: wrap; gap: 4px 12px; }
.v4-grid .v4-cmp { font-size: var(--t-label); min-height: 40px; }
@media (max-width: 900px) {
  .v4-grid { margin-inline: calc(var(--gutter, 20px) * -1); padding-inline: var(--gutter, 20px); scroll-padding-inline: var(--gutter, 20px); }
  .v4-grid > .v4-card { flex: 0 0 min(76vw, 320px); }
  .v4-grid .v4-card-media { aspect-ratio: 4 / 3; }
}

/* Why Hanu: "Built to be checked" — blueprint stage + checklist ------------ */
.vw { --bp: #1C1A19; --bp-ink: #E9E5DC; --bp-mist: #A09E9D; --bp-acc: #E0A64A; overflow: hidden; }
html[data-mode="night"] .vw { --bp: #292826; }
.vw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.vw-score { display: flex; align-items: center; gap: 14px; font-size: var(--t-small); color: var(--ink-2); padding-bottom: 10px; }
.vw-score b { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.vw-boxes { display: flex; gap: 5px; }
.vw-boxes i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--rule); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.vw-boxes i.on { background: var(--accent); border-color: var(--accent); transform: rotate(45deg) scale(.8); }
.vw-body { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); margin-top: clamp(32px, 5vh, 56px); align-items: start; }

/* stage */
.vw-stage { position: sticky; top: calc(var(--nav-h) + 16px); perspective: 1400px; }
.vw-sheet {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 30%;
  position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; color: var(--bp-ink);
  background:
    linear-gradient(rgba(233, 229, 220, .07) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(90deg, rgba(233, 229, 220, .07) 1px, transparent 1px) 0 0 / 15% 100%,
    linear-gradient(rgba(233, 229, 220, .028) 1px, transparent 1px) 0 0 / 100% 4%,
    linear-gradient(90deg, rgba(233, 229, 220, .028) 1px, transparent 1px) 0 0 / 3% 100%,
    radial-gradient(120% 90% at 70% 60%, #32302D 0%, var(--bp) 62%);
  box-shadow: 0 40px 80px -48px rgba(13, 12, 11, .7), inset 0 0 0 1px rgba(233, 229, 220, .08);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out);
}
.vw-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 40% at var(--gx) var(--gy), rgba(224, 166, 74, .13), transparent 70%); transition: background .2s; }
.vw-sheet::before, .vw-sheet::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid rgba(233, 229, 220, .35); pointer-events: none; }
.vw-sheet::before { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.vw-sheet::after { bottom: 52px; left: 14px; border-right: 0; border-top: 0; }
.vw-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vw-hud { position: absolute; left: clamp(18px, 2.4vw, 32px); top: clamp(16px, 2.2vw, 28px); pointer-events: none; }
.vw-big { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: .95; letter-spacing: -.045em; color: var(--bp-acc); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vw-big .ch { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(6deg); }
.vw-big.in .ch { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i) * 40ms); }
.vw-cap { margin-top: 10px; font-size: var(--t-small); color: var(--bp-mist); }
.vw-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-top: 1px solid rgba(233, 229, 220, .1); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; color: var(--bp-mist); }
.vw-stamp { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 7px; border: 1.5px solid var(--bp-acc); border-radius: 6px; color: var(--bp-acc); font-weight: 700; opacity: 0; transform: scale(1.6) rotate(-8deg); }
.vw-stamp svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vw-sheet.done .vw-stamp { opacity: 1; transform: rotate(-4deg); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }

/* drawing vocabulary */
.vw-svg .tx { font-family: var(--f-text); fill: var(--bp-ink); font-size: 14px; }
.vw-svg .tx.sm { font-size: 11.5px; fill: var(--bp-mist); letter-spacing: .02em; }
.vw-svg .tx.b { font-weight: 600; font-size: 13px; fill: var(--bp-ink); }
.vw-svg .tx.dk { fill: #2B2A26; }
.vw-svg .ln, .vw-svg .ln2 { fill: none; stroke: rgba(233, 229, 220, .55); stroke-width: 1.4; }
.vw-svg .ln2 { stroke: var(--bp-acc); stroke-width: 2; }
.vw-svg .dash { stroke-dasharray: 2 6; }
.vw-svg .chk { fill: none; stroke: var(--bp-acc); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.vw-svg .chk.sm { stroke-width: 2.4; }
.vw-svg .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.vw-svg .scene.on .dr { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out) var(--d, 0s); }
.vw-svg .fd { opacity: 0; }
.vw-svg .scene.on .fd { opacity: 1; transition: opacity .6s var(--ease-out) var(--d, 0s); }
.vw-svg .pop { transform-box: fill-box; transform-origin: center; transform: scale(.3); opacity: 0; }
.vw-svg .scene.on .pop { transform: none; opacity: 1; transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s), opacity .3s var(--d, 0s); }
/* 01 */
.vw-svg .up { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.vw-svg .scene.on .up { transform: none; transition: transform 1.1s var(--ease-out) var(--d, 0s); }
.vw-svg .bfill { fill: var(--bp-acc); }
.vw-svg .bsoon { fill: none; stroke: rgba(233, 229, 220, .35); stroke-width: 1.2; stroke-dasharray: 2 4; }
.vw-svg .bline { fill: rgba(233, 229, 220, .04); stroke: rgba(233, 229, 220, .6); stroke-width: 1.3; stroke-dasharray: 4 3; }
.vw-svg .win { stroke: rgba(28, 26, 25, .45); stroke-width: 5; }
.vw-svg .win2 { stroke: rgba(233, 229, 220, .18); stroke-width: 5; }
.vw-svg .crane { fill: none; stroke: var(--bp-acc); stroke-width: 1.5; }
/* 02 */
.vw-svg .stamp { transform-box: view-box; transform-origin: 300px 214px; transform: scale(1.25); opacity: 0; }
.vw-svg .scene.on .stamp { transform: none; opacity: 1; transition: transform .6s cubic-bezier(.5, 0, .3, 1.3), opacity .25s; }
.vw-svg .spin { transform-box: view-box; transform-origin: 300px 214px; animation: vw-spin 40s linear infinite; }
.vw-svg .spin.slow { animation-duration: 28s; animation-direction: reverse; }
.vw-svg .ring { font-size: 10.5px; letter-spacing: 3.1px; fill: var(--bp-ink); font-weight: 600; }
.vw-svg .disc { fill: rgba(224, 166, 74, .14); stroke: rgba(224, 166, 74, .5); stroke-width: 1; }
@keyframes vw-spin { to { transform: rotate(360deg); } }
/* 03 */
.vw-svg .wall { fill: rgba(233, 229, 220, .05); stroke: var(--bp-ink); stroke-width: 5; }
.vw-svg .part { fill: none; stroke: rgba(233, 229, 220, .45); stroke-width: 1.5; }
.vw-svg .slide.sl { transform: translateX(12px); }
.vw-svg .slide.sr { transform: translateX(-12px); }
.vw-svg .scene.on .slide { transform: none; transition: transform 1.1s cubic-bezier(.65, 0, .25, 1) var(--d, 0s); }
.vw-svg .acc { fill: none; stroke: var(--bp-acc); stroke-width: 1.6; stroke-linecap: round; }
.vw-svg .tx.acc-t { fill: var(--bp-acc); }
/* 04 */
.vw-svg .tick { stroke: rgba(233, 229, 220, .3); stroke-width: 1; }
.vw-svg .tick.big { stroke: rgba(233, 229, 220, .7); stroke-width: 1.6; }
.vw-svg .arc { fill: none; stroke: var(--bp-acc); stroke-width: 6; stroke-linecap: round; }
.vw-svg .dir { font-family: var(--f-display); font-weight: 600; font-size: 16px; fill: var(--bp-mist); }
.vw-svg .dir.on { fill: var(--bp-acc); }
.vw-svg .needle { transform-box: view-box; transform-origin: 300px 198px; transform: rotate(-170deg); }
.vw-svg .scene.on .needle { transform: rotate(45deg); transition: transform 1.9s cubic-bezier(.25, 1.45, .45, 1) .35s; }
.vw-svg .nd-a { fill: var(--bp-acc); }
.vw-svg .nd-b { fill: rgba(233, 229, 220, .35); }
.vw-svg .nd-c { fill: var(--bp); stroke: var(--bp-ink); stroke-width: 2; }
/* 05 */
.vw-svg .tag { transform: translateX(60px); opacity: 0; }
.vw-svg .scene.on .tag { transform: none; opacity: 1; transition: transform .8s var(--ease-out) var(--d, 0s), opacity .4s var(--d, 0s); }
.vw-svg .tagb { fill: rgba(233, 229, 220, .05); stroke: rgba(233, 229, 220, .22); stroke-width: 1; }
/* 06 */
.vw-svg .doc { transform-box: fill-box; transform-origin: 50% 100%; }
.vw-svg .scene.on .doc { transition: transform 1.1s cubic-bezier(.3, 1.3, .4, 1) var(--d, 0s); }
.vw-svg .scene.on .doc.dl { transform: translate(-86px, 10px) rotate(-12deg); }
.vw-svg .scene.on .doc.dr2 { transform: translate(86px, 10px) rotate(12deg); }
.vw-svg .scene.on .doc.dm { transform: translateY(-10px); }
.vw-svg .paper { fill: #F2EFE8; stroke: rgba(0, 0, 0, .12); }
.vw-svg .txl { stroke: rgba(38, 37, 34, .22); stroke-width: 4; stroke-linecap: round; }
.vw-svg .txl.acc2 { stroke: var(--bp-acc); }
.vw-svg .sweep { animation: vw-sweep 3.6s ease-in-out infinite alternate; }
.vw-svg .lens-g { fill: rgba(224, 166, 74, .12); stroke: var(--bp-acc); stroke-width: 3; }
.vw-svg .lens-h { stroke: var(--bp-acc); stroke-width: 6; stroke-linecap: round; }
@keyframes vw-sweep { from { transform: translate(-100px, -30px); } to { transform: translate(90px, 10px); } }

/* checklist */
.vw-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.vw-item { position: relative; border-bottom: 1px solid var(--rule); }
.vw-row { width: 100%; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 12px; padding: 20px 0; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.vw-n { font-family: var(--f-display); font-size: var(--t-label); font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; transition: color .3s; }
.vw-t { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -.02em; line-height: 1.2; color: var(--ink-2); transition: color .35s, transform .5s var(--ease-out); }
.vw-row:hover .vw-t, .vw-item.is-on .vw-t { color: var(--ink); }
.vw-item.is-on .vw-n { color: var(--accent); }
.vw-tick svg { width: 26px; height: 26px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.vw-tick circle { stroke: var(--rule); stroke-width: 1.5; }
.vw-tick path { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.vw-item.is-checked .vw-tick circle { stroke: var(--accent); }
.vw-item.is-checked .vw-tick path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease-out) .1s; }
.vw-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.vw-desc > div { overflow: hidden; }
.vw-desc p { padding: 0 40px 22px 56px; color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; max-width: 40em; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease-out); }
.vw-item.is-on .vw-desc { grid-template-rows: 1fr; }
.vw-item.is-on .vw-desc p { opacity: 1; transform: none; transition-delay: .12s; }
.vw-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.vw-item:not(.is-on) .vw-bar { opacity: 0; }
.vw-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

@media (max-width: 900px) {
  .vw-body { grid-template-columns: 1fr; }
  .vw-stage { position: relative; top: 0; }
  .vw-desc p { padding-right: 0; }
}
@media (max-width: 600px) {
  .vw-sheet { border-radius: 14px; }
  .vw-foot { height: 38px; padding: 0 12px; font-size: .6875rem; }
  .vw-sheet::after { bottom: 46px; }
  .vw-row { grid-template-columns: 34px 1fr 26px; padding: 16px 0; }
  .vw-desc p { padding-left: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .vw-svg *, .vw-sheet, .vw-big .ch, .vw-stamp { transition: none !important; animation: none !important; }
}

/* Our homes: every card the same size ------------------------------------- */
@media (min-width: 901px) {
  .v4-home .proj { grid-template-columns: 44vw 20vw; align-items: center; align-self: center; padding: 0; }
  .v4-home .proj .proj-media { height: min(64vh, 34vw); order: 0; }
  .v4-home .proj .proj-info { order: 1; align-self: center; padding: 0; max-width: none; }
  .v4-home .proj-inset { display: none; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .v4-home .proj { grid-template-columns: 46vw 28vw; }
}

/* Amenities by project ------------------------------------------------------ */
.am { margin-top: clamp(72px, 12vh, 140px); }
.am-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.am-sub { margin-top: 10px; color: var(--ink-2); font-size: var(--t-small); }
.am-count { display: flex; align-items: center; gap: 14px; }
.am-count b { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 1.15em; text-align: right; }
.am-count > span { display: grid; font-size: var(--t-small); line-height: 1.35; }
.am-unit { font-weight: 600; color: var(--ink); }
.am-where { color: var(--ink-2); }
.am-chips { display: flex; gap: 8px; margin: clamp(24px, 4vh, 36px) 0 clamp(20px, 3vh, 28px); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.am-chips::-webkit-scrollbar { display: none; }
.am-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: 500 var(--t-small)/1 var(--f-text); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.am-chip:first-child { padding-right: 16px; }
.am-chip:hover { border-color: var(--ink); }
.am-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.am-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--rule-2); font-size: var(--t-label); font-variant-numeric: tabular-nums; }
.am-chip[aria-pressed="true"] .am-badge { background: var(--accent); color: #fff; }
.am-chip:focus-visible, .am-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.am-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.am-group h4 { margin: 0 0 10px; font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teak-ink); }
.am-group ul { list-style: none; margin: 0; padding: 0; }
.am-item { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 10px 6px 10px 0; border-top: 1px solid var(--rule); cursor: default; outline: none;
  transition: opacity .45s var(--ease-out) calc(var(--o, 0) * 30ms), filter .45s calc(var(--o, 0) * 30ms); }
.am-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--rule-2); color: var(--ink); transition: background-color .45s, color .45s, transform .5s var(--ease-out); }
.am-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.am-ic .dim { opacity: .35; }
.am-ic .run { stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 5 55; animation: am-run 3.2s linear infinite; animation-play-state: paused; }
.am-txt { display: grid; min-width: 0; }
.am-name { font-size: var(--t-body); font-weight: 500; transition: transform .45s var(--ease-out); }
.am-at { font-size: var(--t-label); color: var(--ink-2); display: grid; grid-template-rows: 0fr; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s var(--ease-out), opacity .3s, margin .4s; }
.am-dots { display: flex; gap: 4px; }
.am-dots i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--rule); transition: transform .35s var(--ease-out), background-color .3s, border-color .3s; }
.am-dots i.y { background: var(--ink-2); border-color: var(--ink-2); }
.am-dots i.sel { transform: scale(1.6); border-color: var(--accent); }
.am-dots i.y.sel { background: var(--accent); }

/* hover / focus / tap: lift the icon, say where it is, play its little motion */
.am-item:hover .am-ic, .am-item.is-peek .am-ic { background: var(--accent); color: #fff; transform: translateY(-2px) rotate(-4deg); }
.am-item.is-peek .am-at { max-height: 2.6em; opacity: 1; margin-top: 2px; }
.am-item:hover .am-ic .a, .am-item.is-peek .am-ic .a { animation-play-state: running; }
.am-item:hover .am-ic .run, .am-item.is-peek .am-ic .run { stroke: #fff; }

/* filtered: what this project has is lit, the rest steps back */
.am.is-filtered .am-item:not(.is-off) .am-ic { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.am.is-filtered .am-item:not(.is-off):hover .am-ic, .am.is-filtered .am-item:not(.is-off).is-peek .am-ic { background: var(--accent); color: #fff; }
.am-item.is-off { opacity: .32; filter: grayscale(1); }
.am-item.is-off .am-name { text-decoration: line-through; text-decoration-color: var(--rule); }

/* draw-in */
.am-item.draw .am-ic svg *:not(g):not(.run) { stroke-dasharray: 1; animation: am-draw .9s var(--ease-out) both; animation-delay: calc(var(--o, 0) * 45ms); }
.am-item.draw .am-name { animation: am-rise .6s var(--ease-out) both; animation-delay: calc(var(--o, 0) * 45ms); }
.am.am-pre .am-item { opacity: 0; }
.am.am-pre .am-count b { opacity: 0; }
@keyframes am-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes am-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* each icon's own motion (paused until hovered) */
.am-ic .a { transform-box: fill-box; animation-play-state: paused; animation-iteration-count: infinite; }
.am-ic .sw { transform-origin: 50% 0; animation: am-swing 1.4s ease-in-out infinite alternate paused; }
.am-ic .lf { transform-origin: center; animation: am-lift .9s ease-in-out infinite alternate paused; }
.am-ic .br { transform-origin: 50% 100%; animation: am-breathe 1.8s ease-in-out infinite alternate paused; }
.am-ic .bob { transform-origin: 50% 100%; animation: am-bob 1.3s ease-in-out infinite alternate paused; }
.am-ic .scan { stroke: var(--accent); animation: am-scan 1.2s ease-in-out infinite alternate paused; }
.am-item:hover .am-ic .scan, .am-item.is-peek .am-ic .scan { stroke: #fff; }
.am-ic .w1 { animation: am-blink 1.2s ease-in-out infinite paused; }
.am-ic .w2 { animation: am-blink 1.2s ease-in-out .3s infinite paused; }
.am-ic .sh { animation: am-shackle 1.2s ease-in-out infinite alternate paused; }
.am-ic .pan { transform-origin: 30% 80%; animation: am-pan 2s ease-in-out infinite alternate paused; }
.am-ic .ck { stroke-dasharray: 1; animation: am-redraw 1.6s ease-in-out infinite paused; }
.am-ic .drv { animation: am-drive 1.4s ease-in-out infinite alternate paused; }
.am-ic .up { animation: am-up .9s ease-in-out infinite alternate paused; }
.am-ic .dn { animation: am-dn .9s ease-in-out infinite alternate paused; }
.am-ic .fl { animation: am-flick 1.4s steps(1) infinite paused; }
.am-ic .rn { animation: am-rain .9s linear infinite paused; }
.am-item.draw .am-ic .ck { animation: am-draw .9s var(--ease-out) both, am-redraw 1.6s ease-in-out 1s infinite paused; }
@keyframes am-run { to { stroke-dashoffset: -60; } }
@keyframes am-swing { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@keyframes am-lift { from { transform: translateY(1.5px); } to { transform: translateY(-2.5px); } }
@keyframes am-breathe { from { transform: scale(.94); } to { transform: scale(1.06); } }
@keyframes am-bob { from { transform: translateY(1px) rotate(-4deg); } to { transform: translateY(-2px) rotate(4deg); } }
@keyframes am-scan { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes am-blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes am-shackle { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes am-pan { from { transform: rotate(-10deg); } to { transform: rotate(8deg); } }
@keyframes am-redraw { 0% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes am-drive { from { transform: translateX(-1.5px); } to { transform: translateX(1.5px); } }
@keyframes am-up { from { transform: translateY(1px); } to { transform: translateY(-2px); } }
@keyframes am-dn { from { transform: translateY(-1px); } to { transform: translateY(2px); } }
@keyframes am-flick { 0%, 40%, 60%, 100% { opacity: 1; } 50%, 55% { opacity: .2; } }
@keyframes am-rain { from { transform: translateY(-2px); opacity: 1; } to { transform: translateY(3px); opacity: 0; } }

@media (max-width: 900px) {
  .am-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .am-chips { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .am-count b { font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .am-item, .am-ic, .am-ic *, .am-name { animation: none !important; transition: none !important; }
}
.am-score { display: grid; justify-items: end; gap: 10px; }
.am-meter { display: flex; gap: 3px; }
.am-meter i { width: 12px; height: 5px; border-radius: 2px; background: var(--rule); transition: background-color .35s calc(var(--k, 0) * 28ms), transform .35s var(--ease-out) calc(var(--k, 0) * 28ms); }
.am-meter i.on { background: var(--accent); transform: scaleY(1.4); }
.am-key { display: flex; align-items: center; gap: 10px; margin: -6px 0 22px; font-size: var(--t-label); color: var(--ink-2); }
.am-dots i.pv { transform: scale(1.7); border-color: var(--accent); }
.am-dots i.y.pv { background: var(--accent); }
@media (max-width: 900px) { .am-score { justify-items: start; } }

/* Plan your budget ------------------------------------------------------------ */
.bg { padding: clamp(72px, 11vh, 130px) 0; }
.bg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vh, 44px); }
.bg-intro { max-width: 30em; color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; }
.bg-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: 22px; overflow: hidden; border: 1px solid var(--rule-2); background: var(--surface); box-shadow: 0 50px 90px -60px rgba(20, 18, 17, .5); }
.bg-step { display: flex; align-items: center; gap: 10px; font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.bg-step b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .75rem; letter-spacing: 0; }

/* 1 · homes */
.bg-pick { padding: clamp(22px, 2.6vw, 38px); display: grid; align-content: start; gap: 12px; }
.bg-homes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bg-home, .bg-own { position: relative; cursor: pointer; display: block; }
.bg-home > input, .bg-own > input { position: absolute; opacity: 0; pointer-events: none; }
.bg-home-in { position: relative; display: grid; gap: 6px; padding: 18px 18px 16px; border-radius: 16px; border: 1.5px solid var(--rule); background: var(--bg); transition: border-color .3s, transform .45s var(--ease-out), box-shadow .45s, background-color .3s; }
.bg-home:hover .bg-home-in { transform: translateY(-2px); border-color: var(--ink-2); }
.bg-home input:checked + .bg-home-in { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); box-shadow: 0 18px 34px -24px color-mix(in srgb, var(--accent) 70%, transparent); }
.bg-home input:focus-visible + .bg-home-in, .bg-own input:focus-visible + .bg-own-in { outline: 2px solid var(--accent); outline-offset: 2px; }
.bg-home-top { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); }
.bg-home-p { font-weight: 600; }
.bg-home-t { padding: 2px 8px; border-radius: 999px; background: var(--rule-2); font-size: var(--t-label); }
.bg-home-price { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.035em; line-height: 1.1; }
.bg-home-meta { display: grid; gap: 2px; font-size: var(--t-label); color: var(--ink-2); }
.bg-home-tick { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--rule); display: grid; place-items: center; transition: background-color .3s, border-color .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.bg-home-tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease-out) .1s; }
.bg-home input:checked + .bg-home-in .bg-home-tick { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.bg-home input:checked + .bg-home-in .bg-home-tick svg { stroke-dashoffset: 0; }
.bg-own-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 14px; border: 1.5px dashed var(--rule); transition: border-color .3s, background-color .3s; }
.bg-own input:checked + .bg-own-in { border-style: solid; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); }
.bg-own-k { font-size: var(--t-small); font-weight: 500; }
.bg-own-f { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 10px; background: var(--field); border: 1px solid var(--rule); }
.bg-own-f b { color: var(--ink-2); font-weight: 500; }
.bg-own-f input { width: 9.5em; min-height: 42px; border: 0; background: transparent; color: var(--ink); font: 500 var(--t-body) var(--f-text); outline: none; }
.bg-req { margin-top: 14px; }
.bg-req-k { font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 6px; }
.bg-req-list { list-style: none; margin: 0; padding: 0; }
.bg-req-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule-2); font-size: var(--t-small); }
.bg-req-list a { text-decoration: none; }
.bg-req-list a:hover b { text-decoration: underline; }
.bg-req-list span { color: var(--ink-2); font-size: var(--t-label); }
.bg-ask { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: 500 var(--t-label) var(--f-text); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.bg-ask:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* 2 · loan */
.bg-calc { --c-ink: #F2EFE8; --c-mist: #B4B2B1; position: relative; padding: clamp(22px, 2.6vw, 38px); background: radial-gradient(120% 80% at 100% 0%, #34322F 0%, #1B1A18 60%); color: var(--c-ink); display: grid; align-content: start; gap: 22px; }
.bg-calc .bg-step { color: var(--c-mist); margin-bottom: 0; }
.bg-calc .bg-step b { background: var(--ochre-soft); color: #1B1A17; }
.bg-emi { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bg-emi-k { width: 100%; font-size: var(--t-small); color: var(--c-mist); }
.bg-emi b { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 5.6vw, 5.4rem); letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; color: #fff; }
.bg-emi-u { color: var(--c-mist); font-size: var(--t-small); }
.bg-bar { display: flex; gap: 3px; height: 14px; margin-top: 18px; border-radius: 999px; overflow: hidden; }
.bg-bar i { flex: 1 1 0; min-width: 0; transition: flex-grow .7s var(--ease-out); }
.bg-b1, .bg-legend .k1 { background: #E9E4D8; }
.bg-b2, .bg-legend .k2 { background: var(--ochre-soft); }
.bg-b3, .bg-legend .k3 { background: repeating-linear-gradient(-45deg, #B5703A 0 4px, #8C5228 4px 8px); }
.bg-legend { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; margin-top: 14px; }
.bg-legend dt { display: flex; align-items: center; gap: 7px; font-size: var(--t-label); color: var(--c-mist); }
.bg-legend dt i { width: 10px; height: 10px; border-radius: 3px; }
.bg-legend dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.bg-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(242, 239, 232, .14); font-size: var(--t-small); color: var(--c-mist); }
.bg-total b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.bg-sliders { display: grid; gap: 18px; }
.bg-sl { display: grid; gap: 8px; font-size: var(--t-small); }
.bg-sl > span { display: flex; justify-content: space-between; color: var(--c-mist); }
.bg-sl output { color: var(--c-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bg-sl input[type=range] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.bg-sl input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--ochre-soft) var(--p), rgba(242, 239, 232, .16) var(--p)); }
.bg-sl input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--ochre-soft) var(--p), rgba(242, 239, 232, .16) var(--p)); }
.bg-sl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 5px solid var(--ochre-soft); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); transition: transform .2s; }
.bg-sl input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--ochre-soft); }
.bg-sl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.18); }
.bg-sl input[type=range]:focus-visible { outline: 2px solid var(--ochre-soft); outline-offset: 4px; border-radius: 6px; }
.bg-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bg-calc .textlink { color: var(--c-ink); }
.bg-fine { font-size: var(--t-label); line-height: 1.55; color: var(--c-mist); }
.bg-empty .bg-emi b { opacity: .35; }

/* entrance */
.bg:not(.bg-in) .bg-home-in { opacity: 0; transform: translateY(14px); }
.bg.bg-in .bg-home-in { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), border-color .3s, box-shadow .45s, background-color .3s; }
.bg.bg-in .bg-home:nth-child(2) .bg-home-in { transition-delay: .08s, .08s, 0s, 0s, 0s; }
.bg:not(.bg-in) .bg-bar i { flex-grow: 0 !important; }

@media (max-width: 1000px) { .bg-panel { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .bg-homes { grid-template-columns: 1fr; }
  .bg-own-in { flex-direction: column; align-items: stretch; }
  .bg-own-f input { width: 100%; }
  .bg-req-list li { grid-template-columns: 1fr auto; }
  .bg-req-list li span { grid-column: 1; grid-row: 2; margin-top: -8px; }
  .bg-req-list li .bg-ask { grid-column: 2; grid-row: 1 / span 2; }
  .bg-legend { grid-template-columns: repeat(3, auto); }
  .bg-legend dd { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .bg-home-in, .bg-bar i, .bg-home-tick, .bg-home-tick svg { transition: none !important; } }

/* Project cards: listing style ------------------------------------------------ */
.v4-grid > .pc { flex: 0 0 calc((100% - 3 * clamp(12px, 1.2vw, 18px)) / 4); min-width: 296px; max-width: none; }
.pc { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: 26px; background: var(--surface); border: 1px solid var(--rule-2); overflow: visible;
  box-shadow: 0 24px 50px -36px rgba(20, 18, 17, .35); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.pc:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -36px rgba(20, 18, 17, .45); }
html[data-mode="night"] .pc { background: #21201E; border-color: rgba(238, 235, 228, .08); }

.pc-media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pc:hover .pc-media img { transform: scale(1.05); }
.pc-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; color: #1B1A17; font-size: var(--t-label); font-weight: 600; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
.pc-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 0 rgba(200, 134, 29, .6); animation: pc-pulse 2.2s infinite; }
.pc-badge svg { width: 14px; height: 14px; fill: none; stroke: #2F8A4E; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pc-pulse { 70% { box-shadow: 0 0 0 6px rgba(200, 134, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 134, 29, 0); } }

.pc-cmp { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; cursor: pointer; }
.pc-cmp input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pc-cmp-b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.pc-cmp-b svg { width: 16px; height: 16px; fill: none; stroke: #1B1A17; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-cmp-b .ck { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease-out); }
.pc-cmp-b .pl { transition: opacity .2s, transform .3s; transform-origin: center; transform-box: fill-box; }
.pc-cmp-t { position: absolute; right: 40px; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: #fff; color: #1B1A17; font-size: var(--t-label); font-weight: 500; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out); }
.pc-cmp:hover .pc-cmp-t, .pc-cmp input:focus-visible ~ .pc-cmp-t { opacity: 1; transform: none; }
.pc-cmp:hover .pc-cmp-b { background: #fff; }
.pc-cmp input:checked + .pc-cmp-b { background: var(--ochre-soft); transform: scale(1.06); }
.pc-cmp input:checked + .pc-cmp-b .pl { opacity: 0; transform: rotate(90deg) scale(.4); }
.pc-cmp input:checked + .pc-cmp-b .ck { stroke-dashoffset: 0; }
.pc-cmp input:checked ~ .pc-cmp-t::after { content: "ed"; }
.pc-cmp input:focus-visible + .pc-cmp-b { outline: 2px solid var(--accent); outline-offset: 2px; }

.pc-head { padding: 16px 10px 14px; display: grid; gap: 6px; }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pc-price b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 1.6vw, 1.6rem); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.pc-price span { font-size: var(--t-small); color: var(--ink-2); }
.pc-ask { position: relative; z-index: 2; padding: 0; border: 0; background: none; color: var(--accent); font: 600 var(--t-small) var(--f-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pc-ask:hover { color: var(--ink); }
.pc-title { font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.35; }
.pc-title a { color: var(--ink); text-decoration: none; }
.pc-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 26px; }
.pc-title a:focus-visible { outline: none; }
.pc:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.pc-where { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: var(--t-small); }
.pc-where svg { width: 15px; height: 15px; flex: none; }

.pc-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 -10px; }
.pc-stats p { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-size: var(--t-small); color: var(--ink-2); white-space: nowrap; }
.pc-stats p + p { border-left: 1px solid var(--rule); }
.pc-stats p { margin: 12px 0; padding: 2px 8px; }
.pc-stats svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out), stroke .3s; }
.pc:hover .pc-stats svg { stroke: var(--accent); transform: scale(1.08); }
.pc-stats b { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.pc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 10px; font-size: var(--t-small); color: var(--ink-2); }
.pc-fl { display: flex; align-items: center; gap: 8px; }
.pc-fl i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.pc-fl b { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.pc-fr { font-size: var(--t-label); text-align: right; }
.pc-fl, .pc-fr { white-space: nowrap; }

.pc-btn { position: relative; z-index: 2; margin-top: auto; display: grid; place-items: center; min-height: 52px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--t-body); color: #fff;
  background: linear-gradient(180deg, #4A4945 0%, #1B1A17 55%, #0E0E0C 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 0 3px var(--rule-2), 0 10px 20px -12px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease-out), box-shadow .35s, background .35s; }
.pc-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent), 0 14px 24px -12px rgba(0, 0, 0, .6); }
.pc:hover .pc-btn { background: linear-gradient(180deg, #A4741F 0%, #93600F 55%, #74490A 100%); }
html[data-mode="night"] .pc-btn { color: #1B1A17; background: linear-gradient(180deg, #FFFFFF 0%, #EEEBE4 60%, #D9D5CC 100%); }
html[data-mode="night"] .pc:hover .pc-btn { background: linear-gradient(180deg, #F2C677 0%, #E0A64A 60%, #C8861D 100%); }

/* row arrows */
.v4-rowctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.v4-rowctl .v4-count { margin: 0; }
.v4-arrows { display: flex; gap: 8px; }
.v4-arrows button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.v4-arrows button:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.v4-arrows button:disabled { opacity: .35; cursor: default; }
.v4-arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v4-arrows[hidden] { display: none; }

@media (hover: none) { .pc-cmp-t { display: none; } }
@media (max-width: 900px) { .v4-grid > .pc { flex: 0 0 min(84vw, 340px); } }
#v4-cmpgo.is-off { pointer-events: none; opacity: .55; }
.v4-cmpbar { animation: pc-bar .45s var(--ease-out); }
@keyframes pc-bar { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (prefers-reduced-motion: reduce) { .pc, .pc *, .pc-media img { transition: none !important; animation: none !important; } }

/* Section to section: layered transitions, view cursor ---------- */
.flow-hold { position: relative; }
.flow-hold--hero > .hero { position: sticky; top: 0; z-index: 0; }
.flow-hold--hero > .v4-find { position: relative; z-index: 2; border-radius: var(--flow-r, 32px) var(--flow-r, 32px) 0 0; box-shadow: 0 -40px 80px -40px rgba(13, 12, 11, .55); }
.flow-hold--living > .living { position: sticky; top: min(0px, calc(100svh - var(--lh, 100svh))); z-index: 0; }
.flow-hold--living > .v4-budget { position: relative; z-index: 2; border-radius: var(--flow-r2, 32px) var(--flow-r2, 32px) 0 0; box-shadow: 0 -40px 80px -40px rgba(13, 12, 11, .45); }
.flow-shade { position: absolute; inset: 0; z-index: 50; background: #0E0D0C; opacity: 0; pointer-events: none; }
.flow-hold .living { overflow: hidden; }
.flow-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.flow-w > span { display: inline-block; }

/* view cursor */
.vcur { position: fixed; left: 0; top: 0; z-index: 140; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: var(--ochre-soft); color: #1B1A17; font-size: var(--t-small); font-weight: 700; pointer-events: none; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform .35s var(--ease-out); }
.vcur.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
.vcur svg { width: 18px; height: 18px; margin-left: 4px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vcur b { display: inline-flex; align-items: center; }
@media (max-width: 1099px), (hover: none) { .vcur { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .flow-hold--hero > .hero, .flow-hold--living > .living { position: relative; top: auto; }
  .vcur { display: none; }
}
.v4-budget { overflow-x: clip; }

/* ===== Client content (Oct 2026): states, story, gallery, upcoming pages, How we differ ===== */
.v4-status.is-sold::before { background: #8A877F; }
.v4-status.is-up::before { background: #A7A19B; }
.pc.is-sold .pc-badge svg { stroke: #6B6860; }
.pc-badge .sp { fill: var(--ochre); stroke: none; }
.pc.is-sold .pc-price b { color: var(--ink-2); }

/* blueprint media for projects without photographs */
.pc-plan { position: absolute; inset: 0; display: grid; align-content: end; gap: 4px; padding: 18px; color: #F2EFE8; overflow: hidden;
  background: linear-gradient(rgba(233, 229, 220, .06) 1px, transparent 1px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(233, 229, 220, .06) 1px, transparent 1px) 0 0 / 22px 100%, radial-gradient(120% 90% at 75% 30%, #413E3A 0%, #1C1A19 70%); }
.pc-plan.is-sold { background: linear-gradient(rgba(233, 229, 220, .05) 1px, transparent 1px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(233, 229, 220, .05) 1px, transparent 1px) 0 0 / 22px 100%, radial-gradient(120% 90% at 75% 30%, #3A3833 0%, #1B1A17 70%); }
.pc-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-plan path { fill: none; stroke: rgba(233, 229, 220, .55); stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pc-plan .pm-f, .pc-plan .pm-w { stroke: rgba(233, 229, 220, .22); }
.pc-plan .pm-g, .pc-plan .pm-dim { stroke: var(--ochre-soft); }
.pc-plan .pm-b { stroke-dasharray: 900; stroke-dashoffset: 0; }
.pc:hover .pc-plan .pm-b { animation: pm-draw 1.4s var(--ease-out); }
@keyframes pm-draw { from { stroke-dashoffset: 900; } }
.pm-name { position: relative; font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1; }
.pm-fact { position: relative; display: flex; align-items: baseline; gap: 6px; font-size: var(--t-label); color: rgba(242, 239, 232, .75); }
.pm-fact b { font-family: var(--f-display); font-size: 1.1rem; color: var(--ochre-soft); }
.pm-note { position: absolute; right: 16px; bottom: 16px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(242, 239, 232, .7); }

/* project story */
.v4-story-intro { display: grid; gap: 14px; align-content: start; color: var(--ink-2); line-height: 1.65; }
.v4-story-intro .v4-ticks { margin-top: 6px; }
.v4-feats { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.v4-feats li { position: relative; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; transition: background-color .4s; outline: none; }
.v4-feats li:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--rule); }
.v4-feats li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.v4-feats li:hover::after, .v4-feats li:focus-visible::after { transform: scaleX(1); }
.st-n { font-family: var(--f-display); font-size: var(--t-label); font-weight: 600; color: var(--accent); }
.v4-feats h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; }
.v4-feats p { color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; }
.v4-closing { margin-top: clamp(28px, 4vh, 44px); font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.02em; color: var(--ink); }
.v4-story-intro .v4-closing { margin-top: 6px; font-size: 1.2rem; }

/* gallery */
.v4-gal-grid { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: clamp(180px, 22vw, 320px); gap: 12px; margin-top: clamp(28px, 4vh, 40px); }
.v4-gal-i { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #151412; cursor: zoom-in; }
.v4-gal-i.is-wide { grid-row: span 2; }
.v4-gal-i:nth-child(4) { grid-column: 1 / -1; }
.v4-gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.v4-gal-i:hover img { transform: scale(1.05); }
.v4-gal-i figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; font-size: var(--t-label); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease-out); }
.v4-gal-i:hover figcaption { opacity: 1; transform: none; }
.v4-lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(12, 11, 10, .92); padding: 4vh 4vw; }
.v4-lb[hidden] { display: none; }
.v4-lb img { max-width: 100%; max-height: 84vh; border-radius: 12px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.v4-lb p { color: #E9E5DC; font-size: var(--t-small); margin-top: 12px; text-align: center; }
.v4-lb button { position: absolute; top: 18px; right: 18px; }

/* hero drawn as a blueprint (no photographs yet) */
.v4-phero--plan .v4-phero-media { background: radial-gradient(90% 90% at 75% 40%, #3A3633 0%, #151412 70%); }
.v4-phero-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v4-phero-plan .ph-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ph-draw 2.4s var(--ease-out) forwards; }
.v4-phero-plan .ph-draw path:nth-child(2) { animation-delay: .4s; }
.v4-phero-plan .ph-draw path:nth-child(3) { animation-delay: .7s; }
.v4-phero-plan .ph-draw path:nth-child(4) { animation-delay: 1s; }
.v4-phero-plan .ph-draw path:nth-child(5) { animation-delay: 1.2s; }
@keyframes ph-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .v4-phero-plan svg { opacity: .55; } }

.v4-cfgs { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 0; }
.v4-cfgs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.v4-cfgs li span { color: var(--ink-2); font-size: var(--t-small); }
.v4-am2 { list-style: none; margin: clamp(24px, 4vh, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.v4-am2 li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 20px 22px; border-radius: 16px; background: rgba(242, 239, 232, .05); border: 1px solid rgba(242, 239, 232, .1); transition: background-color .35s, transform .45s var(--ease-out), border-color .35s; outline: none; }
.v4-am2 li:hover, .v4-am2 li:focus-visible { background: rgba(224, 166, 74, .12); border-color: rgba(224, 166, 74, .45); transform: translateY(-3px); }
.v4-am2 .am2-i { font-family: var(--f-display); font-size: var(--t-label); font-weight: 600; color: var(--ochre-soft); }
.v4-am2 b { font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; }
.v4-am2 li > span:last-child { font-size: var(--t-small); color: var(--mist); line-height: 1.55; }
.v4-cta-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.v4-cta .v4-lead { max-width: 34em; }
.v4-simple .v4-phero .v4-phero-cta .btn--ghost { color: #fff; }
.v4-story-intro > .btn { justify-self: start; }
.v4-facts dt::first-letter { text-transform: uppercase; }

/* ===== How we differ ===== */
.df-hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; background: #151412; overflow: hidden; }
.df-hero-media { position: absolute; inset: 0; }
.df-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: df-zoom 2.4s var(--ease-out) forwards; }
@keyframes df-zoom { to { transform: scale(1); } }
.df-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 16, 16, .6) 0%, rgba(17, 16, 16, .1) 30%, rgba(17, 16, 16, .55) 62%, rgba(17, 16, 16, .94) 100%); }
.df-hero-copy { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(48px, 9vh, 96px); }
.df-hero .v4-crumbs, .df-hero .v4-crumbs a { color: rgba(255, 255, 255, .8); }
.df-hero .v4-label { color: var(--ochre-soft); }
.df-hero .v4-h1 { max-width: 16em; }
.df-hero .v4-lead { color: rgba(255, 255, 255, .82); }
.df-docs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.df-docs-head .v4-lead { color: var(--mist); max-width: 26em; }
.df-n { display: inline-block; font-family: var(--f-display); font-size: var(--t-label); font-weight: 700; letter-spacing: .08em; color: var(--ochre-soft); margin-bottom: 12px; }
.df-pillars .df-n { color: var(--accent); }
.df-list { list-style: none; padding: 0; margin: clamp(28px, 5vh, 48px) 0 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: d; }
.df-doc { position: relative; display: grid; gap: 10px; align-content: start; min-height: 230px; padding: 22px 20px; border-radius: 18px; background: rgba(242, 239, 232, .05); border: 1px solid rgba(242, 239, 232, .12); color: #F2EFE8; outline: none; overflow: hidden;
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; }
.df-doc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(233, 229, 220, .05) 1px, transparent 1px) 0 0 / 100% 18px, linear-gradient(90deg, rgba(233, 229, 220, .05) 1px, transparent 1px) 0 0 / 18px 100%; opacity: 0; transition: opacity .4s; }
.df-doc:hover, .df-doc:focus-visible { transform: translateY(-6px) rotate(-.6deg); background: rgba(224, 166, 74, .1); border-color: rgba(224, 166, 74, .5); }
.df-doc:hover::before, .df-doc:focus-visible::before { opacity: 1; }
.df-doc b { position: relative; font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.25; }
.df-doc > span:not(.df-ic) { position: relative; font-size: var(--t-small); color: var(--mist); line-height: 1.55; }
.df-ic { position: relative; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(224, 166, 74, .14); color: var(--ochre-soft); }
.df-ic svg, .df-tick svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.df-tick { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(242, 239, 232, .25); color: #1B1A17; transition: background-color .4s, border-color .4s; }
.df-tick svg { width: 16px; height: 16px; stroke-width: 2.6; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s var(--ease-out) .1s; }
.df-doc.is-seen .df-tick { background: var(--ochre-soft); border-color: var(--ochre-soft); }
.df-doc.is-seen .df-tick svg { stroke-dashoffset: 0; }
.df-light { color: #F2EFE8; }
.df-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.df-pillar { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.df-pillar h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; }
.df-pillar p { color: var(--ink-2); line-height: 1.65; font-size: var(--t-small); }
.df-quote { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4.4vw, 4.2rem); letter-spacing: -.04em; line-height: 1.05; max-width: 15em; }
.df-by { margin-top: 18px; font-size: var(--t-small); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 1100px) { .df-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .v4-feats, .df-pgrid { grid-template-columns: 1fr; }
  .v4-feats li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .v4-gal-grid { grid-template-columns: 1fr; grid-auto-rows: 56vw; }
  .v4-gal-i.is-wide { grid-row: auto; }
  .df-list { grid-template-columns: 1fr 1fr; }
  .df-doc { min-height: 0; }
}
@media (max-width: 560px) { .df-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .df-hero-media img, .v4-phero-plan .ph-draw path { animation: none; transform: none; stroke-dashoffset: 0; } }

/* Our homes gallery: blueprint panels for projects without photographs */
.proj-plan { position: absolute; inset: 0; display: grid; align-content: end; gap: 8px; padding: clamp(20px, 2.4vw, 36px); color: #F2EFE8;
  background: linear-gradient(rgba(233, 229, 220, .06) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, rgba(233, 229, 220, .06) 1px, transparent 1px) 0 0 / 28px 100%, radial-gradient(110% 90% at 70% 30%, #44403D 0%, #1C1A19 72%); }
.proj-plan.is-sold { background: linear-gradient(rgba(233, 229, 220, .05) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, rgba(233, 229, 220, .05) 1px, transparent 1px) 0 0 / 28px 100%, radial-gradient(110% 90% at 70% 30%, #3B3934 0%, #191816 72%); }
.proj-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.proj-plan path { fill: none; stroke: rgba(233, 229, 220, .5); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.proj-plan path.f { stroke: rgba(233, 229, 220, .2); }
.proj-plan path.g { stroke: var(--ochre-soft); }
.pp-note { position: absolute; top: clamp(18px, 2vw, 28px); left: clamp(20px, 2.4vw, 36px); font-size: var(--t-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-soft); }
.proj-plan.is-sold .pp-note { color: #C9C4B9; }
.pp-name { position: relative; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 4.4rem); letter-spacing: -.045em; line-height: .95; }
.pp-facts { position: relative; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--t-small); color: rgba(242, 239, 232, .72); }
.pp-facts b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: #fff; }

/* How we differ, on the home page */
.df-home { position: relative; z-index: 1; }
.df-home .v4-lead { color: var(--mist); max-width: 34em; }
.df-home-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.df-home-img { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #151412; }
.df-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.df-home-img:hover img { transform: scale(1.04); }
.df-home-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 16, 16, .82) 0%, rgba(17, 16, 16, 0) 45%); }
.df-home-img figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; font-family: var(--f-display); font-size: clamp(1.05rem, 1.4vw, 1.3rem); letter-spacing: -.01em; color: #fff; }
.df-sub { display: flex; align-items: baseline; gap: 12px; margin-top: clamp(44px, 7vh, 72px); font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.02em; color: #F2EFE8; }
.df-sub .df-n { margin: 0; }
.df-home .df-list { margin-top: 20px; }
.df-pgrid--home { margin-top: clamp(40px, 6vh, 64px); }
.df-pillar--dark { border-top-color: rgba(242, 239, 232, .5); }
.df-pillar--dark h3 { color: #F2EFE8; }
.df-pillar--dark p { color: var(--mist); }
.df-pillar--dark .df-n { color: var(--ochre-soft); }
.df-home-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(40px, 6vh, 64px); padding-top: 28px; border-top: 1px solid rgba(242, 239, 232, .14); }
.df-quote--sm { font-size: clamp(1.5rem, 2.6vw, 2.4rem); max-width: 20em; color: #F2EFE8; }
@media (max-width: 900px) { .df-home-top { grid-template-columns: 1fr; } }

/* Place: a framed picture that opens to full screen (v4) -------------------- */
@media (min-width: 901px) {
  .v4-home .place:not(.is-static) .place-media {
    clip-path: none !important; inset: auto; left: 50%; top: 50%; width: var(--pw, 38vw); height: var(--ph, 50vh);
    transform: translate(-50%, -50%); border-radius: var(--pr, 22px); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(20, 18, 17, .6);
  }
  .v4-home .place:not(.is-static) .place-media img { transform: scale(1.06); object-position: 60% 55%; }
  .v4-home .place:not(.is-static) .place-names { flex-direction: column; align-items: stretch; justify-content: space-between; padding: calc(var(--nav-h) + 4vh) var(--gutter) 8vh; }
  .v4-home .place-names span { display: grid; gap: 10px; }
  .v4-home .place-names span:first-child { justify-self: start; align-self: flex-start; }
  .v4-home .place-names span:last-child { align-self: flex-end; justify-items: end; }
  .v4-home .place-names small { font-family: var(--f-text); font-size: var(--t-small); letter-spacing: 0; color: var(--ink-2); }
}
.place-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #1B1A17; font-size: var(--t-label); font-weight: 600; transition: opacity .4s; }
.place-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
.place.is-dim .place-tag, .place.is-static .place-tag { opacity: 0; }

/* ===== Built to be checked: realistic sheet animations (v4.2) ===== */
.vw-stage { cursor: pointer; }
.vw-stage::after { content: "Click to replay"; position: absolute; right: 18px; top: 14px; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(233, 229, 220, .55); opacity: 0; transition: opacity .3s; pointer-events: none; }
.vw-stage:hover::after { opacity: 1; }
.vw-svg .scene * { animation-fill-mode: both; }
@keyframes vw-in { from { opacity: 0; } to { opacity: 1; } }

/* 01 · floors stack, windows light, cranes work */
.vw-svg .s1-tick { stroke: rgba(233, 229, 220, .4); stroke-width: 1; }
.vw-svg .s1-time circle { fill: var(--bp-acc); }
.vw-svg .s1-time { opacity: 0; }
.vw-svg .scene.on .s1-time { animation: s1-time 2.6s cubic-bezier(.45, 0, .2, 1) var(--d) both; }
@keyframes s1-time { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 100% { opacity: 1; transform: translateX(306px); } }
.vw-svg .s1-fl { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.vw-svg .scene.on .s1-fl { animation: s1-floor .42s cubic-bezier(.3, 1.5, .5, 1) var(--d) both; }
@keyframes s1-floor { from { opacity: 0; transform: translateY(-14px) scaleY(.6); } to { opacity: 1; transform: none; } }
.vw-svg .s1-fd { fill: var(--bp-acc); }
.vw-svg .s1-fw { fill: rgba(233, 229, 220, .07); stroke: rgba(233, 229, 220, .6); stroke-width: 1; }
.vw-svg .s1-win { fill: #3A2A12; }
.vw-svg .scene.on .s1-win { animation: s1-light .5s steps(2) var(--d) both; }
@keyframes s1-light { 0% { fill: #3A2A12; } 50% { fill: #FFF1C9; } 100% { fill: #FFE7A6; } }
.vw-svg .s1-frame { fill: none; stroke: rgba(233, 229, 220, .45); stroke-width: 1.2; }
.vw-svg .s1-ghost { fill: none; stroke: rgba(233, 229, 220, .4); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0; }
.vw-svg .scene.on .s1-ghost { animation: vw-in .6s ease var(--d) both, s1-march 1.6s linear infinite; }
@keyframes s1-march { to { stroke-dashoffset: -14; } }
.vw-svg .s1-pin path { fill: var(--bp-acc); }
.vw-svg .s1-pin circle { fill: var(--bp); }
.vw-svg .s1-pin { opacity: 0; }
.vw-svg .scene.on .s1-pin { animation: s1-drop .7s cubic-bezier(.3, 1.6, .5, 1) var(--d) both; }
@keyframes s1-drop { from { opacity: 0; transform: translateY(-26px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.vw-svg .s1-mast { fill: none; stroke: var(--bp-acc); stroke-width: 1.2; }
.vw-svg .s1-jib { fill: none; stroke: var(--bp-acc); stroke-width: 1.3; }
.vw-svg .s1-cw { fill: var(--bp-acc); }
.vw-svg .s1-cable { stroke: rgba(233, 229, 220, .7); stroke-width: 1; }
.vw-svg .s1-load { fill: rgba(233, 229, 220, .85); }
.vw-svg .scene.on .s1-trolley { animation: s1-trolley 3.4s ease-in-out var(--d) infinite alternate; }
@keyframes s1-trolley { 0% { transform: translate(0, 0); } 40% { transform: translate(18px, 0); } 70% { transform: translate(18px, 8px); } 100% { transform: translate(26px, 2px); } }

/* 02 · the stamp comes down */
.vw-svg .s2-sheet { fill: #F3F0E8; }
.vw-svg .s2-head { fill: #2B2A26; }
.vw-svg .s2-l { fill: rgba(43, 42, 38, .2); }
.vw-svg .s2-sig { fill: none; stroke: #2B2A26; stroke-width: 1.4; stroke-linecap: round; }
.vw-svg .s2-paper { opacity: 0; }
.vw-svg .scene.on .s2-paper { animation: s2-paper .7s cubic-bezier(.2, .8, .2, 1) both, s2-bump .35s ease-out 1.31s; }
@keyframes s2-paper { from { opacity: 0; transform: translateY(50px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes s2-bump { 0% { transform: translateY(0); } 30% { transform: translateY(3px); } 100% { transform: translateY(0); } }
.vw-svg .s2-stamp { opacity: 0; }
.vw-svg .scene.on .s2-stamp { animation: s2-stamp 1.9s cubic-bezier(.5, 0, .3, 1) var(--d) both; }
@keyframes s2-stamp {
  0% { opacity: 0; transform: translateY(-190px); }
  18% { opacity: 1; transform: translateY(-150px); }
  42% { transform: translateY(0) scaleY(1); }
  47% { transform: translateY(2px) scaleY(.93); }
  56% { transform: translateY(0) scaleY(1); }
  66% { opacity: 1; transform: translateY(-14px); }
  100% { opacity: 0; transform: translateY(-210px); }
}
.vw-svg .s2-knob { fill: #B07A3A; }
.vw-svg .s2-neck { fill: #93602A; }
.vw-svg .s2-base { fill: #5A3A1C; }
.vw-svg .s2-rub { fill: #2A1C10; }
.vw-svg .s2-shadow { fill: rgba(0, 0, 0, .35); opacity: 0; transform-box: fill-box; transform-origin: center; }
.vw-svg .scene.on .s2-shadow { animation: s2-shadow 1.9s cubic-bezier(.5, 0, .3, 1) var(--d) both; }
@keyframes s2-shadow { 0% { opacity: 0; transform: scale(1.8); } 42% { opacity: .9; transform: scale(.9); } 66% { opacity: .5; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.9); } }
.vw-svg .s2-ink { fill: none; stroke: #B5651D; stroke-width: 3.2; }
.vw-svg .s2-ink.thin { stroke-width: 1.2; }
.vw-svg .s2-ring { font-family: var(--f-text); font-size: 8.4px; font-weight: 700; letter-spacing: 1.6px; fill: #B5651D; }
.vw-svg .s2-chk { fill: none; stroke: #B5651D; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.vw-svg .s2-seal { opacity: 0; transform-box: fill-box; transform-origin: center; }
.vw-svg .scene.on .s2-seal { animation: s2-seal .5s cubic-bezier(.2, .9, .2, 1) var(--d) both; }
@keyframes s2-seal { 0% { opacity: 0; transform: scale(1.12); } 20% { opacity: .95; } 100% { opacity: .88; transform: scale(1); } }

/* 03 · the shared wall splits */
.vw-svg .s3-shared { stroke: #E0614A; stroke-width: 7; opacity: 0; }
.vw-svg .scene.on .s3-shared { animation: s3-shared 1.3s ease var(--d) both; }
@keyframes s3-shared { 0% { opacity: 0; } 20%, 50% { opacity: 1; } 55% { opacity: .3; } 60% { opacity: 1; } 100% { opacity: 0; } }
.vw-svg .tx.s3-red { fill: #F08A73; }
.vw-svg .s3-lab1 { opacity: 0; }
.vw-svg .scene.on .s3-lab1 { animation: s3-flash 1.15s ease var(--d) both; }
@keyframes s3-flash { 0% { opacity: 0; } 20%, 80% { opacity: 1; } 100% { opacity: 0; } }
.vw-svg .s3-lab2 { opacity: 0; }
.vw-svg .scene.on .s3-lab2 { animation: vw-in .5s ease var(--d) both; }
.vw-svg .s3-own { stroke: var(--bp-acc); stroke-width: 5; opacity: 0; }
.vw-svg .scene.on .s3-own { animation: vw-in .4s ease var(--d) both; }
.vw-svg .scene.on .s3-l { animation: s3-l 1s cubic-bezier(.65, 0, .25, 1) var(--d) both; }
.vw-svg .scene.on .s3-r { animation: s3-r 1s cubic-bezier(.65, 0, .25, 1) var(--d) both; }
@keyframes s3-l { from { transform: none; } to { transform: translateX(-14px); } }
@keyframes s3-r { from { transform: none; } to { transform: translateX(14px); } }
.vw-svg .s3-air path { fill: none; stroke: rgba(209, 205, 201, .75); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 6 10; }
.vw-svg .s3-air { opacity: 0; }
.vw-svg .scene.on .s3-air { animation: vw-in .6s ease var(--d) both; }
.vw-svg .scene.on .s3-air path { animation: s3-flow 1.2s linear infinite; }
.vw-svg .scene.on .s3-air path + path { animation-duration: 1.6s; }
@keyframes s3-flow { to { stroke-dashoffset: -32; } }

/* 04 · sunrise and needle */
.vw-svg .s4-sun { transform-box: view-box; transform-origin: 330px 200px; opacity: 0; }
.vw-svg .scene.on .s4-sun { animation: s4-rise 2.6s cubic-bezier(.3, .6, .2, 1) var(--d) both; }
@keyframes s4-rise { 0% { opacity: 0; transform: rotate(38deg); } 15% { opacity: 1; } 100% { opacity: 1; transform: rotate(-16deg); } }
.vw-svg .s4-disc { fill: #F6C66B; }
.vw-svg .s4-rays path { stroke: #F6C66B; stroke-width: 2; stroke-linecap: round; }
.vw-svg .scene.on .s4-rays { animation: s4-spin 9s linear infinite; }
@keyframes s4-spin { to { transform: rotate(360deg); } }
.vw-svg .s4-beam { opacity: 0; }
.vw-svg .scene.on .s4-beam { animation: vw-in 1s ease var(--d) both; }
.vw-svg .s4-house { fill: none; stroke: var(--bp-ink); stroke-width: 3.5; stroke-linejoin: round; }
.vw-svg .s4-door { fill: none; stroke: var(--bp-ink); stroke-width: 2; opacity: 0; }
.vw-svg .scene.on .s4-door { animation: vw-in .5s ease var(--d) both; }
.vw-svg .s4-glow { fill: #F6C66B; opacity: 0; }
.vw-svg .scene.on .s4-glow { animation: s4-glow 1.6s ease var(--d) both; }
@keyframes s4-glow { from { opacity: 0; } to { opacity: .22; } }
.vw-svg.s4 .needle { transform: rotate(-150deg); }
.vw-svg.s4 .scene.on .needle { transform: rotate(0deg); transition: transform 2.2s cubic-bezier(.2, 1.7, .35, 1) .5s; }

/* 05 · inspection scanner */
.vw-svg .s5-row { opacity: 0; }
.vw-svg .scene.on .s5-row { animation: s5-row .6s cubic-bezier(.2, .8, .2, 1) var(--d) both; }
@keyframes s5-row { from { opacity: 0; transform: translateX(46px); } to { opacity: 1; transform: none; } }
.vw-svg .s5-box { fill: rgba(233, 229, 220, .05); stroke: rgba(233, 229, 220, .22); stroke-width: 1; }
.vw-svg .scene.on .s5-box { animation: s5-ok .9s ease var(--d) both; }
@keyframes s5-ok { 0% { stroke: rgba(233, 229, 220, .22); fill: rgba(233, 229, 220, .05); } 30% { stroke: #E0A64A; fill: rgba(224, 166, 74, .16); } 100% { stroke: rgba(224, 166, 74, .45); fill: rgba(224, 166, 74, .06); } }
.vw-svg .s5-ic { fill: none; stroke: var(--bp-acc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vw-svg .s5-brand { opacity: 0; }
.vw-svg .scene.on .s5-brand { animation: s5-read .45s ease var(--d) both; }
@keyframes s5-read { 0% { opacity: 0; filter: blur(3px); } 100% { opacity: 1; filter: none; } }
.vw-svg .s5-scan { opacity: 0; }
.vw-svg .scene.on .s5-scan { animation: s5-scan .62s cubic-bezier(.45, 0, .55, 1) var(--d) both; }
@keyframes s5-scan { 0% { opacity: 0; transform: translateX(0); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(284px); } }
.vw-svg .s5-laser { fill: #FFE2A8; }

/* 06 · folder opens, documents rise */
.vw-svg .s6-back { fill: #343230; stroke: rgba(233, 229, 220, .35); stroke-width: 1; }
.vw-svg .s6-front path { fill: #9C6A24; stroke: rgba(0, 0, 0, .15); }
.vw-svg .s6-front { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.vw-svg .scene.on .s6-front { animation: s6-front 1.4s cubic-bezier(.3, .7, .2, 1) var(--d) both; }
@keyframes s6-front { 0% { opacity: 0; transform: translateY(20px); } 25% { opacity: 1; transform: none; } 55% { transform: scaleY(.84) skewX(-6deg); } 100% { opacity: 1; transform: scaleY(.88) skewX(-4deg); } }
.vw-svg .tx.s6-lbl { fill: #F7E7C6; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.vw-svg .s6-doc { opacity: 0; }
.vw-svg .scene.on .s6-doc { animation: s6-rise .9s cubic-bezier(.25, 1.25, .4, 1) var(--d) both; }
@keyframes s6-rise { 0% { opacity: 0; transform: translate(0, 10px) rotate(0); } 30% { opacity: 1; } 100% { opacity: 1; transform: translate(var(--x), -92px) rotate(var(--r)); } }
.vw-svg .s6-doc { transform-box: view-box; transform-origin: 0 300px; }
.vw-svg .tx.s6-t { font-size: 10px; font-weight: 700; }
.vw-svg .s6-draw { fill: none; stroke: #726C67; stroke-width: 1.1; }
.vw-svg .s6-lens { opacity: 0; }
.vw-svg .scene.on .s6-lens { animation: vw-in .5s ease var(--d) both; }
.vw-svg .scene.on .s6-sweep { animation: s6-sweep 3.2s ease-in-out var(--d) infinite alternate; }
@keyframes s6-sweep { from { transform: translate(-70px, 0); } to { transform: translate(70px, 6px); } }
.vw-svg .s6-badge rect { fill: var(--bp-acc); }
.vw-svg .s6-badge text { font-size: 10.5px; font-weight: 700; fill: #1B1A17; }
.vw-svg .s6-badge { opacity: 0; transform-box: fill-box; transform-origin: center; }
.vw-svg .scene.on .s6-badge { animation: s6-pop .5s cubic-bezier(.3, 1.6, .5, 1) var(--d) both; }
@keyframes s6-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .vw-svg .scene * { animation: none !important; opacity: 1 !important; }
  .vw-svg .s1-time, .vw-svg .s2-stamp, .vw-svg .s2-shadow, .vw-svg .s3-shared, .vw-svg .s3-lab1, .vw-svg .s5-scan { display: none; }
}

/* ===== How we differ: see inside the building (v4.3) ===== */
.dfx { position: relative; z-index: 1; overflow: hidden; }
.dfx-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.dfx-head .h2 { max-width: 13em; }
.dfx-head .v4-lead { color: var(--mist); }
.dfx-strike { position: relative; display: table; color: rgba(242, 239, 232, .42); white-space: nowrap; font-size: .62em; letter-spacing: -.02em; margin-bottom: .15em; }
.dfx-strike::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: .08em; background: var(--ochre-soft); transform: scaleX(var(--sk, 0)); transform-origin: left; transition: transform 1s var(--ease-out) .3s; }
.dfx.is-in .dfx-strike::after { --sk: 1; }
.dfx-hi { display: inline; color: #fff; background: linear-gradient(transparent 88%, var(--ochre-soft) 88%, var(--ochre-soft) 94%, transparent 94%) no-repeat 0 0 / var(--hk, 0%) 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.2s var(--ease-out) 1s; }
.dfx.is-in .dfx-hi { --hk: 100%; }

.dfx-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(36px, 6vh, 64px); align-items: start; }
.dfx-stage { --x: 50%; position: relative; aspect-ratio: 1200 / 860; border-radius: 20px; overflow: hidden; background: #1B140D; user-select: none; touch-action: pan-y; box-shadow: 0 50px 90px -60px rgba(0, 0, 0, .8); }
.dfx-photo { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.dfx-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 18.4%; background: linear-gradient(180deg, #4A3A26 0%, #3A2C1C 30%, #2B2015 100%); }
.dfx-ground::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #5D6B33; }
.dfx-xray { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); background: radial-gradient(120% 90% at 60% 40%, #363330 0%, #1B1A18 75%); }
.dfx-xray::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1200 / 702; background: url(../img/luxe-front-1200.webp) top / 100% auto no-repeat; opacity: .14; filter: grayscale(1) contrast(1.4); mix-blend-mode: screen; }
.dfx-xray svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dfx-xray path, .dfx-xray rect { vector-effect: non-scaling-stroke; transition: stroke .35s, opacity .35s, fill .35s; }
.dfx-xray .x-shell path { fill: none; stroke: rgba(225, 222, 220, .55); stroke-width: 1.5; }
.dfx-xray .x-col { stroke: rgba(225, 222, 220, .8); stroke-width: 3; }
.dfx-xray .x-colb { stroke: rgba(225, 222, 220, .5); stroke-width: 3; stroke-dasharray: 4 4; }
.dfx-xray .x-beam { stroke: rgba(225, 222, 220, .55); stroke-width: 2.2; }
.dfx-xray .x-pipe { fill: none; stroke: #B6AEA6; stroke-width: 2.4; stroke-dasharray: 10 6; }
.dfx-xray .x-wire { fill: none; stroke: #F2B45A; stroke-width: 1.6; stroke-dasharray: 3 4; }
.dfx-xray .x-pipe.s, .dfx-xray .x-wire.s { stroke-width: 1.4; }
.dfx-xray .x-cube { fill: rgba(242, 239, 232, .85); }
.dfx-xray .x-col.hl { stroke: transparent; }
.dfx-xray .x-ground { stroke: #8BAA5A; stroke-width: 2; }
.dfx-xray .x-layer { fill: none; stroke: rgba(225, 222, 220, .3); stroke-width: 1.2; stroke-dasharray: 6 5; }
.dfx-xray .x-foot { fill: rgba(225, 222, 220, .14); stroke: rgba(225, 222, 220, .7); stroke-width: 1.4; }
.dfx-xray .x-bore { stroke: rgba(224, 166, 74, .8); stroke-width: 2; }
.dfx-xray .x-bore.t { stroke-width: 1; }
.dfx-xray .x-t { font: 600 15px var(--f-text); fill: rgba(225, 222, 220, .75); letter-spacing: .02em; }
/* the selected document lights its part of the building, the rest steps back */
.dfx-xray [data-k] { transition: opacity .4s; }
.dfx-stage[data-k] .dfx-xray [data-k] { opacity: .35; }
.dfx-stage[data-k="structural"] .dfx-xray [data-k="structural"],
.dfx-stage[data-k="mep"] .dfx-xray [data-k="mep"],
.dfx-stage[data-k="test"] .dfx-xray [data-k="test"],
.dfx-stage[data-k="grade"] .dfx-xray [data-k="grade"],
.dfx-stage[data-k="soil"] .dfx-xray [data-k="soil"] { opacity: 1; filter: drop-shadow(0 0 6px rgba(224, 166, 74, .7)); }
.dfx-stage[data-k="structural"] .x-col, .dfx-stage[data-k="structural"] .x-beam { stroke: #F2C677; }
.dfx-stage[data-k="test"] .x-col.hl { stroke: #F2C677; stroke-width: 5; }
.dfx-stage[data-k="test"] .x-cube { fill: #F2C677; animation: dfx-cube 1.2s ease-in-out infinite alternate; }
.dfx-stage[data-k="soil"] .x-foot { stroke: #F2C677; fill: rgba(242, 198, 119, .25); }
.dfx-stage[data-k="soil"] .x-layer { stroke: rgba(242, 198, 119, .7); }
.dfx-stage[data-k="mep"] .x-pipe { animation: dfx-flow 1.4s linear infinite; }
.dfx-stage[data-k="mep"] .x-wire { animation: dfx-flow .9s linear infinite; }
.dfx-stage[data-k="structural"] .x-beam { animation: dfx-load 1.8s ease-in-out infinite alternate; }
@keyframes dfx-flow { to { stroke-dashoffset: -32; } }
@keyframes dfx-cube { to { transform: translateY(-3px); } }
@keyframes dfx-load { to { stroke-width: 3.4; } }

.dfx-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #F2EFE8; pointer-events: none; z-index: 3; box-shadow: 0 0 18px rgba(242, 198, 119, .6); }
.dfx-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #F2EFE8; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .3s var(--ease-out); }
.dfx-handle svg { width: 20px; height: 20px; fill: none; stroke: #1B1A17; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dfx-stage:hover .dfx-handle span, .dfx-stage.is-drag .dfx-handle span { transform: scale(1.1); }
.dfx-tag { position: absolute; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px; font-size: var(--t-label); font-weight: 600; pointer-events: none; transition: opacity .3s; }
.dfx-tag--l { left: 14px; background: rgba(255, 255, 255, .92); color: #1B1A17; }
.dfx-tag--r { right: 14px; background: rgba(36, 34, 32, .85); color: #F2C677; border: 1px solid rgba(242, 198, 119, .4); }
.dfx-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.dfx-range:focus-visible + .dfx-spot, .dfx-stage:has(.dfx-range:focus-visible) { outline: 2px solid var(--ochre-soft); outline-offset: 3px; }
.dfx-spot { position: absolute; z-index: 5; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #F2C677; color: #1B1A17; font: 700 .8125rem var(--f-text); box-shadow: 0 0 0 0 rgba(242, 198, 119, .6); animation: dfx-ping 2.4s infinite; transition: transform .3s var(--ease-out), background-color .3s; }
.dfx-spot span { position: relative; }
.dfx-spot:hover, .dfx-spot.is-on { transform: scale(1.18); background: #fff; }
.dfx-spot.is-on { animation: none; box-shadow: 0 0 0 6px rgba(242, 198, 119, .35); }
.dfx-spot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes dfx-ping { 0% { box-shadow: 0 0 0 0 rgba(242, 198, 119, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(242, 198, 119, 0); } }
.dfx-note { position: absolute; right: 14px; bottom: 10px; z-index: 3; font-size: .6875rem; color: rgba(225, 222, 220, .6); pointer-events: none; }

.dfx-side { display: grid; gap: 16px; align-content: start; }
.dfx-kicker { font-size: var(--t-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ochre-soft); }
.dfx-tabs { display: grid; border-top: 1px solid rgba(242, 239, 232, .14); }
.dfx-tab { position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(242, 239, 232, .14); background: none; color: rgba(242, 239, 232, .62); font: 500 1.02rem/1.3 var(--f-display); letter-spacing: -.01em; text-align: left; cursor: pointer; transition: color .3s, padding .4s var(--ease-out); }
.dfx-tab:hover { color: #F2EFE8; }
.dfx-tab[aria-selected="true"] { color: #fff; padding-left: 8px; }
.dfx-tn { font-size: var(--t-label); font-weight: 700; color: rgba(242, 198, 119, .6); }
.dfx-tab[aria-selected="true"] .dfx-tn { color: var(--ochre-soft); }
.dfx-tbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ochre-soft); transform: scaleX(0); transform-origin: left; }
.dfx-tab[aria-selected="true"] .dfx-tbar { transform: scaleX(var(--p, 1)); }
.dfx-tab:focus-visible { outline: 2px solid var(--ochre-soft); outline-offset: 2px; border-radius: 4px; }
.dfx-panel { min-height: 132px; padding: 18px 20px; border-radius: 16px; background: rgba(242, 239, 232, .05); border: 1px solid rgba(242, 239, 232, .1); }
.dfx-panel > * { animation: dfx-in .5s var(--ease-out) both; }
.dfx-panel > :nth-child(2) { animation-delay: .05s; }
.dfx-panel > :nth-child(3) { animation-delay: .1s; }
@keyframes dfx-in { from { opacity: 0; transform: translateY(8px); } }
.dfx-where { font-size: var(--t-label); font-weight: 600; letter-spacing: .04em; color: var(--ochre-soft); }
.dfx-panel h3 { margin: 4px 0 6px; font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; color: #fff; }
.dfx-panel p:last-child { color: var(--mist); font-size: var(--t-small); line-height: 1.6; }
.dfx-side .v4-fine { color: var(--mist); margin-top: 0; }
.dfx-side .btn { justify-self: start; }

.dfx-people { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 14px; margin-top: clamp(48px, 8vh, 88px); }
.dfx-photo2 { position: relative; margin: 0; border-radius: 18px; overflow: hidden; min-height: 260px; }
.dfx-photo2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.dfx-photo2:hover img { transform: scale(1.05); }
.dfx-photo2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 16, 16, .85), rgba(17, 16, 16, 0) 55%); }
.dfx-photo2 figcaption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-family: var(--f-display); font-size: 1.1rem; line-height: 1.25; color: #fff; }
.dfx-p { display: grid; gap: 8px; align-content: start; padding: 22px 20px; border-radius: 18px; background: rgba(242, 239, 232, .05); border: 1px solid rgba(242, 239, 232, .1); transition: transform .5s var(--ease-out), border-color .35s, background-color .35s; }
.dfx-p:hover { transform: translateY(-4px); border-color: rgba(242, 198, 119, .45); background: rgba(242, 198, 119, .08); }
.dfx-big { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.dfx-big b { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -.04em; line-height: 1; color: var(--ochre-soft); }
.dfx-big span { font-size: var(--t-small); color: var(--mist); }
.dfx-p h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.015em; color: #fff; }
.dfx-p > p:last-child { font-size: var(--t-small); line-height: 1.6; color: var(--mist); }
.dfx-quote { margin-top: clamp(36px, 6vh, 64px); font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.4rem); letter-spacing: -.03em; line-height: 1.15; color: #F2EFE8; max-width: 22em; }

@media (max-width: 1100px) { .dfx-people { grid-template-columns: 1fr 1fr; } .dfx-photo2 { grid-column: 1 / -1; min-height: 240px; } }
@media (max-width: 1000px) { .dfx-head, .dfx-main { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .dfx-people { grid-template-columns: 1fr; }
  .dfx-strike { white-space: normal; }
  .dfx-spot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: .75rem; }
  .dfx-tag { top: 10px; font-size: .6875rem; padding: 5px 10px; }
  .dfx-xray .x-t { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dfx *, .dfx-stage * { animation: none !important; transition: none !important; } }
@media (max-width: 600px) { .dfx-note { display: none; } }

/* ===== v4 loader: draw the building, light it, walk in through the door ===== */
.js .loader.lx { background: radial-gradient(ellipse 70% 70% at 50% 60%, #2A2825 0%, #141211 70%); clip-path: none; transition: opacity .9s ease .35s; }
.lx-grid { position: absolute; inset: 0; background: linear-gradient(rgba(202, 197, 193, .05) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(202, 197, 193, .05) 1px, transparent 1px) 0 0 / 32px 100%;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 55%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 60% 60% at 50% 55%, #000 30%, transparent 80%); animation: lx-grid 1.2s ease both; }
@keyframes lx-grid { from { opacity: 0; transform: scale(1.04); } }
.lx-scene { position: absolute; left: 50%; top: 52%; width: min(70vmin, 640px); aspect-ratio: 400 / 360; transform: translate(-50%, -50%); transform-origin: 50% 89%; transition: transform 1.25s cubic-bezier(.7, 0, .2, 1), opacity 1s ease .25s; }
.lx-scene svg { width: 100%; height: 100%; overflow: visible; }
.lx-lines path { fill: none; stroke: rgba(237, 236, 234, .85); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.lx-lines path:nth-child(1) { stroke: #8BAA5A; }
.lx-lines path:nth-child(9) { stroke: rgba(237, 236, 234, .3); }
.lx-jali path { fill: none; stroke: rgba(224, 166, 74, .35); stroke-width: .8; opacity: 0; transition: opacity .8s ease; }
.loader.lx[aria-valuenow] .lx-jali path { opacity: var(--jo, 0); }
.lx-w { opacity: var(--wo, 0); fill: rgba(237, 236, 234, .04); stroke: rgba(237, 236, 234, .35); stroke-width: .8; transition: fill .35s ease, stroke .35s ease, filter .35s ease; transition-delay: calc(var(--k) * 70ms); }
.lx-w.on { fill: #FFD98C; stroke: #FFE7B3; filter: drop-shadow(0 0 4px rgba(255, 200, 110, .8)); }
.lx-door { fill: rgba(237, 236, 234, .06); stroke: rgba(237, 236, 234, .6); stroke-width: 1; transition: fill .6s ease, filter .6s ease; }
.loader.is-built .lx-door { fill: #FFE2A0; filter: drop-shadow(0 0 10px rgba(255, 205, 120, .95)); }
.lx-level { transition: opacity .4s; }
.lx-lvl { stroke: var(--ochre-soft); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; animation: lx-march 1s linear infinite; }
@keyframes lx-march { to { stroke-dashoffset: -16; } }
.lx-tri { fill: var(--ochre-soft); }
.lx-tag { font: 600 11px var(--f-text); fill: var(--ochre-soft); font-variant-numeric: tabular-nums; }
.lx-name { font: 600 7px var(--f-text); letter-spacing: 2px; fill: rgba(224, 166, 74, .0); transition: fill .8s ease; }
.loader.is-built .lx-name { fill: rgba(255, 226, 160, .95); }
.loader.is-built .lx-jali path { opacity: 0; }
.loader.is-built .lx-level { opacity: 0; }
.lx-ui .ld-top { color: var(--paper); }
.lx-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 5vh, 52px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lx-stage { margin: 0; font-family: var(--f-display); font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: -.01em; color: var(--paper); }
.lx-stage.is-new { animation: lx-stage .5s var(--ease-out) both; }
@keyframes lx-stage { from { opacity: 0; transform: translateY(10px); } }
.lx-count { margin: 0; font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem); line-height: .85; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--paper); }
.lx-count b { font-weight: 400; }
.lx-count span { font-size: .3em; color: var(--mist); margin-left: .12em; vertical-align: top; }
/* exit: walk in through the lit door */
.loader.lx.is-leaving { clip-path: none; opacity: 0; }
.loader.lx.is-leaving .lx-scene { transform: translate(-50%, -50%) scale(9); opacity: 0; }
.loader.lx.is-leaving .lx-ui { opacity: 0; }
.loader.lx.is-leaving .lx-grid { opacity: 0; transition: opacity .5s; }
@media (max-width: 700px) { .lx-scene { width: 88vw; top: 48%; } .lx-bottom { align-items: flex-end; } }
@media (prefers-reduced-motion: reduce) { .loader.lx.is-leaving .lx-scene { transform: translate(-50%, -50%); } .lx-lvl { animation: none; } }
.pc-foot--empty { padding: 0; border: 0; min-height: 14px; }

/* Our homes: the same details as the project cards */
.proj-info--card { display: grid; gap: 6px; align-content: center; }
.proj-info--card .proj-status { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #F2EFE8; }
.proj-info--card .proj-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre-soft); }
.proj.is-sold .proj-info--card .proj-status::before { background: #A5A4A3; }
.proj.is-up .proj-info--card .proj-status::before { background: #C5C0BA; }
.proj-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; }
.proj-price b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: -.03em; color: #fff; }
.proj-price span { font-size: var(--t-small); color: var(--mist); }
.proj.is-sold .proj-price b { color: rgba(242, 239, 232, .6); }
.proj-price .pc-ask { color: var(--ochre-soft); }
.proj-info--card h3 { margin: 2px 0 0; }
.proj-info--card .proj-loc { display: flex; align-items: center; gap: 6px; font-size: var(--t-small); }
.proj-info--card .proj-loc svg { width: 15px; height: 15px; flex: none; }
.proj-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-top: 1px solid rgba(242, 239, 232, .16); border-bottom: 1px solid rgba(242, 239, 232, .16); }
.proj-stats p { display: flex; align-items: center; gap: 7px; padding: 12px 0; font-size: var(--t-small); color: var(--mist); white-space: nowrap; }
.proj-stats p + p { padding-left: 14px; border-left: 1px solid rgba(242, 239, 232, .16); }
.proj-stats svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ochre-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.proj-stats b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; }
.proj-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--t-small); color: var(--mist); }
.proj-foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--mist); }
.proj-foot b { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.proj-foot .pc-ask { color: var(--ochre-soft); }
.proj-info--card .proj-actions { margin-top: 18px; gap: 14px; flex-wrap: wrap; }
.proj-btn { display: inline-grid; place-items: center; min-height: 48px; padding: 0 30px; border-radius: 999px; text-decoration: none; font-weight: 600; color: #1B1A17;
  background: linear-gradient(180deg, #FFFFFF 0%, #EEEBE4 60%, #D9D5CC 100%); box-shadow: 0 0 0 3px rgba(242, 239, 232, .08), 0 10px 20px -12px rgba(0, 0, 0, .6); transition: background .35s, transform .35s var(--ease-out); }
.proj-btn:hover { background: linear-gradient(180deg, #F2C677 0%, #E0A64A 60%, #C8861D 100%); transform: translateY(-1px); }
.proj-info--card .proj-actions .btn { min-height: 48px; }

/* Our homes: the same card row on the night ground */
.v4-homes { background: var(--night); color: var(--paper); padding: clamp(80px, 12vh, 140px) 0; }
.v4-homes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vh, 40px); }
.v4-homes .lead { margin-top: var(--s-lead); color: var(--mist); }
.v4-homes .v4-arrows button { border-color: rgba(242, 239, 232, .3); color: var(--paper); }
.v4-homes .v4-arrows button:hover:not(:disabled) { background: var(--paper); color: var(--night); border-color: var(--paper); }

/* Our homes: vertical scroll moves the row (desktop) */
.v4-homes-prog { display: none; align-items: center; gap: 14px; font: 600 var(--t-small) var(--f-display); color: var(--mist); font-variant-numeric: tabular-nums; }
.v4-homes-prog .hp-n { color: var(--paper); }
.hp-bar { position: relative; width: 160px; height: 2px; background: rgba(242, 239, 232, .18); overflow: hidden; border-radius: 2px; }
.hp-bar i { position: absolute; inset: 0; background: var(--ochre-soft); transform: scaleX(0); transform-origin: left; }
.v4-homes.is-pinned { min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 2vh) 0 4vh; }
.v4-homes.is-pinned > .v4-wrap { width: 100%; }
.v4-homes.is-pinned .v4-homes-prog { display: flex; }
.v4-homes.is-pinned .v4-arrows { display: none; }
.v4-homes.is-pinned .v4-grid { overflow: visible; scroll-snap-type: none; will-change: transform; }
.v4-homes.is-pinned .pc { transition: transform .5s var(--ease-out), box-shadow .5s, opacity .5s; }
.v4-homes.is-pinned .pc:not(.is-focus) { opacity: .55; }

/* Place, fully open: text on a calm panel, the building stays clear on the right */
@media (min-width: 901px) {
  .v4-home .place.is-dim .place-media::after { background: linear-gradient(90deg, rgba(20, 18, 17, .97) 0%, rgba(20, 18, 17, .94) 34%, rgba(20, 18, 17, .55) 50%, rgba(20, 18, 17, 0) 66%); }
  .v4-home .place:not(.is-static) .place-copy { width: min(30rem, 34vw); justify-content: center; gap: clamp(32px, 6vh, 64px); }
  .v4-home .place-list li { padding: 18px 0; }
  .v4-home .place-list span { font-size: 1.6rem; }
  .v4-home .place-media img { transition: filter 1s ease; }
  .v4-home .place.is-dim .place-media img { filter: saturate(.85); }
}

/* ===== How we differ, minimal (v4.4) ===== */
.dfx--min .dfx-head { display: block; }
.dfx--min .dfx-head .h2 { max-width: none; }
.dfx--min .dfx-hi { color: var(--ochre-soft); background: none; }
.dfx--min .dfx-main { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; margin-top: clamp(32px, 5vh, 56px); }
.dfx--min .dfx-stage { border-radius: 22px; }
.dfx--min .dfx-xray svg [data-k] { opacity: .22; }
.dfx--min .x-shell path { stroke: rgba(225, 222, 220, .35); }
/* one floating label marks the part being described */
.dfx-pin { position: absolute; z-index: 5; left: var(--px, 50%); top: var(--py, 50%); pointer-events: none; transition: left .7s var(--ease-out), top .7s var(--ease-out); }
.dfx-pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #F2C677; box-shadow: 0 0 0 0 rgba(242, 198, 119, .6); animation: dfx-ping 2.2s infinite; }
.dfx-pin b { position: absolute; left: 16px; top: -15px; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(20, 18, 17, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(242, 198, 119, .45); color: #F2EFE8; font: 600 var(--t-label) var(--f-text); }
.dfx-pin.flip b { left: auto; right: 16px; }
.dfx-pin.is-new b { animation: dfx-in .45s var(--ease-out) both; }
.dfx-hint { position: absolute; left: 50%; top: 16px; z-index: 3; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(20, 18, 17, .7); color: rgba(242, 239, 232, .85); font-size: var(--t-label); pointer-events: none; transition: opacity .5s; }
.dfx-stage.is-used .dfx-hint { opacity: 0; }
/* the list: active item opens to show one line */
.dfx--min .dfx-tabs { border-top: 0; }
.dfx--min .dfx-tab { grid-template-columns: 34px 1fr; align-items: start; padding: 16px 0; border-bottom-color: rgba(242, 239, 232, .1); }
.dfx--min .dfx-tab[aria-selected="true"] { padding-left: 0; }
.dfx-tx { display: grid; }
.dfx-td { display: grid; grid-template-rows: 0fr; overflow: hidden; font: 400 var(--t-small)/1.55 var(--f-text); letter-spacing: 0; color: var(--mist); opacity: 0; transition: opacity .3s, margin .4s var(--ease-out), max-height .5s var(--ease-out); max-height: 0; }
.dfx-tab[aria-selected="true"] .dfx-td { opacity: 1; max-height: 3.2em; margin-top: 6px; }
.dfx--min .dfx-tt { font-size: 1.15rem; }
.dfx--min .dfx-tn { padding-top: 3px; }
.dfx-req { justify-self: start; margin-top: 8px; color: var(--ochre-soft); }
/* facts in one quiet line */
.dfx-facts { list-style: none; margin: clamp(40px, 7vh, 72px) 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid rgba(242, 239, 232, .12); }
.dfx-facts li { display: grid; gap: 4px; }
.dfx-facts b { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; color: #F2EFE8; }
.dfx-facts span { font-size: var(--t-small); color: var(--mist); }
@media (max-width: 1000px) { .dfx--min .dfx-main { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dfx-facts { grid-template-columns: 1fr; } .dfx-pin b { font-size: .6875rem; } }

/* 02 · ISO audit, richer (v4.5) */
.vw-stage::after { right: 44px; }
.vw-svg .s2-title { font: 700 8px var(--f-text); letter-spacing: 1.6px; fill: #6B675E; }
.vw-svg .s2-lab { font: 600 8.6px var(--f-text); fill: #3A3833; }
.vw-svg .s2-lab.sm { font-size: 7px; fill: #8A867D; font-weight: 500; }
.vw-svg .s2-box { fill: #fff; stroke: #B9B4A8; stroke-width: 1; }
.vw-svg .s2-fill { fill: rgba(43, 42, 38, .14); transform-box: fill-box; transform-origin: left; transform: scaleX(0); }
.vw-svg .scene.on .s2-fill { animation: s2-fill .45s var(--ease-out) var(--d) both; }
@keyframes s2-fill { to { transform: scaleX(1); } }
.vw-svg .s2-tick { fill: none; stroke: #2F8A4E; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vw-svg .s2-row { opacity: 0; }
.vw-svg .scene.on .s2-row { animation: vw-in .3s ease var(--d) both; }
.vw-svg .s2-sig { fill: none; stroke: #393734; stroke-width: 1.6; stroke-linecap: round; }
.vw-svg .scene.on .s2-sig.dr { transition-duration: .7s; }
.vw-svg .s2-pen { opacity: 0; }
.vw-svg .scene.on .s2-pen { animation: s2-pen 1.05s ease-in-out var(--d) both; }
@keyframes s2-pen {
  0% { opacity: 0; transform: translate(-6px, -20px); }
  12% { opacity: 1; transform: translate(0, 0); }
  30% { transform: translate(14px, -8px); } 48% { transform: translate(26px, -2px); } 66% { transform: translate(38px, -6px); } 80% { opacity: 1; transform: translate(50px, -2px); }
  100% { opacity: 0; transform: translate(70px, -30px); }
}
.vw-svg .s2-pen-b { fill: #413F3C; } .vw-svg .s2-pen-c { fill: #E0A64A; } .vw-svg .s2-pen-n { fill: #D0D0CF; }
.vw-svg .scene.on .s2-paper { animation: s2-paper .7s cubic-bezier(.2, .8, .2, 1) both, s2-bump .35s ease-out 2.82s; }
.vw-svg .scene.on .s2-stamp { animation-duration: 1.6s; }
.vw-svg .scene.on .s2-shadow { animation-duration: 1.6s; }
.vw-svg .s2-seal { transform-box: view-box; }
.vw-svg .scene.on .s2-seal { animation: s2-seal2 .55s cubic-bezier(.2, .9, .2, 1) 2.82s both; }
@keyframes s2-seal2 { 0% { opacity: 0; transform: scale(1.14); } 25% { opacity: 1; } 100% { opacity: .92; transform: scale(1); } }
.vw-svg .s2-ink { stroke: #B5531D; }
.vw-svg .s2-ring { font-size: 6.6px; letter-spacing: 1.2px; fill: #B5531D; }
.vw-svg .s2-chk { stroke: #B5531D; stroke-width: 3.6; }
.vw-svg .s2-ripple { fill: none; stroke: #E0A64A; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.vw-svg .scene.on .s2-ripple { animation: s2-ripple .9s ease-out 2.82s both; }
@keyframes s2-ripple { 0% { opacity: 0; transform: scale(.9); } 4% { opacity: .9; } 100% { opacity: 0; transform: scale(1.9); } }
.vw-svg .s2-drop { fill: #B5531D; opacity: 0; }
.vw-svg .scene.on .s2-drop { animation: s2-drop .5s cubic-bezier(.1, .8, .2, 1) 2.82s both; }
@keyframes s2-drop { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 30% { opacity: .9; } 100% { opacity: .75; transform: translate(var(--dx), var(--dy)) scale(1); } }
.vw-svg .s2-shine { transform-box: view-box; }
.vw-svg .scene.on .s2-shine { animation: s2-shine 1.2s ease-in-out 3.15s both; }
@keyframes s2-shine { from { transform: rotate(20deg) translateX(0); } to { transform: rotate(20deg) translateX(170px); } }
@media (prefers-reduced-motion: reduce) { .vw-svg .s2-pen, .vw-svg .s2-ripple, .vw-svg .s2-shine { display: none; } }
.vw-svg .s2-worn .s2-ink { stroke-dasharray: 46 2 22 1.5 70 3 30 1; }
.vw-svg .s2-worn .s2-ink.thin { stroke-dasharray: 30 2 40 1.5; }

/* ===== Built to be checked: card + step layout (v4.6) ===== */
.vw2 { display: flex; flex-direction: column-reverse; align-items: stretch; gap: clamp(20px, 3vh, 32px); }
/* steps across the top */
.vw2 .vw-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; border-top: 0; }
.vw2 .vw-item { border: 0; border-radius: 14px; background: var(--bg); transition: background-color .35s, box-shadow .35s; }
html[data-mode="night"] .vw2 .vw-item { background: #21201E; }
.vw2 .vw-item.is-on { background: var(--ink); }
.vw2 .vw-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: start; gap: 8px 6px; height: 100%; padding: 14px 14px 16px; }
.vw2 .vw-n { grid-column: 1; grid-row: 1; }
.vw2 .vw-tick { grid-column: 2; grid-row: 1; }
.vw2 .vw-tick svg { width: 20px; height: 20px; }
.vw2 .vw-t { grid-column: 1 / -1; grid-row: 2; font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.25; color: var(--ink); }
.vw2 .vw-item.is-on .vw-t { color: var(--bg); transform: none; }
.vw2 .vw-item.is-on .vw-n { color: var(--ochre-soft); }
.vw2 .vw-item.is-on .vw-tick circle { stroke: rgba(238, 235, 228, .3); }
html[data-mode="night"] .vw2 .vw-item.is-on .vw-tick circle { stroke: rgba(27, 26, 24, .3); }
.vw2 .vw-row:hover .vw-t { color: inherit; }
.vw2 .vw-item:not(.is-on):hover { box-shadow: inset 0 0 0 1px var(--rule); }
.vw2 .vw-desc { display: none; }
.vw2 .vw-bar { left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--ochre-soft); }

/* the card: text panel, drawing window, title block */
.vw-card { --pad: clamp(18px, 2vw, 28px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); grid-template-rows: 1fr auto; border-radius: 26px; background: var(--bg); border: 1px solid var(--rule-2); box-shadow: 0 50px 90px -60px rgba(20, 18, 17, .45); overflow: hidden; }
html[data-mode="night"] .vw-card { background: #1B1A18; }
.vw-info { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: var(--pad) var(--pad) var(--pad) calc(var(--pad) + 8px); min-height: 0; }
.vw-kick { font-size: var(--t-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.vw-kn { color: var(--accent); }
.vw2 .vw-big { color: var(--accent); font-size: clamp(3.4rem, 6vw, 6rem); line-height: .9; margin-top: 6px; }
.vw-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; color: var(--ink); margin-top: 8px; }
.vw-text { color: var(--ink-2); font-size: var(--t-small); line-height: 1.6; max-width: 26em; }
.vw-text .textlink { color: var(--accent); }
.vw-card.swap .vw-kick, .vw-card.swap .vw-title, .vw-card.swap .vw-text { animation: vw2-in .6s var(--ease-out) both; }
.vw-card.swap .vw-title { animation-delay: .06s; }
.vw-card.swap .vw-text { animation-delay: .12s; }
@keyframes vw2-in { from { opacity: 0; transform: translateY(12px); } }
.vw2 .vw-stage { position: relative; top: 0; padding: 12px 12px 12px 0; perspective: 1400px; }
.vw2 .vw-sheet { aspect-ratio: 372 / 304; border-radius: 18px; }
.vw2 .vw-sheet::after { bottom: 14px; }
.vw-tb { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr) auto; border-top: 1px solid var(--rule); }
.vw-tb > span { display: grid; gap: 2px; padding: 12px var(--pad); font-family: var(--f-display); font-size: var(--t-small); font-weight: 500; color: var(--ink); }
.vw-tb > span + span { border-left: 1px solid var(--rule); }
.vw-tb small { font-family: var(--f-text); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.vw-tb b { font-weight: 500; font-variant-numeric: tabular-nums; }
.vw-tb-st { display: flex !important; align-items: center; justify-content: center; min-width: 150px; }
.vw-tb .vw-stamp { border-color: var(--accent); color: var(--accent); font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; }
.vw-card.done .vw-stamp { opacity: 1; transform: rotate(-4deg); transition: opacity .2s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }

@media (max-width: 1000px) {
  .vw-card { grid-template-columns: 1fr; }
  .vw2 .vw-stage { padding: 0 10px; order: -1; }
  .vw-info { padding-top: 14px; }
  .vw2 .vw-list { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .vw2 .vw-list::-webkit-scrollbar { display: none; }
  .vw2 .vw-item { flex: 0 0 150px; }
}
@media (max-width: 600px) {
  .vw-tb { grid-template-columns: 1fr 1fr; }
  .vw-tb > span:nth-child(3) { border-left: 0; border-top: 1px solid var(--rule); }
  .vw-tb-st { border-top: 1px solid var(--rule); }
  .vw2 .vw-big { font-size: 3rem; }
}
.vw2 .vw-sheet { height: min(52vh, 480px); width: auto; max-width: 100%; margin-left: auto; }
.vw-card { grid-template-columns: minmax(0, 1fr) auto; }
.vw2 .vw-stage { display: flex; justify-content: flex-end; }
.vw-info { padding-left: calc(var(--pad) + 16px); }
@media (max-width: 1000px) { .vw2 .vw-sheet { height: auto; width: 100%; } .vw-card { grid-template-columns: 1fr; } }

/* ===== Built to be checked: minimal (v4.7) ===== */
.vw .vw-score { display: none; }
.vw2 { gap: clamp(28px, 5vh, 52px); }
/* steps: one quiet line of text tabs */
.vw2 .vw-list { display: flex; gap: clamp(16px, 2.4vw, 36px); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.vw2 .vw-list::-webkit-scrollbar { display: none; }
.vw2 .vw-item, .vw2 .vw-item.is-on { flex: none; background: none; border-radius: 0; box-shadow: none !important; }
.vw2 .vw-row { display: flex; align-items: baseline; gap: 8px; padding: 0 0 14px; }
.vw2 .vw-tick { display: none; }
.vw2 .vw-n { font-size: .6875rem; color: var(--ink-2); }
.vw2 .vw-t, .vw2 .vw-item.is-on .vw-t { font-size: var(--t-small); color: var(--ink-2); white-space: nowrap; }
.vw2 .vw-item.is-on .vw-t { color: var(--ink); }
.vw2 .vw-item.is-on .vw-n { color: var(--accent); }
.vw2 .vw-item.is-checked:not(.is-on) .vw-n::after { content: " ✓"; color: var(--accent); }
.vw2 .vw-bar { left: 0; right: 0; bottom: -1px; height: 2px; }
.vw2 .vw-item.is-on .vw-bar { opacity: 1; }
.vw2 .vw-item.is-on:not(:has(.vw-bar[style*="scaleX(0."])) .vw-bar { }
/* the card: no frame, just words and the drawing */
.vw-card, html[data-mode="night"] .vw-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); grid-template-rows: auto; background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; align-items: center; gap: clamp(24px, 4vw, 64px); }
.vw-info { padding: 0; gap: 12px; }
.vw-kick { letter-spacing: .1em; }
.vw2 .vw-big { font-size: clamp(4rem, 8vw, 7.5rem); margin-top: 0; }
.vw-title { margin-top: 4px; }
.vw2 .vw-stage { padding: 0; justify-content: flex-end; }
.vw2 .vw-sheet { height: min(50vh, 460px); border-radius: 22px; box-shadow: 0 40px 80px -50px rgba(20, 18, 17, .55); }
.vw2 .vw-sheet::before, .vw2 .vw-sheet::after { display: none; }
.vw2 .vw-stage::after { display: none; }
.vw-stamp--in { position: absolute; right: 16px; bottom: 14px; z-index: 2; border-color: var(--bp-acc); color: var(--bp-acc); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.vw-sheet.done .vw-stamp--in { opacity: 1; transform: rotate(-4deg); }
@media (max-width: 1000px) {
  .vw-card, html[data-mode="night"] .vw-card { grid-template-columns: 1fr; }
  .vw2 .vw-stage { order: -1; }
  .vw2 .vw-list { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}
.vw2 .vw-sheet { height: min(56vh, 520px); }
.vw-card.swap .vw-svg { animation: vw2-sheet .7s var(--ease-out) both; }
@keyframes vw2-sheet { from { opacity: 0; transform: translateX(18px); } }
@media (prefers-reduced-motion: reduce) { .vw-card.swap * { animation: none !important; } }
@media (max-width: 1000px) { .vw2 .vw-sheet { height: auto; width: 100%; margin: 0; } .vw2 .vw-stage { display: block; } }

/* How we differ: 3D model stage */
.dfx-3d { aspect-ratio: 16 / 11; background: radial-gradient(110% 90% at 55% 35%, #3C3936 0%, #1B1A18 72%); cursor: grab; touch-action: pan-y; }
.dfx-3d.is-drag { cursor: grabbing; }
.dfx-3d::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(202, 197, 193, .05) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, rgba(202, 197, 193, .05) 1px, transparent 1px) 0 0 / 28px 100%; pointer-events: none; }
.dfx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dfx-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.dfx-3d.no-3d .dfx-fallback { display: block; }
.dfx-3d.no-3d .dfx-pin, .dfx-3d.no-3d .dfx-hint { display: none; }
.dfx-3d .dfx-pin { transition: none; }
.dfx-3d .dfx-note { position: absolute; right: 14px; bottom: 10px; z-index: 3; font-size: .6875rem; color: rgba(225, 222, 220, .55); pointer-events: none; }
.dfx-3d .dfx-hint { top: auto; bottom: 12px; left: 16px; transform: none; }

/* ===== Every home-page section fits one screen (desktop) ===== */
@media (min-width: 901px) {
  .v4-home { --fit-pad: clamp(36px, 6.5vh, 76px); }
  /* find */
  .v4-home .v4-find { padding: calc(var(--fit-pad) + var(--nav-h) * .5) 0 var(--fit-pad); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .v4-home .v4-find .v4-filters { margin: 16px 0; }
  .v4-home .v4-grid .pc-media { aspect-ratio: auto; height: clamp(150px, 24vh, 230px); }
  .v4-home .pc-head { padding: 12px 10px 10px; }
  .v4-home .pc-stats p { margin: 8px 0; }
  .v4-home .pc-foot { padding: 10px; }
  .v4-home .pc-btn { min-height: 44px; }
  .v4-home .v4-rowctl { margin-bottom: 12px; }
  /* why */
  .v4-home .v4-why { padding: calc(var(--fit-pad) + var(--nav-h) * .5) 0 var(--fit-pad); min-height: 100svh; display: flex; align-items: center; }
  .v4-home .v4-why > .v4-wrap { width: 100%; }
  .v4-home .vw2 { margin-top: clamp(16px, 3vh, 32px); gap: clamp(16px, 3vh, 32px); }
  .v4-home .vw2 .vw-sheet { height: min(calc(100svh - 360px), 520px); }
  /* differ */
  .v4-home .dfx { padding: calc(var(--fit-pad) + var(--nav-h) * .5) 0 var(--fit-pad); min-height: 100svh; display: flex; align-items: center; }
  .v4-home .dfx > .v4-wrap { width: 100%; }
  .v4-home .dfx--min .dfx-main { margin-top: clamp(16px, 3vh, 32px); }
  .v4-home .dfx-3d { aspect-ratio: auto; height: min(calc(100svh - 330px), 620px); }
  .v4-home .dfx-facts { margin-top: clamp(16px, 3vh, 32px); padding-top: 14px; }
  .v4-home .dfx-facts b { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
  .v4-home .dfx--min .dfx-tab { padding: 12px 0; }
  /* living: the film screen, then the amenities screen */
  .v4-home .living { padding: calc(var(--fit-pad) + var(--nav-h) * .5) var(--gutter) var(--fit-pad); }
  .v4-home .living-grid { min-height: calc(100svh - var(--fit-pad) * 2 - var(--nav-h) * .5); grid-template-rows: auto auto; align-content: center; }
  .v4-home .living-main { aspect-ratio: auto; height: min(56vh, 56.25vw); }
  .v4-home .living-copy { padding-top: clamp(20px, 3.5vh, 40px); }
  .v4-home .living-side { margin-top: clamp(20px, 3.5vh, 40px); aspect-ratio: auto; height: clamp(140px, 22vh, 260px); }
  .v4-home .am { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; margin-top: 0; padding-top: var(--nav-h); }
  .v4-home .am-chips { margin: 14px 0 12px; }
  .v4-home .am-item { padding: 6px 6px 6px 0; }
  .v4-home .am-ic { width: 38px; height: 38px; }
  .v4-home .am-count b { font-size: clamp(2.6rem, 5vw, 4.6rem); }
  /* budget */
  .v4-home .bg { padding: calc(var(--fit-pad) + var(--nav-h) * .5) 0 var(--fit-pad); min-height: 100svh; display: flex; align-items: center; }
  .v4-home .bg > .v4-wrap { width: 100%; }
  .v4-home .bg-head { margin-bottom: clamp(14px, 2.6vh, 28px); }
  .v4-home .bg-pick, .v4-home .bg-calc { padding: clamp(16px, 2.2vh, 28px) clamp(18px, 2vw, 30px); gap: clamp(8px, 1.4vh, 14px); }
  .v4-home .bg-calc { gap: clamp(10px, 1.8vh, 18px); }
  .v4-home .bg-step { margin-bottom: 8px; }
  .v4-home .bg-home-in { padding: 12px 14px; gap: 2px; }
  .v4-home .bg-home-price { font-size: clamp(1.3rem, 1.9vw, 1.8rem); }
  .v4-home .bg-own-in { padding: 6px 6px 6px 14px; }
  .v4-home .bg-own-f input { min-height: 36px; }
  .v4-home .bg-req { margin-top: 4px; }
  .v4-home .bg-req-list li { padding: 5px 0; }
  .v4-home .bg-ask { min-height: 28px; }
  .v4-home .bg-emi b { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
  .v4-home .bg-bar { margin-top: 10px; height: 10px; }
  .v4-home .bg-legend { margin-top: 8px; }
  .v4-home .bg-total { margin-top: 8px; padding-top: 8px; }
  .v4-home .bg-sliders { gap: clamp(6px, 1.2vh, 14px); }
  .v4-home .bg-sl input[type=range] { height: 22px; }
  /* about */
  .v4-home .about { padding: calc(var(--fit-pad) + var(--nav-h) * .5) var(--gutter) var(--fit-pad); min-height: 100svh; display: flex; align-items: center; }
  .v4-home .about > .about-grid { width: 100%; align-items: center; }
  .v4-home .about-media { position: relative; top: 0; height: min(calc(100svh - 200px), 640px); }
  .v4-home .about-body .timeline { margin-top: clamp(16px, 3vh, 32px); }
  .v4-home .about-body .spec { margin-top: clamp(16px, 3vh, 32px); }
  /* contact: film and details together in one screen */
  .v4-home .closing-film { height: calc(100svh - 200px); min-height: 420px; }
  .v4-home .closing-copy { bottom: 7vh; }
}
@media (min-width: 901px) {
  .v4-home .dfx-3d { height: min(calc(100svh - 420px), 600px); min-height: 300px; }
  .v4-home .dfx--min .dfx-main { align-items: center; }
  .v4-home .v4-grid .pc-media { height: clamp(120px, calc(100svh - 640px), 230px); }
  .v4-home .closing-film { height: calc(100svh - 230px); }
  .v4-home .contact { padding: 28px var(--gutter) 36px; row-gap: 20px; }
  .v4-home .about-body .spec { padding-top: 18px; }
  .v4-home .about-body .spec li { padding: 8px 0; }
  .v4-home .about-media { height: min(calc(100svh - 220px), 620px); }
}
@media (min-width: 901px) and (max-height: 820px) {
  .v4-home { --fit-pad: clamp(20px, 4vh, 40px); }
  .v4-home .h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
  .v4-home .bg-req-list li { padding: 3px 0; }
  .v4-home .bg-home-meta span:last-child { display: none; }
  .v4-home .bg-legend dd { font-size: .95rem; }
  .v4-home .bg-fine { display: none; }
  .v4-home .about-body .timeline li { padding-bottom: 10px; }
  .v4-home .about-body .lead { margin-top: 10px; }
}
@media (min-width: 901px) { .v4-home .living-main video { object-fit: cover; } }

/* ===== Footer: one calm closing block ===== */
.footer.fx { display: block; position: relative; overflow: hidden; padding: clamp(48px, 8vh, 88px) var(--gutter) 28px; border-top: 0; background: var(--night); color: var(--mist); font-size: var(--t-small); }
.fx-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px clamp(24px, 3vw, 56px); padding-bottom: clamp(32px, 5vh, 56px); border-bottom: 1px solid rgba(242, 239, 232, .12); }
.fx-brand .brand { color: var(--paper); }
.fx-brand p { margin-top: 14px; color: var(--mist); }
.fx-acts { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.fx-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(242, 239, 232, .22); color: var(--paper); text-decoration: none; font-weight: 500; transition: background-color .3s, border-color .3s, color .3s; }
.fx-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-pill:hover { background: var(--ochre-soft); border-color: var(--ochre-soft); color: #1B1A17; }
.fx-col { display: grid; gap: 10px; align-content: start; }
.fx-col h3 { margin: 0 0 6px; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-soft); }
.fx-col a, .fx-bottom a { color: #D9D4CA; text-decoration: none; transition: color .25s; }
.fx-col a:hover, .fx-bottom a:hover { color: #fff; }
.fx-col p { line-height: 1.6; max-width: 22em; }
.fx-word { margin: 0; padding-top: clamp(18px, 3vh, 32px); font-family: var(--f-display); font-weight: 500; font-size: clamp(3.6rem, 13.5vw, 13rem); line-height: .82; letter-spacing: -.055em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(242, 239, 232, .14), rgba(242, 239, 232, .02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.fx-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(242, 239, 232, .12); font-size: var(--t-label); }
.fx-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
/* the closing film fades straight into the footer */
.v4-home .closing-film::after { background: linear-gradient(180deg, rgba(27, 26, 24, .35) 0%, rgba(27, 26, 24, 0) 30%, rgba(27, 26, 24, .55) 72%, var(--night) 100%); }
@media (min-width: 901px) { .v4-home .closing-film { height: 100svh; } .v4-home .closing-copy { bottom: 14vh; } }
@media (max-width: 1100px) { .fx-top { grid-template-columns: 1fr 1fr 1fr; } .fx-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .fx-top { grid-template-columns: 1fr 1fr; } .fx-col:last-child { grid-column: 1 / -1; } .fx-bottom { flex-direction: column; align-items: flex-start; } }
.footer.fx nav.fx-col { display: grid; gap: 10px; }
.fx-col h3 { margin: 0; }
.fx-col { gap: 9px; }
@media (min-width: 901px) { .fx-bottom { padding-right: 170px; } }

/* Footer in white (day view); night view keeps the dark footer */
html:not([data-mode="night"]) .footer.fx { background: #FFFFFF; color: #5E5C56; border-top: 1px solid rgba(38, 37, 34, .08); }
html:not([data-mode="night"]) .fx-brand .brand { color: #1B1A17; }
html:not([data-mode="night"]) .fx-brand p { color: #5E5C56; }
html:not([data-mode="night"]) .fx-pill { color: #1B1A17; border-color: rgba(38, 37, 34, .2); }
html:not([data-mode="night"]) .fx-pill:hover { background: var(--ochre-ink); border-color: var(--ochre-ink); color: #fff; }
html:not([data-mode="night"]) .fx-col h3 { color: var(--ochre-ink); }
html:not([data-mode="night"]) .fx-col a, html:not([data-mode="night"]) .fx-bottom a { color: #262522; }
html:not([data-mode="night"]) .fx-col a:hover, html:not([data-mode="night"]) .fx-bottom a:hover { color: var(--ochre-ink); }
html:not([data-mode="night"]) .fx-col p { color: #5E5C56; }
html:not([data-mode="night"]) .fx-top, html:not([data-mode="night"]) .fx-bottom { border-color: rgba(38, 37, 34, .1); }
html:not([data-mode="night"]) .fx-word { background: linear-gradient(180deg, rgba(38, 37, 34, .09), rgba(38, 37, 34, .015)); -webkit-background-clip: text; background-clip: text; }
html:not([data-mode="night"]) .footer.fx :focus-visible { outline-color: var(--ochre-ink); }

/* planner: no project picked, no project link */
#bg-link[hidden] { display: none; }
/* floor plan type chips: breathing room under the heading */
#v4-plan-tabs { margin-top: clamp(14px, 2vh, 22px); }
/* price table fits a phone: no sideways scroll, headers wrap */
@media (max-width: 600px) { .v4-table:not(.v4-cmp-table) { min-width: 0; } .v4-table:not(.v4-cmp-table) th, .v4-table:not(.v4-cmp-table) td { padding: 12px 10px; } }
