/* Reference-led home: evening architecture, navy navigation and a crisp listing gallery. */
.app-shell:has(#screen-home.active)>.desktop-sidebar{display:none}
#screen-home{left:0;background:#091521}
#home-scroll{padding:0!important;scrollbar-width:thin;background:#fff}
.ref-nav{min-height:56px;flex-shrink:0;background:#071625;color:#fff;display:flex;align-items:center;gap:32px;padding:0 max(32px,calc((100vw - 1440px)/2));border-bottom:1px solid #ffffff14;z-index:2}
.ref-brand{color:white;text-decoration:none;display:flex;align-items:center;gap:7px;font-size:25px;font-weight:750;letter-spacing:-.8px;white-space:nowrap}.ref-brand svg{width:31px;height:34px}
.ref-nav button{border:0;background:none;color:#edf4fb;cursor:pointer;font:inherit;font-size:12px;min-height:44px;border-radius:7px}
.ref-links{display:flex;align-items:center;gap:24px;margin-left:34px}.ref-links button{display:flex;align-items:center;gap:5px}.ref-links svg{width:12px;height:12px}
.ref-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.ref-actions>button{padding:7px;display:flex;align-items:center;justify-content:center;gap:8px}.ref-actions svg{width:20px;height:20px;stroke-width:1.5}.ref-actions .ref-list-button{background:#008d58;color:white;padding:9px 17px;font-weight:600;margin-left:6px;min-height:38px;white-space:nowrap}.ref-account span{font-size:11px;white-space:nowrap}.ref-actions .ref-account svg{width:27px;height:27px}
.ref-hero{position:relative;isolation:isolate;min-height:354px;color:#fff;background:#0b1826;overflow:hidden}.ref-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}.ref-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020c17c7 0%,#04101c6b 32%,transparent 65%),linear-gradient(0deg,#020c17a6,transparent 45%)}
.ref-hero-inner{max-width:1504px;margin:auto;padding:20px 48px 17px;position:relative;min-height:354px;display:flex;flex-direction:column;justify-content:space-between;gap:18px}.ref-hero-copy{max-width:630px}.ref-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,3.2vw,49px);letter-spacing:-1.1px;line-height:1.01;font-weight:700;text-shadow:0 2px 22px #0006;margin:0 0 12px}.ref-hero h1 em{font-style:normal;color:#68e4a1}.ref-hero-copy>p{font-size:13px;line-height:1.6;max-width:390px;color:#f1f5f8}.ref-trust{display:flex;gap:25px;align-items:center;margin-top:12px}.ref-trust span{display:flex;align-items:center;gap:7px;font-size:10px;white-space:nowrap}.ref-trust svg{width:25px;height:25px;padding:4px;border:1px solid #d4ac5259;border-radius:50%;color:#dfb955}
.ref-spotlight{position:absolute;right:48px;top:23px;width:255px;padding:21px;background:linear-gradient(155deg,#0c1b2ae6,#100f0dda);backdrop-filter:blur(12px);border:1px solid #ffffff4d;box-shadow:0 18px 35px #0003;border-radius:21px;color:white}.ref-kicker{display:flex;align-items:center;gap:6px;font-size:9px;letter-spacing:1px;color:#dce8ef}.ref-kicker svg{width:12px;height:12px}.ref-spotlight h2{font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:14px 0 10px}.ref-spotlight>p{font-size:12px;line-height:1.6;color:#bfcdda}.ref-spotlight-icons{display:flex;gap:28px;margin:19px 0}.ref-spotlight-icons span{font-size:10px;display:grid;gap:6px}.ref-spotlight-icons svg{width:19px;height:19px;stroke-width:1.5}.ref-spotlight>button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:38px;padding:10px;border:0;border-radius:6px;background:#fff;color:#111f2b;font-size:11px;font-weight:600;cursor:pointer}.ref-spotlight>button svg{width:15px;height:15px}
.ref-search-area{max-width:850px;width:calc(100% - 285px)}.ref-intents{display:flex;width:max-content;background:#0a1722db;border-radius:7px 7px 0 0;overflow:hidden}.ref-intents button{padding:11px 27px;background:none;color:white;border:0;border-right:1px solid #ffffff1a;font-size:11px;min-height:39px;cursor:pointer}.ref-intents button[aria-pressed=true]{background:#00965e;color:white}.ref-search{display:flex;align-items:center;gap:6px;background:#fff;padding:7px;border:1px solid #dce3e8;border-radius:0 7px 7px 7px;box-shadow:0 5px 24px #0003;min-height:55px}.ref-location{display:flex;align-items:center;gap:8px;flex:1.8;min-width:0;padding-left:8px}.ref-location svg{width:17px;height:17px;color:#63717c;flex-shrink:0}.ref-search input{border:0!important;background:#fff!important;color:#273440!important;width:100%;min-width:0;font-size:11px;min-height:38px;outline-offset:0}.ref-search input::placeholder{color:#697680}.ref-search select{background:#f9fafb!important;color:#43515c!important;border:1px solid #edf0f3!important;min-width:0;flex:1;border-radius:4px;font-size:11px;height:39px;padding:0 9px}.ref-search button{cursor:pointer}.ref-search .ref-locate{background:#f7f9fa;border:0;border-radius:4px;color:#31434e;min-width:33px;height:39px;display:grid;place-items:center}.ref-locate svg{width:16px;height:16px}.ref-search-button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;background:#008e57;border:0;border-radius:5px;font-size:12px;font-weight:600;color:white;min-height:39px;padding:9px 16px}.ref-search-button svg{width:17px;height:17px}.ref-popular{display:flex;align-items:center;gap:9px;margin-top:10px;font-size:10px;flex-wrap:wrap}.ref-popular button{border:1px solid #ffffff55;border-radius:30px;color:#fff;background:#06131d73;padding:5px 13px;min-height:25px;font-size:9px;cursor:pointer}.ref-image-caption{position:absolute;bottom:9px;right:16px;color:#e1e8ee9c;font-size:8px;letter-spacing:.3px}
/* Keep the reference's white property gallery in both modes; surrounding app screens follow the chosen theme. */
.ref-catalog{--card:#fff;--text:#14232c;--text-secondary:#64707a;--text-muted:#697780;--primary:#006d46;--border:#dce2e7;--border-light:#e7ecf0;background:#fff;color:#14232c;padding:17px max(32px,calc((100vw - 1440px)/2)) 22px}.ref-browse-row{display:flex;gap:17px;margin-bottom:19px;align-items:stretch}.ref-categories{flex:1;min-width:0;display:grid;grid-template-columns:repeat(6,1fr);background:#f6f7fa;border-radius:12px;padding:10px 3px;gap:0}.ref-categories button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;border:0;border-right:1px solid #e9edf0;background:transparent;cursor:pointer;padding:0 6px;color:#18232e}.ref-categories button:last-child{border-right:0}.ref-categories img{width:53px;height:53px;border-radius:19px;object-fit:cover}.ref-categories strong{font-size:11px;font-weight:650;white-space:nowrap}.ref-categories span{font-size:9px;color:#73808b;text-align:center}.ref-publish{width:270px;flex-shrink:0;position:relative;overflow:hidden;border-radius:10px;background:linear-gradient(90deg,#062931f5 8%,#082430a6 55%,#0a223533),url('hero-evening.png') center/cover;color:#fff;padding:15px 18px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.ref-publish h2{font-size:15px;letter-spacing:-.3px}.ref-publish p{font-size:11px;line-height:1.5;margin:4px 0 9px;color:#d4dfe3}.ref-publish button{display:flex;align-items:center;gap:12px;border:0;color:#fff;background:#008e57;border-radius:4px;font-size:10px;padding:7px 11px;cursor:pointer}.ref-publish svg{width:12px;height:12px}
.ref-catalog .section-header{padding:0;margin:0 0 11px;display:flex;justify-content:space-between;align-items:center}.ref-catalog .section-title{font-size:23px;line-height:1.3;letter-spacing:-.6px;color:#14232c;font-weight:700}.ref-catalog .section-subtitle{font-size:11px;margin-top:3px;color:#697580}.ref-catalog .see-all{display:flex;align-items:center;gap:7px;background:none;border:0;color:#006d46;box-shadow:none;font-size:11px;padding:10px 0;cursor:pointer}.ref-catalog .see-all svg{width:14px;height:14px}.ref-catalog .property-scroll{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;padding:0;margin:0 0 15px;overflow:visible}.ref-catalog .prop-card{width:auto;min-width:0;max-width:none;flex:none;box-shadow:0 2px 9px #172e3910;border:1px solid #e7ecf0;border-radius:8px;overflow:hidden;background:#fff}.ref-catalog .prop-card-img{height:120px}.ref-catalog .prop-card-body{padding:10px 11px}.ref-catalog .prop-card-title{font-size:12px;line-height:1.5;color:#15232c;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ref-catalog .prop-card-loc{font-size:10px;margin:5px 0;color:#66737b}.ref-catalog .prop-card-price{font-size:15px;color:#076c48;margin:5px 0}.ref-catalog .prop-card-price small,.ref-catalog .prop-card-price span{font-size:10px}.ref-catalog .prop-card-meta{font-size:10px;gap:18px;margin-top:8px;color:#56656e}.ref-catalog .prop-card-meta svg{width:13px;height:13px}.ref-catalog .badge{font-size:9px;padding:4px 7px;border-radius:4px;background:#0878c9}.ref-catalog .badge.sale{background:#008d58}.ref-catalog .fav-btn{background:#fff;color:#33414c;width:26px;height:26px;right:9px;top:9px}.ref-catalog .fav-btn svg{width:16px;height:16px}.ref-catalog .fav-btn.active{color:#c24659}.ref-catalog .empty-state{grid-column:1/-1;background:#f6f8fa;color:#5e6b77;border:1px solid #e7ecf0;border-radius:12px;padding:26px;font-size:13px}.ref-catalog #near-properties:empty{display:none}
.ref-footer{background:linear-gradient(120deg,#09212a,#0b1722 50%,#101a23);color:white;display:grid;grid-template-columns:1fr 2fr 1fr;gap:32px;padding:26px max(32px,calc((100vw - 1440px)/2)) 15px}.ref-footer h2{font-size:18px;line-height:1.3;letter-spacing:-.4px}.ref-footer p{font-size:11px;line-height:1.6;color:#c0cdd5;margin:6px 0}.ref-footer-intro{position:relative;padding-left:45px}.ref-footer-mark{position:absolute;left:0;top:3px;width:33px;height:38px;border-radius:8px;border:1px solid #41cf9a5c;display:grid;place-items:center;color:#57dda2}.ref-footer-mark svg{width:21px}.ref-footer-intro button{border:1px solid #7eb6a460;background:transparent;color:#8de4bb;border-radius:5px;display:flex;align-items:center;gap:8px;font-size:11px;padding:8px;margin-top:11px;cursor:pointer}.ref-footer button svg,.ref-footer a svg{width:14px;height:14px}.ref-how{text-align:center}.ref-how h2{font-size:16px}.ref-how>p{font-size:10px;margin:3px 0 17px}.ref-how ol{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:0}.ref-how li{display:flex;flex-direction:column;align-items:center}.ref-how b{display:grid;place-items:center;background:#58dca0;color:#0a2d26;border-radius:50%;width:27px;height:27px;font-size:14px;margin-bottom:9px}.ref-how strong{font-size:11px}.ref-how li>span{font-size:10px;line-height:1.5;color:#bccad3;margin-top:4px;max-width:125px}.ref-footer-help{border-left:1px solid #ffffff16;padding-left:25px}.ref-footer-help h2{font-size:16px}.ref-footer-help a{display:flex;align-items:center;gap:8px;text-decoration:none;color:#78dfae;font-size:11px;margin-top:13px}.ref-footer-help button{background:none;border:0;color:#dbe4ea;display:flex;align-items:center;gap:8px;font-size:10px;padding:12px 0;cursor:pointer}.ref-footer-bottom{grid-column:1/-1;border-top:1px solid #ffffff1a;padding-top:13px;display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#9bacb9}.ref-footer-bottom>div{display:flex;gap:19px}.ref-footer-bottom a{color:#bfccd5;text-decoration:none}
@media(min-width:1600px){.ref-hero-inner{min-height:490px;padding-top:40px;padding-bottom:25px}.ref-hero{min-height:490px}.ref-spotlight{top:40px}.ref-search-area{max-width:950px}.ref-catalog .prop-card-img{height:165px}}
@media(max-width:1150px){.ref-nav{gap:20px;padding:0 25px}.ref-links{gap:18px;margin-left:8px}.ref-account span{display:none}.ref-actions{gap:7px}.ref-hero-inner{padding-left:32px;padding-right:32px}.ref-spotlight{right:32px;width:230px}.ref-search-area{width:calc(100% - 250px)}.ref-trust{gap:15px}.ref-intents button{padding:10px 20px}.ref-catalog .property-scroll{grid-template-columns:repeat(4,minmax(0,1fr))}.ref-publish{width:215px}.ref-categories span{display:none}.ref-footer{gap:20px;grid-template-columns:1fr 2fr}.ref-footer-help{display:none}}
@media(max-width:900px){.ref-links{gap:14px}.ref-links button{font-size:11px}.ref-actions>button[aria-label=Messages],.ref-actions>button[aria-label="Saved properties"]{display:none}.ref-spotlight{width:205px;padding:17px}.ref-hero h1{font-size:40px}.ref-trust{gap:12px}.ref-trust span{font-size:9px}.ref-search-area{width:calc(100% - 220px)}.ref-search select{flex:.85}.ref-intents button{padding:10px 17px}.ref-search{flex-wrap:wrap}.ref-location{flex-basis:calc(100% - 48px)}.ref-search select{flex:1}.ref-search-button{flex:1}.ref-categories strong{font-size:10px}.ref-publish{width:190px}.ref-catalog .property-scroll{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){#home-scroll{padding-bottom:calc(var(--nav-height) + var(--safe-bottom))!important}.ref-nav{min-height:61px;padding:0 17px;gap:10px}.ref-brand{font-size:23px}.ref-brand svg{width:27px}.ref-links{display:none}.ref-actions{gap:4px}.ref-actions .ref-list-button{display:none}.ref-actions .ref-account{display:none}.ref-actions>button{padding:8px}.ref-hero{min-height:536px}.ref-hero-inner{min-height:536px;padding:25px 19px 27px;gap:24px;justify-content:space-between}.ref-hero-photo{object-position:61% center}.ref-hero::after{background:linear-gradient(90deg,#030f1be6,#08172854 80%),linear-gradient(0deg,#04101ee8,transparent 75%)}.ref-hero h1{font-size:40px;line-height:1.06;letter-spacing:-1px}.ref-hero-copy>p{font-size:12px;max-width:285px;margin-top:12px}.ref-desktop-break{display:none}.ref-spotlight{display:none}.ref-trust{gap:12px;flex-wrap:wrap;margin-top:12px}.ref-trust span{font-size:8px;gap:4px}.ref-trust svg{width:21px;height:21px;padding:3px}.ref-search-area{width:100%;max-width:none}.ref-intents{width:100%}.ref-intents button{flex:1;padding:11px 4px;font-size:11px}.ref-search{padding:7px;gap:6px}.ref-location{flex-basis:calc(100% - 45px)}.ref-search input{font-size:12px}.ref-search select{font-size:11px;flex:1}.ref-search-button{flex-basis:100%;min-height:42px;font-size:12px}.ref-popular{gap:6px;margin-top:12px}.ref-popular>span{display:none}.ref-popular button{font-size:9px;min-height:26px;padding:5px 10px}.ref-image-caption{font-size:7px;bottom:7px}.ref-catalog{padding:16px 17px 19px}.ref-browse-row{display:block;margin-bottom:21px}.ref-categories{display:flex;overflow:auto;padding:10px 3px;scrollbar-width:none;gap:0;border-radius:10px}.ref-categories button{min-width:87px;padding:0 10px}.ref-categories img{width:47px;height:47px;border-radius:16px}.ref-categories strong{font-size:10px}.ref-publish{display:none}.ref-catalog .section-title{font-size:21px}.ref-catalog .section-subtitle{font-size:10px;max-width:240px}.ref-catalog .see-all{font-size:10px;white-space:nowrap}.ref-catalog .property-scroll{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ref-catalog .prop-card-img{height:128px}.ref-catalog .prop-card-body{padding:9px}.ref-catalog .prop-card-title{font-size:11px}.ref-catalog .prop-card-loc{font-size:9px}.ref-catalog .prop-card-price{font-size:13px}.ref-catalog .prop-card-price span,.ref-catalog .prop-card-price small{font-size:9px}.ref-catalog .prop-card-meta{gap:12px;font-size:9px}.ref-footer{grid-template-columns:1fr;gap:23px;padding:24px 20px 18px}.ref-footer-intro{padding-left:47px;max-width:310px}.ref-footer-intro h2{font-size:20px}.ref-how{text-align:left;border-top:1px solid #ffffff16;padding-top:22px}.ref-how ol{gap:10px}.ref-how li{align-items:flex-start}.ref-how strong{font-size:10px}.ref-how li>span{font-size:9px}.ref-footer-bottom{flex-wrap:wrap;font-size:9px}.ref-footer-bottom>span:last-child{display:none}.ref-footer-bottom>div{gap:12px}}

/* Understated editorial layout: one photograph, one search, real listings. */
.ref-nav{background:#14251f;min-height:76px;border-bottom:1px solid #ffffff14}
.ref-brand{font-size:25px;letter-spacing:-.8px}
.ref-hero,.ref-hero-inner{min-height:440px}
.ref-hero-inner{padding:52px max(32px,calc((100vw - 1280px)/2));gap:36px;justify-content:space-between}
.ref-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:64px;line-height:1.04;font-weight:400;letter-spacing:-1.8px;max-width:630px;color:#fff}
.ref-hero-copy>p{font-size:15px;line-height:1.7;max-width:390px;color:#edf0eb;margin-top:18px}
.ref-spotlight,.ref-trust,.ref-popular,.ref-publish{display:none}
.ref-search-area{width:100%;max-width:940px}
.ref-search{border-radius:0 10px 10px 10px;box-shadow:none;padding:9px;gap:9px}
.ref-search input,.ref-search select{font-size:13px;min-height:44px}
.ref-search-button{font-size:13px;min-height:44px}
.ref-intents button{font-size:12px;padding:12px 26px}
.ref-catalog{background:#fafaf7;padding:30px max(32px,calc((100vw - 1280px)/2)) 38px}
.ref-browse-row{margin-bottom:32px}
.ref-categories{background:none;border-bottom:1px solid #e0e5df;border-radius:0;padding:0 0 20px;gap:12px}
.ref-categories img,.ref-categories span{display:none}
.ref-categories button{padding:12px 10px;border:1px solid #d9dfd8;border-radius:8px;background:transparent;min-height:44px;color:#253b30}
.ref-categories strong{font-size:12px;font-weight:500}
.ref-catalog .section-title{font-size:26px;font-weight:600;letter-spacing:-.6px}
.ref-catalog .section-subtitle{font-size:13px;line-height:1.6;margin-top:6px}
.ref-catalog .section-header{margin-bottom:20px}
.ref-catalog .property-scroll{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:32px}
.ref-catalog .prop-card{border:1px solid #e0e5df;border-radius:12px;box-shadow:none}
.ref-catalog .prop-card-img{height:210px}
.ref-catalog .prop-card-body{padding:18px}
.ref-catalog .prop-card-title{font-size:15px}
.ref-catalog .prop-card-loc,.ref-catalog .prop-card-meta{font-size:12px}
.ref-catalog .prop-card-price{font-size:19px;margin:10px 0}
.ref-footer{background:#14251f;padding-top:34px;padding-bottom:24px}
.app-shell{background-image:none}
html[data-theme=dark] .ref-catalog{--card:#14202a;--text:#eef1ed;--text-secondary:#b4c0bc;--border:#304039;background:#111a23;color:#eef1ed}
html[data-theme=dark] .ref-catalog .prop-card,html[data-theme=dark] .ref-catalog .empty-state{background:#1a2632;border-color:#34434f}
html[data-theme=dark] .ref-catalog .section-title,html[data-theme=dark] .ref-catalog .prop-card-title,html[data-theme=dark] .ref-categories button{color:#eef1ed}
html[data-theme=dark] .ref-catalog .section-subtitle,html[data-theme=dark] .ref-catalog .prop-card-loc,html[data-theme=dark] .ref-catalog .prop-card-meta{color:#b4c0bc}
html[data-theme=dark] .ref-catalog .prop-card-price,html[data-theme=dark] .ref-catalog .see-all{color:#86c6a6}
html[data-theme=dark] .ref-categories,html[data-theme=dark] .ref-categories button{border-color:#35473c}
@media(max-width:767px){
 .ref-nav{min-height:64px;padding:0 20px}
 .ref-brand{font-size:23px}
 .ref-hero,.ref-hero-inner{min-height:460px}
 .ref-hero-inner{padding:32px 20px;gap:28px}
 .ref-hero h1{font-size:48px;line-height:1.06;letter-spacing:-1.2px}
 .ref-hero-copy>p{font-size:14px;max-width:270px;margin-top:14px}
 .ref-search-area{width:100%}
 .ref-intents button{padding:11px 4px}
 .ref-search{gap:7px}
 .ref-search input{font-size:13px}
 .ref-search select{font-size:12px}
 .ref-catalog{padding:22px 20px 26px}
 .ref-categories{gap:8px;padding-bottom:18px}
 .ref-categories button{min-width:max-content;padding:10px 15px}
 .ref-categories strong{font-size:12px}
 .ref-catalog .section-title{font-size:24px}
 .ref-catalog .property-scroll{grid-template-columns:1fr;gap:18px}
 .ref-catalog .prop-card-img{height:220px}
 .ref-catalog .prop-card-body{padding:16px}
 .ref-catalog .prop-card-title{font-size:16px}
 .ref-footer{padding:28px 20px}
}

/* Light means light, including the homepage header, hero and footer. */
html[data-theme=light]{--bg:#fafaf8;--card:#fff;--text:#26362e;--text-secondary:#57645c;--text-muted:#657169;--surface-raised:#f2f4ef;--border:#dce2da;--border-light:#e8ece5}
html[data-theme=light] .ref-nav{background:#fff;border-bottom:1px solid #e5e9e2}
html[data-theme=light] .ref-brand,html[data-theme=light] .ref-nav button{color:#24362d}
html[data-theme=light] .ref-nav .ref-list-button{color:#fff}
html[data-theme=light] .ref-hero{background:#f7f8f3}
html[data-theme=light] .ref-hero::after{display:none}
html[data-theme=light] .ref-hero-photo{width:48%;height:100%;left:auto;right:0;object-position:65% center;mask-image:linear-gradient(90deg,transparent,#000 30%);opacity:.8}
html[data-theme=light] .ref-hero h1{color:#24362d}
html[data-theme=light] .ref-hero-copy>p{color:#526158}
html[data-theme=light] .ref-image-caption{color:#fff;background:#24362d;padding:3px 6px;border-radius:3px}
html[data-theme=light] .ref-intents{background:#e9eee6}
html[data-theme=light] .ref-intents button{color:#314338;border-color:#dce3d7}
html[data-theme=light] .ref-intents button[aria-pressed=true]{color:#fff;background:#087f5b}
html[data-theme=light] .ref-search{border:1px solid #d5ddd1}
html[data-theme=light] .ref-catalog{background:#fff}
html[data-theme=light] .ref-footer{background:#f4f5f0;color:#26362e;border-top:1px solid #e0e5da}
html[data-theme=light] .ref-footer p,html[data-theme=light] .ref-how li>span,html[data-theme=light] .ref-footer-bottom{color:#5b695f}
html[data-theme=light] .ref-footer button,html[data-theme=light] .ref-footer a{color:#226247}
html[data-theme=light] .ref-footer-mark{color:#226247;border-color:#c8d8cd}
html[data-theme=light] .ref-footer-bottom,html[data-theme=light] .ref-how,html[data-theme=light] .ref-footer-help{border-color:#dce3d7}
html[data-theme=light] .ref-how b{background:#e0ebe1;color:#24583d}
@media(max-width:767px){
 html[data-theme=light] .ref-hero-photo,html[data-theme=light] .ref-image-caption{display:none}
 html[data-theme=light] .ref-hero,html[data-theme=light] .ref-hero-inner{min-height:420px}
 html[data-theme=light] .ref-hero-inner{padding-top:32px;padding-bottom:30px}
}

/* Dark mode follows the same quiet layout as light mode. */
html[data-theme=dark]{--bg:#20272c;--card:#293238;--text:#f0f3f2;--text-secondary:#c0c9cd;--text-muted:#aebbc1;--surface-raised:#323e44;--border:#47545a;--border-light:#39464d;--hover:#36454b}
.ref-hero h1{text-shadow:none}
html[data-theme=dark] .ref-nav,html[data-theme=dark] .ref-footer{background:#252e33;border-color:#3c484e}
html[data-theme=dark] .ref-hero{background:#20292e}
html[data-theme=dark] .ref-hero::after{display:none}
html[data-theme=dark] .ref-hero-photo{width:48%;left:auto;right:0;opacity:.55;mask-image:linear-gradient(90deg,transparent,#000 35%)}
html[data-theme=dark] .ref-hero-copy>p{color:#c5cfd2}
html[data-theme=dark] .ref-intents{background:#2e393f}
html[data-theme=dark] .ref-intents button{border-color:#47535a;color:#e0e7e9}
html[data-theme=dark] .ref-intents button[aria-pressed=true]{background:#168566;color:#fff}
html[data-theme=dark] .ref-search{background:#29363c;border-color:#46565d}
html[data-theme=dark] .ref-search input,html[data-theme=dark] .ref-search select{background:#29363c!important;color:#f0f3f2!important;border-color:#4c5b62!important}
html[data-theme=dark] .ref-search input::placeholder{color:#bac6cb}
html[data-theme=dark] .ref-location svg,html[data-theme=dark] .ref-locate svg{color:#cad5d8}
html[data-theme=dark] .ref-search .ref-locate{background:#35434a;color:#e5ebed}
html[data-theme=dark] .ref-catalog{background:#20272c;--card:#293238;--text:#f0f3f2;--border:#47545a}
html[data-theme=dark] .ref-catalog .prop-card,html[data-theme=dark] .ref-catalog .empty-state{background:#293238;border-color:#414f56}
html[data-theme=dark] .ref-categories,html[data-theme=dark] .ref-categories button{border-color:#46555d}
html[data-theme=dark] .ref-categories button{background:#293238}
html[data-theme=dark] .ref-footer p,html[data-theme=dark] .ref-how li>span{color:#c0c9cd}
@media(max-width:767px){
 html[data-theme=dark] .ref-hero-photo,html[data-theme=dark] .ref-image-caption{display:none}
 html[data-theme=dark] .ref-hero,html[data-theme=dark] .ref-hero-inner{min-height:420px}
 html[data-theme=dark] .ref-hero-inner{padding-top:32px;padding-bottom:30px}
}

/* Welcoming, photo-led home. Deliberate spacing, useful search, real inventory. */
html[data-theme] .ref-hero{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:24px 42px;padding:40px max(24px,calc((100vw - 1240px)/2));min-height:0;isolation:isolate}
html[data-theme] .ref-hero-inner{display:contents;min-height:0}
html[data-theme] .ref-hero::after{display:none}
html[data-theme] .ref-hero-photo{display:block;position:relative;grid-column:2;grid-row:1/3;width:100%;height:100%;min-height:390px;left:auto;right:auto;top:auto;object-fit:cover;object-position:center;opacity:1;mask-image:none;border-radius:20px;z-index:0}
html[data-theme] .ref-hero-copy{grid-column:1;grid-row:1;align-self:center;position:relative;z-index:1}
html[data-theme] .ref-hero-copy .welcome-eyebrow{font-family:Inter,sans-serif;font-size:10px;font-weight:700;letter-spacing:1.7px;color:#527762;margin:0 0 18px}
html[data-theme] .ref-hero h1{font-size:clamp(38px,4.6vw,64px);font-family:Inter,sans-serif;font-weight:600;line-height:1.08;letter-spacing:-2.5px;text-shadow:none}
html[data-theme] .ref-hero h1 em{font-family:Georgia,serif;font-weight:400;font-style:italic;color:#267858}
html[data-theme] .ref-hero-copy>p:not(.welcome-eyebrow){font-size:14px;line-height:1.75;max-width:380px;margin-top:18px}
html[data-theme] .ref-search-area{grid-column:1;grid-row:2;width:100%;max-width:none;align-self:end}
html[data-theme] .ref-search{flex-wrap:wrap;padding:12px;border-radius:0 12px 12px 12px;gap:8px}
html[data-theme] .ref-search .ref-location{flex-basis:calc(100% - 48px);padding-left:3px}
html[data-theme] .ref-search select{flex:1;font-size:12px;height:42px}
html[data-theme] .ref-search-button{flex-basis:100%;min-height:46px;font-size:14px}
html[data-theme] .ref-intents{width:100%;border-radius:12px 12px 0 0}
html[data-theme] .ref-intents button{flex:1;padding:12px 8px;font-size:12px}
html[data-theme] .ref-image-caption{display:none}
html[data-theme=light] .ref-hero{background:#f4f4eb}
html[data-theme=light] .ref-nav{background:#fff}
html[data-theme=dark] .ref-hero{background:#27332f}
html[data-theme=dark] .ref-hero h1 em{color:#91d1af}
html[data-theme=dark] .ref-hero-copy .welcome-eyebrow{color:#b5cdbc}
.ref-browse-row{margin-bottom:36px}
html[data-theme] .ref-categories{border:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:16px;overflow:visible;background:none}
html[data-theme] .ref-categories button{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;min-width:0;background:none;gap:10px}
html[data-theme] .ref-categories img{display:block;width:100%;height:105px;object-fit:cover;border-radius:12px;margin:0}
html[data-theme] .ref-categories strong{font-size:12px;font-weight:600;padding-left:2px}
html[data-theme] .ref-categories span{display:none}
.ref-catalog{padding-top:30px}
.ref-catalog .section-title{font-size:26px;letter-spacing:-.8px}
html[data-theme] .ref-catalog .prop-card-img{height:235px}
html[data-theme] .ref-catalog .badge{padding:6px 10px;font-size:10px;border-radius:6px}
html[data-theme] .ref-catalog .fav-btn{width:34px;height:34px;top:12px;right:12px}
@media(max-width:767px){
 html[data-theme] .ref-hero{padding:26px 20px;gap:22px;grid-template-columns:1fr;grid-template-rows:auto 165px auto;min-height:0}
 html[data-theme] .ref-hero-copy{grid-column:1;grid-row:1}
 html[data-theme] .ref-hero h1{font-size:39px;letter-spacing:-1.5px;line-height:1.1}
 html[data-theme] .ref-hero-copy .welcome-eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:12px}
 html[data-theme] .ref-hero-copy>p:not(.welcome-eyebrow){font-size:13px;line-height:1.65;margin-top:13px;max-width:320px}
 html[data-theme] .ref-hero-photo{grid-column:1;grid-row:2;min-height:0;height:165px;border-radius:14px;object-position:center 58%}
 html[data-theme] .ref-search-area{grid-column:1;grid-row:3}
 html[data-theme] .ref-categories{grid-template-columns:repeat(3,1fr);gap:20px 12px}
 html[data-theme] .ref-categories img{height:84px;border-radius:10px}
 html[data-theme] .ref-categories strong{font-size:11px}
 .ref-catalog .section-subtitle{max-width:260px}
 html[data-theme] .ref-catalog .prop-card-img{height:220px}
}
