:root{--folio-paper:var(--paper);--folio-ink:var(--ink);--folio-accent:var(--sea);--folio-soft:var(--ivory);--folio-font:var(--font-display);--folio-radius:28px;--folio-button-radius:28px;}
/* Project presentation: existing project media, native lead handling. */
.folio-card,.folio-art{color:var(--folio-ink);font-family:inherit}
.folio-card{position:relative;z-index:2;box-sizing:border-box;width:360px;max-width:100%;min-height:568px;margin:80px auto 0;padding:170px 28px 22px;background:#fff;border-radius:30px;box-shadow:0 1px 0 rgb(255 255 255 / 70%) inset,0 24px 70px rgb(6 34 36 / 28%);text-align:center}
.folio-book-trigger{position:absolute;top:-72px;left:50%;width:min(292px,100%);height:220px;transform:translateX(-50%);padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
.folio-book{position:relative;display:block;width:100%;height:100%;perspective:900px}
.folio-sheet{position:absolute;display:flex;flex-direction:column;width:168px;height:190px;overflow:hidden;background:#fff;border-radius:0;box-shadow:0 14px 24px rgb(12 26 32 / 20%);transition:transform 450ms cubic-bezier(.22,1,.36,1);text-align:left;transform-origin:20% 80%}
.folio-sheet img{display:block;width:100%;height:112px;object-fit:cover;flex:none;border-radius:0}
.folio-sheet>span{display:block;padding:14px;font-size:15px;line-height:1.25;font-family:var(--folio-font);overflow-wrap:break-word}
.folio-sheet b{display:block;margin-bottom:7px;color:var(--folio-accent);font-family:inherit;font-size:12px;font-weight:600}
.folio-sheet--back{left:10px;top:20px;transform:rotate(-11deg)}
.folio-sheet--front{right:10px;top:0;transform:rotate(8deg)}
.folio-card .folio-heading{margin:0 0 12px;font-family:var(--folio-font);font-size:32px;font-weight:400;line-height:1.12;letter-spacing:-.02em}
.folio-actions{display:grid;gap:10px}
.folio-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;padding:0 16px;border:0;border-radius:999px;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer;transition:filter 180ms cubic-bezier(.22,1,.36,1)}
.folio-action--primary{min-height:62px;background:#fff;border:1px solid rgb(0 124 149 / 44%);color:#0b5f6d}
.folio-action--whatsapp{background:#2ca65f}.folio-action--telegram{background:#278dcc}.folio-action--max{background:#6658b4}
.folio-action svg{width:21px;height:21px;flex:none}
.folio-action:hover{filter:brightness(.92)}
.folio-action:focus-visible,.folio-book-trigger:focus-visible{outline:3px solid var(--folio-accent);outline-offset:5px}
.folio-art{display:none}
.is-presentation .folio-art{display:grid;place-items:center;background:var(--folio-soft);padding:48px 24px;min-width:0;overflow:hidden}
.folio-art .folio-book{width:min(430px,100%);height:350px}
.folio-art .folio-sheet{width:50%;height:300px;box-shadow:0 16px 30px rgb(12 26 32 / 15%)}
.folio-art .folio-sheet--back{left:0;top:23px;transform:rotate(-6deg)}
.folio-art .folio-sheet--front{right:0;top:8px;transform:rotate(4deg)}
.folio-art .folio-sheet img{height:190px}
.folio-art .folio-sheet>span{padding:18px;font-size:21px}
.folio-art .folio-sheet b{font-size:13px}
.folio-copy{min-width:0}
.folio-status-link{display:inline-block;margin-top:10px}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 .folio-book-trigger:hover .folio-sheet--back{transform:translateX(-6px) rotate(-16deg)}
 .folio-book-trigger:hover .folio-sheet--front{transform:translateY(-6px) rotate(3deg)}
}
@media(max-width:600px){
 .folio-card{width:min(343px,100%);min-height:495px;padding:146px 18px 10px;border-radius:26px}
 .folio-card .folio-heading{margin-bottom:10px;font-size:28px}
 .folio-card .folio-book-trigger{top:-50px;width:min(250px,100%);height:166px}
 .folio-card .folio-sheet{width:154px;height:158px}
 .folio-card .folio-sheet img{height:90px}
 .folio-card .folio-sheet>span{padding:8px 10px;font-size:12px}
 .folio-art .folio-book{width:260px;height:215px}
 .folio-art .folio-sheet{height:190px}
 .folio-art .folio-sheet img{height:112px}
 .folio-art .folio-sheet>span{padding:10px;font-size:15px}
 .is-presentation .folio-art{padding:20px;min-height:240px}
}
@media(prefers-reduced-motion:reduce){.folio-sheet,.folio-action{transition:none;animation:none}}
/* Integrate the brochure into the incumbent full-bleed hero, not a new page section. */
.hero-content>.folio-card{position:absolute;right:0;top:80px;margin:0}
.page-hero-copy>.folio-card{position:absolute;left:calc(100% + 64px);top:-56px;margin:0}
.hero-content{padding-right:440px}
.hero h1{font-size:clamp(54px,6.6vw,96px);letter-spacing:-.03em}
.page-hero:has(.folio-card){min-height:790px}
.page-hero:has(.folio-card) .page-hero-copy{max-width:calc(100% - 500px)}
.page-hero:has(.folio-card) h1{font-size:clamp(42px,5.3vw,74px);letter-spacing:-.03em}
.text-hero:has(.folio-card){display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px 64px;align-items:center}
.text-hero:has(.folio-card)>:not(.folio-card){grid-column:1}
.text-hero:has(.folio-card) h1{font-size:clamp(40px,4.5vw,68px);letter-spacing:-.03em}
.text-hero>.folio-card{grid-column:2;grid-row:1/span 4}
.lead-dialog.is-presentation[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:min(1060px,calc(100% - 32px));background:var(--paper);border-radius:28px;overflow:auto}
.lead-dialog.is-presentation .lead-dialog-card{border:0;border-radius:0;box-shadow:none;padding:56px 36px 32px}
.lead-dialog.is-presentation .lead-dialog-card .eyebrow{display:none}
.lead-dialog.is-presentation .lead-dialog-card h2{font-size:36px;line-height:1.12}
.lead-dialog.is-presentation .folio-art{border-radius:0 28px 28px 0}
.lead-dialog-close{z-index:3}
body[data-presentation-in-view="true"] .floating-whatsapp,
body[data-presentation-in-view="true"] .mobile-cta,
body[data-presentation-in-view="true"] #realty-floating-whatsapp,
body[data-presentation-in-view="true"] .realty-floating-whatsapp{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:1000px){
 .hero{height:auto;min-height:0;padding-bottom:36px}
 .hero-content{min-height:600px;padding:150px 24px 40px}
 .hero-content>.folio-card,.page-hero-copy>.folio-card{position:relative;inset:auto;margin:70px auto 35px}
 .hero-content:has(> .folio-card) h1{margin-bottom:0}
 .hero-content>.folio-card{left:50%;width:min(343px,calc(100vw - 32px));max-width:none;margin-inline:0;transform:translateX(-50%)}
 .hero-stats{position:relative;inset:auto;margin:0 24px;width:auto}
 .page-hero:has(.folio-card){padding:70px 20px 10px;min-height:0;height:auto}
 .page-hero:has(.folio-card) .page-hero-copy{position:relative;left:auto;bottom:auto;max-width:680px}
 .text-hero:has(.folio-card){display:block}
 .text-hero:has(.folio-card){padding-top:calc(var(--header-h) + 52px)}
 .text-hero>.folio-card{margin-top:70px}
 .lead-dialog.is-presentation[open]{display:block;width:min(560px,calc(100% - 24px))}
 .lead-dialog.is-presentation .folio-art{display:none}
 .lead-dialog.is-presentation .lead-dialog-card{max-height:calc(100dvh - 24px);padding:58px 24px 26px}
}
@media(min-width:601px) and (max-width:1000px){
 .hero-content>.folio-card{margin-top:108px}
}
@media(max-width:600px){
 .hero{overflow-x:clip}
 .hero-content>.folio-card{margin-top:58px}
 .hero h1{max-width:100%;font-size:clamp(46px,12.6vw,50px);letter-spacing:-.045em}
}
@media(max-width:360px){
 .hero h1{font-size:clamp(38px,11.2vw,44px)}
}

/* Oct19: viewport-right first-screen rail and calm no-hover book motion. */
.folio-card .folio-book{transform-origin:50% 54%;animation:folio-book-float 6.2s cubic-bezier(.45,0,.2,1) infinite}
.folio-card[data-book-paused] .folio-book,.folio-card[data-book-offscreen] .folio-book{animation-play-state:paused}
.folio-motion-toggle{position:absolute;z-index:6;top:110px;right:18px;display:grid;width:32px;height:32px;padding:0;place-items:center;border:1px solid rgb(12 26 32 / 22%);border-radius:999px;background:rgb(255 255 255 / 86%);color:var(--folio-ink);box-shadow:0 6px 18px rgb(12 26 32 / 12%);cursor:pointer}
.folio-motion-icon{grid-area:1/1;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.folio-motion-icon--play{display:none;fill:currentColor;stroke:none}.folio-motion-toggle[aria-pressed="true"] .folio-motion-icon--pause{display:none}.folio-motion-toggle[aria-pressed="true"] .folio-motion-icon--play{display:block}
.folio-motion-toggle:focus-visible{outline:3px solid var(--folio-accent);outline-offset:3px}
@keyframes folio-book-float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-16px) rotate(.7deg)}}
@media(min-width:1100px){
 .hero,.page-hero,.text-hero{position:relative}
 .hero-content,.page-hero-copy{position:static}
 .hero-content>:not(.folio-card),.page-hero-copy>:not(.folio-card){position:relative;z-index:2}
 .hero-content>.folio-card,.page-hero-copy>.folio-card,.text-hero>.folio-card{position:absolute;top:202px;left:auto;width:360px;margin:0}
 .hero-content>.folio-card,.page-hero-copy>.folio-card,.text-hero>.folio-card{right:calc(50% - 50vw + clamp(24px,2.222vw,48px))}
 .text-hero>.folio-card{grid-column:auto;grid-row:auto}
}
@media(prefers-reduced-motion:reduce){.folio-card .folio-book{animation:none;transform:none}}

/* PRE-LAYOUT 2026-10-22: generated card is the final child of the intro section. */
.folio-motion-toggle{display:none!important}
@media(min-width:1100px){
 .hero>.folio-card,.page-hero>.folio-card,.text-hero>.folio-card{position:absolute;z-index:5;top:110px;right:calc(50% - 50vw + clamp(24px,2.222vw,48px));left:auto;width:360px;margin:0}
}
@media(min-width:1021px) and (max-width:1099px){
 .hero,.page-hero,.text-hero{position:relative}
 .hero>.folio-card,.page-hero>.folio-card,.text-hero>.folio-card{position:absolute;z-index:5;top:110px;right:24px;left:auto;width:312px;margin:0}
}
@media(max-width:1020px){
 .hero>.folio-card,.page-hero>.folio-card,.text-hero>.folio-card{position:relative;inset:auto;width:min(343px,calc(100vw - 32px));margin:70px auto 35px;transform:none}
}

/* POSTQA-MAX-LABEL: allow the runtime MAX copy/open label to wrap inside presentation cards. */
:is([data-presentation-card], .presentation-card, .folio-card, .presentation-panel, .presentation-widget) [data-unified-max-label="true"] {
  min-width: 0;
  white-space: normal !important;
  line-height: 1.2;
  text-align: center;
}

:is([data-presentation-card], .presentation-card, .folio-card, .presentation-panel, .presentation-widget) [data-unified-max-label="true"] > svg {
  flex-shrink: 0;
}

/* POSTQA: keep animated folio sheets clear of preceding mobile content. */
@media (max-width: 699px) {
  .text-hero.container > .folio-card { margin-top: 82px !important; }
}

@media (min-width: 700px) and (max-width: 1020px) {
  .text-hero.container > .folio-card { margin-top: 104px !important; }
}
