/* DESIGN.md model B: homepage-v55/styles.css owns tokens; fallbacks match it.
   The component adds geometry only, without global selectors or new palette. */
.property-gallery {
  padding: var(--section, clamp(4.5rem, 9vw, 8rem)) 0;
  background: var(--bg, #faf7f2);
  color: var(--ink, #1f2a26);
  font-family: var(--font-body, 'Satoshi', 'Helvetica Neue', sans-serif);
  line-height: 1.6;
}
.property-gallery *, .property-gallery *::before, .property-gallery *::after { box-sizing: border-box; }
.property-gallery .property-gallery__inner { max-width: var(--wrap, 1220px); margin: 0 auto; padding: 0 var(--pad, clamp(1.25rem, 4vw, 2.5rem)); }
.property-gallery .property-gallery__header { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: 2rem; }
.property-gallery .property-gallery__eyebrow { margin: 0 0 .6rem; color: var(--orange-d, #c24c18); font-size: var(--text-xs, .8rem); font-weight: 700; letter-spacing: .1em; }
.property-gallery h2 { margin: 0; max-width: 21ch; font-family: var(--font-display, 'Zodiak', Georgia, serif); font-size: var(--text-xl, clamp(2rem, 1.3rem + 2.5vw, 3.5rem)); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.property-gallery .property-gallery__intro { max-width: 32ch; margin: 0; color: var(--ink-2, #4c5652); font-size: var(--text-base, 1rem); }
.property-gallery .property-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1.15rem; align-items: start; }
.property-gallery .property-gallery__item { min-width: 0; margin: 0; }
.property-gallery .property-gallery__item--featured { grid-column: span 2; grid-row: span 2; }
.property-gallery .property-gallery__photo { display: block; overflow: hidden; border: 1px solid var(--line, #e6dfd4); border-radius: var(--r-md, 20px); background: var(--white, #ffffff); color: var(--orange-d, #c24c18); text-decoration: none; cursor: pointer; transition: border-color .2s; }
.property-gallery .property-gallery__photo img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1066; object-fit: contain; }
.property-gallery .property-gallery__item--featured img { aspect-ratio: 1672 / 941; }
.property-gallery .property-gallery__open { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .55rem .9rem; font-size: var(--text-xs, .8rem); font-weight: 700; line-height: 1.4; }
.property-gallery .property-gallery__photo:hover { border-color: var(--orange-d, #c24c18); background: var(--peach, #fde7da); }
.property-gallery .property-gallery__photo:active { border-color: var(--ink, #1f2a26); }
.property-gallery .property-gallery__photo:focus-visible, .property-gallery .property-gallery__video summary:focus-visible, .property-gallery .property-gallery__video a:focus-visible, .property-gallery video:focus-visible { outline: 3px solid var(--orange-d, #c24c18); outline-offset: 4px; }
.property-gallery figcaption { padding: .65rem .1rem 0; color: var(--ink-2, #4c5652); font-size: var(--text-sm, .95rem); overflow-wrap: anywhere; }
.property-gallery .property-gallery__note { margin: 1.5rem 0 0; max-width: 75ch; padding-left: 1rem; border-left: 3px solid var(--peach-2, #fbd5c0); color: var(--ink-2, #4c5652); font-size: var(--text-sm, .95rem); }
.property-gallery .property-gallery__video { margin-top: 3rem; max-width: 360px; }
.property-gallery .property-gallery__video summary { min-height: 44px; padding: .65rem 0; color: var(--orange-d, #c24c18); font-size: var(--text-sm, .95rem); font-weight: 700; line-height: 1.5; cursor: pointer; }
.property-gallery .property-gallery__video summary:hover { color: var(--ink, #1f2a26); }
.property-gallery .property-gallery__video summary:active { text-decoration: underline; text-underline-offset: .2em; }
.property-gallery .property-gallery__video-content { padding-top: .5rem; }
.property-gallery .property-gallery__video-description { padding-bottom: 1rem; color: var(--ink-2, #4c5652); font-size: var(--text-sm, .95rem); }
.property-gallery video { display: block; width: 100%; max-width: 360px; height: auto; max-height: unset; aspect-ratio: 9 / 16; object-fit: contain; border-radius: var(--r-md, 20px); background: var(--ink, #1f2a26); }
.property-gallery .property-gallery__video p { margin: .75rem 0 0; }
.property-gallery .property-gallery__video a { color: var(--orange-d, #c24c18); text-underline-offset: .2em; cursor: pointer; }
.property-gallery .property-gallery__video a:hover { color: var(--ink, #1f2a26); }
.property-gallery .property-gallery__video a:active { text-decoration-thickness: 2px; }
@media (max-width: 850px) {
  .property-gallery .property-gallery__header { align-items: start; flex-direction: column; }
  .property-gallery .property-gallery__intro { max-width: 50ch; }
  .property-gallery .property-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-gallery .property-gallery__item--featured { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 520px) {
  .property-gallery .property-gallery__grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .property-gallery .property-gallery__item--featured { grid-column: auto; }
  .property-gallery .property-gallery__header { margin-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .property-gallery .property-gallery__photo { transition: none; } }
@media (forced-colors: active) {
  .property-gallery .property-gallery__photo { border-color: LinkText; }
  .property-gallery .property-gallery__photo:focus-visible, .property-gallery .property-gallery__video summary:focus-visible, .property-gallery .property-gallery__video a:focus-visible, .property-gallery video:focus-visible { outline-color: Highlight; }
}

/* AI concepts stay secondary to the real card photographs. Preserve every
   embedded image label; override inherited fixed-height/cropped card imagery. */
.apartment-illustration { margin-top: .8rem; border-top: 1px solid var(--line, #e6dfd4); color: var(--ink, #1f2a26); font-family: var(--font-body, 'Satoshi', 'Helvetica Neue', sans-serif); }
.apartment-illustration summary { display: list-item; list-style: disclosure-closed inside; min-height: 44px; padding: .7rem .1rem; color: var(--orange-d, #c24c18); font-size: var(--text-sm, .95rem); font-weight: 700; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.apartment-illustration[open] > summary { list-style-type: disclosure-open; }
.apartment-illustration > summary::-webkit-details-marker { display: inline; }
.apartment-illustration figure { margin: .25rem 0 0; }
.apartment-illustration .apartment-illustration__image { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; aspect-ratio: 1536 / 1024; object-fit: contain; border-radius: var(--r-sm, 12px); }
.apartment-illustration figcaption { padding-top: .75rem; color: var(--ink-2, #4c5652); font-size: var(--text-xs, .8rem); line-height: 1.6; overflow-wrap: anywhere; }
.apartment-illustration .apartment-illustration__link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .65rem 0; color: var(--orange-d, #c24c18); font-size: var(--text-sm, .95rem); font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.apartment-illustration summary:hover, .apartment-illustration .apartment-illustration__link:hover { color: var(--ink, #1f2a26); }
.apartment-illustration summary:active, .apartment-illustration .apartment-illustration__link:active { text-decoration: underline; text-decoration-thickness: 2px; }
.apartment-illustration summary:focus-visible, .apartment-illustration .apartment-illustration__link:focus-visible { outline: 3px solid var(--orange-d, #c24c18); outline-offset: 3px; border-radius: var(--r-sm, 12px); }
@media (forced-colors: active) {
  .apartment-illustration summary:focus-visible, .apartment-illustration .apartment-illustration__link:focus-visible { outline-color: Highlight; }
}
