/* Punto Reference Kit – all layout rules scoped to this widget. */
.pdrf.pdrf-reference{
  --pdrf-axis:144px;--pdrf-hero-overlay:#111111;--pdrf-hero-opacity:.55;
  width:100vw!important;max-width:100vw!important;min-width:0!important;
  margin:0 0 0 calc(50% - 50vw)!important;left:auto!important;transform:none!important;
  overflow-x:clip;isolation:isolate;background:#eae7e1;
  font-family:'Manrope',Arial,sans-serif!important;
}
.pdrf-reference *, .pdrf-reference *::before,.pdrf-reference *::after{box-sizing:border-box}
.pdrf-reference .pdrf-content-axis{width:100%;max-width:none;margin:0; padding-left:var(--pdrf-axis);padding-right:var(--pdrf-axis);min-width:0}
.pdrf-reference-hero{display:flex;align-items:flex-end;position:relative;isolation:isolate;min-height:430px;overflow:hidden;background:#1d1c1a;padding:150px 0 56px;color:#fff}
.pdrf-hero-bg{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center;z-index:-2;pointer-events:none}
.pdrf-hero-bg.pdrf-pos-top{object-position:center top}.pdrf-hero-bg.pdrf-pos-bottom{object-position:center bottom}.pdrf-hero-bg.pdrf-pos-left{object-position:left center}.pdrf-hero-bg.pdrf-pos-right{object-position:right center}
.pdrf-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg, rgba(0,0,0,.35),transparent 100%),var(--pdrf-hero-overlay);opacity:var(--pdrf-hero-opacity);pointer-events:none}
.pdrf-hero-copy{position:relative;z-index:1;--pdrf-text-gap:18px;text-align:left}
.pdrf-hero-copy .pdrf-hero-kicker{font:600 11px/1.45 'Manrope',Arial,sans-serif;letter-spacing:.22em;color:#fff;text-transform:uppercase;word-break:normal;hyphens:none;margin-bottom:var(--pdrf-text-gap)}
.pdrf-hero-copy h1{font:300 clamp(40px,4.7vw,92px)/1.07 'Manrope',Arial,sans-serif;letter-spacing:-.048em;color:#fff!important;word-break:normal;overflow-wrap:normal;hyphens:none;text-wrap:balance;margin:0!important;max-width:100%}
.pdrf-hero-copy .pdrf-hero-description{font:300 clamp(13px,1vw,18px)/1.65 'Manrope',Arial,sans-serif;max-width:730px;margin:var(--pdrf-text-gap) 0 0!important;color:#e5e2df;word-break:normal;hyphens:none}
.pdrf-projects-section{background:#eae7e1;padding:78px 0 110px;min-width:0}
.pdrf-projects-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 0 15px;border-bottom:1px solid rgba(40,39,37,.2);margin:0 0 28px;font:700 10px/1.4 'Manrope',Arial,sans-serif;letter-spacing:.17em;color:#554f49}
.pdrf-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0}
.pdrf-project-card{--pdrf-card-bg:#343434;--pdrf-overlay:#0b0b0b;--pdrf-overlay-opacity:.75;--pdrf-card-text:#fff;--pdrf-card-hover-text:#fff;--pdrf-card-arrow:#d2ad80;position:relative;display:block;aspect-ratio:3/2;overflow:hidden;min-width:0;width:100%;padding:0!important;border:0!important;border-radius:0!important;text-align:left!important;text-decoration:none!important;cursor:pointer;background:var(--pdrf-card-bg);color:var(--pdrf-card-text)!important;box-shadow:none!important;appearance:none;font:inherit;isolation:isolate}
.pdrf-ratio-wide .pdrf-project-card{aspect-ratio:16/9}.pdrf-ratio-classic .pdrf-project-card{aspect-ratio:4/3}.pdrf-ratio-square .pdrf-project-card{aspect-ratio:1}.pdrf-ratio-portrait .pdrf-project-card{aspect-ratio:4/5}
.pdrf-project-card .pdrf-card-img{position:absolute!important;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transition:transform .75s cubic-bezier(.22,1,.36,1);transform:scale(1)}
.pdrf-fit-contain .pdrf-project-card .pdrf-card-img{object-fit:contain}
.pdrf-hover-zoom .pdrf-project-card:hover .pdrf-card-img,.pdrf-hover-zoom .pdrf-project-card:focus-visible .pdrf-card-img{transform:scale(1.065)}
.pdrf-card-noimage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:25px;text-align:center;color:rgba(255,255,255,.1);letter-spacing:.18em;font-weight:600;font-size:clamp(12px,2vw,24px)}
.pdrf-card-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.7),transparent 67%);transition:background .35s ease,opacity .35s}
.pdrf-project-card:hover .pdrf-card-shade,.pdrf-project-card:focus-visible .pdrf-card-shade{background:linear-gradient(to top,var(--pdrf-overlay),var(--pdrf-overlay));opacity:var(--pdrf-overlay-opacity)}
.pdrf-card-content{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:var(--pdrf-card-inset,28px);gap:10px;color:var(--pdrf-card-text);pointer-events:none;min-width:0;text-align:left}
.pdrf-card-number{font:600 10px/1.25 'Manrope',Arial,sans-serif;letter-spacing:.17em;opacity:.8;transition:opacity .3s}
.pdrf-card-title{font:500 clamp(18px,1.5vw,30px)/1.16 'Manrope',Arial,sans-serif;letter-spacing:-.035em;color:inherit!important;text-transform:none;overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%;transition:transform .4s ease,color .25s}
.pdrf-card-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;font:300 clamp(11px,.83vw,14px)/1.55 'Manrope',Arial,sans-serif;color:inherit;opacity:0;max-height:0;transform:translateY(8px);transition:opacity .35s,max-height .45s,transform .35s}
.pdrf-card-bottom{display:flex;width:100%;align-items:center;justify-content:space-between;margin-top:4px;padding-top:12px;border-top:1px solid rgba(255,255,255,.4);font:600 10px/1.2 'Manrope',Arial,sans-serif;letter-spacing:.08em;opacity:0;max-height:0;overflow:hidden;transition:opacity .25s,max-height .35s}
.pdrf-card-bottom span{font-size:20px;color:var(--pdrf-card-arrow);transition:transform .25s}
.pdrf-project-card:hover .pdrf-card-bottom span,.pdrf-project-card:focus-visible .pdrf-card-bottom span{transform:translate(2px,-2px)}
.pdrf-project-card:hover .pdrf-card-description,.pdrf-project-card:focus-visible .pdrf-card-description,.pdrf-hover-always .pdrf-card-description{opacity:1;max-height:180px;transform:translateY(0)}
.pdrf-project-card:hover .pdrf-card-bottom,.pdrf-project-card:focus-visible .pdrf-card-bottom,.pdrf-hover-always .pdrf-card-bottom{opacity:1;max-height:60px}
.pdrf-project-card:hover .pdrf-card-content,.pdrf-project-card:focus-visible .pdrf-card-content{color:var(--pdrf-card-hover-text)}
.pdrf-hover-always .pdrf-card-shade{background:linear-gradient(to top,rgba(0,0,0,.8),transparent 94%)}
.pdrf-project-card:focus-visible{outline:3px solid #B89061!important;outline-offset:-3px}
/* Previews, not detail pages: focus-trapped JS-free fallback and accessible close. */
.pdrf-modal[hidden]{display:none!important}.pdrf-modal{position:fixed;inset:0;z-index:300000;display:flex;align-items:center;justify-content:center;padding:clamp(14px,4vw,55px)}
.pdrf-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.8);cursor:default}
.pdrf-modal-box{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;width:min(1120px,100%);max-height:88dvh;overflow:auto;background:#eae7e1;color:#262321;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.pdrf-modal-media{background:#333;min-height:260px;display:flex;align-items:center;justify-content:center}
.pdrf-modal-media img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover}
.pdrf-modal-media img[hidden]{display:none}
.pdrf-modal-details{padding:clamp(22px,3.5vw,65px);display:flex;flex-direction:column;justify-content:center;gap:24px}
.pdrf-modal-details>span,.pdrf-modal-details small{font:600 10px/1.4 'Manrope',Arial,sans-serif;letter-spacing:.16em;color:#8a7664}
.pdrf-modal-details h2{font:400 clamp(25px,3vw,48px)/1.15 'Manrope',Arial,sans-serif;letter-spacing:-.04em;margin:0;color:#252321}
.pdrf-modal-details p{font:400 15px/1.7 'Manrope',Arial,sans-serif;margin:0;color:#555}
.pdrf-modal-close{position:absolute;top:10px;right:10px;z-index:3;appearance:none;border:0;background:#181818;color:white;font-size:30px;width:42px;height:42px;line-height:1;cursor:pointer}
body.pdrf-modal-open{overflow:hidden}
/* Elementor tablet settings may override these, but valid defaults work without generated CSS. */
@media(max-width:1100px){.pdrf.pdrf-reference{--pdrf-axis:68px}.pdrf-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdrf-reference-hero{min-height:370px;padding-top:130px;padding-bottom:45px}.pdrf-projects-section{padding-top:60px;padding-bottom:85px}}
@media(min-width:768px) and (max-width:1100px){.pdrf-project-card{min-height:280px}.pdrf-card-description{-webkit-line-clamp:2}.pdrf-card-content{gap:6px}.pdrf-card-title{font-size:clamp(18px,2vw,25px)}}
@media(max-width:767px){.pdrf.pdrf-reference{--pdrf-axis:24px}.pdrf-reference-hero{min-height:340px;padding-top:115px;padding-bottom:39px}.pdrf-project-grid{grid-template-columns:1fr;gap:10px}.pdrf-project-card{min-height:320px}.pdrf-projects-section{padding-top:45px;padding-bottom:65px}.pdrf-projects-intro{font-size:9px}.pdrf-hero-copy h1{font-size:clamp(36px,9vw,61px)!important}.pdrf-project-card .pdrf-card-description,.pdrf-project-card .pdrf-card-bottom{opacity:1;max-height:160px;transform:none}.pdrf-project-card .pdrf-card-shade{background:linear-gradient(to top,rgba(0,0,0,.83),transparent 88%)}.pdrf-card-content{gap:6px}.pdrf-card-description{-webkit-line-clamp:3}.pdrf-modal-box{grid-template-columns:1fr;max-height:90dvh}.pdrf-modal-media{min-height:180px;max-height:37dvh}.pdrf-modal-media img{height:100%;object-fit:cover}.pdrf-modal-details{gap:16px}.pdrf-hero-copy .pdrf-hero-description{font-size:13px}}
@media(max-width:390px){.pdrf.pdrf-reference{--pdrf-axis:24px}.pdrf-hero-copy h1{font-size:clamp(34px,9vw,48px)!important}}
@media(prefers-reduced-motion:reduce){.pdrf-project-card *{transition:none!important}}


/* 1.0.1 – editorial two-column intro and minimalist preview. Scoped to Reference widget. */
.pdrf.pdrf-reference .pdrf-reference-hero {
  align-items:center;
}
.pdrf.pdrf-reference .pdrf-hero-layout {
  display:grid;
  grid-template-columns:minmax(0,var(--pdrf-left-share,56%)) minmax(0,1fr);
  align-items:center;
  column-gap:var(--pdrf-hero-columns-gap,52px);
  row-gap:var(--pdrf-hero-columns-gap,24px);
  min-height:var(--pdrf-hero-content-height,168px);
  width:100%;
  position:relative;
  z-index:1;
}
.pdrf.pdrf-reference .pdrf-hero-title-area {
  min-width:0;
  max-width:min(100%,var(--pdrf-hero-title-width,930px));
  --pdrf-text-gap:var(--pdrf-hero-title-gap,18px);
  text-align:left;
  justify-self:stretch;
}
:where(.pdrf.pdrf-reference) .pdrf-hero-title-area .pdrf-hero-kicker {
  margin:0 0 var(--pdrf-text-gap);
  font:600 11px/1.45 'Manrope',Arial,sans-serif;
  letter-spacing:.22em;
  color:#fff;
  text-align:left;
  text-transform:uppercase;
  hyphens:none;
}
:where(.pdrf.pdrf-reference) .pdrf-hero-title-area h1 {
  display:block;
  padding:0;
  margin:0;
  width:auto;
  max-width:100%;
  text-align:left;
  color:#fff;
  font:300 clamp(40px,4.7vw,92px)/1.07 'Manrope',Arial,sans-serif;
  letter-spacing:-.048em;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
  text-wrap:balance;
}
.pdrf.pdrf-reference .pdrf-hero-description-area {
  display:flex;
  flex-direction:column;
  justify-content:var(--pdrf-hero-right-vertical,center);
  align-items:stretch;
  min-width:0;
  max-width:min(100%,var(--pdrf-hero-right-width,550px));
  min-height:var(--pdrf-hero-right-height,110px);
  text-align:var(--pdrf-hero-right-align,left);
  justify-self:start;
}
:where(.pdrf.pdrf-reference) .pdrf-hero-description-area .pdrf-hero-description {
  display:block;
  width:100%;
  max-width:100%;
  padding:0;
  margin:0;
  font:300 clamp(13px,1vw,18px)/1.65 'Manrope',Arial,sans-serif;
  color:#e5e2df;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
/* The close control must not inherit Elementor/theme button backgrounds (pink/red). */
.pdrf.pdrf-reference .pdrf-modal .pdrf-modal-box {
  width:100%;
  max-width:min(100%,var(--pdrf-modal-width,1120px));
  border:none!important;
  border-radius:0!important;
  outline:none!important;
  box-shadow:none!important;
  background:var(--pdrf-modal-bg,#eae7e1);
  overflow:auto;
}
.pdrf.pdrf-reference .pdrf-modal .pdrf-modal-media {
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:var(--pdrf-modal-bg,#eae7e1);
}
.pdrf.pdrf-reference .pdrf-modal .pdrf-modal-media img {
  display:block;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.pdrf.pdrf-reference .pdrf-modal .pdrf-modal-backdrop {
  background:var(--pdrf-modal-shade,#23221f);
  opacity:var(--pdrf-modal-shade-opacity,.52);
  backdrop-filter:none;
}
.pdrf.pdrf-reference .pdrf-modal button.pdrf-modal-close,
.pdrf.pdrf-reference .pdrf-modal button.pdrf-modal-close:not(:hover) {
  position:absolute;
  z-index:4;
  top:14px;
  right:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px!important;
  height:34px!important;
  min-height:0!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:var(--pdrf-close-color,#55514d)!important;
  font:300 27px/1 'Manrope',Arial,sans-serif!important;
  text-decoration:none!important;
  text-shadow:none!important;
  transform:none;
  cursor:pointer;
  transition:background-color .22s ease,color .22s ease!important;
}
.pdrf.pdrf-reference .pdrf-modal button.pdrf-modal-close:hover,
.pdrf.pdrf-reference .pdrf-modal button.pdrf-modal-close:focus-visible {
  background:var(--pdrf-close-hover,#b89061)!important;
  background-color:var(--pdrf-close-hover,#b89061)!important;
  color:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
@media(max-width:1100px){
  :where(.pdrf.pdrf-reference) {--pdrf-hero-columns-gap:28px;--pdrf-hero-content-height:130px;--pdrf-hero-right-width:400px;--pdrf-hero-right-height:80px;}
  :where(.pdrf.pdrf-reference) .pdrf-hero-title-area h1 {font-size:clamp(38px,5.5vw,62px);}
}
@media(max-width:900px){
  .pdrf.pdrf-reference .pdrf-hero-layout {
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start;
    row-gap:18px;
  }
  .pdrf.pdrf-reference .pdrf-hero-description-area {max-width:min(100%,var(--pdrf-hero-right-width,550px));}
}
@media(max-width:767px){
  :where(.pdrf.pdrf-reference) {--pdrf-hero-content-height:0px;--pdrf-hero-columns-gap:14px;--pdrf-hero-right-height:0px;--pdrf-hero-right-width:380px;}
  :where(.pdrf.pdrf-reference) .pdrf-hero-title-area h1 {font-size:clamp(34px,9vw,58px);}
  :where(.pdrf.pdrf-reference) .pdrf-hero-description-area .pdrf-hero-description {font-size:13px;line-height:1.6;}
  .pdrf.pdrf-reference .pdrf-modal button.pdrf-modal-close {top:8px;right:8px;}
}
@media(prefers-reduced-motion:reduce){
  .pdrf.pdrf-reference .pdrf-modal button.pdrf-modal-close {transition:none!important;}
}

/* Ensure a missing image stays hidden; do not let explicit modal img styles overrule [hidden]. */
.pdrf.pdrf-reference .pdrf-modal .pdrf-modal-media img[hidden]{display:none!important;}
.pdrf.pdrf-reference .pdrf-hero-layout--single{grid-template-columns:minmax(0,1fr);}


/* v1.0.2: reliable intro photo darkening, independent from theme stacking or editor CSS. */
.pdrf.pdrf-reference .pdrf-reference-hero { position:relative; isolation:isolate; }
.pdrf.pdrf-reference .pdrf-reference-hero > .pdrf-hero-bg { z-index:0!important; }
.pdrf.pdrf-reference .pdrf-reference-hero > .pdrf-hero-shade {
    position:absolute; inset:0; z-index:1!important; pointer-events:none;
    background:#111111; background-color:var(--pdrf-hero-overlay,#111111);
    opacity:var(--pdrf-hero-opacity,.55);
    transition:opacity .2s ease,background-color .2s ease;
}
.pdrf.pdrf-reference .pdrf-reference-hero > .pdrf-hero-layout { position:relative; z-index:2!important; }
@media(prefers-reduced-motion:reduce) {
    .pdrf.pdrf-reference .pdrf-reference-hero > .pdrf-hero-shade { transition:none; }
}
