/* Keep the hero logo fully visible and place its caption outside the image frame */
.hero-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}
.hero-frame{flex:0 0 auto;background:#0c0a09}
.hero-frame img,.hero-frame video{object-fit:contain;object-position:center}
.hero-stamp{position:relative;left:auto;bottom:auto;align-self:flex-start;width:min(100%,460px);max-width:460px;margin:0;z-index:auto}
@media(max-width:680px){
  .hero-visual{gap:18px}
  .hero-stamp{position:relative;left:auto;bottom:auto;align-self:flex-start;width:min(100%,460px);max-width:100%;margin:0}
}
/* Stable media frames; retain the original header logo styling */
.hero-visual{min-height:0;padding:18px 24px 28px}
.hero-frame{width:100%;max-width:520px;aspect-ratio:4/5;height:auto;min-height:0;border-radius:28px;overflow:hidden}
.hero-frame img,.hero-frame video{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;object-position:center}
.hero-stamp{z-index:2;left:0;bottom:0}
.service-photo{height:auto;aspect-ratio:4/3;border-radius:16px;overflow:hidden}
.service-photo img,.service-photo video{width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:4/3}
.gallery-grid{grid-auto-rows:auto;align-items:stretch;gap:18px}
.gallery-tile{aspect-ratio:4/5;height:auto;min-height:0;border:1px solid #a87b35;border-radius:20px;overflow:hidden;isolation:isolate;box-shadow:0 8px 24px #0003}
.gallery-tile img,.gallery-tile video{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;object-position:center;border-radius:19px;display:block}
@media(max-width:950px){.gallery-grid{grid-auto-rows:auto;gap:14px}.gallery-tile{aspect-ratio:4/5}}
@media(max-width:680px){.hero-visual{padding:12px 12px 24px;margin:0}.hero-frame{width:100%;aspect-ratio:4/5;height:auto}.hero-frame img,.hero-frame video{aspect-ratio:4/5}.hero-stamp{left:0;bottom:0}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:12px}.gallery-tile{aspect-ratio:4/5}.service-photo{aspect-ratio:4/3;height:auto}}