/* Clay rose is the reference direction; the five alternatives recolor the whole site. */
html[data-theme="terracotta"]{
  --cream:#F6EFE6;--cream2:#EADCCF;--ink:#352F2A;--pine:#514038;--white:#FFFAF3;
  --line:#D7BEB0;--rust:#A66C50;--button-accent:#9B5A43;--button-accent-hover:#7F4837;
  --theme-soft:#EFD9CB;--theme-surface:#F4E8DE;--theme-card:#EBD8CA;--theme-contrast:#5A4036;
  --theme-muted:#705B52;--theme-footer:#392D28;--theme-rule:#D8C0B1;
  --theme-hero-overlay:linear-gradient(90deg,rgba(46,31,25,.70),rgba(67,45,34,.37) 48%,rgba(67,45,34,.06)),linear-gradient(0deg,rgba(46,31,25,.27),transparent 35%);
}
html[data-theme="coastal"]{
  --cream:#F5F1EB;--cream2:#E5E9E9;--ink:#263944;--pine:#2D4655;--white:#FFFCF7;
  --line:#C6D1D4;--rust:#AA8A73;--button-accent:#526F82;--button-accent-hover:#3E5B6D;
  --theme-soft:#DAE5E9;--theme-surface:#F0F4F4;--theme-card:#E9EEF0;--theme-contrast:#314C5C;
  --theme-muted:#536A76;--theme-footer:#1C323F;--theme-rule:#BBCAD0;
  --theme-hero-overlay:linear-gradient(90deg,rgba(22,42,55,.72),rgba(29,56,70,.39) 48%,rgba(29,56,70,.06)),linear-gradient(0deg,rgba(20,40,52,.27),transparent 35%);
}
html[data-theme="plum"]{
  --cream:#F6F1EE;--cream2:#EAE2E9;--ink:#3D3541;--pine:#504257;--white:#FFFCFA;
  --line:#D4C8D1;--rust:#987D94;--button-accent:#79647E;--button-accent-hover:#624F68;
  --theme-soft:#E9DEE8;--theme-surface:#F1EAF0;--theme-card:#EEE6EC;--theme-contrast:#57465D;
  --theme-muted:#6E6070;--theme-footer:#392D40;--theme-rule:#CDC0CC;
  --theme-hero-overlay:linear-gradient(90deg,rgba(47,33,51,.71),rgba(69,49,69,.39) 48%,rgba(69,49,69,.06)),linear-gradient(0deg,rgba(47,33,51,.29),transparent 35%);
}
html[data-theme="foothills"]{
  --cream:#F6F0E5;--cream2:#E9DFCF;--ink:#332D26;--pine:#443A2F;--white:#FFF9EF;
  --line:#CEBFA9;--rust:#9B754D;--button-accent:#88663F;--button-accent-hover:#6D5031;
  --theme-soft:#EEDFC6;--theme-surface:#F4EBDD;--theme-card:#E9DCC7;--theme-contrast:#4B3B2B;
  --theme-muted:#695D4E;--theme-footer:#302A23;--theme-rule:#D1BFA7;
  --theme-hero-overlay:linear-gradient(90deg,rgba(42,34,26,.70),rgba(65,49,32,.38) 48%,rgba(65,49,32,.06)),linear-gradient(0deg,rgba(42,34,26,.28),transparent 35%);
}
html[data-theme="ridge"]{
  --cream:#F5F1E9;--cream2:#E5E4DD;--ink:#293840;--pine:#354A54;--white:#FFFBF5;
  --line:#C5CECB;--rust:#A47C60;--button-accent:#8D6252;--button-accent-hover:#744D40;
  --theme-soft:#DDE5E4;--theme-surface:#EFF1ED;--theme-card:#E5EAE7;--theme-contrast:#3D535C;
  --theme-muted:#596B70;--theme-footer:#283A42;--theme-rule:#BFCDCB;
  --theme-hero-overlay:linear-gradient(90deg,rgba(29,46,54,.70),rgba(46,64,68,.38) 48%,rgba(46,64,68,.06)),linear-gradient(0deg,rgba(29,46,54,.28),transparent 35%);
}

