/* /examples/: the gallery of example sites (gallery.js filters by trade). Ink canvas; each site shown big, desktop with
   its phone over the corner, both real stills of the live site. */
.gal { background: var(--ink); color: var(--fg); }
.gal__hero { padding: clamp(132px, 15vw, 190px) 0 clamp(28px, 4vw, 44px); }
.gal__h { max-width: 18ch; margin: 14px 0 0; font: 600 clamp(40px, 5.4vw, 76px)/.98 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.gal__lede { max-width: 58ch; margin: 22px 0 0; color: var(--dim); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.55; }
.gal__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.gal__filter button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--line-d2); color: var(--fg); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.gal__filter button:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.gal__filter button[aria-pressed="true"] { background: var(--fg); color: var(--ink); box-shadow: none; }
.gal__body { padding: 8px 0 clamp(80px, 9vw, 120px); }
.gal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.gal__t { min-width: 0; }
.gal__t[hidden] { display: none; }
.gal__view { position: relative; display: block; padding: 0 0 7% 0; text-decoration: none; }
.gal__desk { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #141417; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 40px 80px -40px #000; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.gal__desk img, .gal__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gal__phone { position: absolute; right: 5%; bottom: 0; width: 20%; aspect-ratio: 390 / 760; border-radius: 16px; overflow: hidden; background: #141417; box-shadow: 0 0 0 5px #141417, 0 0 0 6px rgb(255 255 255 / .16), 0 30px 50px -20px #000; transition: transform .6s var(--ease); }
.gal__view:hover .gal__desk, .gal__view:focus-visible .gal__desk { transform: translateY(-4px); box-shadow: 0 0 0 1px rgb(255 255 255 / .22), 0 50px 90px -40px #000; }
.gal__view:hover .gal__phone, .gal__view:focus-visible .gal__phone { transform: translateY(-10px) rotate(-1.5deg); }
.gal__view:focus-visible { outline: none; }
.gal__view:focus-visible .gal__desk { box-shadow: 0 0 0 2px var(--volt); }
.gal__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 18px; margin-top: 18px; }
.gal__n { margin: 0; font: 600 clamp(20px, 1.8vw, 26px)/1.1 var(--display); letter-spacing: -.035em; }
.gal__w { margin: 6px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.gal__acts { display: flex; align-items: center; gap: 16px; }
.gal__open { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--fg); font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; }
.gal__get { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgb(198 255 61 / .1); box-shadow: inset 0 0 0 1px rgb(198 255 61 / .4); color: var(--volt); font: 500 14px/1 var(--sans); text-decoration: none; }
.gal__get:hover { background: var(--volt); color: var(--ink); }
.gal__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-d2); }
.gal__end p { max-width: 52ch; margin: 0; color: var(--dim); font-size: 17px; }
.gal__end b { color: var(--fg); font-weight: 600; }
.gal .footnote { margin-top: 22px; color: var(--dim-2); }
@media (max-width: 900px) { .gal__grid { grid-template-columns: minmax(0, 1fr); } .gal__phone { width: 22%; } }
@media (max-width: 640px) {
  .gal__hero { padding-top: 112px; }
  .gal__filter { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .gal__filter::-webkit-scrollbar { display: none; }
  .gal__filter button { flex: none; }
  .gal__phone { width: 26%; border-radius: 12px; box-shadow: 0 0 0 4px #141417, 0 0 0 5px rgb(255 255 255 / .16), 0 24px 40px -18px #000; }
  .gal__meta { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .gal__desk, .gal__phone { transition: none; } }
