/* ENG-016 / DS-006A: targeted H01/H02/T05 visuals, no redesign H03-H06 */
.primary-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.primary-project-grid[data-count="1"]{grid-template-columns:minmax(0,410px);justify-content:center}
.primary-project-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,410px));justify-content:center}
.primary-project-card{min-width:0;background:#fff;box-shadow:0 16px 40px rgba(9,44,67,.085);overflow:hidden;display:flex;flex-direction:column}
.primary-project-cover{position:relative;display:block;overflow:hidden; background:#F5F1E9}
.primary-project-badge{position:absolute;top:12px;left:12px;z-index:1;display:inline-block;max-width:calc(100% - 24px);padding:7px 10px;border:1px solid rgba(245,241,233,.35);border-radius:4px;background:linear-gradient(115deg,#79532b 0%,#976b32 40%,#B99560 100%);color:#fff;font:800 10px/1.4 var(--font-body);letter-spacing:.08em;overflow-wrap:anywhere;box-shadow:0 3px 10px rgba(9,44,67,.15);pointer-events:none}
.primary-project-cover img{width:100%;height:100%;object-fit:cover;display:block;transform:none;transition:none}
.primary-project-cover:hover img{transform:none}
.primary-project-copy{display:flex;flex-direction:column;flex:1;padding:20px 22px;color:#092C43}
.primary-project-copy h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.8rem,2.7vw,2.3rem);line-height:1.17;font-weight:500;margin:0;overflow-wrap:break-word}
.primary-project-overline{font-size:.77rem;letter-spacing:.13em;text-transform:uppercase;color:#795c39;margin:0;font-weight:700}
.primary-project-copy p.primary-project-summary{font-family:'Manrope',Arial,sans-serif;font-size:.91rem;line-height:1.65;margin:0;color:#4f6472}
.primary-project-location{border-top:1px solid #ded7ce;padding-top:12px;color:#425969;font-size:.84rem;margin-top:auto}
.primary-project-card a:focus-visible,.primary-discovery-panel a:focus-visible{outline:3px solid #092C43;outline-offset:3px}
.primary-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px;flex-wrap:wrap}
.primary-section-head h2{font-family:'Playfair Display',Georgia,serif;color:#092C43;margin:0}
.primary-section-head p{margin:0;max-width:380px;line-height:1.6}
.v6-home #proyek-pilihan .primary-section-head > div:last-child{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}
.primary-discovery-panel{padding:27px 30px;background:white;border-radius:10px;box-shadow:0 18px 50px rgba(9,44,67,.12);display:flex;align-items:center;justify-content:space-between;gap:22px}
.primary-discovery-panel h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.65rem,3vw,2.5rem);margin:0 0 8px}
.primary-discovery-panel p{margin:0;color:#4F6472}
.primary-discovery-panel .btn{white-space:normal;min-height:50px;display:inline-flex;align-items:center;justify-content:center}
.primary-review-note{font-size:.8rem;color:#496172;line-height:1.5;margin-top:12px}
.primary-types-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.primary-type-card{border:1px solid #ded7ce;border-radius:9px;overflow:hidden;background:#fff;min-width:0}
.primary-type-card img{width:100%;height:210px;object-fit:cover}
.primary-type-card .content{padding:17px 20px}
.primary-type-card h3{font-family:'Playfair Display',Georgia,serif;font-size:1.4rem;color:#092C43}
.primary-type-card button{background:none;border:0;text-align:left;color:#092C43;min-height:44px;text-decoration:underline}
.primary-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.primary-gallery-grid button{padding:0;border:0;border-radius:8px;overflow:hidden;background:#F5F1E9;min-width:0}
.primary-gallery-grid img{width:100%;height:230px;object-fit:cover}
.primary-zoom-modal{border:0;border-radius:8px;max-width:min(96vw,1100px);max-height:92vh;padding:18px;background:white}
.primary-zoom-modal::backdrop{background:rgba(2,19,30,.85)}
.primary-zoom-modal img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}
.primary-zoom-modal button{min-height:44px;min-width:44px}
.primary-review-banner{font-size:.8rem;color:#536779}
.primary-discovery-no-image{background:linear-gradient(135deg,#092C43 0%,#35566b 65%,#B99560 100%)}
@media(max-width:1100px){.primary-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.primary-project-copy{padding:20px}.primary-types-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.primary-project-grid,.primary-project-grid[data-count="1"],.primary-project-grid[data-count="2"]{grid-template-columns:minmax(0,1fr)}.primary-discovery-panel{flex-direction:column;align-items:stretch;padding:22px}.primary-types-grid,.primary-gallery-grid{grid-template-columns:minmax(0,1fr)}.primary-section-head{display:block}.primary-section-head p{margin-top:12px}.primary-project-copy h3{font-size:2rem}}
@media(max-width:390px){.primary-project-copy{padding:20px 19px}.primary-discovery-panel{padding:18px}.v6-h01 h1{font-size:clamp(2.15rem,10.4vw,3.2rem)}}
@media(prefers-reduced-motion:reduce){.primary-project-cover img{transition:none}}
/* Narrow mobile guard: clip only off-canvas decorative pseudo-elements from corporate sections. */
@media (max-width:390px){.page-hero,.editorial-cta{overflow:clip}}
/* Brand-gold CTA for project and location pages. */
.eng10-gold{background:#b99560!important;border-color:#b99560!important;color:#092C43!important}
.eng10-gold:hover,.eng10-gold:focus-visible{background:#825c30!important;border-color:#825c30!important;color:#fff!important}

/* ENG-018 DS-007A: project presentation only; one source for H02 and T05 */
.primary-project-cover{aspect-ratio:4/3}
.primary-project-card{border-radius:12px}
.primary-project-copy{gap:10px}
.primary-project-topline{display:flex}
.primary-project-topline .primary-project-overline{border:0;padding:0;margin:0}
.primary-project-topline .primary-project-overline,.primary-project-topline .primary-project-area{display:inline-flex;align-items:flex-start;gap:5px;min-width:0;max-width:100%}
.primary-project-topline .primary-project-meta-icon{width:14px;height:14px;flex:0 0 14px;margin-top:2px;color:#B99560}
.primary-project-topline > span > span{min-width:0;overflow-wrap:anywhere}
.primary-project-area{font:600 11px/1.5 'Manrope',sans-serif;color:#627586}
.primary-project-copy h3{font-size:clamp(1.75rem,2.2vw,2.28rem)}
.primary-project-summary{min-height:0;flex-grow:1}
.primary-project-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));border-top:1px solid #e9e0d3;border-bottom:1px solid #e9e0d3;padding:14px 0;margin:0;gap:8px}
.primary-project-metric{min-width:0;padding:0 8px;border-right:1px solid #e9e0d3}
.primary-project-metric:last-child{border-right:0}
.primary-project-metric dt{font:700 11px/1.5 'Manrope',sans-serif;color:#092c43}
.primary-project-metric dd{font:600 12px/1.6 'Manrope',sans-serif;color:#536575;margin:5px 0 0;overflow-wrap:anywhere}
.primary-project-card .primary-project-cover:focus-visible{outline:3px solid #b99560;outline-offset:3px}
@media(max-width:767.98px){.primary-project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-project-metric:last-child:nth-child(odd){grid-column:1/-1}}

@media(max-width:767.98px){.primary-project-metrics[data-count="1"]{grid-template-columns:1fr}.primary-project-metrics[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Owner-editable project card metric icons */
.primary-project-metric-icon{display:block;width:19px;height:19px;color:#B99560;margin-bottom:6px;flex:none}

/* Detail CTA occupies the fourth metric slot on mobile only. */
.primary-project-metric-action{display:none}
.primary-project-metrics[data-count="3"]>.primary-project-metric:nth-child(3){border-right:0}
@media(max-width:767.98px){
 .primary-project-metric-action{display:flex;align-items:center;justify-content:center;min-width:0;padding:0 8px}
 .primary-project-metric-action dd{margin:0;width:100%}
 .primary-project-metric-detail{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid #092C43;border-radius:5px;background:#092C43;color:#fff;font-size:12px;font-weight:700;text-align:center;text-decoration:none}
 .primary-project-metric-detail:hover{background:#164761;border-color:#164761;color:#fff}
 .primary-project-metric-detail:focus-visible{outline:3px solid #B99560;outline-offset:3px}
}

/* Shared project card interaction: homepage and catalog; preserve image geometry. */
:is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card {
 position:relative;
}
:is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card::after {
 content:"";
 position:absolute;
 inset:0;
 border:1px solid transparent;
 border-radius:inherit;
 z-index:3;
 pointer-events:none;
}
:is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-cover img {
 transform:none;
 transition:none;
}
:is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card:focus-within::after {
 border-color:#092C43;
}
:is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-cover:focus-visible {
 outline-offset:-4px;
}
@media (hover:hover) and (pointer:fine) {
 :is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card {
  transition:transform 220ms ease,box-shadow 220ms ease;
 }
 :is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card::after {
  transition:border-color 220ms ease;
 }
 :is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card:hover {
  transform:translateY(-3px);
  box-shadow:0 20px 44px rgba(9,44,67,.14);
 }
 :is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card:hover::after {
  border-color:#092C43;
 }
}
@media (prefers-reduced-motion:reduce) {
 :is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card {
  transform:none!important;
  transition:none!important;
 }
 :is(.v6-home #proyek-pilihan,.project-catalog #pilihan-proyek,#proyek-cluster) .primary-project-card::after {
  transition:none!important;
 }
}

/* CODEX-022: project catalog only. Card appearance remains in the shared rules above. */
.project-catalog [hidden] {display:none!important}
.project-catalog .catalog-hero {
 position:relative;
 isolation:isolate;
 display:flex;
 align-items:center;
 min-height:350px;
 overflow:hidden;
 background:#092C43;
}
.project-catalog .catalog-hero-photo {
 position:absolute;
 inset:0;
 z-index:-2;
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:center 54%;
}
.project-catalog .catalog-hero::after {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:linear-gradient(90deg,rgba(9,44,67,.98) 0%,rgba(9,44,67,.92) 35%,rgba(9,44,67,.60) 65%,rgba(9,44,67,.14) 100%);
}
.project-catalog .catalog-hero-content {padding-block:48px}
.project-catalog .catalog-eyebrow {
 display:flex;
 align-items:center;
 gap:14px;
 margin:0 0 18px;
 color:#B99560;
 font:800 10px/1.6 var(--font-body);
 letter-spacing:.16em;
}
.project-catalog .catalog-eyebrow::before {content:"";width:34px;height:2px;background:#B99560;flex:0 0 34px}
.project-catalog .catalog-hero h1 {
 max-width:740px;
 margin:0 0 18px;
 color:#fff;
 font:500 clamp(38px,4vw,58px)/1.12 var(--font-heading);
 letter-spacing:-.025em;
}
.project-catalog .catalog-hero h1 em {display:block;color:#B99560;font-weight:400}
.project-catalog .catalog-hero-lead {max-width:600px;margin:0;color:#fff;font:400 16px/1.75 var(--font-body)}
.project-catalog .catalog-collection {padding:64px 0 72px;background:#fffdf9}
.project-catalog .catalog-section-head {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:20px}
.project-catalog .catalog-section-head .eyebrow {margin:0 0 14px}
.project-catalog .catalog-section-head h2 {margin:0;color:#092C43;font-size:clamp(32px,3.3vw,46px);line-height:1.2}
.project-catalog .catalog-filters {display:flex;gap:8px;flex-wrap:wrap}
.project-catalog .catalog-filter {
 min-height:44px;
 padding:10px 18px;
 border:1px solid #d7dcd9;
 border-radius:999px;
 background:#fff;
 color:#092C43;
 font:700 12px/1.5 var(--font-body);
 white-space:nowrap;
 cursor:pointer;
 transition:background-color 200ms ease,border-color 200ms ease,color 200ms ease;
}
.project-catalog .catalog-filter[aria-pressed="true"] {background:#092C43;border-color:#092C43;color:#fff}
.project-catalog .catalog-filter:focus-visible {outline:3px solid #B99560;outline-offset:3px}
.project-catalog .catalog-count {margin:0 0 24px;color:#627586;font:500 12px/1.6 var(--font-body)}
.project-catalog .primary-project-grid[data-count] {grid-template-columns:repeat(3,minmax(0,1fr));justify-content:start}
@media(max-width:1100px) {
 .project-catalog .primary-project-grid[data-count] {grid-template-columns:repeat(2,minmax(0,1fr))}
}
.project-catalog .catalog-empty {padding:44px 24px;border:1px solid #e7e1d7;border-radius:12px;background:#F5F1E9;text-align:center}
.project-catalog .catalog-empty .catalog-empty-title {margin:0 0 10px;color:#092C43;font:500 25px/1.3 var(--font-heading)}
.project-catalog .catalog-empty p:last-child {margin:0;color:#526776;font-size:14px;line-height:1.7}
@media (hover:hover) and (pointer:fine) {
 .project-catalog .catalog-filter:not([aria-pressed="true"]):hover {background:#F5F1E9;border-color:#B99560}
}
@media (max-width:767.98px) {
 .project-catalog .catalog-hero {min-height:0}
 .project-catalog .catalog-hero-content {padding-block:48px 50px}
 .project-catalog .catalog-hero h1 {font-size:clamp(34px,7vw,42px)}
 .project-catalog .catalog-hero-lead {font-size:15px}
 .project-catalog .catalog-hero::after {background:var(--treesy-mobile-hero-overlay)}
 .project-catalog .catalog-collection {padding:44px 0 52px}
 .project-catalog .catalog-section-head {align-items:flex-start;flex-direction:column;gap:22px}
}
@media (max-width:700px) {
 .project-catalog .primary-project-grid[data-count] {grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce) {
 .project-catalog .catalog-filter {transition:none!important}
}

/* Catalog closing CTA mirrors the Contact page without loading its full stylesheet. */
.project-catalog .ct-closing {padding:52px 0;background:#092C43}
.project-catalog .ct-closing-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:center;gap:80px}
.project-catalog .ct-closing h2 {margin:0;color:#fff;font:500 clamp(32px,3.2vw,45px)/1.16 var(--font-heading);letter-spacing:-.025em}
.project-catalog .ct-closing h2 em {font-weight:400;color:#B99560}
.project-catalog .ct-closing .ct-eyebrow {display:flex;align-items:center;gap:14px;margin:0 0 24px;color:#e0bd85;font:800 10px/1.5 var(--font-body);letter-spacing:2px}
.project-catalog .ct-closing .ct-eyebrow>span {display:block;flex:0 0 36px;width:36px;height:2px;background:#B99560}
.project-catalog .ct-closing .ct-button {display:inline-flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:420px;min-height:48px;padding:12px 18px;border:1px solid #B99560;border-radius:9px;background:#B99560;color:#092C43;font:700 12px/1.5 var(--font-body);text-align:center;text-decoration:none}
.project-catalog .ct-closing .icon {width:21px;height:21px;flex-shrink:0}
.project-catalog .ct-closing .ct-wa-icon {fill:currentColor;stroke:none}
.project-catalog .ct-closing p:not(.ct-eyebrow) {max-width:420px;margin:18px 0 0;color:#e4ebef;font:400 14px/1.8 var(--font-body)}
.project-catalog .ct-closing .ct-button:hover {background:#825c30;border-color:#825c30;color:#fff}
.project-catalog .ct-closing a:focus-visible {outline:3px solid #B99560;outline-offset:4px}
@media(max-width:1100px){
 .project-catalog .ct-closing-grid {gap:40px}
}
@media(max-width:767.98px){
 .project-catalog .ct-closing {padding:42px 0}
 .project-catalog .ct-closing-grid {grid-template-columns:1fr;gap:28px}
 .project-catalog .ct-closing h2 {font-size:34px}
 .project-catalog .ct-closing .ct-button,
 .project-catalog .ct-closing p:not(.ct-eyebrow) {max-width:none}
}

/* CODEX-025: internal hierarchy shared by homepage, catalog, and area cards. */
.primary-project-card .primary-project-topline {
 flex-direction:row;
 flex-wrap:wrap;
 align-items:center;
 justify-content:space-between;
 gap:8px 12px;
}
.primary-project-card .primary-project-type {
 display:inline-block;
 max-width:100%;
 padding:3px 8px;
 border:0;
 border-radius:4px;
 background:#F5F1E9;
 color:#092C43;
 font:600 11px/1.5 var(--font-body);
 overflow-wrap:anywhere;
}
.primary-project-card .primary-project-topline .primary-project-overline {
 display:block;
 min-width:0;
 max-width:100%;
 border:0;
 padding:0;
 margin:0;
 margin-inline-start:auto;
 text-align:right;
 color:#825c30;
 font:600 11px/1.6 var(--font-body);
 letter-spacing:.1em;
 text-transform:uppercase;
 overflow-wrap:anywhere;
}
.primary-project-card .primary-project-copy .primary-project-area {
 display:flex;
 align-items:flex-start;
 gap:5px;
 min-width:0;
 max-width:100%;
 margin:0;
 font:600 11px/1.5 var(--font-body);
 overflow-wrap:anywhere;
}
.primary-project-card .primary-project-area .primary-project-meta-icon {
 width:14px;
 height:14px;
 flex:0 0 14px;
 margin-top:2px;
 color:#B99560;
}
.primary-project-card .primary-project-area > span {min-width:0}
.primary-project-metrics > .primary-project-metric:nth-last-child(2) {border-right:0}
@media(max-width:767.98px) {
 .primary-project-metrics > .primary-project-metric:nth-child(2n) {border-right:0}
 .primary-project-metrics[data-count="2"] > .primary-project-metric-action {grid-column:1/-1}
}

/* CODEX-026: catalog controls only; shared card appearance stays unchanged. */
.project-catalog .catalog-filter-controls {
 display:flex;
 flex-wrap:wrap;
 align-items:flex-end;
 justify-content:flex-end;
 gap:12px 16px;
 min-width:0;
 max-width:100%;
}
.project-catalog .catalog-location-filter {
 display:grid;
 gap:6px;
 flex:0 1 210px;
 min-width:0;
 max-width:100%;
}
.project-catalog .catalog-location-filter label {
 color:#526776;
 font:600 11px/1.5 var(--font-body);
}
.project-catalog .catalog-location-select {
 box-sizing:border-box;
 width:100%;
 max-width:100%;
 min-width:0;
 min-height:44px;
 padding:10px 12px;
 border:1px solid #d7dcd9;
 border-radius:9px;
 background:#fff;
 color:#092C43;
 font:600 12px/1.5 var(--font-body);
}
.project-catalog .catalog-reset {
 min-height:44px;
 padding:10px 4px;
 border:0;
 background:transparent;
 color:#092C43;
 font:600 12px/1.5 var(--font-body);
 text-decoration:underline;
 text-underline-offset:3px;
 cursor:pointer;
}
.project-catalog .catalog-location-select:focus-visible,
.project-catalog .catalog-reset:focus-visible {
 outline:3px solid #B99560;
 outline-offset:3px;
}
@media(max-width:767.98px) {
 .project-catalog .catalog-filter-controls {width:100%;justify-content:flex-start}
 .project-catalog .catalog-filter-controls .catalog-filters {width:100%}
 .project-catalog .catalog-location-filter {flex-basis:100%}
}


/* CODEX-036: reuse the existing white search panel and inset-label controls. */
/* Keep the floating form in normal flow; a hidden form creates no overlap. */
.project-catalog .catalog-search-band {
 display:flow-root;
 position:relative;
 z-index:1;
}
.project-catalog .catalog-search-panel {
 margin:-32px 0 0;
 padding:24px;
 border-radius:12px;
}
.project-catalog .catalog-search-panel .v6-search-title {
 flex-wrap:wrap;
 gap:12px 24px;
 margin-bottom:18px;
}
.project-catalog .catalog-search-panel .v6-search-title h2 {
 margin-bottom:0;
 color:#092C43;
 font:500 clamp(28px,2.7vw,38px)/1.2 var(--font-heading);
 letter-spacing:-.028em;
}
.project-catalog .catalog-search-panel .v6-search-title h2 em {
 color:var(--gold-dark);
 font-weight:400;
 font-style:italic;
}
.project-catalog .catalog-search-fields {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr)) minmax(160px,.8fr);
 align-items:stretch;
 gap:14px;
}
.project-catalog .catalog-search-field {
 min-width:0;
 min-height:64px;
 padding:6px 18px;
 border-radius:6px;
 background:#fff;
}
.project-catalog .catalog-search-field label {
 margin:0 0 2px;
 color:#092C43;
 font:700 13px/1.5 var(--font-body);
}
.project-catalog .catalog-search-field select {
 padding-inline:0 28px;
 width:100%;
 max-width:100%;
 min-width:0;
 height:28px;
 color:#092C43;
 font:400 15px/1.5 var(--font-body);
}
.project-catalog .catalog-search-submit {
 min-width:0;
 min-height:64px;
 border:1px solid #B99560;
 border-radius:5px;
 background:#B99560;
 color:#092C43;
 font:700 15px/1.5 var(--font-body);
 white-space:normal;
}
.project-catalog .catalog-search-submit .icon {width:20px;height:20px;flex-shrink:0}
.project-catalog .catalog-search-submit:hover,
.project-catalog .catalog-search-submit:focus-visible {
 background:#825c30;
 border-color:#825c30;
 color:#fff;
}
.project-catalog .catalog-search-field select:focus-visible,
.project-catalog .catalog-search-submit:focus-visible {outline:3px solid #092C43;outline-offset:3px}
@media(min-width:768px) and (max-width:1199.98px) {
 .project-catalog .catalog-search-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767.98px) {
 .project-catalog .catalog-search-panel {margin-top:-16px;padding:20px}
 .project-catalog .catalog-search-panel .v6-search-title {margin-bottom:16px}
  .project-catalog .catalog-search-fields {grid-template-columns:minmax(0,1fr);gap:12px}
 .project-catalog .catalog-search-field {min-height:64px;padding:6px 18px}
 .project-catalog .catalog-search-submit {width:100%;min-height:64px}
}

/* Add breathing room to the existing root scroll-padding for the sticky header. */
.project-catalog #catalog-collection-title {scroll-margin-top:16px}

/* Shared missing-price action: unit cards, comparisons, summaries and project cards. */
a.treesy-price-cta{
 display:flex;align-items:center;justify-content:center;gap:10px;
 width:100%;min-height:44px;max-width:100%;padding:11px 8px;border:1px solid #092C43;border-radius:3px;
 background:#fff;color:#092C43;font:800 12px/1.5 'Manrope',sans-serif;
 text-align:center;text-decoration:none;vertical-align:middle;box-sizing:border-box;
 transition:background-color .18s,color .18s,border-color .18s;
}
a.treesy-price-cta .treesy-price-whatsapp{width:17px;height:17px;flex:0 0 17px;fill:currentColor;stroke:none;color:inherit}
a.treesy-price-cta:hover{background:#F5F1E9;border-color:#B99560;color:#092C43}
a.treesy-price-cta:focus-visible{outline:3px solid #092C43;outline-offset:3px}
@media(prefers-reduced-motion:reduce){a.treesy-price-cta{transition:none}}

/* Missing-price project action belongs below the complete specification row. */
.primary-project-price-action{width:100%;min-width:0}
.primary-project-price-action .treesy-price-cta{white-space:nowrap}

/* Catalog pagination only; existing cards/grid and contrast fixes stay unchanged. */
.project-catalog .catalog-pagination {display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:28px}
.project-catalog .catalog-pagination a,
.project-catalog .catalog-pagination span {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border-radius:8px;color:#092C43;font:600 14px/1.5 var(--font-body)}
.project-catalog .catalog-pagination a {border:1px solid #092C43;background:#fff;text-decoration:none}
.project-catalog .catalog-pagination a:hover {background:#F5F1E9}
.project-catalog .catalog-pagination a[aria-current="page"] {background:#092C43;color:#fff}
.project-catalog .catalog-pagination a:focus-visible {outline:3px solid #092C43;outline-offset:3px}
/* Catalog only: native H3 link stretches across its card; direct actions stay above it. */
.project-catalog .primary-project-card{position:relative;isolation:isolate}
.project-catalog .primary-project-copy h3>a{color:inherit;text-decoration:none}
.project-catalog .primary-project-copy h3>a::after{content:"";position:absolute;inset:0;z-index:1}
.project-catalog .primary-project-cover,
.project-catalog .primary-project-metric-detail,
.project-catalog .treesy-price-cta{position:relative;z-index:2}
.project-catalog .primary-project-copy h3>a:focus-visible::after{outline:3px solid #092C43;outline-offset:-3px}

/* TREESY 2026-11-12: mobile project-card detail button spacing only. */
@media (max-width: 767.98px) {
  .primary-project-card .primary-project-metric-detail {
    margin-top: 20px;
  }
}
