/* The original Arenal design is retained; these rules extend its residence galleries. */
section[id], article[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 24px; }
.hero-interiors { font-size: .8rem; font-weight: 500; color: var(--gray); transition: color .25s; }
.hero-interiors:hover { color: var(--bronze); }
.hero-interiors span { margin-left: 8px; }
.hero .right img { object-position: 50% 50%; }
.hero-project { position: absolute; right: 24px; bottom: 24px; padding: 12px 16px; background: rgba(253,253,252,.93); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.hero-project span { display: block; margin-top: 2px; font-size: .62rem; color: var(--gray); font-weight: 400; }
.cards { align-items: stretch; }
.pcard { min-width: 0; }
.pcard .body { padding: 28px 28px 26px; }
.pcard .media { aspect-ratio: 16 / 11; }
.photo-open { display: block; width: 100%; padding: 0; border: 0; text-align: left; cursor: zoom-in; font-family: var(--font); }
.photo-open:focus-visible { outline-offset: -5px; outline-color: var(--white); }
.image-open { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 20px; padding: 9px 13px; background: rgba(253,253,252,.96); color: var(--black); font-size: .65rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.image-open > span { font-size: 1rem; }
.project-builder { margin-bottom: 12px; font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.pcard h3.pt { font-size: 1.65rem; }
.pcard .pd { min-height: 4.5em; }
.pcard .meta { justify-content: space-between; }
.pcard .meta .mk { color: var(--gray); }
.project-previews { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.preview-photo { position: relative; display: block; padding: 0; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--off); overflow: hidden; cursor: zoom-in; }
.preview-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.preview-photo:hover img { transform: scale(1.055); }
.preview-photo > span { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 23px; height: 23px; color: var(--black); background: rgba(253,253,252,.9); font-size: .9rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--bronze); background: none; color: var(--black); font-family: var(--font); font-size: .7rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; cursor: pointer; transition: color .25s, gap .25s; }
.text-link:hover { color: var(--bronze); gap: 21px; }
.text-link > span { font-size: 1rem; }
.detail-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; font-size: .72rem; color: var(--gray); transition: color .25s; }
.detail-link:hover { color: var(--bronze); }
.interiors { padding: 112px 0 100px; background: var(--off); border-top: 1px solid var(--rule); }
.interior-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; margin-bottom: 42px; }
.interior-head .label { color: var(--bronze); margin-bottom: 20px; }
.interior-head h2 { font-size: clamp(2.1rem,4.3vw,3.75rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }
.interior-intro p { max-width: 46ch; color: #54585e; font-size: .98rem; line-height: 1.65; }
.interior-intro > span { display: block; margin-top: 18px; font-size: .63rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gray); }
.interior-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 300px 300px; gap: 22px; }
.room-main { grid-row: span 2; }
.room-tile { min-width: 0; min-height: 0; }
.room-tile button { display: block; position: relative; padding: 0; border: 0; width: 100%; height: 100%; overflow: hidden; background: #ded8cd; color: white; text-align: left; font-family: var(--font); cursor: zoom-in; }
.room-tile button::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(14,17,20,.65)); pointer-events: none; }
.room-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.room-tile button:hover img { transform: scale(1.025); }
.room-main img { object-position: 48% center; }
.room-caption { position: absolute; z-index: 1; inset: auto 26px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 1.1rem; letter-spacing: -.01em; }
.room-plus { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.55); font-size: 1.25rem; }
.interior-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 25px; }
.interior-bottom p { color: var(--gray); font-size: .68rem; letter-spacing: .035em; }
.co .info { padding: 54px 64px; }
.co .visual { min-height: 620px; }
.co .visual .project-photo { object-position: 50% center; }
.co .visual .wm { max-width: 34%; height: auto; object-fit: contain; }
.co:hover .visual .wm { transform: none; }
.visual-open { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; text-align: left; font-family: var(--font); }
.visual-open > span { position: absolute; left: 28px; bottom: 26px; display: flex; align-items: center; gap: 35px; padding: 11px 14px; background: rgba(253,253,252,.96); color: var(--black); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.visual-open > span > span { font-size: 1rem; }
.co-project { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); max-width: 460px; }
.co-project > span { font-size: .61rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
.co-project h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; margin-top: 9px; }
.co .co-project p { font-size: .72rem; margin-top: 7px; }
.co-project .project-previews { margin-top: 18px; }
.co-project .text-link { margin-top: 12px; }
.co-project-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }
.co-project-links .detail-link { margin-top: 12px; }
.co .go { margin-top: 24px; font-size: .7rem; }
.company-render-note { margin: 24px 26px 0; text-align: center; font-size: .65rem; color: var(--gray); }
@media(min-width:1400px) { .interior-mosaic { grid-template-rows: 330px 330px; } }
@media(max-width:1100px) { .co .info { padding: 46px 40px; } .co .visual { min-height: 600px; } }
@media(max-width:960px) {
  .hero-actions { gap: 24px; }
  .hero .right img { object-position: center; }
  .hero-project { bottom: 16px; right: 16px; }
  .pcard .pd { min-height: 0; }
  .pcard .media { aspect-ratio: 16 / 10; }
  .interiors { padding: 84px 0 76px; }
  .interior-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  .interior-intro p { max-width: 52ch; }
  .interior-mosaic { grid-template-rows: 230px 230px; gap: 16px; }
  .room-caption { inset: auto 18px 16px; font-size: .95rem; }
  .co .visual { min-height: 0; aspect-ratio: 16/10; }
  .co .visual .project-photo { width: 100%; height: 100%; }
  .co .info { padding: 44px 26px 52px; }
  .co-project { max-width: 520px; }
}
@media(max-width:600px) {
  .pcard .body { padding: 24px 22px; }
  .pcard h3.pt { font-size: 1.45rem; }
  .gal-head .count { font-size: .7rem; }
  .fineprint { max-width: 44ch; line-height: 1.6; }
  .interior-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto 190px; gap: 12px; }
  .room-main { grid-column: 1/-1; grid-row: auto; aspect-ratio: 4/4.3; }
  .room-main img { object-position: 48% center; }
  .room-secondary .room-caption { inset: auto 12px 14px; font-size: .8rem; }
  .room-secondary .room-plus { width: 24px; height: 24px; font-size: .9rem; }
  .room-secondary img { object-position: center; }
  .interior-bottom { gap: 9px; }
  .project-previews { gap: 8px; }
  .image-open { font-size: .58rem; bottom: 12px; right: 12px; }
  .co .go { max-width: 100%; font-size: .66rem; letter-spacing: .06em; }
  .visual-open > span { left: 20px; bottom: 18px; }
}
@media(max-width:360px) {
  .topbar { padding-left: 18px; padding-right: 18px; }
  .nav-links { gap: 11px; }
  .nav-links a { font-size: .69rem; }
  .brand svg { height: 9px; }
  .card-actions { align-items: flex-start; gap: 12px; }
  .text-link { font-size: .64rem; gap: 10px; }
  .detail-link { font-size: .66rem; }
  .pcard .meta { gap: 15px; }
}
@media(prefers-reduced-motion:reduce) {
  .preview-photo img,.room-tile img,.text-link,.hero-interiors { transition: none; }
}
