:root {
  --bg: #0b0a0a;
  --bg2: #141110;
  --panel: #1a1614;
  --line: #2b2522;
  --text: #e9e4de;
  --muted: #a39a91;
  --gold: #cfa36b;
  --gold-deep: #b8864b;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Open Sans", Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(48, 40, 38, .72); backdrop-filter: blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 40px; max-width: none; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 68px; display: block; }
.brand .name { display: flex; flex-direction: column; line-height: 1.05; }
.brand .name b { font-size: 24px; font-weight: 700; letter-spacing: .02em; color: var(--white); }
.brand .name b span { font-weight: 300; }
.brand .name small { font-size: 10px; letter-spacing: .38em; color: var(--text); margin-top: 4px; }
nav ul { display: flex; align-items: center; gap: 38px; list-style: none; }
nav a { font-family: Montserrat, "Open Sans", sans-serif; font-size: 16px; letter-spacing: .18em; color: var(--white); padding-bottom: 4px; }
nav a:hover, nav a.active { color: var(--gold); }
nav a.active { border-bottom: 1px solid var(--gold); }
nav a.cta-nav { background: var(--gold); color: var(--white); font-weight: 600; padding: 12px 32px; border: 0; }
nav a.cta-nav:hover { background: var(--gold-deep); }

header .wrap { max-width: none; padding: 0 40px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(30,20,16,.55) 0%, rgba(14,10,9,.62) 55%, #0b0a0a 100%),
    url("hero.jpg") center / cover no-repeat,
    linear-gradient(135deg, #4a3a33, #14100e 70%);
}
.hero.short { min-height: 52vh; padding-top: 90px; }
.hero h1 { font-weight: 600; font-size: clamp(38px, 7vw, 80px); line-height: 1.12; letter-spacing: .02em; text-transform: uppercase; color: var(--white); }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 860px; margin: 26px auto 0; font-size: clamp(17px, 2vw, 24px); font-weight: 300; color: #ddd3c9; }
.hero .arrow { display: block; margin: 8px auto 0; width: 22px; height: 22px; stroke: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 16px 40px; border: 1px solid var(--gold); color: var(--white); font-size: 16px; font-weight: 600; background: rgba(0,0,0,.25); cursor: pointer; font-family: inherit; transition: .2s; }
.btn:hover { background: var(--gold); }
.btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn.solid { background: var(--gold); }
.btn.solid:hover { background: var(--gold-deep); }

/* Sections */
section { padding: 90px 0; }
section.alt { background: var(--bg2); }
.eyebrow { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: .02em; margin-bottom: 22px; color: var(--white); text-transform: uppercase; }
h2 em { font-style: normal; color: var(--gold); }
.center { text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.photo { aspect-ratio: 4/5; background: linear-gradient(135deg, #3a2f2a, #17120f); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 13px; letter-spacing: .25em; text-transform: uppercase; }
.photo.wide { aspect-ratio: 16/10; }
.story p + p { margin-top: 16px; }
.story p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.card { background: var(--panel); padding: 38px 30px; border-top: 2px solid var(--gold); }
.card h3 { font-weight: 600; font-size: 19px; letter-spacing: .06em; margin-bottom: 10px; color: var(--white); }
.card p { font-size: 15px; color: var(--muted); }
.card .more { display: inline-block; margin-top: 14px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.listing { background: var(--panel); border: 1px solid var(--line); }
.listing .body { padding: 22px; }
.listing h3 { font-weight: 600; font-size: 18px; color: var(--white); }
.listing .meta { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.listing .price { color: var(--gold); font-size: 16px; letter-spacing: .05em; }

.band { text-align: center; background: linear-gradient(135deg, #2a211c, #0b0a0a); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Contact */
form { display: grid; gap: 16px; }
label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); font: inherit; background: var(--panel); color: var(--text); margin-top: 6px; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--gold); }
.info p { margin-bottom: 20px; color: var(--text); }
.info strong { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* Footer */
footer { background: #070606; border-top: 1px solid var(--line); padding: 52px 0 30px; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.foot .brand img { height: 60px; }
.foot .brand .name b { font-size: 20px; }
.foot ul { list-style: none; }
.foot li + li { margin-top: 6px; }
.foot a:hover { color: var(--gold); }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }

/* Floating buttons */
.float { position: fixed; right: 18px; bottom: 24px; z-index: 30; display: flex; flex-direction: column; gap: 14px; }
.float a { width: 62px; height: 62px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.45); transition: .2s; }
.float a:hover { background: var(--gold-deep); transform: scale(1.06); }
.float svg { width: 30px; height: 30px; stroke: var(--white); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  header .wrap { padding: 0 20px; }
  .nav { flex-wrap: wrap; justify-content: center; }
  nav ul { gap: 18px; flex-wrap: wrap; justify-content: center; }
  nav a { font-size: 13px; letter-spacing: .1em; }
  nav a.cta-nav { padding: 9px 18px; }
  .hero { padding-top: 170px; padding-bottom: 80px; }
  .hero.short { padding-top: 200px; }
}
@media (max-width: 760px) {
  .two, .grid { grid-template-columns: 1fr; }
  .brand .name b { font-size: 19px; }
  .float a { width: 52px; height: 52px; }
  .float svg { width: 24px; height: 24px; }
}

/* About: founder, vision, mission, values */
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.portrait { aspect-ratio: 3/4; overflow: hidden; }
.founder-name { margin-top: 18px; }
.founder-name small { display: block; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.founder-name b { display: block; font-size: 26px; font-weight: 600; color: var(--white); letter-spacing: .02em; margin-top: 4px; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm .card p { font-size: 17px; color: var(--text); font-weight: 300; }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }
.founder-name { margin-top: 6px; }
.founder-name small { font-size: 17px; letter-spacing: .28em; }
.founder-name b { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.1; margin-top: 10px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.member { text-align: center; }
.member .photo { width: 100%; }
.member b { display: block; margin-top: 16px; font-size: 19px; font-weight: 600; color: var(--white); }
.member small { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

/* Founder: one-line name + bio */
.founder-name small { font-size: 13px; letter-spacing: .2em; }
.founder-name b { font-size: clamp(28px, 4.2vw, 48px); white-space: nowrap; }
.tagline { margin: 26px 0 18px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.4; color: var(--gold); letter-spacing: .01em; }

/* ---- Content from the old site ---- */
.hero { background-position: center, center 58%, center; }
.intro { max-width: 820px; margin: 0 auto; color: var(--muted); font-size: 18px; font-weight: 300; }
.center h2 { margin-bottom: 14px; }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.shot { aspect-ratio: 3/4; overflow: hidden; border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.shot:hover img { transform: scale(1.05); }
.svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.svc { border: 1px solid var(--gold); padding: 38px 28px; text-align: center; background: rgba(207,163,107,.03); }
.svc h3 { font-weight: 500; font-size: 20px; letter-spacing: .06em; color: var(--white); margin-bottom: 14px; }
.svc p { color: var(--muted); font-size: 15px; }
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.partners div { border: 1px solid var(--line); background: var(--panel); padding: 38px 16px; text-align: center; font-family: Montserrat, sans-serif; letter-spacing: .22em; text-transform: uppercase; font-size: 14px; color: var(--text); }
.testi { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.testi blockquote { background: var(--panel); border: 1px solid var(--line); padding: 34px 30px; }
.testi blockquote::before { content: "\201C"; display: block; font-size: 60px; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.testi p { font-style: italic; color: var(--text); font-weight: 300; font-size: 17px; }
.testi blockquote footer { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 0; background: none; border: 0; }
.testi .av { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.testi b { display: block; color: var(--white); font-weight: 600; }
.testi small { color: var(--muted); font-size: 13px; }
/* Footer */
.foot3 { display: grid; grid-template-columns: 1.3fr .7fr 1.4fr; gap: 48px; }
.foot3 h4 { font-weight: 500; font-size: 18px; letter-spacing: .08em; color: var(--white); margin-bottom: 18px; }
.foot3 .tag { margin-top: 16px; max-width: 360px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--gold); display: grid; place-items: center; }
.social a:hover { background: var(--gold); }
.social svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social a:hover svg { stroke: var(--white); }
.links, .reach { list-style: none; }
.links li + li { margin-top: 10px; }
.reach li { display: flex; gap: 12px; align-items: flex-start; }
.reach li + li { margin-top: 14px; }
.reach svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.legal a { margin-left: 22px; }
.legal a:hover { color: var(--gold); }
.info a:hover { color: var(--gold); }
@media (max-width: 900px) { .svcgrid, .journey { grid-template-columns: 1fr 1fr; } .partners { grid-template-columns: 1fr 1fr; } .foot3 { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 600px) { .svcgrid, .journey, .testi { grid-template-columns: 1fr; } .legal a:first-child { margin-left: 0; } }

/* Inner-page banners keep the wide skyline; home uses the portrait hero */
.hero.short {
  background:
    linear-gradient(180deg, rgba(30,20,16,.55) 0%, rgba(14,10,9,.62) 55%, #0b0a0a 100%),
    url("hero-wide.jpg") center / cover no-repeat,
    linear-gradient(135deg, #4a3a33, #14100e 70%);
}

/* Journey photos */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.journey img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border: 1px solid var(--line); }
.intro { max-width: 860px; margin: 0 auto; color: var(--muted); font-size: 18px; font-weight: 300; }

/* Outlined service cards */
.grid.cards .card { text-align: center; background: transparent; border: 1px solid rgba(207,163,107,.55); padding: 44px 30px; }
.grid.cards .card h3 { font-weight: 400; font-size: 21px; letter-spacing: .08em; color: var(--white); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.partners div { border: 1px solid var(--line); background: var(--panel); padding: 34px 10px; text-align: center; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }

.foot p a:hover { color: var(--gold); }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; } }

/* Team: centre cards, contact button */
.team { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.member .btn { margin-top: 18px; padding: 11px 34px; font-size: 14px; }
.member .skills { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.member small { line-height: 1.5; }
.team { align-items: stretch; }
.member { display: flex; flex-direction: column; align-items: center; }
.member .photo { align-self: stretch; }
.member .btn { margin-top: auto; }
.member small, .member .skills { margin-bottom: 18px; }
.member .skills { margin-top: 0; }

/* Team photos: square frame, no zoom-crop of the small source photo */
.member .photo.portrait { aspect-ratio: 1/1; }
.member .photo img { object-fit: cover; }
.member .photo img[src="ayan.jpg"] { object-position: 50% 18%; }
.member .photo img[src="moiz.jpg"] { object-position: 50% 50%; }
.member b + .btn { margin-top: auto; }
.member .photo img[src="rahim.jpg"] { object-position: 50% 30%; }
.member .photo img[src="aziz-ruhani.jpg"] { object-position: 50% 25%; }
.team.four { grid-template-columns: repeat(4, 1fr); }
.member .photo img[src="zubair.jpg"] { object-position: 50% 50%; }
@media (max-width: 900px) { .team.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team.four { grid-template-columns: 1fr; } }
.team.one { grid-template-columns: minmax(240px, 300px); justify-content: center; }
.team.three { grid-template-columns: repeat(3, 1fr); max-width: 940px; margin: 36px auto 0; }
@media (max-width: 760px) { .team.three { grid-template-columns: 1fr; } }

/* Home top banner: photos change every 3 seconds behind the headline */
.hero.has-slides { background: #0b0a0a; overflow: hidden; }
.hero.has-slides::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30,20,16,.55) 0%, rgba(14,10,9,.62) 55%, #0b0a0a 100%); }
.hslides { position: absolute; inset: 0; }
.hslide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.hslide.on { opacity: 1; }
.hero.has-slides .wrap { position: relative; z-index: 2; }
.hdots { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hdots button { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; padding: 0; cursor: pointer; }
.hdots button.on { background: var(--gold); }

/* Partner developers: one line, 5 visible at a time, scrolls continuously */
.logo-window { overflow: hidden; margin-top: 44px; }
.logo-track { display: flex; width: 960%; animation: logoscroll 72s linear infinite; }
.logo-window:hover .logo-track { animation-play-state: paused; }
.dev { flex: 0 0 calc(100% / 48); padding: 0 10px; }
.dev span { display: grid; place-items: center; min-height: 110px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); background: var(--panel); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) { .logo-track { width: 1600%; } }

/* Client testimonials */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.tcard { margin: 0; padding: 40px 34px 30px; background: var(--panel); border: 1px solid var(--line); position: relative; }
.tcard::before { content: "\201C"; position: absolute; top: 6px; left: 24px; font-size: 72px; line-height: 1; color: var(--gold); font-family: Georgia, serif; }
.tcard blockquote { margin: 18px 0 26px; font-size: 17px; font-style: italic; font-weight: 300; color: var(--text); }
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.tcard .av { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-size: 14px; letter-spacing: .08em; color: var(--gold); flex: none; }
.tcard b { display: block; color: var(--white); font-weight: 600; }
.tcard small { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .tgrid { grid-template-columns: 1fr; } }

/* Blog */
.bfeature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--panel); border: 1px solid var(--line); margin-bottom: 36px; }
.bfeature img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.bfeature .bbody { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.bfeature h2 { font-size: clamp(24px, 2.8vw, 34px); text-transform: none; margin: 10px 0 14px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bcard { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: .2s; }
.bcard:hover, .bfeature:hover { border-color: var(--gold); }
.bcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.bcard .bbody { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.bcard h3 { font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--white); margin: 8px 0 10px; }
.bbody p { color: var(--muted); font-size: 15px; }
.cat { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.read { margin-top: auto; padding-top: 16px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.post { max-width: 780px; margin: 0 auto; }
.post-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; margin-bottom: 36px; border: 1px solid var(--line); }
.post p { color: var(--text); font-size: 18px; font-weight: 300; margin-bottom: 18px; }
.post .ph { font-size: 22px; text-transform: none; letter-spacing: .01em; margin: 34px 0 10px; color: var(--gold); font-weight: 600; }
.post .disc { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 900px) { .bgrid { grid-template-columns: 1fr 1fr; } .bfeature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .bgrid { grid-template-columns: 1fr; } .bfeature .bbody { padding: 28px 22px; } }

/* Blog */
.blog2 { grid-template-columns: repeat(2, 1fr); }
.blog2 .listing h3 a:hover { color: var(--gold); }
.blog2 .photo.wide { display: block; }
.posttitle { font-size: clamp(26px, 4vw, 44px); line-height: 1.2; text-transform: none; letter-spacing: .01em; max-width: 920px; margin: 8px auto 0; }
.post { max-width: 780px; margin: 0 auto; padding: 70px 24px 40px; }
.post p, .post li { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.post h3 { color: var(--white); font-weight: 600; font-size: 22px; margin: 34px 0 10px; letter-spacing: .01em; }
.post ul { padding-left: 22px; margin-bottom: 14px; }
.post li b { color: var(--text); }
.post .note { margin-top: 30px; padding: 16px 18px; border-left: 2px solid var(--gold); background: var(--panel); font-size: 14px; }
.btn.dark2 { border-color: var(--gold); color: var(--white); }
@media (max-width: 760px) { .blog2 { grid-template-columns: 1fr; } }
.hero h1.posttitle { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.25; text-transform: none; letter-spacing: .01em; font-weight: 600; max-width: 900px; margin: 10px auto 0; }
.hero.short .eyebrow { margin-top: 30px; }

/* Projects */
.projs { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.projs.four { grid-template-columns: repeat(4, 1fr); }
.proj { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 28px 24px 24px; display: flex; flex-direction: column; }
.proj .tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.proj h3 { margin: 12px 0 4px; font-size: 21px; font-weight: 600; color: var(--white); line-height: 1.25; }
.proj .dev { font-size: 14px; color: var(--muted); margin: 0; }
.proj .loc { margin: 14px 0 20px; font-size: 14px; color: var(--text); padding-left: 14px; border-left: 2px solid var(--gold); }
.proj .more { margin-top: auto; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.proj .more:hover { color: var(--white); }
@media (max-width: 1000px) { .projs, .projs.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projs, .projs.four { grid-template-columns: 1fr; } }
/* Projects */
.projs { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.projs.four { grid-template-columns: repeat(4, 1fr); }
.proj { background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 28px 24px 24px; display: flex; flex-direction: column; }
.proj .tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.proj h3 { margin: 12px 0 4px; font-size: 21px; font-weight: 600; color: var(--white); line-height: 1.25; }
.proj .dev { font-size: 14px; color: var(--muted); margin: 0; }
.proj .loc { margin: 14px 0 20px; font-size: 14px; color: var(--text); padding-left: 14px; border-left: 2px solid var(--gold); }
.proj .more { margin-top: auto; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.proj .more:hover { color: var(--white); }
@media (max-width: 1000px) { .projs, .projs.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projs, .projs.four { grid-template-columns: 1fr; } }

/* Projects */
.pgrid .pcard { position: relative; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: 34px 28px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.pgrid .ptag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pgrid .ploc { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pgrid h3 { font-weight: 600; font-size: 24px; color: var(--white); line-height: 1.25; margin: 4px 0 4px; }
.pgrid .pdev { color: var(--muted); font-size: 15px; }
.pgrid .btn { margin-top: auto; padding: 10px 30px; font-size: 14px; }
.pgrid .pdev, .pgrid h3 { margin-bottom: 18px; }
.pgrid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .pgrid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pgrid.four { grid-template-columns: 1fr; } }

.proj .more + .more{margin-top:10px}
