/* Home story: one sticky 3D stage, chapter cards scroll over it. */
.home-introduction:has(.valley-story){padding-bottom:0}
.valley-story{position:relative;margin:0 calc(var(--gutter)*-1);--story-card:#f4f1e8f0;--story-ink:#26392e}
.valley-story-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:#dfe2d7;isolation:isolate}
/* Stills of the chapters (valley-story.mjs crossfades them and lets each drift a little closer); the live valley
   replaces them once it is ready. */
.valley-story-posters,.valley-story-poster,.valley-story-canvas{position:absolute;inset:0;width:100%;height:100%}
.valley-story-posters{z-index:0;transition:opacity .7s ease}
.valley-story-poster{display:block;transform-origin:50% 42%;will-change:transform,opacity}.valley-story-poster[hidden]{display:none}
.valley-story-poster img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.valley-story-canvas canvas{display:block;width:100%;height:100%;pointer-events:none;opacity:0;animation:valley-story-in .9s ease forwards}
@keyframes valley-story-in{to{opacity:1}}
.valley-story-stage[data-state=ready] .valley-story-posters{opacity:0}
.valley-story-stage:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 125% 100% at 60% 50%,transparent 62%,#1c291f2e 100%),linear-gradient(180deg,#f4f1e833 0,transparent 22%,transparent 78%,#23382c24 100%)}
.valley-story-labels{z-index:2}
.valley-story-labels .valley-label{font-size:11px;letter-spacing:.02em;padding:7px 12px;background:#f7f4eaf2;border-color:#fffc;color:#26392e;box-shadow:0 6px 22px #1f35271f}
.valley-story-labels .valley-label:after{height:18px;background:#f7f4ea}
.valley-story-stage[data-chapter=valley] .valley-story-labels .valley-label{font-size:10px}
.valley-story-rail{position:absolute;z-index:3;right:var(--gutter);top:50%;transform:translateY(-50%);display:grid;gap:4px;counter-reset:story}
.valley-story-rail a{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:34px;color:#26392e;text-decoration:none}
.valley-story-rail b{font-size:11px;font-weight:500;padding:5px 10px;background:#f4f1e8f0;box-shadow:0 4px 16px #1f352718;opacity:0;transform:translateX(6px);transition:opacity .3s,transform .3s;pointer-events:none}
.valley-story-rail a[aria-current] b,.valley-story-rail a:hover b,.valley-story-rail a:focus-visible b{opacity:1;transform:none}
.valley-story-rail a>span{order:2;font-size:9px;letter-spacing:.06em;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;border:1px solid #ffffffb0;background:#f4f1e8d9;color:#43584a;backdrop-filter:blur(8px);box-shadow:0 3px 12px #1f352718;transition:background .3s,color .3s,border-color .3s}
.valley-story-rail a[aria-current]>span{background:#2b4633;border-color:#2b4633;color:#fff5dc}
.valley-story-skip{position:absolute;z-index:3;right:var(--gutter);bottom:22px;display:flex;align-items:center;gap:14px;min-height:40px;padding:0 14px;font-size:12px;color:#243a2d;text-decoration:none;background:#f4f1e8e6;backdrop-filter:blur(8px);box-shadow:0 4px 16px #1f352718}
.valley-story-skip:hover{background:#fffbef}
.valley-story-credit{position:absolute;z-index:3;left:var(--gutter);bottom:22px;margin:0;padding:6px 10px;font-size:10px;color:#3a4f40;background:#f4f1e8cc;backdrop-filter:blur(8px)}
.valley-story-status{position:absolute;z-index:3;left:var(--gutter);bottom:58px;margin:0;padding:6px 10px;font-size:10px;color:#2f4536;background:#f4f1e8cc}
.valley-story-status:empty{display:none}
.valley-story-stage[data-state=ready] .valley-story-status{display:none}
.valley-story-load{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:5px;padding:16px 22px;border:0;background:#243d2e;color:#fff6df;font:12px Manrope,Arial,sans-serif;cursor:pointer}
.valley-story-load small{font-size:10px;opacity:.72}
.valley-story-steps{position:relative;z-index:3;margin-top:-100vh;margin-top:-100svh;padding:0 var(--gutter);pointer-events:none}
.valley-story-steps:after{content:"";display:block;height:30svh}
.valley-story-step{min-height:100vh;min-height:100svh;display:flex;align-items:center}
.valley-story-card{pointer-events:auto;width:min(440px,100%);padding:32px 34px 30px;background:var(--story-card);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid #ffffffa6;box-shadow:0 24px 70px #1f352714;color:var(--story-ink);transition:opacity .5s,transform .5s}
.valley-story-card h2,.valley-story-card h3{font:400 clamp(40px,3.9vw,58px)/1 var(--serif,'EB Garamond',Georgia,serif);letter-spacing:-.04em;margin:18px 0 18px}
.valley-story-card h3{font-size:clamp(36px,3.3vw,50px)}
.valley-story-card h2 em,.valley-story-card h3 em{color:#768362}
.valley-story-text{font-size:14px;line-height:1.85;color:#56654f;margin:0}
.valley-story-hint{margin:26px 0 0;font-size:11px;color:#7b856f;display:flex;gap:10px}
.valley-story-hint span{animation:valley-story-hint 1.8s ease-in-out infinite}
@keyframes valley-story-hint{50%{transform:translateY(4px)}}
.valley-story-photo{margin:22px 0 0}
.valley-story-photo img{display:block;width:100%;height:150px;object-fit:cover}
.valley-story-photo figcaption{margin-top:8px;font-size:9px;line-height:1.6;color:#7a846f}
.valley-story-photo figcaption>span{letter-spacing:.08em;text-transform:uppercase;margin-right:4px;color:#5e6d55}
.valley-story-photo a{color:inherit;text-underline-offset:3px}
.valley-story-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 0;padding-top:18px;border-top:1px solid #d3d5c4}
.valley-story-facts div{display:flex;flex-direction:column-reverse;gap:5px}
.valley-story-facts dt{font-size:9px;color:#7b856f}
.valley-story-facts dd{margin:0;font:400 25px/1 var(--serif,'EB Garamond',Georgia,serif);color:#2b4133}
.valley-story-note{margin:10px 0 0;font-size:9px;color:#8a927f}
.valley-story-link{display:inline-flex;gap:14px;align-items:center;margin-top:22px;min-height:40px;font-size:12px;color:#2c4433;text-decoration:none;border-bottom:1px solid #2c443355}
.valley-story-link:hover{border-color:#2c4433}
.valley-story-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 26px;margin-top:26px}
.valley-story-actions .valley-story-link{margin-top:0}
.valley-story-primary{display:inline-flex;align-items:center;gap:26px;min-height:50px;padding:0 22px;background:#263f31;color:#fffbec;font-size:12px;text-decoration:none;transition:background .25s}
.valley-story-primary:hover{background:#3c5a41}
.valley-story-primary span{font-size:18px}
@media(max-width:760px),(max-aspect-ratio:9/10){
  .valley-story-stage:after{background:radial-gradient(ellipse 140% 90% at 50% 38%,transparent 60%,#1c291f24 100%),linear-gradient(180deg,#f4f1e826 0,transparent 20%,transparent 60%,#23382c1f 100%)}
  .valley-story-rail{top:auto;bottom:auto;right:auto;left:16px;top:96px;transform:none;display:flex;gap:6px}
  .valley-story-rail a{min-height:30px}.valley-story-rail a>span{width:26px;height:26px;font-size:8px}.valley-story-rail b{display:none}
  .valley-story-skip{top:96px;bottom:auto;right:16px;min-height:30px;padding:0 10px;font-size:11px}
  .valley-story-credit{display:none}
  .valley-story-status{left:16px;bottom:24px;font-size:9px}
  .valley-story-step{align-items:flex-end;padding-bottom:9svh}
  .valley-story-steps{padding:0 12px}
  .valley-story-card{width:100%;padding:22px 22px 20px;box-shadow:0 16px 50px #1f35271a}
  .valley-story-card h2,.valley-story-card h3{font-size:clamp(32px,9vw,40px);margin:12px 0 12px}
  .valley-story-text{font-size:13px;line-height:1.75}
  .valley-story-photo{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:center;margin-top:16px}
  .valley-story-photo img{height:72px}
  .valley-story-photo figcaption{margin:0;font-size:8px}
  .valley-story-facts{margin-top:16px;padding-top:14px;gap:8px}.valley-story-facts dd{font-size:21px}
  .valley-story-hint{margin-top:16px}
  .valley-story-link{margin-top:14px;font-size:11px}
  .valley-story-actions{margin-top:18px}
  .valley-story-primary{min-height:46px}
}
@media(prefers-reduced-motion:reduce){.valley-story-hint span{animation:none}.valley-story-canvas canvas{animation:none;opacity:1}.valley-story-posters{transition:none}}

/* Panorama orbs: DOM markers projected from the real camera positions, floating above the valley. */
.valley-orbs{position:absolute;inset:0;z-index:3;pointer-events:none}
.valley-orb{--ball:34px;position:absolute;display:grid;justify-items:center;gap:7px;width:120px;padding:0;border:0;background:none;cursor:pointer;pointer-events:auto;transform:translate(-50%,calc(var(--ball)/-2)) scale(var(--marker-scale,1));transform-origin:50% calc(var(--ball)/2);transition:filter .25s}
.valley-orb[hidden]{display:none}
.valley-orb.is-air{--ball:46px}
.valley-orb-ball{position:relative;display:block;width:var(--ball,34px);height:var(--ball,34px);border-radius:50%;background:radial-gradient(circle at 34% 28%,#fffdf5 0 7%,#fbe9b4 18%,#eabd62 46%,#bb7d2a 76%,#76491a 100%);box-shadow:0 0 0 1px #fff4d27a,0 8px 20px #5b3a1455,0 0 32px 8px #ffd98a80;animation:valley-orb-float 3.8s ease-in-out infinite}
.valley-orb-ball:after{content:"";position:absolute;inset:-10px;border-radius:50%;border:1px solid #fff1c4b0;animation:valley-orb-ring 2.6s ease-out infinite}
.valley-orb-tag{font:600 10px/1 Manrope,Arial,sans-serif;letter-spacing:.03em;color:#26392e;background:#f7f3e6f0;padding:6px 9px;white-space:nowrap;box-shadow:0 4px 14px #1f352722}
.valley-orb:hover,.valley-orb:focus-visible{filter:brightness(1.08) drop-shadow(0 0 10px #ffe1a0)}
.valley-orb:focus-visible{outline:2px solid #fff6d8;outline-offset:6px}
@keyframes valley-orb-float{0%,100%{transform:translateY(-6px)}50%{transform:translateY(6px)}}
@keyframes valley-orb-ring{0%{transform:scale(.72);opacity:.95}100%{transform:scale(1.55);opacity:0}}
.valley-story-orb-note{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:center;margin:20px 0 6px;padding-top:16px;border-top:1px solid #d3d5c4}
.valley-story-orb-note .valley-orb-ball{width:26px;height:26px;animation:none}.valley-story-orb-note .valley-orb-ball:after{display:none}
.valley-story-orb-note p{margin:0;font-size:12px;line-height:1.6;color:#5c6a55}
button.valley-story-link{padding:0;border:0;border-bottom:1px solid #2c443355;background:none;cursor:pointer;font:inherit;font-size:12px;color:#2c4433}
button.valley-story-primary{border:0;cursor:pointer;font:inherit;font-size:12px}
button.valley-story-primary:disabled{background:#a3ab99;cursor:default}

/* The last chapter holds: plan and card stay put while a plot is chosen. */
.valley-story-step[data-story-step=plots]{min-height:175vh;min-height:175svh;align-items:flex-start}
.valley-story-step[data-story-step=plots]>.valley-story-card{position:sticky;top:max(104px,calc(50svh - 300px))}
.valley-story-choice{width:min(470px,100%)}
.valley-story-find{margin:16px 0 0}.valley-story-find label{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#7b856f;margin:0 0 6px}
.valley-story-find div{display:flex;gap:6px}.valley-story-find input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid #d5d6c6;border-radius:2px;background:#fbf9f1;color:#233b2f;font:inherit;font-size:16px}
.valley-story-find input:focus-visible{outline:2px solid #2b4633;outline-offset:1px}
.valley-story-find button{height:44px;padding:0 16px;border:1px solid #2b4633;border-radius:2px;background:#2b4633;color:#fff5dc;font:inherit;font-size:13px;cursor:pointer}
.valley-story-find button:hover{background:#355840}.valley-story-find p{margin:6px 0 0;min-height:1em;font-size:12px;color:#8a5a3c}
.valley-story-find p:empty{display:none}
.valley-story-stage[data-choosing=true] .valley-story-canvas canvas{pointer-events:auto;touch-action:pan-y;cursor:pointer}
.valley-story-choice-facts dd{font-size:19px}
.valley-story-choice .valley-story-actions{margin-top:20px}
.valley-story-choice .valley-story-note a{color:inherit;text-underline-offset:3px}
/* Plan labels inside the story share the explorer's reading of plots, places and edges. */
.valley-story-labels .valley-parcel-label:has(strong){display:grid;gap:2px;min-width:44px;padding:4px 6px;border:0;background:none;box-shadow:none;transform:translate(-50%,-50%);color:#fff7dc;text-shadow:0 1px 4px #213c27,0 0 10px #213c27;font:inherit}
.valley-story-labels .valley-parcel-label strong{font:600 15px/1.1 Manrope,Arial,sans-serif}.valley-story-labels .valley-parcel-label small{font-size:9px;white-space:nowrap}
.valley-story-labels .valley-parcel-label:has(strong):after,.valley-story-labels .valley-community-label:after,.valley-story-labels .valley-edge-label:after{display:none}
.valley-story-labels .valley-parcel-label:has(strong).is-selected,.valley-story-labels .valley-parcel-label:has(strong):hover{background:#f5e7bc;color:#294331;text-shadow:none}
.valley-story-labels .valley-community-label{padding:6px 9px;font-size:9px;background:#f2eddae8;color:#37523b;transform:translate(-50%,-50%)}
.valley-story-labels .valley-edge-label{font-size:9px;background:#263e31e0;color:#fff;transform:translate(-50%,-50%)}
/* On the home page the house editor opens below the story only when a plot is being tried on. */
.home-redesign [data-unified-land]:not(.is-house-open){display:none}

/* One modal for the real panoramas. */
.pano-dialog{width:min(1180px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100svh - 32px));max-height:none;padding:0;border:0;background:transparent;color:#26392e}
.pano-dialog::backdrop{background:#15241cc9;backdrop-filter:blur(6px)}
.pano-dialog-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;background:#f4f1e8;box-shadow:0 30px 90px #0000007a}
.pano-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 22px 14px}
.pano-dialog-head .home-kicker{margin:0}
.pano-dialog-head h2{margin:8px 0 6px;font:400 34px/1 var(--serif,Georgia,serif);letter-spacing:-.03em}
.pano-dialog-meta{margin:0;font-size:11px;color:#6f7a66}
.pano-dialog-close{flex:none;width:44px;height:44px;border:0;background:#e7e4d6;color:#26392e;font-size:26px;line-height:1;cursor:pointer}
.pano-dialog-close:hover{background:#dcd8c6}
.pano-dialog-view{position:relative;min-height:0;background:#1f2e25}
.pano-dialog-view iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pano-dialog-state{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;text-align:center;color:#e9e4d2;font-size:13px}
.pano-dialog[data-state=ready] .pano-dialog-state{display:none}
.pano-dialog-foot{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 22px;padding:14px 22px 16px}
.pano-dialog-points{display:flex;gap:6px}
.pano-dialog-points button{display:grid;gap:3px;padding:8px 12px;border:1px solid #d3d3c3;background:#fbf9f1;color:#3c5041;text-align:left;cursor:pointer;font:inherit}
.pano-dialog-points strong{font-size:12px;font-weight:600}.pano-dialog-points span{font-size:10px;color:#7b856f}
.pano-dialog-points button[aria-pressed=true]{background:#2b4633;border-color:#2b4633;color:#fff5dc}.pano-dialog-points button[aria-pressed=true] span{color:#e1d9bd}
.pano-dialog-copy{margin:0;font-size:11px;line-height:1.6;color:#5f6b58}
.pano-dialog-link{font-size:12px;color:#2c4433;white-space:nowrap;text-underline-offset:3px}
.pano-dialog-credit{grid-column:1/-1;margin:0;font-size:9px;color:#8a927f}
@media(max-width:760px),(max-aspect-ratio:9/10){
  .valley-orb{--ball:30px;width:96px}.valley-orb.is-air{--ball:38px}.valley-orb-tag{font-size:9px;padding:5px 7px}
  .valley-story-step[data-story-step=plots]{align-items:flex-end;padding-bottom:0}
  .valley-story-step[data-story-step=plots]>.valley-story-card{top:auto;bottom:10px}
  .valley-story-choice{padding:18px 18px 16px}.valley-story-choice h3{font-size:26px;margin:8px 0 8px}.valley-story-choice .valley-story-text{font-size:12px;line-height:1.5}
  .valley-story-choice .valley-story-note,.valley-story-choice [data-choice-contact]{display:none}
  .valley-story-find{margin-top:10px}.valley-story-find label{display:none}.valley-story-find input,.valley-story-find button{height:40px}
  .valley-story-choice-facts{margin-top:10px;padding-top:8px}.valley-story-choice-facts dd{font-size:15px}.valley-story-choice-facts dt{font-size:8px}
  .valley-story-choice .valley-story-note,.valley-story-orb-note p{font-size:11px}
  .valley-story-choice .valley-story-actions{margin-top:14px}
  .pano-dialog{width:100vw;height:100svh;max-height:100svh}
  .pano-dialog-head{padding:14px 14px 10px}.pano-dialog-head h2{font-size:26px}
  .pano-dialog-foot{grid-template-columns:1fr;padding:12px 14px 14px}.pano-dialog-copy{display:none}.pano-dialog-points{overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){.valley-orb-ball,.valley-orb-ball:after{animation:none}}
/* Close-up of an object in the last chapter: a way back to the whole plan on the stage and in the card. */
/* Above the chapter cards, which scroll over the stage; shown only while an object is in close-up. */
.valley-story-overview{position:fixed;z-index:6;left:var(--gutter);top:118px;display:flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border:0;background:#243d2e;color:#fff6df;font:13px/1 Manrope,Arial,sans-serif;cursor:pointer;box-shadow:0 6px 22px #1f35272e;transition:background .2s}
.valley-story-overview:hover{background:#2f4f3b}.valley-story-overview:focus-visible{outline:2px solid #f5e7bc;outline-offset:2px}
.valley-story-overview[hidden],.valley-story-back[hidden]{display:none!important}
.valley-story-stage[data-focus=true] .valley-story-skip{opacity:0;pointer-events:none}
@media(max-width:760px){.valley-story-overview{top:150px;left:16px;min-height:40px;padding:0 14px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.valley-story-overview{transition:none}}
/* While an object is in close-up, the other chapters' cards step aside so the stage shows it. */
.valley-story[data-focus=true] .valley-story-step:not([data-story-step=plots]) .valley-story-card{opacity:0;pointer-events:none}
/* The house designer of the last chapter: the configurator's choices, applied to the house in the valley. */
.valley-story-house{display:grid;gap:14px;margin:16px 0 4px}
.valley-story-house[hidden]{display:none}
.valley-story-house fieldset{margin:0;padding:0;border:0;min-width:0}
.valley-story-house legend{padding:0;margin:0 0 7px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#7b856f}
.valley-story-house legend small{letter-spacing:0;text-transform:none;font-size:10px;color:#9aa38c}
.vsh-segments{display:flex}
.vsh-segments label{flex:1;position:relative;cursor:pointer}
.vsh-segments span{display:block;min-height:40px;display:flex;align-items:center;justify-content:center;padding:0 6px;font-size:13px;color:#3b5041;border:1px solid #d3d6c5;margin-right:-1px;background:#fbf9f1;transition:background .2s,border-color .2s}
.vsh-segments input,.vsh-swatches input{opacity:0;position:absolute;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.vsh-segments input:checked+span{background:#2b4633;border-color:#2b4633;color:#fff5dc;position:relative}
.vsh-segments label:has(:focus-visible),.vsh-swatches label:has(:focus-visible){outline:2px solid #2b4633;outline-offset:2px}
.vsh-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vsh-swatches{display:flex;gap:18px}
.vsh-swatches label{display:flex;flex-direction:column;gap:6px;align-items:center;position:relative;font-size:11px;color:#6d7862;cursor:pointer}
.vsh-swatches span{width:34px;height:34px;background:var(--swatch);border:3px solid #f8f7f0;outline:1px solid #c7cdbb;border-radius:50%;pointer-events:none}
.vsh-swatches input:checked+span{outline:2px solid #2b4633}
.vsh-toggle{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:40px;font-size:13px;color:#3b5041;cursor:pointer}
.vsh-toggle input{position:absolute;right:0;width:40px;height:26px;opacity:0;margin:0;cursor:pointer}
.vsh-toggle i{display:block;width:40px;height:23px;border-radius:20px;background:#c6cfb7;padding:3px;pointer-events:none}
.vsh-toggle i::after{content:'';display:block;width:17px;height:17px;background:#fafbf2;border-radius:50%;transition:transform .2s}
.vsh-toggle input:checked+i{background:#2b4633}.vsh-toggle input:checked+i::after{transform:translateX(17px)}
.vsh-toggle input:focus-visible+i{outline:2px solid #2b4633;outline-offset:3px}
.vsh-place{border-block:1px solid #dcdecf}
.vsh-place>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;list-style:none;font-size:13px;color:#3b5041;cursor:pointer}
.vsh-place>summary::-webkit-details-marker{display:none}.vsh-place>summary span{font-size:18px;transition:transform .2s}.vsh-place[open]>summary span{transform:rotate(45deg)}
.vsh-range{display:flex;align-items:center;gap:10px;font-size:11px;color:#7b856f;margin:0 0 8px}
.vsh-range>span{width:44px}.vsh-range>span:last-child{text-align:right}
.vsh-range input{flex:1;min-width:0;height:24px;accent-color:#2b4633;cursor:pointer}
.vsh-place-actions{display:flex;gap:8px;margin:4px 0 12px}
.vsh-place-actions button{min-height:38px;padding:0 12px;border:1px solid #d3d6c5;background:#fbf9f1;color:#3b5041;font:inherit;font-size:12px;cursor:pointer}
.vsh-place-actions button:hover{border-color:#8c9a78}
.vsh-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0;padding:12px 0 0;border-top:1px solid #dcdecf}
.vsh-metrics div{display:flex;flex-direction:column-reverse;gap:2px}
.vsh-metrics dt{font-size:10px;color:#7b856f}.vsh-metrics dd{margin:0;font:400 20px/1.1 'EB Garamond',Georgia,serif;color:#26392e}
/* Outbuildings: chips switched on and off; one that finds no room is named below them. */
.vsh-extras .vsh-chips{display:flex;flex-wrap:wrap;gap:6px}
.vsh-chips label{position:relative;cursor:pointer}
.vsh-chips input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.vsh-chips span{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid #d3d6c5;background:#fbf9f1;font-size:12px;color:#3b5041;transition:background .2s,border-color .2s}
.vsh-chips span::before{content:'+';font-size:14px;line-height:1}
.vsh-chips input:checked+span{background:#2b4633;border-color:#2b4633;color:#fff5dc}.vsh-chips input:checked+span::before{content:'✓';font-size:12px}
.vsh-chips label:has(:focus-visible){outline:2px solid #2b4633;outline-offset:2px}
.vsh-note{margin:8px 0 0;font-size:11px;line-height:1.4;color:#8b5a3c}.vsh-note[hidden]{display:none}
/* The view round the designed house: walk round it and come closer. */
.valley-story-view{position:fixed;z-index:6;right:var(--gutter);bottom:28px;display:flex;gap:6px}
.valley-story-view[hidden]{display:none}
.valley-story-view button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#f4f0e3f0;color:#243d2e;font:600 19px/1 Manrope,Arial,sans-serif;box-shadow:0 6px 22px #1f35272e;cursor:pointer}
.valley-story-view button:hover{background:#fff}.valley-story-view button:focus-visible{outline:2px solid #243d2e;outline-offset:2px}
@media(max-width:760px),(max-aspect-ratio:9/10){.valley-story-view{right:12px;bottom:calc(var(--designer-sheet,50svh) + 10px);gap:5px}.valley-story-view button{width:40px;height:40px;font-size:17px}}
/* While designing, the card scrolls inside itself, so the page (and the camera) stay where they are. */
.valley-story[data-designing=true] .valley-story-choice{max-height:calc(100svh - 132px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:760px){
  .valley-story[data-designing=true] .valley-story-choice{max-height:56svh}
  .valley-story-house{gap:12px;margin-top:10px}.vsh-segments span{min-height:38px;font-size:12px}.vsh-metrics dd{font-size:18px}
}
/* The number of the plot being designed would cover its house. */
.valley-story[data-designing=true] .valley-parcel-label.is-selected{visibility:hidden}

/* The passage from the painted hero into the 3D valley (sky-passage.mjs): one fixed layer of mist and cloud over the
   page, under the header. */
.sky-passage{position:fixed;inset:0;z-index:40;pointer-events:none;overflow:hidden}
.sky-passage[hidden]{display:none}
.sky-passage-mist{position:absolute;inset:0;opacity:0;background:radial-gradient(ellipse 90% 70% at 50% 0%,#ffffff 0%,#f4f7f9 45%,transparent 75%),linear-gradient(180deg,#f2f5f8 0%,#e6ecf1 55%,#d8e1ea 100%)}
.sky-passage-cloud{position:absolute;left:50%;top:50%;width:max(100vw,160vh);max-width:none;height:auto;opacity:0;transform:translate3d(-50%,-50%,0);transform-origin:50% 50%;will-change:transform,opacity;user-select:none}
.valley-story-approach{display:none}
.has-sky-passage .valley-story-approach{display:block;height:100vh;height:100svh}
/* Place links land with the first chapter's top at the top of the screen, the camera at the opening view; the page's
   header padding (html scroll-padding-top) is cancelled out. */
.valley-story-anchor{align-self:flex-start;width:0;height:0;flex:none;scroll-margin-top:-108px}
/* The 3D stage docks right under the pinned hero, which lies above it until the cloud is full; then the hero is hidden
   and the page changes stages unseen. */
.has-sky-passage .home-redesign .landscape-experience{position:relative;z-index:2}
.has-sky-passage .home-redesign .landscape-experience.is-passed{visibility:hidden}
.has-sky-passage .home-redesign .home-introduction{position:relative;z-index:1;margin-top:-100vh;margin-top:-100svh}
/* The light version's last chapter (lite.mjs, story-plan.mjs): the plan and the designed plot as drawings in place of
   the 3D stage, framed where the valley's subject would be: right of the card on wide screens, above it on phones. */
.valley-story-lite{position:absolute;z-index:2;inset:0;box-sizing:border-box;padding:108px 5vw 64px 44%;background:#e8ebdd}
.valley-story-lite[hidden]{display:none}
.valley-story-lite>svg,.sp-sketch-host,.sp-sketch-host>svg{display:block;width:100%;height:100%}
/* The site's icon rule (svg: stroke currentColor 1.3) must not reach the drawings: 1.3 here is metres. */
.sp-plan,.sp-sketch{fill:none;stroke:none;stroke-width:0}
.sp-sketch-host[hidden],.sp-plan[hidden],.sp-whole[hidden]{display:none}
.sp-plan{touch-action:pan-y;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sp-ground{fill:#dfe5cf}
.sp-verges polyline,.sp-lanes polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}
.sp-verges polyline{stroke:#ccd2bb}.sp-lanes polyline{stroke:#b3b0a2}
.sp-plots path{fill:#b8c79c;stroke:#f7f5eb;stroke-width:1.1}
.sp-plots path[data-q="1"]{fill:#9db67d}.sp-plots path[data-q="3"],.sp-plots path[data-q="4"]{fill:#cbd4b5}
.sp-selected{fill:#2b4633;stroke:#f5e7bc;stroke-width:1.8;pointer-events:none}
.sp-numbers text{display:none;font:600 6.5px Manrope,Arial,sans-serif;fill:#2f4a36;text-anchor:middle;pointer-events:none}
.sp-plan.is-near .sp-numbers text{display:block}
.sp-selected-number{display:none;font:700 7px Manrope,Arial,sans-serif;fill:#f5e7bc;text-anchor:middle;pointer-events:none}.sp-plan.is-near .sp-selected-number{display:block}
.sp-whole{position:absolute;right:5vw;bottom:24px;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border:0;background:#243d2e;color:#fff6df;font:12px/1 Manrope,Arial,sans-serif;box-shadow:0 6px 22px #1f35272e;cursor:pointer}
.sp-lawn{fill:#cdd7b4;stroke:#5d7651;stroke-width:1.1;stroke-linejoin:round}
.sp-path{fill:none;stroke:#f3eee0;stroke-width:1.1;stroke-dasharray:.9 .6;stroke-linecap:round}
.sp-gate{fill:#fdf8e8;stroke:#5d7651;stroke-width:.3}
.sp-tree{fill:#7f9c61;stroke:#5a7744;stroke-width:.35}
.sp-terrace{fill:#a88760}.sp-porch{fill:#d5cebd}
.sp-wall{fill:#b28c62}[data-facade=sand] .sp-wall{fill:#e2dac8}[data-facade=graphite] .sp-wall{fill:#555e57}
.sp-roof{fill:#51605d}.sp-roof-shade{fill:#3b4745}.sp-ridge{fill:none;stroke:#252d2b;stroke-width:.35}
.sp-roof-flat{fill:#2f3633}.sp-sedum{fill:#8c996b}
.sp-extra{stroke:#3e4a3f;stroke-width:.25}
.sp-extra-banya{fill:#9c7650}.sp-extra-carport{fill:#a4a8a4}.sp-extra-greenhouse{fill:#e9f1ef;stroke:#98ada6}.sp-extra-gazebo{fill:#6f5c48}
.sp-car{fill:#f4f2ea;stroke:#6b716d;stroke-width:.2}
.sp-label{font-family:Manrope,Arial,sans-serif;font-weight:600;fill:#26392e;text-anchor:middle}
.sp-label-house{fill:#fbf7ea}
.sp-label-extra{fill:#1f2c24;paint-order:stroke;stroke:#f3f0e4;stroke-width:.4}
.sp-label-street,.sp-label-area{fill:#4c6150;font-weight:500}
/* In the light version the valley is shown on request, from a quiet button over the stage. */
html[data-lite=true] .valley-story-load{top:auto;bottom:28px;left:auto;right:5vw;transform:none;grid-auto-flow:column;align-items:baseline;gap:8px;padding:12px 16px;background:#f4f0e3f0;color:#243d2e;box-shadow:0 6px 22px #1f35272e}
html[data-lite=true] .valley-story-stage[data-chapter=plots] .valley-story-load{display:none}
@media(max-width:760px),(max-aspect-ratio:9/10){
  .valley-story-lite{padding:132px 12px calc(48svh + 8px)}
  .valley-story[data-designing=true] .valley-story-lite{padding-bottom:calc(var(--designer-sheet,48svh) + 8px)}
  .sp-whole{right:auto;left:12px;bottom:auto;top:140px}
  html[data-lite=true] .valley-story-load{right:12px;bottom:auto;top:138px;padding:9px 12px;font-size:11px}
}
/* Phones: text that reads without zooming, and a last chapter that owns the screen. */
@media(max-width:760px),(max-aspect-ratio:9/10){
  .valley-story-text{font-size:14px;line-height:1.6}
  .valley-story-choice .valley-story-text{font-size:13px;line-height:1.5}
  .valley-story-photo figcaption{font-size:10px;line-height:1.4}
  .valley-story-facts dt,.valley-story-choice-facts dt{font-size:10px}
  .valley-story-link{font-size:12px}
  .valley-story-rail a>span{font-size:9px}
  .valley-story-step[data-story-step=plots]{padding-top:45svh}
  .valley-story[data-designing=true] .valley-story-choice [data-choice-contact]{display:inline-flex}
}
/* Offered once when the valley cannot keep up even at its lowest level. */
.valley-story-slow{position:absolute;z-index:5;top:108px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;margin:0;padding:8px 8px 8px 14px;max-width:calc(100% - 24px);background:#f4f0e3f2;color:#243d2e;font:12px/1.35 Manrope,Arial,sans-serif;box-shadow:0 6px 22px #1f35272e}
.valley-story-slow[hidden]{display:none}
.valley-story-slow button{min-height:34px;padding:0 12px;border:0;background:#243d2e;color:#fff6df;font:inherit;cursor:pointer;white-space:nowrap}
.valley-story-slow [data-story-slow-close]{min-width:34px;padding:0;background:none;color:#243d2e;font-size:18px}
@media(max-width:760px),(max-aspect-ratio:9/10){.valley-story-slow{top:138px;left:12px;right:12px;transform:none;max-width:none}}