html[data-theme] a:focus-visible,html[data-theme] button:focus-visible,html[data-theme] input:focus-visible,html[data-theme] select:focus-visible,html[data-theme] textarea:focus-visible{outline-color:var(--button-accent)}
html[data-theme] .hero-shade{background:var(--theme-hero-overlay)}
html[data-theme] .main-nav a:hover,html[data-theme] .subnav a:hover,html[data-theme] .areas-rail nav a:hover{color:var(--button-accent)}
html[data-theme] .intro .body-copy,html[data-theme] .feature-panel>p:not(.eyebrow),html[data-theme] .property-heading>p,html[data-theme] .community-copy p,html[data-theme] .service-grid p,html[data-theme] .search-head>p{color:var(--theme-muted)}
html[data-theme] .intro-aside small,html[data-theme] .property-disclaimer,html[data-theme] .section-number,html[data-theme] .community-note{color:var(--theme-muted)}
html[data-theme] .feature-panel{background:var(--cream2)}
html[data-theme] .property-showcase,html[data-theme] .communities,html[data-theme] .areas-section{background:var(--theme-surface)}
html[data-theme] .property-card,html[data-theme] .gallery-thumb,html[data-theme] .detail-main-wrap{background:var(--theme-card)}
html[data-theme] .search-section{background:var(--theme-soft);color:var(--ink)}
html[data-theme] .search-section .eyebrow.light,html[data-theme] .field span,html[data-theme] .search-head>p{color:var(--theme-muted)}
html[data-theme] .search-box,html[data-theme] .empty-results,html[data-theme] .listing-card{background:var(--white)}
html[data-theme] .field,html[data-theme] .listing-card .listing-meta{border-color:var(--theme-rule)}
html[data-theme] .services{background:var(--cream2)}
html[data-theme] .service-grid article{border-color:var(--theme-rule)}
html[data-theme] .service-grid article>span{color:var(--button-accent)}
html[data-theme] .contact{background:var(--pine)}
html[data-theme] .contact .eyebrow.light,html[data-theme] .contact-bottom span{color:var(--cream)}
html[data-theme] .footer{background:var(--theme-footer)}
html[data-theme] .footer-top p,html[data-theme] .footer-bottom{color:var(--cream2)}
html[data-theme] .footer-bottom{border-color:rgba(255,255,255,.24)}
html[data-theme] .page-hero{background:var(--cream)}
html[data-theme] .page-hero p:not(.eyebrow),html[data-theme] .detail-title-row p,html[data-theme] .detail-copy p,html[data-theme] .detail-facts span{color:var(--theme-muted)}
html[data-theme] .page-hero .eyebrow,html[data-theme] .detail-concept-note{color:var(--theme-muted)!important}
html[data-theme] .concept-note,html[data-theme] .listing-filters,html[data-theme] .region-thread{background:var(--theme-soft);border-color:var(--button-accent);color:var(--theme-contrast)}
html[data-theme] .listing-section{background:var(--theme-surface)}
html[data-theme] .listing-card-top,html[data-theme] .listing-card p,html[data-theme] .listing-results-head p,html[data-theme] .listing-filters p{color:var(--theme-muted)}
html[data-theme] .listing-results-head,html[data-theme] .detail-facts,html[data-theme] .detail-facts div,html[data-theme] .areas-rail nav,html[data-theme] .areas-rail nav a,html[data-theme] .area-story{border-color:var(--theme-rule)}
html[data-theme] .listing-filters label,html[data-theme] .area-story .number,html[data-theme] .areas-rail p,html[data-theme] .area-story p:not(.area-lede),html[data-theme] .region-thread p{color:var(--theme-muted)}
html[data-theme] .listing-filters input,html[data-theme] .listing-filters select,html[data-theme] .contact-form input,html[data-theme] .contact-form select,html[data-theme] .contact-form textarea{background:var(--white);border-color:var(--theme-rule);color:var(--ink)}
html[data-theme] .area-story .area-lede,html[data-theme] .region-thread h3{color:var(--theme-contrast)}
html[data-theme] .detail-contact{background:var(--pine)}
html[data-theme] .detail-contact p{color:var(--cream)}
html[data-theme] .contact-panel{background:var(--theme-soft)}
html[data-theme] .contact-panel>p:not(.eyebrow),html[data-theme] .form-note{color:var(--theme-muted)}
html[data-theme] .contact-form label{color:var(--theme-contrast)}

