/* =====================================================================
 * OUR WORK PAGE ONLY (/gallery/), Nov 13, 2026.
 * Linked only from the Gallery page (src/pages/other.tsx). The shared stylesheet (app.*.css) and every
 * other page are unchanged. Same visual language as the Collision and Frame pages:
 * ink #121418 · warm grey #5B544E · body #3F3934 · line #E8DDD1 · border #D2D2CF · ivory #F5F3EF ·
 * panel #FFFCF8 · gold #C98A3C (accents only).
 * ===================================================================== */

/* ---- 1. Hero: text left, real shop photo right (photo on top on phones) ---- */
.ow-hero { border-bottom: 1px solid #e8ddd1; background: #000000; }
.ow-hero__grid { display: grid; gap: 0; padding-left: 0; padding-right: 0; }
.ow-hero__media { order: -1; margin: 0; }
.ow-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; }
.ow-hero__text { padding: 1.75rem 1rem 2.75rem; }
.ow-hero__lead { margin: 1.25rem 0 0; max-width: 34rem; font-size: 1.125rem; line-height: 1.65; color: #e6e6e6; text-wrap: pretty; }
.ow-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 640px) {
  .ow-hero__text { padding: 2.25rem 1.5rem 3.25rem; }
  .ow-hero__lead { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .ow-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; padding-left: max(2rem, calc((100vw - 1180px) / 2 + 2rem)); padding-right: 0; max-width: none; margin: 0; }
  .ow-hero__text { align-self: center; padding: 3.5rem 3rem 3.75rem 0; max-width: 38rem; width: 100%; }
  .ow-hero__media { order: 0; position: relative; min-height: 520px; }
  .ow-hero__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 62% 50%; }   /* DY8A1241: painter and SUV front in view */
}
@media (min-width: 1440px) { .ow-hero__media { min-height: 560px; } }

