[hidden] { display: none !important; }
header { z-index: 20; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.ji-skip-link { position: fixed; top: 10px; left: 15px; z-index: 50; transform: translateY(-150%); background: #242424; color: #fff; padding: 12px 18px; }
.ji-skip-link:focus { transform: translateY(0); }
.ji-hero { min-height: 290px; }
.ji-hero .inner { width: 100%; padding: 55px 24px; }
.ji-hero h1 { margin: 10px 0 15px; font-size: clamp(36px, 5vw, 60px); overflow-wrap: anywhere; }
.ji-hero p { margin: 0; }
.ji-hero-detail h1 { font-size: clamp(30px, 4vw, 48px); }
.ji-back { display: inline-block; margin-bottom: 22px; color: #333; font-size: 14px; text-decoration: none; }
.ji-back:hover { text-decoration: underline; }
.ji-section { min-height: 300px; }
.ji-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; margin: 0 0 27px; }
.ji-field { display: grid; gap: 8px; font-size: 14px; }
.ji-field input, .ji-field select { min-width: 0; width: 100%; padding: 13px 14px; min-height: 48px; border: 1px solid #b4afa7; border-radius: 0; color: #232323; background: #fff; font: inherit; font-size: 16px; }
.ji-field input:focus, .ji-field select:focus { outline: 2px solid #756a58; outline-offset: 2px; }
.ji-status { font-size: 15px; color: #5e5a54; margin: 0 0 22px; }
.ji-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 0 0 24px; }
.ji-actions:empty { display: none; }
.ji-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ji-card { min-width: 0; background: #fff; border: 1px solid #e2ddd5; display: flex; flex-direction: column; overflow: hidden; }
.ji-card-photo { display: block; color: inherit; overflow: hidden; }
.ji-media { aspect-ratio: 4/3; background: #e8e4de; overflow: hidden; }
.ji-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.ji-card-photo:hover .ji-media img { transform: scale(1.025); }
.ji-media-empty { display: flex; align-items: center; justify-content: center; text-align: center; color: #625d54; background: #e8e4de; }
.ji-image-fallback { padding: 18px; font-size: 14px; line-height: 1.5; }
.ji-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.ji-eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: #6c6254; margin: 0 0 12px; }
.ji-card-title { margin: 0 0 12px; font-size: 23px; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
.ji-card-title a { text-decoration: none; color: inherit; }
.ji-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ji-card-place { font-size: 14px; line-height: 1.5; color: #5b5750; margin: 0 0 12px; }
.ji-metrics { list-style: none; padding: 0; margin: 0 0 17px; display: flex; gap: 7px 17px; flex-wrap: wrap; }
.ji-metrics li { font-size: 14px; line-height: 1.6; }
.ji-metrics:empty { display: none; }
.ji-price { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ji-price-label { font-size: 12px; color: #625d54; margin: 4px 0 12px; line-height: 1.5; }
.ji-badge { align-self: flex-start; background: #f1eee8; color: #4d463b; padding: 5px 9px; margin: 14px 0 0; font-size: 12px; line-height: 1.4; }
.ji-text-link { color: #373026; font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.ji-card-body > .ji-text-link { margin-top: auto; padding-top: 21px; }
.ji-empty { grid-column: 1/-1; max-width: none; margin: 0; background: #fff; border: 1px solid #e2ddd5; padding: 30px; font-size: 18px; }
.ji-button { display: inline-block; border: 1px solid #242424; background: #242424; color: #fff; padding: 12px 18px; min-height: 45px; font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; text-decoration: none; text-align: center; }
.ji-button:hover { background: #46413a; }
.ji-button:focus-visible, .ji-text-link:focus-visible, .ji-card a:focus-visible, .ji-thumbnail:focus-visible, .ji-gallery-open:focus-visible { outline: 3px solid #8b7554; outline-offset: 4px; }
.ji-detail { min-width: 0; }
.ji-gallery { margin-bottom: 38px; }
.ji-gallery-stage { margin: 0; background: #fff; }
.ji-gallery-open { display: block; }
.ji-gallery-image { min-height: 210px; aspect-ratio: 16/10; background: #ece8e1; }
.ji-gallery-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.ji-gallery-caption { padding: 11px 0 4px; background: #faf9f7; font-size: 13px; color: #625d54; }
.ji-thumbnails { display: flex; gap: 10px; padding: 10px 3px; overflow-x: auto; scrollbar-width: thin; }
.ji-thumbnail { background: #fff; padding: 0; border: 2px solid transparent; width: 100px; flex: 0 0 100px; cursor: pointer; }
.ji-thumbnail[aria-pressed="true"] { border-color: #6f624e; }
.ji-thumb-image { height: 70px; overflow: hidden; }
.ji-thumb-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ji-thumb-image .ji-image-fallback { padding: 4px; font-size: 10px; }
.ji-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.ji-description { min-width: 0; }
.ji-detail-section { margin: 0 0 40px; }
.ji-detail-section h2 { font-size: 25px; font-weight: 400; margin: 0 0 20px; }
.ji-prose { white-space: pre-line; overflow-wrap: anywhere; font-size: 17px; line-height: 1.8; margin: 0 0 18px; max-width: none; }
.ji-summary { min-width: 0; padding: 27px; background: #fff; border: 1px solid #e2ddd5; }
.ji-detail-price { font-size: 25px; }
.ji-summary .ji-metrics { display: grid; gap: 7px; margin-top: 23px; }
.ji-summary .ji-badge { display: inline-block; margin-bottom: 5px; }
.ji-object-number { font-size: 12px; line-height: 1.5; color: #625d54; margin: 16px 0 0; }
.ji-facts { margin: 0; }
.ji-fact { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 1fr); gap: 20px; border-bottom: 1px solid #e2ddd5; padding: 12px 0; line-height: 1.55; font-size: 15px; }
.ji-fact dt { color: #625d54; }
.ji-fact dd { margin: 0; overflow-wrap: anywhere; }
.ji-downloads { padding-left: 20px; margin: 0; }
.ji-downloads li { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.ji-downloads a { color: #373026; text-underline-offset: 4px; overflow-wrap: anywhere; }
.ji-contact-title { font-size: 17px; font-weight: 500; margin: 28px 0 16px; border-top: 1px solid #e2ddd5; padding-top: 23px; }
.ji-contact h3 { font-size: 17px; line-height: 1.45; font-weight: 600; margin: 0 0 6px; overflow-wrap: anywhere; }
.ji-agent-image { width: 85px; height: 100px; background: #ece8e1; margin: 0 0 15px; }
.ji-agent-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ji-agent-role { font-size: 14px; line-height: 1.5; color: #625d54; margin: 0 0 15px; }
.ji-contact-link { display: block; color: #373026; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; margin: 7px 0; text-underline-offset: 3px; }
.ji-team-image { aspect-ratio: 4/5; background: #ece8e1; }
.ji-team-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ji-team-card .ji-prose { margin-top: 18px; font-size: 15px; }
@media (max-width: 1000px) {
  .ji-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ji-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .ji-summary { padding: 22px; }
}
@media (max-width: 720px) {
  .ji-detail-layout { display: flex; flex-direction: column; }
  .ji-summary { width: 100%; order: -1; margin-bottom: 10px; }
  .ji-description { width: 100%; }
  .ji-gallery-image { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .ji-toolbar { grid-template-columns: 1fr; gap: 16px; }
  .ji-grid { grid-template-columns: 1fr; }
  .ji-hero, .ji-hero .inner { min-height: 0; }
  .ji-hero .inner { padding: 40px 24px; }
  main .ji-section { padding-top: 35px; padding-bottom: 40px; }
  .ji-card-body { padding: 22px; }
  .ji-fact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; font-size: 14px; }
  .ji-gallery { margin-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .ji-media img { transition: none; }
}