/* Review-only palette selector. */
.concept-bar .palette-link{color:inherit;text-decoration:underline;text-underline-offset:3px}
.concept-bar .palette-link:hover{color:var(--white)}
.concept-bar{position:relative;z-index:60;overflow:visible}
.color-picker{position:relative;line-height:1}
.color-picker .color-trigger{display:flex;align-items:center;gap:8px;min-height:25px;padding:4px 9px;border:1px solid rgba(255,255,255,.46);background:transparent;color:var(--white);cursor:pointer;font:700 10px/1 'Manrope',sans-serif;letter-spacing:.02em;white-space:nowrap}
.color-picker .color-trigger::before{content:"";width:9px;height:9px;flex:none;background:var(--picker-active,#A84C5C);border:1px solid rgba(255,255,255,.5)}
.color-picker .color-trigger::after{content:"⌄";font-size:15px;font-weight:400;line-height:7px;margin-left:3px}
.color-picker .color-trigger:hover,.color-picker .color-trigger[aria-expanded="true"]{background:rgba(255,255,255,.12)}
.color-picker .color-trigger:focus-visible{outline:2px solid var(--white);outline-offset:2px}
.color-menu-panel{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);width:292px;padding:8px;background:var(--white);color:var(--ink);border:1px solid var(--line);box-shadow:0 18px 45px rgba(24,25,22,.22);letter-spacing:0}
.color-menu-panel[hidden]{display:none}
.color-menu-panel a{display:grid;grid-template-columns:62px 1fr 15px;align-items:center;gap:10px;min-height:42px;padding:6px 8px;color:var(--ink);font:600 13px/1.25 'Manrope',sans-serif}
.color-menu-panel a:hover,.color-menu-panel a[aria-current="true"]{background:rgba(80,70,58,.09)}
.color-menu-panel a[aria-current="true"]::after{content:"✓";font-size:14px;color:var(--button-accent)}
.color-menu-swatches{display:grid;grid-template-columns:repeat(3,1fr);height:18px;border:1px solid rgba(0,0,0,.08)}
.color-menu-swatches i{display:block}
.color-menu-panel .color-menu-all{display:block;min-height:0;margin-top:7px;padding:12px 9px 5px;border-top:1px solid var(--line);font-size:12px;color:var(--button-accent);text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.concept-bar>span:last-child{display:none}.color-menu-panel{left:auto;right:-8px;transform:none;width:min(292px,calc(100vw - 24px))}}
.palette-page{background:#F6F3EE;min-height:100vh}
.palette-wrap{width:min(1180px,88%);margin:0 auto;padding:90px 0 115px}
.palette-wrap .eyebrow{color:#705E68}
.palette-wrap h1{font-size:clamp(54px,6vw,90px);line-height:1.08;max-width:790px;margin:0 0 18px}
.palette-intro{font-size:18px;line-height:1.7;color:#655B60;max-width:690px;margin:0 0 52px}
.palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.palette-card{background:#fffdf9;border:1px solid #DED6D5;padding:0 0 26px}
.palette-swatches{display:grid;grid-template-columns:1.5fr 1fr 1fr;height:180px}
.palette-swatches span{display:block}
.palette-card-body{padding:25px 25px 0}
.palette-card h2{font-size:32px;margin:0 0 11px}
.palette-card p{font-size:15px;line-height:1.7;color:#655B60;min-height:78px}
.palette-card .button{margin-top:7px}
.palette-card:nth-child(2) .button{background:#9B5A43;border-color:#9B5A43}
.palette-card:nth-child(2) .button:hover{background:#7F4837;border-color:#7F4837}
.palette-card:nth-child(3) .button{background:#526F82;border-color:#526F82}
.palette-card:nth-child(3) .button:hover{background:#3E5B6D;border-color:#3E5B6D}
.palette-card:nth-child(4) .button{background:#79647E;border-color:#79647E}
.palette-card:nth-child(4) .button:hover{background:#624F68;border-color:#624F68}
.palette-card:nth-child(5) .button{background:#88663F;border-color:#88663F}
.palette-card:nth-child(5) .button:hover{background:#6D5031;border-color:#6D5031}
.palette-card:nth-child(6) .button{background:#8D6252;border-color:#8D6252}
.palette-card:nth-child(6) .button:hover{background:#744D40;border-color:#744D40}
.palette-note{font-size:13px;color:#766D72;line-height:1.7;margin:33px 0 0}
@media(max-width:900px){.palette-grid{grid-template-columns:1fr}.palette-swatches{height:100px}.palette-card p{min-height:0}}
