/* Focused home/about refinements. The Projects page does not load this file. */
.home-page .opening{align-items:stretch}
.home-page .opening-copy{padding-top:0;gap:36px}
.home-page .opening-copy h1,.home-page .opening-copy .numbered-copy p{font-size:clamp(22px,2.05vw,34px);line-height:1.12}
.home-page .opening-photo{min-height:clamp(480px,39vw,640px);background:#11110f;padding:28px 0;display:flex;align-items:stretch}
.home-page .opening-photo>img{position:absolute;top:28px;bottom:28px;height:calc(100% - 56px);object-fit:cover;object-position:center 58%}
.home-page .opening-photo>span{bottom:28px;padding-bottom:16px}
.home-page .category-card[href$="#moodboards"] .category-image{background:#eeeae4;display:flex;align-items:center;justify-content:center}
.home-page .category-card[href$="#moodboards"] img{object-fit:contain;object-position:center;width:100%;height:100%}
.home-page .category-card[href$="#moodboards"]:hover img{transform:none}
.home-page .contact-columns p{font-size:clamp(22px,2.3vw,37px);line-height:1.16}
.home-page .contact-columns .email-link{font-size:1em;overflow-wrap:anywhere}
.about-page .about-layout{grid-template-columns:minmax(0,660px) minmax(220px,340px);max-width:1180px;margin:0 auto;gap:clamp(40px,6vw,90px);padding:30px 2.2vw 40px}
.about-page .about-copy{gap:32px}
.about-page .about-copy .numbered-copy h1,.about-page .about-copy .numbered-copy p{font-size:clamp(21px,1.9vw,28px);line-height:1.28;letter-spacing:-.035em}
.about-page .about-photo{width:100%;max-width:340px;position:static;justify-self:end}
.about-page .about-services{padding-top:16px;font-size:12px}
@media(max-width:900px){
.home-page .opening-copy h1,.home-page .opening-copy .numbered-copy p{font-size:24px}
.home-page .opening-copy{gap:28px}.home-page .opening-photo{min-height:480px}
.home-page .contact-columns p{font-size:27px}
.about-page .about-layout{grid-template-columns:minmax(0,1fr) minmax(200px,270px);gap:35px;padding-inline:22px}
.about-page .about-photo{max-width:270px}
}
@media(max-width:620px){
.home-page .opening-copy h1,.home-page .opening-copy .numbered-copy p{font-size:27px}
.home-page .opening-copy{gap:26px}
.home-page .opening-photo{min-height:0;aspect-ratio:4/5;padding:18px 0}
.home-page .opening-photo>img{top:18px;bottom:18px;height:calc(100% - 36px)}
.home-page .opening-photo>span{bottom:18px}
.home-page .contact-columns p{font-size:27px}
.about-page .about-layout{grid-template-columns:1fr;gap:30px;padding:20px 18px 0}
.about-page .about-copy{gap:27px}
.about-page .about-copy .numbered-copy h1,.about-page .about-copy .numbered-copy p{font-size:22px;line-height:1.3}
.about-page .about-photo{max-width:250px;justify-self:center}
}


.about-page .about-layout{max-width:none;margin:0;grid-template-columns:minmax(0,660px) minmax(220px,340px);justify-content:space-between}.about-page .about-copy .numbered-copy{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px}.about-page .about-copy .small-index{float:none;margin:4px 0 0;min-width:0}
@media(max-width:620px){.about-page .about-layout{grid-template-columns:1fr}}
/* Selected option C: slightly larger portrait, aligned with the text. */
@media(min-width:901px){
.about-page .about-layout{grid-template-columns:minmax(0,840px) minmax(220px,400px);justify-content:center;column-gap:clamp(40px,5vw,80px)}
.about-page .about-photo{max-width:400px;margin-top:4px}
}

/* Align the portrait base with the final biography paragraph. */
@media(min-width:901px){
.about-page .about-layout{row-gap:32px}
.about-page .about-copy{display:contents}
.about-page .about-copy>.numbered-copy,.about-page .about-services{grid-column:1}
.about-page .about-photo{grid-column:2;grid-row:1 / 4;position:relative;top:0;align-self:stretch;min-height:0;height:calc(100% - 4px)}
.about-page .about-photo img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.about-page .about-photo figcaption{position:absolute;top:100%;left:0}
}

/* Small breathing room below the home navigation. */
.home-page .opening{padding-top:36px}

/* Selected home option B: quieter hierarchy and aligned photograph. */
.home-page .opening{grid-template-columns:minmax(0,0.55fr) minmax(0,1fr);column-gap:clamp(30px,3vw,52px);padding-top:clamp(46px,5vw,84px);align-items:stretch}
.home-page .opening-copy{gap:0;padding:0}
.home-page .opening-copy .numbered-copy{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:16px}
.home-page .opening-copy .small-index{float:none;margin:6px 0 0;min-width:0}
.home-page .opening-copy h1{font-size:clamp(27px,2.45vw,41px);line-height:1.13;letter-spacing:-.045em}
.home-page .opening-copy .numbered-copy:nth-child(2){margin-top:clamp(28px,2.6vw,44px);padding-top:clamp(28px,2.4vw,40px);position:relative}
.home-page .opening-copy .numbered-copy:nth-child(2)::before{content:"";position:absolute;top:0;left:44px;right:0;height:1px;background:#c9a99b}
.home-page .opening-copy .numbered-copy p{font-size:clamp(22px,1.9vw,32px);line-height:1.22;letter-spacing:-.035em}
.home-page .opening-copy .location-note{margin:clamp(25px,2.4vw,40px) 0 0 44px;font-size:12px;letter-spacing:0}
.home-page .opening-photo{min-height:0;padding:0;border-radius:0;display:block}
.home-page .opening-photo>img{inset:0;height:100%;width:100%;object-fit:cover;object-position:center 58%}
.home-page .opening-photo>span{bottom:0;padding:40px 20px 18px}
@media(max-width:900px){
.home-page .opening{grid-template-columns:minmax(0,0.8fr) minmax(0,1fr);gap:28px;padding-top:38px}
.home-page .opening-copy h1{font-size:27px}
.home-page .opening-copy .numbered-copy p{font-size:22px}
.home-page .opening-copy .numbered-copy{grid-template-columns:22px minmax(0,1fr);column-gap:10px}
.home-page .opening-copy .numbered-copy:nth-child(2)::before{left:32px}
.home-page .opening-copy .location-note{margin-left:32px;font-size:10px}
}
@media(max-width:620px){
.home-page .opening{display:flex;gap:30px;padding-top:30px}
.home-page .opening-copy h1{font-size:24px}
.home-page .opening-copy .numbered-copy p{font-size:20px}
.home-page .opening-photo{aspect-ratio:4/3;min-height:0}
}

/* Focus the home Moradia cover on the bed while retaining full bleed. */
.home-page .category-card[href$="#realizados"] .category-image img{object-position:center 72%}

/* Match the home opening spacing on the About page. */
.about-page .about-layout{padding-top:clamp(46px,5vw,84px)}
@media(max-width:900px){.about-page .about-layout{padding-top:38px}}
@media(max-width:620px){.about-page .about-layout{padding-top:30px}}