/* ---- Section intro ---- */
.ow-intro { display: grid; gap: .25rem; }
@media (min-width: 1024px) { .ow-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 3rem; } .ow-intro .ow-lead { margin: 0; justify-self: end; max-width: 29rem; } }
.ow-eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b8b8b8; }
.ow-eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: #c98a3c; }
.ow-h2 { margin: .9rem 0 0; font-family: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem); line-height: 1.12; letter-spacing: -.022em; color: #ffffff; text-wrap: balance; }
.ow-lead { margin: 1rem 0 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: #b8b8b8; text-wrap: pretty; }

/* ---- 2. Filters ---- */
.ow-filters { margin-top: 2.25rem; display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ow-filters::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .ow-filters { flex-wrap: wrap; overflow: visible; } }
.ow-filter { flex: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid #d2d2cf; border-radius: 9999px; background: #fffcf8; font: inherit; font-size: .9375rem; font-weight: 500; color: #121418; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.ow-filter:hover { border-color: #5b544e; }
.ow-filter[aria-pressed="true"] { border-color: #121418; background: #121418; color: #fff; }
.ow-filter__n { font-size: .78rem; font-weight: 600; color: #5b544e; font-variant-numeric: tabular-nums; }
.ow-filter[aria-pressed="true"] .ow-filter__n { color: #ecc995; }

/* ---- Gallery grid (incomplete last rows are centered, also when a filter is active) ---- */
.ow-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem 1.5rem; }
.ow-grid > li { flex: 0 0 100%; min-width: 0; }
@media (min-width: 640px) { .ow-grid > li { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .ow-grid { gap: 2rem 1.75rem; } .ow-grid > li { flex-basis: calc((100% - 3.5rem) / 3); } }
.ow-grid > li[hidden] { display: none; }
.ow-card { margin: 0; }
.ow-card__open { position: relative; display: block; width: 100%; padding: 0; border: 1px solid #d2d2cf; border-radius: 6px; overflow: hidden; background: #000000; aspect-ratio: 3 / 2; cursor: zoom-in; }
.ow-card__open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ow-card__zoom { position: absolute; right: .75rem; bottom: .75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: rgba(18,20,24,.72); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.ow-card__zoom svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .ow-card__open:hover img { transform: scale(1.03); }
  .ow-card__open:hover .ow-card__zoom, .ow-card__open:focus-visible .ow-card__zoom { opacity: 1; transform: none; }
}
@media (hover: none) { .ow-card__zoom { opacity: 1; transform: none; width: 2.25rem; height: 2.25rem; } }
.ow-card__cat { display: block; margin: 0 0 .65rem; font-size: .7rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: #c98a3c; /* was #8a5a2b: too dark on black; site gold */ }
/* Nov 16, 2026 (review build 18): short factual caption under each photo */
.ow-card__desc { margin: .7rem 0 0; font-size: .9375rem; line-height: 1.45; color: #e6e6e6; }
/* Service link that follows the selected filter */
.ow-related { margin: 1.25rem 0 0; font-size: .9375rem; }
.ow-related a { color: #ffffff; font-weight: 500; text-decoration: underline; text-decoration-color: #c98a3c; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.ow-related a:hover { text-decoration-color: #121418; }
/* Trust line in the closing call to action (verified rating and accreditation only) */
.ow-trust { margin: 1.25rem 0 0; font-size: .9375rem; color: rgba(255,255,255,.7); }
.ow-trust a { color: #fff; text-decoration: underline; text-decoration-color: rgba(236,201,149,.7); text-underline-offset: .25em; }
.ow-trust a:hover { text-decoration-color: #fff; }

/* ---- 3. Instagram: minimal, understated link (redesigned Nov 13, 2026) ----
   ivory #F5F3EF · silver-gray #C9C9C6 / #8E9092 · charcoal #292B2D · graphite #121418 */
.ow-ig { border-top: 1px solid #e8ddd1; background: #000000; padding: 2.75rem 0; }
@media (min-width: 768px) { .ow-ig { padding: 3.75rem 0; } }
.ow-ig__wrap { display: flex; justify-content: center; }
.ow-ig .ow-ig__link { display: inline-flex; align-items: center; gap: 1rem; padding: .5rem .75rem; border-radius: 9999px; color: #ffffff; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ow-ig .ow-ig__link:focus-visible { outline: 2px solid #121418; outline-offset: 4px; }
.ow-ig__icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #c9c9c6; border-radius: 9999px; background: #fffcf8; color: #292b2d; transition: background-color .25s, border-color .25s, color .25s; }
.ow-ig__icon svg { width: 1.2rem; height: 1.2rem; }
.ow-ig__text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.ow-ig__cta { display: inline-flex; align-items: baseline; gap: .4rem; padding-bottom: .2rem; border-bottom: 1px solid #c9c9c6; font-family: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: clamp(1.125rem, 1rem + .55vw, 1.4rem); line-height: 1.2; letter-spacing: -.012em; color: #ffffff; transition: border-color .25s; }
.ow-ig__arrow { display: inline-block; font-size: .9em; color: #b8b8b8; transition: transform .25s cubic-bezier(.2,.7,.2,1), color .25s; }
.ow-ig__handle { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; color: #b8b8b8; }
.ow-ig__cta { white-space: nowrap; }
@media (max-width: 359px) { .ow-ig .ow-ig__link { gap: .75rem; padding: .5rem .25rem; } .ow-ig__icon { width: 2.5rem; height: 2.5rem; } .ow-ig__cta { font-size: 1.05rem; } }
@media (min-width: 768px) { .ow-ig__icon { width: 3rem; height: 3rem; } .ow-ig .ow-ig__link { gap: 1.15rem; } }
@media (hover: hover) {
  .ow-ig .ow-ig__link:hover .ow-ig__icon { border-color: #121418; background: #121418; color: #fff; }
  .ow-ig .ow-ig__link:hover .ow-ig__cta { border-bottom-color: #121418; }
  .ow-ig .ow-ig__link:hover .ow-ig__arrow { color: #ffffff; transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: reduce) { .ow-ig__icon, .ow-ig__cta, .ow-ig__arrow { transition: none; } }

/* ---- Lightbox ---- */
.ow-lb { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #0c0d10; color: #fff; }
.ow-lb::backdrop { background: #0c0d10; }
.ow-lb[open] { display: flex; }
.ow-lb__inner { display: flex; flex-direction: column; width: 100%; height: 100%; padding: .75rem .75rem 1rem; }
@media (min-width: 768px) { .ow-lb__inner { padding: 1.25rem 1.5rem 1.5rem; } }
.ow-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ow-lb__count { margin: 0 0 0 .25rem; font-size: .875rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.ow-lb__stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin-top: .5rem; touch-action: pan-y; }
.ow-lb__img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); user-select: none; -webkit-user-drag: none; }
@media (min-width: 1024px) { .ow-lb__img { max-width: calc(100% - 9rem); } }
.ow-lb__btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 9999px; background: rgba(18,20,24,.55); color: #fff; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ow-lb__btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.ow-lb__btn:focus-visible { outline: 3px solid #ecc995; outline-offset: 3px; }
.ow-lb__btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ow-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.ow-lb__nav--prev { left: .25rem; } .ow-lb__nav--next { right: .25rem; }
@media (min-width: 1024px) { .ow-lb__nav { width: 3.25rem; height: 3.25rem; } .ow-lb__nav--prev { left: 1rem; } .ow-lb__nav--next { right: 1rem; } }
@media (max-width: 767.98px) { .ow-lb__nav { top: auto; bottom: -.25rem; transform: none; } .ow-lb__stage { padding-bottom: 3.5rem; } .ow-lb__nav--prev { left: calc(50% - 3.5rem); } .ow-lb__nav--next { right: calc(50% - 3.5rem); } }
.ow-lb__caption { margin: .9rem auto 0; max-width: 46rem; text-align: center; min-height: 1.25rem; }
.ow-lb__cat { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ecc995; }
.ow-lb__desc { display: block; margin-top: .35rem; font-size: .9375rem; color: rgba(255,255,255,.85); }
@media (prefers-reduced-motion: reduce) { .ow-card__open img, .ow-card__zoom { transition: none; } }
