/* OUR WORK, 2026-11-24 (src/lib/our-work-blocks.ts). Loaded after service-kit.css; scoped to `.lf.ow`. */

/* ── The map of fifty links ────────────────────────────────────────────────────────────────────── */
.lf.ow .ow-map { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.lf.ow .ow-key { display: grid; gap: 8px; padding-top: 20px; }
.lf.ow .ow-key li { display: flex; align-items: center; gap: 12px; font-family: 'Ubuntu', sans-serif; font-size: 15.5px; line-height: 1.4; color: #22262d; }
.lf.ow .ow-key i { flex: none; width: 22px; height: 22px; border-radius: 5px; box-sizing: border-box; }
.lf.ow .ow-key-0 { background: #dd1421; }
.lf.ow .ow-key-1 { background: #fff; border: 2px solid #c3cad3; }
.lf.ow .ow-key-2 { background: #14181f; }
.lf.ow .ow-offices { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
.lf.ow .ow-grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 7px; }
.lf.ow .ow-sq { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; box-sizing: border-box; border: 2px solid #c3cad3; background: #fff; font-family: var(--tx-head); font-size: clamp(11px, 1.35vw, 20px); line-height: 1; font-weight: 700; color: #3a424d; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.lf.ow .ow-sq--on { background: #dd1421; border-color: #dd1421; color: #fff; }
.lf.ow .ow-sq--office { background: #14181f; border-color: #14181f; color: #fff; }
.lf.ow .ow-sq:hover, .lf.ow .ow-sq:focus-visible { background: #8f0c16; border-color: #8f0c16; color: #fff; transform: translateY(-2px); }

/* ── State tiles ───────────────────────────────────────────────────────────────────────────────── */
.lf.ow .ow-states ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lf.ow .ow-states .tx-tile a { aspect-ratio: 1 / 1; }
.lf.ow .ow-states .tx-tile-text strong { font-size: clamp(17px, 1.53vw, 22px); }
.lf.ow .ow-more { max-width: 1100px; margin: 30px auto 0; text-align: center; }
.lf.ow .ow-more summary { display: inline-block; padding: 11px 24px; border: 2px solid #dd1421; border-radius: 999px; font-family: 'Ubuntu', sans-serif; font-size: 16px; line-height: 1.4; font-weight: 700; color: #c8121f; cursor: pointer; list-style: none; }
.lf.ow .ow-more summary::-webkit-details-marker { display: none; }
.lf.ow .ow-more summary:hover, .lf.ow .ow-more summary:focus-visible { background: #dd1421; color: #fff; }
.lf.ow .ow-more p { margin: 0 auto; padding: 20px 0 16px; max-width: 720px; font-family: 'Ubuntu', sans-serif; font-size: 16px; line-height: 1.6; color: var(--tx-muted); }
.lf.ow .ow-more ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.lf.ow .ow-more li a { display: block; padding: 12px 10px; border-radius: 8px; background: var(--tx-paper); font-family: 'Ubuntu', sans-serif; font-size: 16px; line-height: 1.35; font-weight: 500; color: #22262d; text-decoration: none; }
.lf.ow .ow-more li a:hover, .lf.ow .ow-more li a:focus-visible { background: #dd1421; color: #fff; }

/* ── Project sets ──────────────────────────────────────────────────────────────────────────────── */
.lf.ow .ow-section { scroll-margin-top: 90px; padding-top: 58px; }
.lf.ow .ow-section .lf-mosaic:not(.lf-mosaic-grouped):empty { display: none; }
.lf.ow .ow-section.lf-endgallery { padding-bottom: 14px; }
.lf.ow .ow-section-more { margin: 0; padding: 6px 0 0; text-align: right; }
.lf.ow .ow-section-more a { font-family: 'Ubuntu', sans-serif; font-size: 16.5px; line-height: 1.4; font-weight: 700; color: #c8121f; text-decoration: underline; text-underline-offset: 0.18em; }
.lf.ow .tx-dark { margin-top: 90px; }

.lf.ow .tx-geo-close { columns: 1; }
.lf.ow .tx-geo-close p { max-width: 860px; }

@media (max-width: 1000px) {
  .lf.ow .ow-map { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lf.ow .ow-states ul, .lf.ow .ow-more ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .lf.ow .ow-grid { gap: 4px; }
  .lf.ow .ow-sq { border-radius: 5px; border-width: 1px; }
  .lf.ow .ow-states ul, .lf.ow .ow-more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf.ow .ow-states .tx-tile a { aspect-ratio: 5 / 4; }
  .lf.ow .ow-states li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .lf.ow .ow-states li:first-child:nth-last-child(odd) a { aspect-ratio: 2 / 1; }
  .lf.ow .ow-states .tx-tile-text strong { font-size: 18px; }
  @media (max-width: 360px) { .lf.ow .ow-states .tx-tile-text strong { font-size: 15.5px; } }
  .lf.ow .ow-section .lf-mosaic-grouped { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .lf.ow .ow-section .lf-mosaic-group { flex: 0 0 84%; scroll-snap-align: start; }
  .lf.ow .ow-section-more { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .lf.ow .ow-sq { transition: none; } }
