/* Website previews keep the complete desktop capture visible at every size. */
.websites-section { scroll-margin-top: 6rem; }
.websites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.website-card { display: block; min-width: 0; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #10141c; transition: border-color 180ms ease, transform 180ms ease; }
.website-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.website-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.website-preview { overflow: hidden; background: #fff; }
.website-browser { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.65rem 0.85rem; background: #202630; color: #bec8d8; font-size: 0.7rem; line-height: 1; }
.website-dots { display: flex; gap: 4px; }
.website-dots i { width: 6px; height: 6px; border-radius: 50%; background: #6d7889; }
.website-preview img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.website-info { padding: 1.25rem; }
.website-info h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.5rem; }
.website-info h3 span { color: var(--accent); font-size: 1.1rem; }
.website-info p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
body[data-page="projects"] .projects-grid:not(.projects-grid-single) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .websites-grid, body[data-page="projects"] .projects-grid:not(.projects-grid-single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .websites-grid, body[data-page="projects"] .projects-grid:not(.projects-grid-single) { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .website-card { transition: none; }
  .website-card:hover { transform: none; }
}
