/* A house page. Palette: ink, paper, gold, white, nothing else. Rows follow the pack rows: a photo one side, a description the other. */
.house-page{background:var(--white);color:var(--ink)}
.house-page .site-header{position:fixed}
.house-page .section-shell{width:min(1280px,calc(100% - 128px));margin-inline:auto}
.house-page .section-kicker{color:var(--gold)}
.house-page .section-title em{font-style:italic}

/* The hero: the drone film (or the big photo) under a tint deep enough for the name to read, the name as large as the screen allows. */
.hh{position:relative;min-height:100svh;display:grid;align-items:end;background:var(--ink);color:var(--white);overflow:hidden}
.hh-media,.hh-media img,.hh-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hh-shade{position:absolute;inset:0;background:linear-gradient(180deg,#10101099 0%,#10101059 28%,#1010109e 52%,#101010f2 100%),linear-gradient(90deg,#10101066 0%,#10101000 60%)}
.hh-content{position:relative;z-index:1;padding:0 0 72px;text-shadow:0 1px 18px #10101073}
.hh-kicker{margin:0;font-size:11px;font-weight:600;letter-spacing:1.8px;color:var(--gold)}
.hh-name{margin:14px 0 0;font-size:clamp(60px,10vw,148px);font-weight:500;letter-spacing:-.045em;line-height:.92}
/* The name in Tamazight, in Tifinagh (Moonlight: tiziri). */
.hh-native{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:18px 0 0;font-size:14px;letter-spacing:.2px;color:#ede8df}
.hh-native .tifinagh{font-size:26px;line-height:1;letter-spacing:.12em;color:var(--gold)}
.hh-where{display:flex;align-items:center;gap:8px;margin:18px 0 0;font-size:14px;letter-spacing:.3px;color:#ded7cb}
.hh-where .icon{width:15px;height:15px;color:var(--gold)}
.hh-intro{margin:20px 0 0;max-width:660px;font-size:17px;line-height:1.7;color:#ede8df}
.hh-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:30px}
.house-page .primary-button.hh-stay{width:auto;min-width:0;margin:0;min-height:52px;padding-inline:22px;justify-content:space-between;gap:16px;background:var(--white);color:var(--ink);border:1px solid var(--white);border-radius:2px;font-size:14px;font-weight:600;text-decoration:none}
.house-page .primary-button.hh-stay:hover{background:var(--gold);border-color:var(--gold)}
.hh-ghost{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 20px;border:1px solid #ffffff80;border-radius:2px;color:var(--white);font-size:14px;font-weight:600;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
.hh-ghost .icon{width:14px;height:14px;transform:rotate(0)}
.hh-ghost:hover{border-color:var(--gold);color:var(--gold);background:#b9986026}

/* What the house gives you: the "Our responsibilities to you" layout, six cards on white separated by hairlines. */
.hfacts{background:var(--white);padding:72px 0 80px;border-bottom:1px solid var(--line)}
.hfacts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:56px}
.hfact{min-width:0;padding:0 36px 44px}
.hfact:nth-child(3n+1){padding-left:0}
.hfact:nth-child(3n){padding-right:0}
.hfact:not(:nth-child(3n+1)){border-left:1px solid #dedede}
.hfact:nth-child(n+4){border-top:1px solid #dedede;padding-top:44px;padding-bottom:0}
.hfact .icon{width:48px;height:48px;stroke-width:1.35;color:var(--ink);margin-bottom:27px}
.hfact h3{margin:0;font-size:22px;line-height:1.35;letter-spacing:-.025em;font-weight:500;max-width:280px}
.hfact p{margin:13px 0 0;font-size:15px;line-height:1.75;color:#5a5a5a;max-width:300px}

/* Chapters. */
.chapter{padding:96px 0 0}
.chapter-head{margin-bottom:44px}
.chapter-head .section-title{margin-top:14px;max-width:760px}
.chapter-head .section-copy{margin-top:16px;max-width:560px;color:var(--muted)}
.rows{display:grid;width:100vw;margin-left:calc(50% - 50vw)}
.hrow{display:grid;grid-template-columns:1fr 1fr;min-height:clamp(440px,48vw,620px);background:var(--white)}
.hrow.is-flipped .hrow-media{order:2}
.hrow-media{position:relative;overflow:hidden;background:var(--ink)}
.hrow-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hrow-body{display:flex;flex-direction:column;justify-content:center;padding:56px clamp(32px,6vw,96px)}
.hrow-kicker{margin:0;font-size:11px;font-weight:600;letter-spacing:1.8px;color:var(--gold)}
.hrow-title{margin:12px 0 0;font-size:clamp(30px,2.8vw,44px);font-weight:500;letter-spacing:-.03em;line-height:1.1}
.hrow-text{margin:18px 0 0;max-width:540px;font-size:16px;line-height:1.75;color:var(--muted)}
.hrow-hint{display:inline-flex;align-items:center;gap:8px;margin:22px 0 0;font-size:12px;font-weight:600;letter-spacing:.6px;color:var(--gold)}
.hrow-hint .icon{width:14px;height:14px}

/* The gold dots on the photos, on a layer the size of the cropped photo (house.js, fitSpots). */
.spot-layer{position:absolute;z-index:2;pointer-events:none;visibility:hidden}
.spot-layer .spot{pointer-events:auto}
.spot.is-out{display:none}
.spot{position:absolute;z-index:2;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:#ffffffe6;box-shadow:0 0 0 6px #ffffff33,0 6px 18px #10101059;cursor:pointer;transition:transform .2s}
.spot::after{content:'';position:absolute;inset:10px;border-radius:50%;background:var(--gold)}
.spot::before{content:'';position:absolute;inset:-6px;border-radius:50%;border:1px solid #ffffffb3;animation:spot-pulse 2.2s ease-out infinite}
.spot:hover,.spot.is-open{transform:scale(1.12)}
.spot.is-open{background:var(--gold)}
.spot.is-open::after{background:var(--white)}
.spot.is-open::before{animation:none;opacity:0}
.spot-card{position:absolute;top:50%;left:calc(100% + 16px);transform:translateY(-50%) translateX(-6px);width:250px;padding:14px 16px;background:var(--ink);color:var(--white);border-radius:4px;text-align:left;box-shadow:0 20px 50px #10101066;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;cursor:default}
.spot.is-left .spot-card{left:auto;right:calc(100% + 16px);transform:translateY(-50%) translateX(6px)}
.spot.is-open .spot-card{opacity:1;pointer-events:auto;transform:translateY(-50%)}
/* Near the top of the photo the word hangs down from the dot, near the bottom it rises from it, so it is never cut off. */
.spot.is-top .spot-card{top:-8px;transform:translateX(-6px)}
.spot.is-bottom .spot-card{top:auto;bottom:-8px;transform:translateX(-6px)}
.spot.is-top.is-left .spot-card,.spot.is-bottom.is-left .spot-card{transform:translateX(6px)}
.spot.is-top.is-open .spot-card,.spot.is-bottom.is-open .spot-card{transform:none}
/* On phones the word is a strip under the photo (house.js fills it), so it never covers the photo or the dots. */
.spot-tip{display:none}
.spot-card b{display:block;font-size:14px;font-weight:600;line-height:1.3}
.spot-card small{display:block;margin-top:5px;font-size:12.5px;line-height:1.55;color:#ded7cb}
@keyframes spot-pulse{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.9);opacity:0}}

/* The rooms: a card each, the price as a figure under a hairline, not a chip. */
.chapter-rooms{padding-bottom:96px}
.rooms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.room{background:var(--white);border-radius:4px;overflow:hidden;box-shadow:0 20px 50px #10101010}
.room img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.room-body{padding:26px 28px 28px}
.room h3{margin:0;font-size:24px;font-weight:500;letter-spacing:-.02em}
.room p{margin:10px 0 0;font-size:15px;line-height:1.7;color:var(--muted)}
.room-foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.room-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.room-chips li{padding:6px 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;color:var(--ink)}
.room p.room-price{margin:0 0 0 auto;text-align:right;white-space:nowrap;line-height:1}
.room-price b{display:block;font-size:32px;font-weight:500;letter-spacing:-.035em;line-height:1}
.room-price b span{margin-left:6px;font-size:12px;font-weight:600;letter-spacing:1.2px;color:var(--gold)}
.room-price small{display:block;margin-top:7px;font-size:12px;letter-spacing:.2px;color:var(--muted)}

/* Around the house: a white band, the map with the house pinned on it, then four lists with the time from the door. */
.chapter-around{background:var(--white);padding:96px 0}
.around-map{position:relative;border-radius:4px;overflow:hidden;background:var(--paper)}
.around-map iframe{display:block;width:100%;height:460px;border:0}
/* Map / Satellite, top right of the map, like Google's own switch but in the brand */
.around-type{position:absolute;top:16px;right:16px;display:flex;padding:3px;background:var(--white);border-radius:4px;box-shadow:0 10px 30px #10101026}
.around-type button{min-height:38px;padding:0 14px;border:0;border-radius:3px;background:none;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}
.around-type button[aria-pressed="true"]{background:var(--ink);color:var(--white)}
.around-type button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* The ways to open the pin, under the map */
.around-links{display:flex;flex-wrap:wrap;gap:0 28px;margin-top:4px;border-bottom:1px solid var(--line)}
.around-links a{display:inline-flex;align-items:center;gap:8px;min-height:52px;font-size:13.5px;font-weight:600;color:var(--ink);text-decoration:none;transition:color .2s}
.around-links a .icon{width:14px;height:14px;transform:rotate(-45deg);transition:transform .25s}
.around-links a.around-here{margin-left:auto}
.around-links a.around-here .icon{transform:none}
@media(hover:hover){.around-links a:hover{color:var(--gold)}.around-links a:hover .icon{transform:rotate(-45deg) translateX(3px)}.around-links a.around-here:hover .icon{transform:translateX(3px)}}
.around-pin{position:absolute;left:24px;bottom:24px;display:flex;align-items:center;gap:16px;max-width:calc(100% - 48px);padding:16px 20px;background:var(--white);color:var(--ink);border-radius:4px;box-shadow:0 20px 50px #10101033}
.around-pin>.icon{flex:none;width:22px;height:22px;color:var(--gold)}
.around-pin b{display:block;font-size:15px;font-weight:600;line-height:1.3}
.around-pin small{display:block;margin-top:3px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.around-pin a{display:inline-flex;align-items:center;gap:8px;margin-left:8px;padding-left:20px;border-left:1px solid var(--line);font-size:12.5px;font-weight:600;white-space:nowrap;transition:color .2s}
.around-pin a .icon{width:14px;height:14px;transform:rotate(-45deg);transition:transform .25s}
.around-pin a:hover{color:var(--gold)}
.around-pin a:hover .icon{transform:rotate(-45deg) translateX(3px)}
.around-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:64px}
.around-group{min-width:0;padding:0 28px}
.around-group:first-child{padding-left:0}
.around-group:last-child{padding-right:0}
.around-group+.around-group{border-left:1px solid #dedede}
.around-group h3{margin:0 0 20px;font-size:11px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:var(--gold)}
.around-group ul{list-style:none;margin:0;padding:0}
.around-group li{padding:15px 0;border-top:1px solid #ebe6dc}
.around-group li:first-child{border-top:0;padding-top:0}
.around-group li:last-child{padding-bottom:0}
.around-group b{display:block;font-size:15px;font-weight:600;line-height:1.35}
.around-group em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--gold)}
.around-group small{display:block;margin-top:5px;font-size:13px;line-height:1.55;color:var(--muted)}

/* The way into the builder, and the other house. */
.hcta{padding:96px 0;background:var(--ink);color:var(--white);text-align:center}
.hcta .section-title{color:var(--white);margin:14px auto 0;max-width:760px}
.hcta .section-copy{margin:18px auto 0;max-width:560px;color:#ded7cb}
.hcta-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 26px;margin-top:32px}
.hcta-other{display:inline-flex;align-items:center;gap:8px;color:var(--white);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--gold)}
.hcta-other .icon{width:14px;height:14px}

/* The slim footer bar. */
.house-footer-bar{background:var(--ink);color:#ded7cb;border-top:1px solid #ffffff1f}
.house-footer-bar .section-shell{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:26px 0;font-size:13px}
.house-footer-bar a{color:var(--white);text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.house-footer-bar a:hover{color:var(--gold)}
.house-footer-bar .icon{width:14px;height:14px}

@media(max-width:1120px){
  .house-page .section-shell{width:calc(100% - 88px)}
  .hfact{padding-inline:26px}
  .hfact h3{font-size:20px}
  .hrow{min-height:480px}
  .around-grid{grid-template-columns:1fr 1fr;gap:44px 0}
  .around-group,.around-group:first-child,.around-group:last-child{padding:0 28px}
  .around-group:nth-child(odd){padding-left:0;border-left:0}
  .around-group:nth-child(even){padding-right:0;border-left:1px solid #dedede}
}
@media(max-width:900px){
  .hrow{grid-template-columns:1fr;min-height:0}
  .hrow.is-flipped .hrow-media{order:0}
  .hrow-media{aspect-ratio:4/3}
  .hrow-body{padding:32px 24px 36px}
  .rooms-grid{grid-template-columns:1fr}
  .spot-card{width:220px}
  .around-map iframe{height:380px}
}
@media(max-width:760px){
  .house-page .section-shell{width:calc(100% - 40px)}
  .hh{min-height:100svh}
  .hh-content{padding-bottom:40px}
  .hh-name{font-size:clamp(52px,16vw,88px)}
  .hh-intro{font-size:15px}
  .hh-actions .primary-button.hh-stay,.hh-ghost{width:100%;justify-content:space-between}
  .hfacts{padding:48px 0 52px}
  .hfacts-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:36px}
  .hfact:nth-child(n){padding:26px 20px;border:0}
  .hfact:nth-child(odd){padding-left:0}
  .hfact:nth-child(even){padding-right:0;border-left:1px solid #dedede}
  .hfact:nth-child(n+3){border-top:1px solid #dedede}
  .hfact:nth-child(-n+2){padding-top:0}
  .hfact:nth-child(n+5){padding-bottom:0}
  .hfact .icon{width:42px;height:42px;margin-bottom:22px}
  .hfact h3{font-size:19px;line-height:1.4}
  .hfact p{font-size:14px;line-height:1.7}
  .chapter{padding-top:64px}
  .chapter-head{margin-bottom:28px}
  .chapter-rooms{padding-bottom:64px}
  .room-body{padding:20px 20px 22px}
  .room h3{font-size:21px}
  .room-price b{font-size:28px}
  .chapter-around{padding:64px 0}
  .around-map iframe{height:360px}
  .around-type{top:12px;right:12px}
  .around-links{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
  .around-links a{min-height:48px;border-bottom:1px solid var(--line)}
  .around-links a.around-here{grid-column:1/-1;margin-left:0;border-bottom:0}
  /* On a phone the card sits under the map instead of over it, so the map stays visible. */
  .around-pin{position:static;max-width:none;flex-wrap:wrap;gap:12px 14px;padding:16px;border-radius:0;box-shadow:none;border-top:1px solid var(--line)}
  .around-pin a{width:100%;margin:0;padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}
  .around-grid{grid-template-columns:1fr;gap:40px;margin-top:44px}
  .around-group:nth-child(n){padding:0;border:0}
  .hcta{padding:64px 0}
  .spot-card{display:none}
  .spot{width:26px;height:26px;margin:-13px 0 0 -13px}
  .spot::after{inset:8px}
  .spot-tip{display:block;position:relative;padding:16px 20px 18px;background:var(--ink);color:var(--white)}
  .spot-tip:empty{display:none}
  .spot-tip::before{content:'';position:absolute;top:-6px;left:26px;width:12px;height:12px;background:var(--ink);transform:rotate(45deg);left:var(--notch,26px)}
  .spot-tip b{display:block;font-size:15px;font-weight:600;line-height:1.35}
  .spot-tip small{display:block;margin-top:5px;font-size:13.5px;line-height:1.6;color:#ded7cb}
}

/* ───── The rooms, the shared spaces and the gallery (the owner's photo shoot), on white. A carousel per room and per space,
   the bed, the guests and the price under it; a gallery of every photo; a viewer full screen. ───── */
.chapter-rooms,.chapter-spaces,.chapter-gallery{background:var(--white)}
.chapter-spaces,.chapter-gallery{padding-bottom:96px}
.chapter-rooms{padding-bottom:96px}
.rm-filters,.gl-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}
.rm-filters button,.gl-filters button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:2px;background:var(--white);color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.rm-filters small,.gl-filters small{font-size:12px;font-weight:500;color:var(--muted)}
.rm-filters button:hover,.gl-filters button:hover{border-color:var(--ink)}
.rm-filters button.is-on,.gl-filters button.is-on{background:var(--ink);border-color:var(--ink);color:var(--white)}
.rm-filters button.is-on small,.gl-filters button.is-on small{color:#ffffffb3}
.rm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px}
.rm[hidden],.gl-item[hidden]{display:none}
.rm{display:flex;flex-direction:column;min-width:0}
.hc{position:relative;border-radius:4px;overflow:hidden;background:var(--line)}
.hc-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.hc-track::-webkit-scrollbar{display:none}
.hc-slide{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;display:block;margin:0;padding:0;border:0;background:none;cursor:zoom-in;aspect-ratio:3/2}
.hc-slide img{display:block;width:100%;height:100%;object-fit:cover}
.hc-arrow{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin-top:-22px;padding:0;border:0;border-radius:50%;background:#ffffffeb;color:var(--ink);cursor:pointer;opacity:0;box-shadow:0 6px 20px #10101026;transition:opacity .25s,background .2s}
.hc-arrow .icon{width:16px;height:16px}
.hc-prev{left:14px}.hc-prev .icon{transform:rotate(90deg)}
.hc-next{right:14px}.hc-next .icon{transform:rotate(-90deg)}
.hc:hover .hc-arrow:enabled,.hc-arrow:focus-visible{opacity:1}
.hc-arrow:disabled{opacity:0!important;pointer-events:none}
.hc-arrow:hover{background:var(--white)}
.hc-count{position:absolute;right:12px;bottom:12px;z-index:2;padding:5px 10px;border-radius:2px;background:#101010a6;color:var(--white);font-size:12px;font-weight:600;letter-spacing:.4px;pointer-events:none}
.hc-count b{font-weight:600}
.rm-body,.sp-body{display:flex;flex-direction:column;flex:1;padding:22px 0 0}
.rm-kind{margin:0;font-size:11px;font-weight:600;letter-spacing:1.75px;text-transform:uppercase;color:var(--gold)}
.rm h3,.sp h3{margin:10px 0 0;font-size:clamp(24px,2.2vw,30px);font-weight:500;letter-spacing:-.03em;line-height:1.15}
.rm-text,.sp-body>p:last-child{margin:12px 0 0;max-width:60ch;font-size:15.5px;line-height:1.7;color:var(--muted)}
.rm-specs{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;margin:18px 0 0;padding:0}
.rm-specs li{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ink)}
.rm-specs .icon{width:18px;height:18px;color:var(--gold)}
.rm-foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px;margin-top:auto;padding-top:22px}
.rm-specs+.rm-foot{margin-top:22px;border-top:1px solid var(--line)}
.rm-price{display:grid;gap:4px;margin:0}
.rm-price b{font-size:28px;font-weight:500;letter-spacing:-.03em;line-height:1}
.rm-price small{font-size:12.5px;line-height:1.45;color:var(--muted)}
.rm-book{display:inline-flex;align-items:center;gap:12px;min-height:46px;padding:0 18px;border:1px solid var(--ink);border-radius:2px;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.rm-book .icon{width:16px;height:16px}
.rm-book:hover{background:var(--ink);color:var(--white)}
.sp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px}
.sp .hc-slide{aspect-ratio:16/10}
/* The viewer, full screen: the photo as large as the screen allows, the name and the count above, the arrows on the sides. */
body.hv-open{overflow:hidden}
.hv{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#101010f7;color:var(--white)}
.hv::backdrop{background:#101010e6}
.hv[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
.hv-top{display:flex;align-items:center;gap:16px;padding:16px clamp(16px,3vw,32px)}
.hv-title{flex:1;min-width:0;margin:0;overflow:hidden;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.hv-count{font-size:13px;color:#ffffffb3;font-variant-numeric:tabular-nums}
.hv-count b{color:var(--white);font-weight:600}
.hv-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff40;border-radius:50%;background:none;color:var(--white);cursor:pointer}
.hv-close:hover{border-color:var(--gold);color:var(--gold)}
.hv-close .icon{width:16px;height:16px}
.hv-track{display:flex;min-height:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior:contain}
.hv-track::-webkit-scrollbar{display:none}
.hv-slide{flex:0 0 100%;display:grid;place-items:center;min-height:0;margin:0;padding:0 clamp(16px,6vw,96px) clamp(16px,3vw,32px);scroll-snap-align:center;scroll-snap-stop:always}
.hv-slide img{display:block;max-width:100%;max-height:calc(100dvh - 110px);object-fit:contain;border-radius:2px}
.hv-arrow{position:fixed;top:50%;display:grid;place-items:center;width:52px;height:52px;margin-top:-26px;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:var(--white);cursor:pointer;transition:background .2s,opacity .2s}
.hv-arrow:hover{background:#ffffff3d}
.hv-arrow:disabled{opacity:0;pointer-events:none}
.hv-arrow .icon{width:18px;height:18px}
.hv-prev{left:clamp(8px,2vw,24px)}.hv-prev .icon{transform:rotate(90deg)}
.hv-next{right:clamp(8px,2vw,24px)}.hv-next .icon{transform:rotate(-90deg)}
@media(max-width:900px){
  .rm-grid,.sp-grid{grid-template-columns:minmax(0,1fr);gap:44px}
  .hc-arrow{opacity:1}
}
@media(max-width:760px){
  .chapter-rooms,.chapter-spaces,.chapter-gallery{padding-bottom:64px}
  .rm-filters,.gl-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-20px;padding-right:20px}
  .rm-filters::-webkit-scrollbar,.gl-filters::-webkit-scrollbar{display:none}
  .rm-filters button,.gl-filters button{flex:none}
  .hc-arrow{display:none}
  .rm-price b{font-size:24px}
  .rm-foot{align-items:stretch;flex-direction:column}
  .rm-book{justify-content:space-between}
  .hv-arrow{display:none}
  .hv-slide{padding:0 0 16px}
  .hv-slide img{max-height:calc(100dvh - 90px);border-radius:0}
}

.sp-grid:has(>.sp:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.sp-grid:has(>.sp:nth-child(3):last-child){grid-template-columns:minmax(0,1fr)}}
/* On a computer the carousels move with their arrows only, so a sideways nudge of the trackpad while scrolling the page never
   slides a photo; fingers keep the swipe. */
.hc-track{overflow-x:hidden}
@media(hover:none),(pointer:coarse){.hc-track{overflow-x:auto}}
.rm-price b{display:flex;align-items:baseline;gap:6px}
.rm-unit{font-size:15px;font-weight:500;letter-spacing:0;color:var(--muted)}
/* The gallery: underlined tabs, a calm grid of three with the same frame for every photo, the name of what it shows under
   each, nine to begin with and a quiet "Show all". */
.gl-tabs{display:flex;flex-wrap:wrap;gap:4px 28px;margin:0 0 28px;border-bottom:1px solid var(--line)}
.gl-tabs button{position:relative;display:inline-flex;align-items:baseline;gap:8px;padding:0 0 14px;border:0;background:none;color:var(--muted);font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:color .2s}
.gl-tabs button small{font-size:12px;font-weight:500;color:var(--muted)}
.gl-tabs button:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.215,.61,.355,1)}
.gl-tabs button:hover{color:var(--ink)}
.gl-tabs button.is-on{color:var(--ink)}
.gl-tabs button.is-on:after{transform:scaleX(1)}
.gl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 20px}
.gl-item{margin:0;min-width:0}
.gl-item[hidden]{display:none}
.gl-item button{position:relative;display:block;width:100%;margin:0;padding:0;border:0;border-radius:2px;overflow:hidden;background:var(--line);aspect-ratio:3/2;cursor:zoom-in}
.gl-item button:after{content:'';position:absolute;inset:0;background:#10101000;transition:background .3s}
.gl-item button:hover:after{background:#1010101f}
.gl-item img{display:block;width:100%;height:100%;object-fit:cover}
.gl-item figcaption{margin-top:12px;font-size:13.5px;font-weight:500;color:var(--ink)}
.gl-more{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:40px;padding:18px 0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.gl-more[hidden]{display:none}
.gl-more .icon{width:14px;height:14px;transition:transform .3s}
.gl-more.is-open .icon{transform:rotate(180deg)}
.gl-more:hover{color:var(--gold)}
@media(max-width:900px){.gl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}}
@media(max-width:760px){
  .gl-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-20px;padding-right:20px;gap:22px}
  .gl-tabs::-webkit-scrollbar{display:none}
  .gl-tabs button{flex:none;font-size:14px}
  .gl-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .gl-item figcaption{margin-top:10px}
}
/* The house pages are on white, from the lane to the roof (the site-wide main is paper). */
.house-page #house-main{background:var(--white)}
.chapter-outside .chapter-head{margin-bottom:56px}
@media(max-width:760px){.house-page .chapter-head .section-title br{display:none}.house-page .chapter-head .section-title{text-wrap:balance}}
