/* Website design gallery and its full-screen preview (home page and /services/website-design) */
.gw-also { margin-top: 10px; color: var(--dim); }
.gw-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
@media (scripting: none) { [data-gw-shuffle] { display: none; } }
.gw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.gw-card { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); transition: border-color .2s, transform .25s, box-shadow .25s; }
.gw-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(0, 0, 0, .5); }
.gw-card.lit { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent); }
.gw-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gw-card span { display: block; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.gw-card b { display: block; font: 400 1.3rem/1.2 var(--font-display); }
.gw-card small { display: block; color: var(--dim); font-size: .88rem; line-height: 1.45; margin-top: 3px; }
.gw-foot { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; margin-top: 28px; color: var(--dim); }
.sp-main .gw-grid { margin-top: 22px; gap: 10px; }
.sp-main .gw-card b { font-size: 1.1rem; }
.sp-main .gw-foot { margin-top: 20px !important; max-width: none; }

#gw-view { border: 0; padding: 0; margin: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: #12110f; color: #fff; overflow: hidden; }
#gw-view[open] { display: flex; flex-direction: column; animation: gw-in .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes gw-in { from { opacity: 0; transform: scale(.94); } }
.gw-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; flex: none; font-size: .86rem; }
.gw-bar strong { margin-right: auto; font-weight: 700; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-bar strong small { font-weight: 500; color: #b9b4a9; margin-left: 8px; }
.gw-bar button, .gw-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: #fff; font-weight: 600; white-space: nowrap; }
.gw-bar button:hover, .gw-bar a:hover { background: rgba(255, 255, 255, .12); }
.gw-bar .gw-go { background: var(--accent); }
.gw-bar .gw-go:hover { background: #b93011; }
#gw-view iframe { flex: 1; width: 100%; border: 0; background: #12110f; }
@media (max-width: 860px) { .gw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .gw-bar strong small, .gw-bar .gw-full, .gw-bar .gw-t { display: none; }
  .gw-bar button, .gw-bar a { padding: 0 8px; }
  .gw-card span { padding: 10px 12px 12px; }
  .gw-card b { font-size: 1.05rem; }
  .gw-card small { display: none; }
}
@media (prefers-reduced-motion: reduce) { #gw-view[open], .gw-card { animation: none; transition: none; } }
