/* Our Works: portfolio page. White background, violet #5E6AD6, responsive 3 / 2 / 1 columns. */
.gw-hero, .gw-works, .gw-cta { --brand: #5E6AD6; --ink: #0B1020; --muted: #667085; --line: #E8EBF4; background: #fff; font-family: Outfit, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.gw-hero *, .gw-works *, .gw-cta * { box-sizing: border-box; }
.gw-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.gw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- hero */
.gw-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.gw-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: rgba(94, 106, 214, .08); color: var(--brand); border: 1px solid rgba(94, 106, 214, .16); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.gw-hero h1 { margin: 0 auto 14px; max-width: 18ch; color: var(--ink); font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
.gw-lead { margin: 0 auto; max-width: 62ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; }
.gw-stats { list-style: none; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.gw-stats li { min-width: 150px; padding: 16px 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11, 16, 32, .05), 0 6px 18px -10px rgba(11, 16, 32, .12); }
.gw-stats b { display: block; color: var(--brand); font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.gw-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; font-weight: 500; }

/* ---------------------------------------------------------------- toolbar */
.gw-works { padding: 8px 0 clamp(56px, 7vw, 96px); }
.gw-bar { position: sticky; top: 76px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 18px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(11, 16, 32, .04), 0 18px 44px -26px rgba(11, 16, 32, .22); }
.admin-bar .gw-bar { top: 108px; }
.gw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.gw-chip i { font-size: 13px; color: var(--brand); transition: color .2s ease; }
.gw-chip em { font-style: normal; min-width: 24px; padding: 1px 7px; border-radius: 999px; background: rgba(94, 106, 214, .1); color: var(--brand); font-size: 12px; font-weight: 700; text-align: center; transition: background .2s ease, color .2s ease; }
.gw-chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.gw-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px var(--brand); }
.gw-chip.is-active i { color: #fff; }
.gw-chip.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }
.gw-chip:focus-visible, .gw-search input:focus-visible, .gw-morebtn:focus-visible { outline: 3px solid rgba(94, 106, 214, .45); outline-offset: 2px; }
.gw-search { position: relative; display: block; flex: 0 1 300px; min-width: 200px; }
.gw-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #98A2B3; font-size: 14px; pointer-events: none; }
.gw-search input { width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease; }
.gw-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(94, 106, 214, .14); }
.gw-status { margin: 0 4px 20px; color: var(--muted); font-size: 14.5px; }
.gw-status b { color: var(--ink); }

/* ---------------------------------------------------------------- grid + cards */
.gw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gw-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 16, 32, .05), 0 6px 18px -10px rgba(11, 16, 32, .12); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; animation: gwIn .5s ease both; }
.gw-card:hover, .gw-card:focus-within { transform: translateY(-6px); border-color: rgba(94, 106, 214, .3); box-shadow: 0 2px 4px rgba(11, 16, 32, .05), 0 34px 80px -30px rgba(11, 16, 32, .3); }
.gw-card[hidden] { display: none; }
@keyframes gwIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gw-media { position: relative; aspect-ratio: 2 / 1; background: #F4F6FB; overflow: hidden; border-bottom: 1px solid var(--line); }
.gw-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .6s ease; }
.gw-card:hover .gw-media img { transform: scale(1.05); }
.gw-ph { display: grid; place-items: center; width: 100%; height: 100%; color: #B6BDD0; font-size: 36px; }
.gw-pill { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 20px -10px rgba(11, 16, 32, .35); }
.gw-view { position: absolute; left: 50%; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 28px -10px var(--brand); transform: translate(-50%, 14px); opacity: 0; transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.gw-card:hover .gw-view, .gw-card:focus-within .gw-view { opacity: 1; transform: translate(-50%, 0); }
.gw-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.gw-tag { align-self: flex-start; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px; background: #F2F4FB; color: #475467; font-size: 12.5px; font-weight: 600; }
.gw-title { margin: 0 0 8px; color: var(--ink); font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.gw-link { color: inherit; text-decoration: none; }
.gw-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.gw-link:focus-visible { outline: 3px solid rgba(94, 106, 214, .45); outline-offset: -3px; border-radius: 22px; }
.gw-desc { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gw-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 14.5px; font-weight: 600; }
.gw-go i { transition: transform .25s ease; }
.gw-card:hover .gw-go i { transform: translateX(4px); }

.gw-empty { margin: 40px 0; text-align: center; color: var(--muted); font-size: 17px; }
.gw-empty i { display: block; font-size: 34px; color: #B6BDD0; margin-bottom: 12px; }
.gw-more { text-align: center; margin-top: 40px; }
.gw-morebtn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px; border: 1px solid var(--brand); background: #fff; color: var(--brand); font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.gw-morebtn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px var(--brand); }

/* ---------------------------------------------------------------- closing call to action */
.gw-cta { padding: 0 0 clamp(56px, 7vw, 96px); }
.gw-ctabox { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(28px, 4.5vw, 52px); border-radius: 30px; background: var(--brand); color: #fff; box-shadow: 0 2px 4px rgba(11, 16, 32, .05), 0 34px 80px -30px rgba(11, 16, 32, .35); }
.gw-ctabox h2 { margin: 0 0 8px; color: #fff; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
.gw-ctabox p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .88); font-size: 17px; line-height: 1.65; }
.gw-ctabtn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.gw-ctabtn:hover { transform: translateY(-2px); color: var(--brand); }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1099px) {
	.gw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.gw-stats li { min-width: 0; flex: 0 1 calc(33.333% - 10px); }
	.gw-bar { top: 72px; }
}
/* ---------------------------------------------------------------- phone */
@media (max-width: 639px) {
	.gw-wrap { padding: 0 16px; }
	.gw-grid { grid-template-columns: 1fr; gap: 18px; }
	.gw-stats { gap: 10px; }
	.gw-stats li { min-width: 0; flex: 1 1 calc(50% - 10px); padding: 14px 12px; }
	.gw-stats b { font-size: 26px; }
	.gw-bar { position: static; padding: 12px; border-radius: 18px; flex-direction: column; align-items: stretch; }
	.gw-chips { gap: 8px; }
	.gw-chip { padding: 9px 13px; font-size: 14px; }
	.gw-search { flex: none; width: 100%; }
	.gw-view { opacity: 1; transform: translate(-50%, 0); padding: 8px 14px; font-size: 13px; }
	.gw-ctabox { border-radius: 22px; flex-direction: column; align-items: flex-start; }
	.gw-ctabtn { width: 100%; justify-content: center; }
}
/* touch devices have no hover: show the "View project" hint */
@media (hover: none) { .gw-view { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .gw-card, .gw-card:hover { animation: none; transition: none; transform: none; } .gw-media img, .gw-view { transition: none; } }
